/* 
   i18n.css - Language Switcher Styles
   Harmonized with the Chronox Studio aesthetic.
*/

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-right: 1.5rem;
    transition: all 0.3s ease;
    user-select: none;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-btn {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8; /* var(--text-muted) equivalent */
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lang-btn.active {
    color: #3b82f6; /* var(--primary) equivalent */
    opacity: 1;
}

.lang-btn:not(.active):hover {
    opacity: 1;
    color: white;
}

.lang-sep {
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .header-lang-switcher {
        display: none !important;
    }
    
    header .lang-switcher:not(.menu-lang-switcher .lang-switcher) {
        display: none !important;
    }
    
    .menu-lang-switcher {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .menu-lang-switcher .lang-switcher {
        margin-right: 0;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 100px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        gap: 1.5rem;
    }
    
    .menu-lang-switcher .lang-btn {
        font-size: 1rem;
        padding: 0.8rem 1rem;
        min-width: 60px;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .menu-lang-switcher {
        display: none;
    }
}
