/* Language Bar Styles */
.language-bar {
    background-color: #f5f5f5;
    position: relative;
    z-index: 1000;
    font-size: 0.875rem;
}

.language-switcher {
    gap: 0.5rem;
}

.language-link {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    background: none;
    padding: 0;
}

.language-link:hover {
    text-decoration: none;
    transform: scale(1.1);
}

.language-link.active:hover {
    transform: scale(1.1);
}

.flag-icon {
    border-radius: 0;
    flex-shrink: 0;
    width: 24px;
    height: 18px;
    object-fit: cover;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.language-link:hover .flag-icon {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-bar {
        padding: 0.5rem 0;
    }
    
    .language-bar .container {
        justify-content: center;
    }
    
    .language-switcher {
        gap: 0.375rem;
    }
    
    .flag-icon {
        width: 20px;
        height: 15px;
    }
}



/* Integration with existing header */
.language-bar + .header {
    border-top: none;
}

/* Dark theme compatibility */
body.dark-theme .language-bar {
    background-color: #2a2a2a;
}

/* As bandeiras permanecem iguais em ambos os temas */