/*
 * GX TOOLTIP
 * Minimal dark-only tooltip with subtle Flamingo Pink glow.
 */

.gx-tooltip {
    position: fixed;
    z-index: 99999;

    background: var(--color-bg-card);
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 79, 163, 0.20);

    color: var(--color-text-primary);
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: nowrap;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(255, 79, 163, 0.12); /* very subtle */

    opacity: 0;
    transform: translateY(4px) scale(0.98);
    pointer-events: none;

    transition: opacity 0.18s ease,
    transform 0.18s ease;
}

/* When visible */
.gx-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Optional: subtle arrow */
.gx-tooltip::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 18px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: var(--color-bg-card) transparent transparent transparent;
    filter: drop-shadow(0 -2px 3px rgba(255, 79, 163, 0.15));
    opacity: 0.85;
}

/* Mobile: center tooltips */
@media (max-width: 600px) {
    .gx-tooltip {
        font-size: 0.9rem;
        max-width: 85vw;
        white-space: normal;
        text-align: center;
    }
}
