/* Stile per il selettore di lingua fisso in alto a destra */
.fixed-language-selector {
    position: fixed;
    top: 13px;
    right: 55px;
    z-index: 900; /* Sotto il menu hamburger ma sopra altri elementi */
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(46, 204, 113, 0.05) 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.3);
    display: flex;
    padding: 3px;
}

.fixed-language-selector a {
    min-width: 36px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    padding: 0 10px;
    transition: all 0.2s ease;
    font-size: 16px;
}

.fixed-language-selector a.active {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fixed-language-selector a:not(.active) {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.fixed-language-selector a:hover:not(.active) {
    background-color: rgba(46, 204, 113, 0.2);
}

/* Responsive: su schermo piccolo, nasconde il selettore fisso per evitare duplicati */
@media (max-width: 576px) {
    .fixed-language-selector {
        display: none; /* Nasconde completamente il selettore fisso su mobile */
    }
    
    /* Mostra il selettore mobile nel menu al suo posto */
    .mobile-language-switcher {
        display: flex !important;
        justify-content: center;
        margin-top: 20px;
        padding: 10px;
        border-radius: 8px;
        background-color: rgba(46, 204, 113, 0.1);
    }
}
