/* Styles pour le menu mobile multilingue */

.mobile-lang-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(0,0,0,0.1);
}

.mobile-lang-title {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.mobile-lang-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border: 1px solid #e5e5e7;
    border-radius: 10px;
    font-size: 14px;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mobile-lang-btn:hover {
    background: #f5f5f7;
    border-color: #667eea;
}

.mobile-lang-btn.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
    color: #667eea;
    font-weight: 600;
}

.mobile-lang-btn span {
    font-size: 20px;
}

/* RTL Support for mobile menu */
html[dir="rtl"] .mobile-menu {
    right: auto;
    left: -100%;
}

html[dir="rtl"] .mobile-menu.active {
    left: 0;
    right: auto;
}

html[dir="rtl"] .mobile-lang-options {
    direction: rtl;
}

/* Active language highlight in mobile */
@media (max-width: 768px) {
    .language-selector {
        position: relative;
        z-index: 999;
    }
    
    .current-lang {
        min-width: 80px;
    }
    
    .language-menu {
        position: fixed;
        top: 70px;
        right: 10px;
        min-width: 200px;
    }
    
    html[dir="rtl"] .language-menu {
        right: auto;
        left: 10px;
    }
}
