/**
 * Styles pour le sélecteur de langue
 * Design moderne et responsive
 */

/* Style du sélecteur de langue simple */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.lang-btn {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s ease;
}

.lang-btn.active {
    color: var(--kodann-primary, #1e5b9c);
}

.lang-btn:hover {
    color: var(--kodann-primary, #1e5b9c);
}

.lang-separator {
    margin: 0 5px;
    color: #777;
}

/* Version compacte pour mobile */
@media (max-width: 768px) {
    .lang-switcher {
        margin-right: 10px;
    }
    
    .lang-btn {
        font-size: 12px;
        padding: 3px;
    }
    
    .lang-separator {
        margin: 0 3px;
    }
}

/* Animation lors du changement de langue */
.lang-changing {
    animation: langChange 0.3s ease;
}

@keyframes langChange {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Support pour les lecteurs d'écran */
.lang-switcher-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}