/* Estilos para o seletor de idiomas */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1100; /* Aumentado para ficar acima do menu mobile */
}

.language-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.language-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-btn img {
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

.language-btn i {
    font-size: 12px;
    margin-left: 5px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 150px;
    display: none;
    z-index: 1002;
}

.language-dropdown.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-option img {
    width: 20px;
    height: 15px;
    margin-right: 10px;
}

.language-option span {
    color: var(--text-color);
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    .language-selector {
        display: none; /* Hide the original selector on mobile */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
