﻿/* =========================================
   Tooltip trigger
========================================= */
.tip {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   Tooltip box (REAL element, not pseudo)
========================================= */
.tip-tooltip {
    position: fixed;
    max-width: 280px;
    background: #1f2937;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    line-height: 1.3;
    white-space: normal;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

    /* visible */
    .tip-tooltip.show {
        opacity: 1;
    }

    /* =========================================
   Tooltip arrow
========================================= */
    .tip-tooltip::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
    }

    /* arrow on bottom (tooltip above target) */
    .tip-tooltip.arrow-bottom::after {
        bottom: -6px;
        border-top-color: #1f2937;
    }

    /* arrow on top (tooltip below target) */
    .tip-tooltip.arrow-top::after {
        top: -6px;
        border-bottom-color: #1f2937;
    }
