/* =========================================================
   NOXFINANCE — AUTENTICAÇÃO (layout centralizado)
   Substitui o layout dividido (aside + form) anterior.
   ========================================================= */
.auth-page {
    min-height: 100vh; background: var(--ink);
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 20px 60px;
    position: relative; overflow-x: hidden;
}
.auth-page::before {
    content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, rgba(234,179,8,.08), transparent 70%);
    top: -220px; left: 50%; transform: translateX(-50%); pointer-events: none;
}

.auth-page-header { position: relative; z-index: 1; margin-bottom: 36px; }

.auth-card {
    position: relative; z-index: 1; width: 100%; max-width: 560px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 44px 44px 36px;
}
.auth-card.wide { max-width: 720px; }

.auth-card-icon {
    width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft);
    color: var(--gold); display: flex; align-items: center; justify-content: center;
    font-size: 21px; margin-bottom: 20px;
}

.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-card .lead { color: var(--gray-300); font-size: 13.5px; margin-bottom: 30px; }

.auth-switch { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--gray-500); }
.auth-switch a { color: var(--gold); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.auth-trust-row {
    position: relative; z-index: 1; display: flex; gap: 26px; margin-top: 26px;
    font-size: 12px; color: var(--gray-500);
}
.auth-trust-row span { display: flex; align-items: center; gap: 7px; }
.auth-trust-row i { color: var(--gold); font-size: 12px; }

/* ---------------------------------------------------------
   Stepper (cadastro em etapas)
   --------------------------------------------------------- */
.stepper { display: flex; align-items: flex-start; margin-bottom: 36px; }
.step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.step-circle {
    width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2);
    border: 1.5px solid var(--line); color: var(--gray-500);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; font-family: var(--font-mono);
    transition: all var(--fast) var(--ease); z-index: 1;
}
.step-label { font-size: 11px; color: var(--gray-500); margin-top: 8px; text-align: center; max-width: 90px; }
.step-line {
    position: absolute; top: 16px; left: 50%; width: 100%; height: 1.5px;
    background: var(--line); z-index: 0;
}
.step:last-child .step-line { display: none; }

.step.done .step-circle { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.step.done .step-line { background: var(--gold-dim); }
.step.current .step-circle { border-color: var(--gold); color: var(--gold); }
.step.current .step-label { color: var(--white); font-weight: 600; }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn var(--med) var(--ease); }

.step-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }
.step-nav .btn-voltar-etapa { visibility: visible; }
.step-nav .btn-voltar-etapa.oculto { visibility: hidden; }

.section-label {
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--gold); margin: 0 0 18px;
}

@media (max-width: 640px) {
    .auth-page { padding: 24px 14px 40px; }
    .auth-card { padding: 26px 18px 24px; border-radius: 16px; }
    .auth-card h1 { font-size: 20px; }
    .step-label { display: none; }
    .step-circle { width: 28px; height: 28px; font-size: 12px; }
    .auth-trust-row { flex-direction: column; gap: 10px; margin-top: 20px; }
    .stepper { margin-bottom: 26px; }
    .step-nav { flex-direction: column-reverse; gap: 10px; }
    .step-nav .btn { width: 100%; }
}
