.lang-switcher {
    position: fixed; /* reste à l'écran même au scroll */
    top: calc(var(--navbar-height, 70px) + 10px); /* 10px sous la navbar */
    right: 20px;
    z-index: 1050;
}

.lang-switcher .dropdown-toggle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 6px 10px;
    color: #222;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
}

.lang-switcher .dropdown-toggle:hover {
    background: rgba(230, 230, 230, 0.95);
    border-color: rgba(0, 0, 0, 0.35);
}

/* Faire que le dropdown menu prenne exactement la largeur du bouton */
.lang-switcher .dropdown-menu {
    min-width: 0 !important;
    width: 100%;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #fff;
    margin-top: 5px;
}

/* Styles pour les items */
.lang-switcher .dropdown-item {
    padding: 8px 12px;
    font-weight: 500;
    color: #333;
}

.lang-switcher .dropdown-item:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}
