/* ECMO Virtual Patient Data Generator — custom styles */

/* ── Bilingual text toggle ────────────────────────────────────────────────── */
.t-de { display: none; }
.t-en { display: inline; }
body.lang-de .t-de { display: inline; }
body.lang-de .t-en { display: none; }
body.lang-de .t-de-block { display: block; }
body.lang-de .t-en-block { display: none; }
body.lang-en .t-en-block { display: block; }
body.lang-en .t-de-block { display: none; }

/* ── Language switcher buttons ───────────────────────────────────────────── */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.75);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: all 0.15s;
}
.lang-btn:hover { background: rgba(255,255,255,0.15); color: white; }
.lang-btn.active { background: rgba(255,255,255,0.25); color: white; border-color: white; }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .range-slider-container {
        margin-bottom: 20px;
    }
}
