/* Language Switcher Styles */
.language-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-left: 20px;
}

.language-switcher a {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    opacity: 0.7;
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark-color);
}

.language-switcher a:hover,
.language-switcher a.active {
    opacity: 1;
}

.language-switcher a.active {
    pointer-events: none;
}

.language-switcher a::after {
    display: none;
}

.language-switcher img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    margin-right: 5px;
}

.language-switcher span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive styles */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
    }
    
    .language-switcher span {
        display: none;
    }
    
    .language-switcher img {
        margin-right: 0;
    }
    
    /* Mobile menu specific styles */
    nav ul li.language-switcher {
        justify-content: center;
        gap: 20px;
    }
    
    nav ul li.language-switcher a {
        padding: 8px;
        background-color: rgba(74, 108, 247, 0.1);
        border-radius: 5px;
    }
    
    nav ul li.language-switcher a.active {
        background-color: rgba(74, 108, 247, 0.2);
    }
}

/* Extra small devices (phones, 320px and down) */
@media (max-width: 320px) {
    .language-switcher img {
        width: 20px;
        height: 14px;
    }
} 