﻿.dialogIdioma-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.dialogIdioma-box {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.dialogIdioma-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dialogIdioma-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.dialogIdioma-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.dialogIdioma-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dialogIdioma-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dialogIdioma-item:hover {
    background-color: #f0f4ff;
}

.dialogIdioma-item.ativo {
    background-color: #e6f2ff;
    font-weight: 600;
}

.dialogIdioma-flag {
    font-size: 1.4rem;
}

.dialogIdioma-text {
    font-size: 1rem;
    background-color: transparent;
}

.btn-idioma{
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}

.idioma-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: transparent;
    width: 100%;
    align-items: center;
    margin-top: 10px;
}

.idioma-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.idioma-button {
    display: flex;
    align-items: center;
    justify-content: center; /* 👈 centraliza o conteúdo inteiro */
    gap: 8px;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    padding: 8px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 180px;
    width: 50%;
}


.idioma-button:hover {
    border-color: #030617;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.idioma-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.idioma-text {
    font-weight: 500;
    color: #111827;
}