/* =========================================
   PÁGINA DE CADASTRO FLLUMEN
   ========================================= */
.body-cadastro {
    background-color: #ffffff;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.header-login-simples { width: 100%; }
.faixa-vermelha-topo {
    height: 40px; 
    background-color: #e30613;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.container-cadastro {
    width: 100%;
    max-width: 800px; /* Mais largo para caber os campos */
    padding: 40px 20px;
}

.titulo-pagina-cadastro {
    font-family: 'Barlow Condensed', sans-serif;
    color: #003366; /* Azul escuro da sua foto */
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.box-cadastro {
    width: 100%;
}

.subtitulo-cadastro {
    font-family: 'Roboto', sans-serif;
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* --- TOGGLE TIPO DE CADASTRO --- */
.tipo-cadastro-wrapper {
    margin-bottom: 25px;
}
.label-flutuante {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}
.toggle-tipo-cadastro {
    display: flex;
    gap: 10px;
}
.btn-tipo {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}
.btn-tipo.ativo {
    background-color: #e30613;
    color: white;
}
.btn-tipo:not(.ativo) {
    background-color: #e9e9e9;
    color: #555;
}

/* --- GRID DO FORMULÁRIO --- */
.grid-form {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Divide a tela em 12 pedacinhos */
    gap: 15px;
    margin-bottom: 30px;
}

.campo {
    display: flex;
    flex-direction: column;
}

.campo label {
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.campo input, .campo select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}
.campo input:focus, .campo select:focus { border-color: #e30613; }

/* Fundo azul claro para campos de destaque (email e senha) */
.input-destaque {
    background-color: #e8f0fe; 
}

/* Tamanhos das colunas (Grid Mágico) */
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

@media (max-width: 600px) {
    /* No celular, tudo vira coluna inteira (12) */
    .col-3, .col-4, .col-5, .col-6 { grid-column: span 12; }
}

/* --- CHECKBOXES Customizados --- */
.area-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.check-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}
.check-container input { display: none; } /* Esconde o original */
.checkmark {
    width: 18px; height: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.check-container input:checked + .checkmark.check-vermelho {
    background-color: #e30613;
    border-color: #e30613;
}
.check-container input:checked + .checkmark::after {
    content: '\2714'; /* Símbolo de check */
    color: white;
    font-size: 12px;
}

/* --- BOTÃO E AVISOS --- */
.area-botao {
    display: flex;
    justify-content: flex-end; /* Joga o botão para a direita igual na foto */
}

.btn-criar-conta {
    background-color: #e30613;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-criar-conta:hover { background-color: #b00000; }
.btn-criar-conta.carregando { background-color: #ba8080; pointer-events: none; }

.msg-erro-cadastro {
    background-color: #fdeaea;
    color: #e30613;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}