/* --- ESTILOS COMPARTILHADOS (BASE) --- */

body {
    background-color: rgb(255, 255, 255);
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: sans-serif;
    margin: 0;
    -webkit-text-size-adjust: 100%;
}

.Aba-Cadastro {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* AJUSTE AQUI: Mudamos de 95% para 100% para ele sempre buscar o max-width */
    width: 380px; 
    max-width: 95%;
    border-radius: 10px;
    margin-top: 50px;
    padding: 10px 5px;
    box-sizing: border-box;
    /* Garante que o conteúdo interno não encolha o container */
    flex-shrink: 0; 
}

/* Títulos EXATAMENTE como no seu original */
.Signup-Name, .Login-Name {
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
}

.Imagem-ChatAfar {
    width: 80%;
    max-width: 250px;
    height: auto;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

.Nome-Ilustra-Entrada {
    display: flex;
    align-self: flex-start;
    z-index: 10;
    padding-left: 10px;
    margin-top: 10px;
    margin-bottom: 2px;
    font-size: 20px;
    color: rgb(0, 0, 0);
    width: 100%;
    box-sizing: border-box;
}

/* Inputs e Botão com as cores originais */
.Entrada-Informacao {
    display: flex;
    align-self: center;
    border: solid 2px rgb(0, 0, 0);
    border-radius: 10px;
    height: 40px;
    width: 90%;
    max-width: 340px;
    outline: none;
    padding-left: 10px;
    margin-bottom: 15px; 
    color: rgb(0, 0, 0);
    box-sizing: border-box; 
}

.Button-Submit {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    border-radius: 10px;
    width: 90%; 
    max-width: 340px; 
    height: 50px;
    border: none;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    color: white;
    background: linear-gradient(to bottom, rgb(0, 187, 0), green); /* Verde original */
    cursor: pointer;
}

/* Container de Senha e Ícone */
.senha-container {
    display: flex;
    align-items: center;
    position: relative;
    align-self: center;
    width: 90%;
    max-width: 340px; 
}

.senha-container .Entrada-Informacao {
    width: 100%; 
    margin-bottom: 0;
}

.See-password-icon {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 20;
}

/* --- SEÇÃO TERMOS DE USO (RESTAURADA DO ORIGINAL) --- */

.li_concordo {
    display: flex;
    flex-direction: row;
    align-items: center; /* Alinhamento original */
    gap: 8px;
    margin-top: 10px;
    align-self: center;
    width: 90%;
    max-width: 340px;
}

.li_concordo_input {
    width: 20px;
    min-width: 20px;
    height: 20px;
}

.li_concordo_span {
    font-size: 14px; /* Voltando para o seu 14px */
}

/* --- MODAL DE TERMOS (RESTAURADO DESIGN ORIGINAL) --- */

.modal-termos {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; top: 0;
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px; /* Voltando para 10px */
    width: 80%;
    max-width: 400px;
    text-align: center;
}

/* Botões do Google e Flash Messages mantidos do seu CSS original */
#flash-container {
    position: fixed; 
    top: 20px; 
    left: 50%;
    transform: translateX(-50%); 
    z-index: 1000;
    width: 90%;
    max-width: 380px;
}

@media (max-width: 768px) {
  .Aba-Cadastro {
    margin-top: 20px;
  }
  .Signup-Name, .Login-Name {
    font-size: 32px;
  }
}
.btn-confirmar {
    background-color: #4285F4;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}

.btn-cancelar {
    background: none;
    border: none;
    color: #888;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: underline;
}