/* Custom tooltip bubble (see js/tooltips.js) */
.qt-tip {
    position: fixed;
    z-index: 6000;
    max-width: min(260px, calc(100vw - 16px));
    padding: 7px 13px;
    border-radius: 12px;
    background: linear-gradient(180deg, #00346e 0%, #00346e 100%);
    color: #f8f1e6;
    font-family: "Cairo", var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 12px 24px -8px rgba(0, 24, 56, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.qt-tip.is-below { transform: translateY(-6px) scale(0.96); }

.qt-tip.is-visible { opacity: 1; transform: none; }

.qt-tip__arrow {
    position: absolute;
    left: var(--arrow-x, 50%);
    bottom: -5px;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    background: #00346e;
    border-radius: 2px;
    transform: rotate(45deg);
}

.qt-tip.is-below .qt-tip__arrow { bottom: auto; top: -5px; background: #00346e; }
