/* =====================================================
   Input Tooltip System
   ===================================================== */

.input-tooltip-anchor {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1;
}

.input-tooltip-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #17a2b8;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s;
  user-select: none;
  outline: none;
}

.input-tooltip-btn:hover,
.input-tooltip-btn:focus {
  background: #138496;
}

.input-tooltip-popup {
  position: fixed;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  width: 220px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  z-index: 99999;
  font-size: 12.5px;
  line-height: 1.5;
  color: #1e293b;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.input-tooltip-popup.tooltip-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.input-tooltip-desc {
  margin: 0 0 8px 0;
  padding: 0;
}

.input-tooltip-docs-btn {
  background: #17a2b8;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background-color 0.15s;
  display: block;
  font-family: 'Inter', sans-serif;
}

.input-tooltip-docs-btn:hover {
  background: #138496;
}
