﻿/* ===== FUNDO DA PÁGINA ===== */
body {
    background: linear-gradient(135deg, #f5f7fa, #e4e9f0);
}

/* ===== CARD PRINCIPAL ===== */
.cadastro-card {
    max-width: 1200px;
    margin: auto;
    border-radius: 16px;
}

/* ===== CABEÇALHO DO CARD ===== */
.cadastro-header {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
    padding: 2rem;
    text-align: center;
}

    .cadastro-header h1 {
        font-size: 1.8rem;
        margin-bottom: .2rem;
    }

    .cadastro-header p {
        font-size: .95rem;
        opacity: .9;
    }

/* ===== FORMULÁRIOS ===== */
.form-control {
    border-radius: 8px;
    font-size: .9rem;
    width: 100%;
}

.field label,
label {
    font-size: .85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Espaçamento padrão entre linhas */
.row {
    margin-bottom: .75rem;
}

/* CPF com largura correta */
.cpf-input {
    max-width: 200px;
}

/* ===== CAMPOS TÉCNICOS ===== */
/* Esconde visualmente, mantém no DOM */
.hidden-control {
    display: none;
}
.card-header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.cadastro-header {
    border-radius: 0;
}
/* Separação clara entre menu e formulário */
.menu-top {
    padding: 14px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

/* Espaço visual entre menu e header do formulário */
.cadastro-header {
    margin-top: 16px;
}

/* Linha sutil para reforçar hierarquia */
.menu-top::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: rgba(255,255,255,0.4);
}

.cpf-card {
    max-width: 550px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    text-align: center;
}

.cpf-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e8f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cpf-icon i {
        font-size: 36px;
        color: #0d6efd;
    }

.cpf-input {
    max-width: 280px;
    margin: 0 auto;
    height: 50px;
    font-size: 20px;
    text-align: center;
}
.btn-iniciar {
    max-width: 280px;
    margin: 20px auto 0 auto;
    display: block;
    height: 50px;
    font-size: 18px;
    border-radius: 10px;
}

.cpf-card .btn {
    height: 55px;
    border-radius: 12px;
    font-weight: 600;
}

@media (max-width: 576px) {
    .cadastro-card {
        padding: 10px;
    }

    .form-control {
        font-size: 16px; /* evita zoom automático no iOS */
    }
}

/* PADRÃO VISUAL DOS BOTÕES */
.btn-padrao {
    min-height: 38px;
    padding: 6px 16px;
    font-size: 0.875rem; /* small */
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    /* Garante largura consistente quando usar w-100 */
    .btn-padrao.w-100 {
        width: 100%;
    }


@media (max-width: 576px) {
    .btn-padrao {
        min-height: 44px;
        font-size: 0.95rem;
    }
}
