/**
 * Signup + onboarding wizard styles.
 *
 * Lives next to theme.css so the existing dark/orange palette carries
 * over untouched and the wizard feels native.
 */

.auth-page, .onboarding-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  border-bottom: 1px solid rgba(240, 238, 232, 0.04);
}

.auth-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.auth-nav-link { color: var(--fg-muted); font-size: 13px; }

.auth-main { flex: 1; display: flex; justify-content: center; padding: 80px 24px; }
.ob-main   { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 40px 24px 80px; }

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-surface);
  border: 1px solid rgba(240, 238, 232, 0.06);
  border-radius: var(--radius);
  padding: 40px;
}
.auth-card--alt { max-width: 380px; }

.auth-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
  color: var(--fg);
}

.auth-sub { color: var(--fg-muted); font-size: 14px; margin-bottom: 28px; }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted);
}
.auth-optional { color: rgba(122,120,116,0.7); font-weight: 400; text-transform: none; letter-spacing: 0; }
.auth-input {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid rgba(240, 238, 232, 0.08);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 120ms ease, background 120ms ease;
}
.auth-input:focus { border-color: var(--accent); background: var(--bg-surface-2); }
.auth-textarea { min-height: 140px; resize: vertical; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; }

.auth-error, .ob-error {
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(255, 79, 46, 0.10);
  border: 1px solid rgba(255, 79, 46, 0.30);
  border-radius: var(--radius);
  color: #ffb8a8;
  font-size: 13px;
}

.auth-foot {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--fg-muted);
  font-size: 13px;
}
.auth-link {
  background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font: inherit;
}
.auth-link:hover { text-decoration: underline; }

/* progress bar */
.ob-progress {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 40px;
  flex-wrap: wrap; justify-content: center;
}
.ob-progress-step {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(240, 238, 232, 0.04);
  color: var(--fg-muted);
  font-size: 12px;
  transition: background 120ms ease, color 120ms ease;
}
.ob-progress-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-surface); color: var(--fg-muted);
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
}
.ob-progress-step.is-active { background: var(--accent-dim); color: var(--fg); }
.ob-progress-step.is-done   { background: rgba(255, 79, 46, 0.10); color: var(--accent); }
.ob-progress-step.is-done .num { background: var(--accent); color: var(--bg); }

.ob-panel {
  width: 100%;
  max-width: 540px;
  background: var(--bg-surface);
  border: 1px solid rgba(240, 238, 232, 0.06);
  border-radius: var(--radius);
  padding: 40px;
}

.ob-tabs { display: flex; gap: 8px; margin: 0 0 16px; padding: 4px; background: rgba(240,238,232,0.04); border-radius: 999px; align-self: flex-start; }
.ob-tab {
  background: none; border: 0; padding: 8px 16px; color: var(--fg-muted);
  font: inherit; font-size: 13px; cursor: pointer; border-radius: 999px;
}
.ob-tab.is-active { background: var(--accent); color: var(--bg); font-weight: 500; }

.ob-success {
  margin-top: 4px;
  padding: 12px 14px;
  background: rgba(255, 79, 46, 0.10);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 13px;
}

.ob-prospect-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-muted);
}
.ob-prospect-list .row {
  display: flex; justify-content: space-between;
  background: rgba(240,238,232,0.04);
  padding: 8px 12px;
  border-radius: var(--radius);
}

.ob-summary {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(240, 238, 232, 0.06);
}
.ob-summary li {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(240, 238, 232, 0.06);
  font-size: 14px;
}
.ob-summary .key { color: var(--fg-muted); text-transform: uppercase; font-size: 11px; letter-spacing: 0.12em; }
.ob-summary .val { color: var(--fg); font-family: var(--font-display); }
