/* ============================================
   LANGUAGE TOGGLE — shared by index.html and form/index.html
   ============================================ */
.lang-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    gap: 0.375rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 2rem;
    padding: 0.3rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 1.5rem;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.lang-btn .flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-btn:hover {
    color: #e2e8f0;
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.lang-btn:focus-visible {
    outline: 2px solid #06b6d4;
    outline-offset: 2px;
}
