/* ═══════════════════════════════════════════
   Multilingual Tooltips
   ═══════════════════════════════════════════ */

/* Elements with translations get a subtle indicator */
[data-tt-en] {
    cursor: help;
    border-bottom: 1px dotted rgba(0,0,0,.2);
}

.wf-hero [data-tt-en] {
    border-bottom-color: rgba(255,255,255,.3);
}

/* Tooltip container */
.wf-tt {
    position: absolute;
    z-index: 99999;
    background: #1e293b;
    color: #f1f5f9;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .2s, transform .2s;
    min-width: 180px;
    max-width: 320px;
    font-size: .85rem;
    line-height: 1.4;
    overflow: hidden;
}

.wf-tt.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Flag tabs */
.wf-tt-flags {
    display: flex;
    gap: 0;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.wf-tt-flag {
    flex: 1;
    background: none;
    border: none;
    padding: 8px 4px;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: .5;
    transition: opacity .15s, background .15s;
    text-align: center;
}

.wf-tt-flag:hover {
    opacity: .8;
    background: rgba(255,255,255,.05);
}

.wf-tt-flag.active {
    opacity: 1;
    background: rgba(255,255,255,.1);
}

/* Text area */
.wf-tt-text {
    padding: 10px 14px;
}
