/* Stile personalizzato per dropdownUtenteBtn */
.language-switch-container {
    position: relative;
}

#dropdownUtenteBtn {
    background: #ffffff;
    border: 2px solid var(--alternate);
    border-radius: 25px;
    color: var(--alternate);
    font-weight: 600;
    padding: 6px 18px;
    font-size: 14px;
    transition: none;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    text-align: center;
    justify-content: center;
    box-shadow: none;
}

    #dropdownUtenteBtn:hover {
        background: #ffffff;
        border-color: var(--alternate);
        box-shadow: none;
        transform: none;
        color: #000;
    }

#dropdownUtenteBtn:focus,
#dropdownUtenteBtn.show {
    background: #ffffff;
    border-color: #333;
    box-shadow: none;
    outline: none;
    color: #000;
}

#dropdownUtenteBtn::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    margin-left: auto;
    transition: transform 0.3s ease;
}

#dropdownUtenteBtn.show::after {
    transform: rotate(-135deg);
}

#dropdownUtenteBtn i {
    font-size: 16px;
}

/* Stile dropdown menu */
#dropdownUtente {
    width: fit-content !important;
    min-width: 200px;
    margin-top: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#dropdownUtente .dropdown-item {
    padding: 12px 16px;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

#dropdownUtente .dropdown-item:hover {
    background-color: #f0f1f3;
    border-left-color: #EEDC00;
    padding-left: 18px;
}

#dropdownUtente .dropdown-item.active {
    background-color: #fffbf0;
    color: #333;
    border-left-color: #EEDC00;
    font-weight: 700;
}

#dropdownUtente .dropdown-item.active::before {
    content: '✓';
    margin-right: 8px;
    color: #EEDC00;
    font-weight: bold;
}
