/* ============================================================
   NextChatAi — auth + onboarding (page-specific)
   ============================================================ */

.auth-wrap { width: 100%; max-width: 420px; padding: 32px 20px; }
.auth-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px;
  letter-spacing: -.5px; text-align: center; margin-bottom: 6px;
}
.auth-logo span { color: var(--accent-mid); }
.auth-tagline { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 26px; }

.auth-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 30px 26px; box-shadow: 0 12px 40px #0e0e0f08;
}
.auth-card h1 { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.auth-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

.auth-fb-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 11px; border-radius: 9px; border: none; cursor: pointer;
  background: #1877f2; color: #fff; font-size: 14px; font-weight: 600;
  font-family: 'DM Sans', sans-serif; transition: background .15s;
}
.auth-fb-btn:hover { background: #0f6ae0; }
.auth-fb-btn svg { width: 18px; height: 18px; }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 11.5px; color: var(--muted); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.auth-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.auth-foot a { color: var(--accent); font-weight: 500; }
.auth-legal { text-align: center; font-size: 11px; color: var(--muted); margin-top: 18px; line-height: 1.6; }
.auth-legal a { color: var(--accent); }
.input-with-label { margin-bottom: 16px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.checkbox-row.between { justify-content: space-between; }
.checkbox-row a { color: var(--accent); font-weight: 500; }

/* ── Facebook connect ── */
.connect-card { max-width: 520px; text-align: center; }
.connect-illus {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 18px;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center;
}
.connect-illus svg { width: 30px; height: 30px; color: var(--accent); }
.page-pick { text-align: left; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.page-pick-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 12px; cursor: pointer; transition: all .15s; background: #fff;
}
.page-pick-item:hover { border-color: var(--accent-mid); background: var(--accent-light); }
.page-pick-item.selected { border-color: var(--accent-mid); background: var(--accent-light); }
.page-pick-thumb { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--surface); }
.page-pick-name { font-size: 14px; font-weight: 500; }
.page-pick-meta { font-size: 12px; color: var(--muted); }
.page-pick-check { margin-left: auto; color: var(--accent); }

/* ── Onboarding wizard ── */
.wizard { width: 100%; max-width: 560px; padding: 24px 20px; }
.wizard-steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 28px; }
.wizard-step { display: flex; align-items: center; gap: 8px; }
.wstep-dot {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; background: #fff; border: 1px solid var(--border); color: var(--muted);
}
.wizard-step.active .wstep-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.wizard-step.done .wstep-dot { background: var(--accent-mid); border-color: var(--accent-mid); color: #fff; }
.wstep-line { width: 36px; height: 2px; background: var(--border); }
.wizard-step.done + .wstep-line { background: var(--accent-mid); }

.tone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.tone-opt { border: 1px solid var(--border); border-radius: 12px; padding: 14px; cursor: pointer; transition: all .15s; }
.tone-opt:hover { border-color: var(--accent-mid); }
.tone-opt.selected { border-color: var(--accent-mid); background: var(--accent-light); }
.tone-opt-title { font-weight: 600; font-size: 13.5px; margin-bottom: 3px; }
.tone-opt-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
