/* ── Register layout (mirrors login split) ──────────────────────── */
.register { display: flex; min-height: 100vh; width: 100%; }

.register-brand {
  flex: 0 0 42%;
  background: var(--brand-ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px;
  position: relative; overflow: hidden;
}
.register-brand-inner {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 400px; width: 100%; position: relative; z-index: 1;
}
.register-brand-inner .brand-name { color: var(--brand-cream); }
.register-brand-inner .brand-sub { color: rgba(245,230,211,.45); }
.register-brand-inner .brand-glyph { color: var(--brand); }
.register-brand-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  color: var(--brand-gold); opacity: .8;
  text-transform: uppercase; margin-bottom: 8px;
}
.register-brand-copy h2 {
  font-size: 26px; font-weight: 800; line-height: 1.25;
  color: var(--brand-cream); margin-bottom: 10px;
}
.register-brand-copy p { font-size: 13.5px; color: rgba(245,230,211,.6); line-height: 1.6; }
.register-brand-stats {
  display: flex; gap: 20px; padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.register-brand-stats > div { display: flex; flex-direction: column; gap: 2px; }
.register-brand-stats strong { font-size: 20px; font-weight: 800; color: var(--brand-gold); }
.register-brand-stats span { font-size: 11px; color: rgba(245,230,211,.5); }

.register-form-wrap {
  flex: 1;
  background: var(--surface);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 32px;
  overflow-y: auto;
}
.register-form {
  width: 100%; max-width: 420px;
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 8px;
}

/* ── Step indicator ─────────────────────────────────────────────── */
.reg-steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 4px;
}
.reg-step {
  display: flex; align-items: center; gap: 0; flex: 1;
}
.reg-step:last-child { flex: 0; }
.reg-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--muted);
  flex-shrink: 0; transition: background .25s, border-color .25s, color .25s;
}
.reg-step-done .reg-step-dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.reg-step-active .reg-step-dot {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb),.15);
}
.reg-step-line { flex: 1; height: 2px; background: var(--border); transition: background .25s; }
.reg-step-done .reg-step-line { background: var(--ok); }

/* ── Register head ──────────────────────────────────────────────── */
.reg-head { }
.reg-kicker {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.reg-kicker-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.reg-head h1 { font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -.02em; margin-bottom: 6px; }
.reg-head p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── Register fields ────────────────────────────────────────────── */
.reg-fields { display: flex; flex-direction: column; gap: 16px; }
.reg-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Password strength ──────────────────────────────────────────── */
.pw-strength { margin-top: 6px; }
.pw-bar { display: flex; gap: 4px; margin-bottom: 5px; }
.pw-bar-seg {
  flex: 1; height: 3px; border-radius: 2px;
  background: var(--border); transition: background .25s;
}
.pw-bar-seg.pw-seg-fill { background: var(--ok); }
.pw-bar-seg.pw-seg-warn { background: var(--warn); }
.pw-bar-seg.pw-seg-bad { background: var(--bad); }
.pw-label { font-size: 11px; color: var(--muted); }

/* ── Register success ───────────────────────────────────────────── */
.reg-success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 32px 0;
}
.reg-success-icon {
  width: 72px; height: 72px;
  background: var(--ok-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--ok);
}
.reg-success-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 8px;
}
.reg-success h2 { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.reg-success p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 320px; }
.reg-success-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 24px; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 899px) {
  .register-brand { display: none; }
  .register-form-wrap { padding: 32px 20px; padding-top: 48px; align-items: flex-start; }
  .register-form { max-width: 100%; }
  .reg-fields-row { grid-template-columns: 1fr; }
}
