/* ================================================
   SÉLECTEUR DE LANGUE ÉLÉGANT - MENU DÉROULANT
   - Design élégant avec noms complets
   - Pas de drapeaux
   - Menu déroulant au clic
   ================================================ */

.language-switcher-dropdown {
    position: relative;
    display: inline-block;
    z-index: 9998;
}

/* Bouton principal */
.lang-btn-current {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-color, #D4AF37);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 130px;
}

.lang-btn-current:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-color, #D4AF37);
    transform: translateY(-1px);
}

.lang-current-text {
    flex: 1;
    text-align: left;
    white-space: nowrap;
}

.lang-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.lang-btn-current:hover .lang-arrow {
    transform: translateY(2px);
}

/* Menu déroulant */
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 8px;
    min-width: 150px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Options du menu */
.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.lang-option:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-color, #D4AF37);
}

.lang-option.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color, #D4AF37);
    font-weight: 600;
}

.lang-name {
    flex: 1;
    white-space: nowrap;
}

/* Responsive - Tablette */
@media (max-width: 968px) {
    .lang-btn-current {
        font-size: 13px;
        padding: 7px 14px;
        min-width: 120px;
    }
    
    .lang-dropdown-menu {
        min-width: 140px;
    }
    
    .lang-option {
        font-size: 13px;
        padding: 9px 10px;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .lang-btn-current {
        font-size: 12px;
        padding: 6px 12px;
        min-width: 110px;
    }
    
    .lang-dropdown-menu {
        min-width: 130px;
    }
    
    .lang-option {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* Animation d'apparition */
@keyframes fadeInLang {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-switcher-dropdown {
    animation: fadeInLang 0.4s ease-out;
}
