/* ============================================
   TOOLTIP COMPONENT
   Reusable tooltip for truncated text
   ============================================ */

.tooltip {
    position: fixed;
    background: var(--tooltip-bg, rgba(30, 30, 30, 0.95));
    color: var(--tooltip-text, #ffffff);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
    z-index: var(--z-tooltip, 10100);
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    max-width: 350px;
    word-wrap: break-word;
    white-space: normal;

    /* Initial state (invisible) */
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RTL Support - no changes needed as position:fixed uses viewport coordinates */
