/* Цены GEL → USD: подпись и tooltip */

.gel-usd-caption {
    display: inline-block;
    margin-left: 0.25em;
    font-size: 0.85em;
    color: #666;
    font-weight: normal;
    white-space: nowrap;
}

.gel-usd-tooltip {
    cursor: help;
    border-bottom: 1px dotted currentColor;
    border-radius: 2px;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

/* Подсветка цены, к которой привязана открытая подсказка */
.gel-usd-tooltip.gel-usd-tooltip-active {
    background-color: rgba(0, 102, 204, 0.08);
    box-shadow: 0 0 0 1px rgba(0, 102, 204, 0.25);
}

/* Контейнер подсказки (fixed — не уезжает при скролле, стрелка стабильна) */
#gel-usd-popover {
    position: fixed;
    z-index: 100001;
    padding: 10px 14px;
    font-size: 0.9375rem;
    line-height: 1.35;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    max-width: min(90vw, 220px);
}

#gel-usd-popover.gel-usd-popover-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Текст суммы в подсказке */
#gel-usd-popover .gel-usd-popover__value {
    display: block;
    font-weight: 600;
    letter-spacing: 0.02em;
}
