/* ============================================================
   NAUTICA SENTINEL — REGISTER PAGE STYLES
   Extracted from app/register.html to satisfy CSP.
   ============================================================ */

.register-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 100vh;
}
@media (max-width: 900px) { .register-layout { grid-template-columns: 1fr; } }

.register-panel {
  background: linear-gradient(160deg, var(--ns-navy-950), var(--ns-navy-800));
  color: white;
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) { .register-panel { display: none; } }

.register-panel-logo { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-16); }
.register-panel-logo-mark { width: 2.5rem; height: 2.5rem; background: linear-gradient(135deg, var(--ns-navy-500), var(--ns-teal-600)); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.register-panel-name { font-size: var(--text-xl); font-weight: 700; }
.register-panel-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: var(--weight-bold); line-height: 1.2; margin-bottom: var(--space-6); }
.register-panel-title span { color: var(--ns-teal-400); }
.register-panel-tagline { color: rgba(255,255,255,0.55); font-size: var(--text-sm); margin-bottom: var(--space-10); }

.panel-benefits { display: flex; flex-direction: column; gap: var(--space-4); }
.panel-benefit { display: flex; align-items: flex-start; gap: var(--space-3); }
.panel-benefit-icon { width: 2rem; height: 2rem; background: rgba(14,189,176,0.15); border: 1px solid rgba(14,189,176,0.3); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.panel-benefit-text h4 { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: white; }
.panel-benefit-text p  { font-size: var(--text-xs); color: rgba(255,255,255,0.55); margin-top: 2px; }

.register-form-side {
  background: var(--color-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.register-box { width: 100%; max-width: 30rem; }
.register-heading  { font-size: var(--text-2xl); font-weight: var(--weight-bold); margin-bottom: var(--space-2); }
.register-subheading { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.link-brand { color: var(--color-brand); font-weight: var(--weight-medium); }

/* ── Step indicator ── */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: var(--space-8); }
.step-item { display: flex; align-items: center; flex: 1; }
.step-circle {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xs); font-weight: var(--weight-bold);
  flex-shrink: 0;
  transition: all var(--transition-base);
  border: 2px solid var(--color-border);
  background: var(--color-bg-surface);
  color: var(--color-text-muted);
}
.step-circle.active   { border-color: var(--color-brand); background: var(--color-brand); color: white; }
.step-circle.complete { border-color: var(--color-success); background: var(--color-success); color: white; }
.step-label { font-size: var(--text-xs); color: var(--color-text-muted); margin-left: var(--space-2); white-space: nowrap; }
.step-label.active { color: var(--color-brand); font-weight: var(--weight-semibold); }
.step-line { height: 2px; flex: 1; background: var(--color-border); margin: 0 var(--space-2); }
.step-line.complete { background: var(--color-success); }
.step-content { display: none; }
.step-content.active { display: block; }

/* ── Step helpers ── */
.step-intro { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.step-nav   { display: flex; gap: var(--space-3); }
.step-nav-mb { margin-bottom: var(--space-4); }

/* ── Terms row ── */
.terms-row      { display: flex; align-items: flex-start; gap: var(--space-2); margin-bottom: var(--space-6); }
.terms-checkbox { margin-top: 2px; accent-color: var(--color-brand); }
.terms-label    { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ── Plan selection ── */
.plan-list { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.plan-radio {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.plan-radio.featured { border-color: var(--color-brand); background: rgba(30,86,160,0.04); }
.plan-radio-input { accent-color: var(--color-brand); }
.plan-radio-info  { flex: 1; }
.plan-radio-name  { font-weight: var(--weight-semibold); }
.plan-radio-desc  { font-size: var(--text-xs); color: var(--color-text-muted); }
.plan-trial-badge { font-size: var(--text-xs); color: var(--color-text-muted); }
.popular-inline-badge { background: var(--color-brand); color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }

/* ── Password strength ── */
.pw-strength-wrapper { margin-top: var(--space-2); }

/* ── TOTP setup ── */
.totp-qr-box {
  width: 10rem; height: 10rem;
  background: var(--color-bg-subtle);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: var(--space-4) auto;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}
.totp-qr-icon   { font-size: 2rem; margin-bottom: var(--space-2); }
.totp-secret-key {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}
.totp-secret-label { font-family: var(--font-sans); font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-1); }
.totp-details      { margin-bottom: var(--space-4); }
.totp-summary      { font-size: var(--text-sm); color: var(--color-brand); cursor: pointer; font-weight: var(--weight-medium); }
.totp-backup-desc  { font-size: var(--text-xs); color: var(--color-text-muted); margin: var(--space-2) 0; }

.backup-codes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}
.backup-code { padding: var(--space-1) var(--space-2); background: var(--color-bg-surface); border-radius: var(--radius-sm); text-align: center; }

/* ── IMO hint ── */
.imo-hint { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; }
