/*
 * register.css — page-specific styles only.
 * All shared tokens, nav, buttons, forms, footer come from shineneet.css
 */

/* ── Split layout ── */
.reg-page {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--sn-nav-h));
}

/* ── Left panel ── */
.reg-left {
  background: linear-gradient(145deg, var(--sn-blue) 0%, var(--sn-blue-dark) 50%, var(--sn-blue-deep) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.reg-left__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.reg-left::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.reg-left::after {
  content: '';
  position: absolute; bottom: -100px; left: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.04); border-radius: 50%;
}

.reg-left__content { position: relative; z-index: 1; }

.reg-left__tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 20px;
  margin-bottom: 1.75rem;
}

.reg-left__title {
  font-size: 2.1rem; font-weight: 900;
  color: #fff; line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 0.5rem;
}
.reg-left__title .sn-yellow { color: var(--sn-yellow); }

.reg-left__sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem; line-height: 1.7;
  max-width: 340px;
  margin-bottom: 2rem;
}

/* Feature list */
.reg-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.reg-features li {
  display: flex; align-items: center; gap: 0.65rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem; font-weight: 500;
}
.reg-feat-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

/* Mini syllabus map preview */
.reg-smap-preview {
  margin-top: 1.75rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.reg-smap-preview__lbl {
  font-size: .6rem; font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .09em;
  margin-bottom: .75rem;
}
.reg-smap-preview__chips {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin-bottom: .65rem;
}
.reg-smap-chip {
  font-size: .62rem; font-weight: 700;
  padding: .2rem .55rem; border-radius: 4px;
}
.reg-smap-chip--done    { background: #059669; color: #fff; }
.reg-smap-chip--prog    { background: #ca8a04; color: #fff; }
.reg-smap-chip--pending { background: rgba(255,255,255,.1); color: rgba(255,255,255,.55); }
.reg-smap-chip--more    { background: rgba(255,255,255,.06); color: rgba(255,255,255,.35); }
.reg-smap-preview__legend {
  display: flex; gap: .85rem;
  font-size: .6rem; color: rgba(255,255,255,.45);
}
.reg-smap-preview__legend span {
  display: flex; align-items: center; gap: .3rem;
}
.reg-smap-legend-dot {
  width: 8px; height: 8px; border-radius: 2px; display: inline-block;
}

/* Stats */
.reg-stats {
  display: flex; gap: 2rem;
  margin-top: 1.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.reg-stat__val {
  font-size: 1.5rem; font-weight: 900;
  color: var(--sn-yellow); letter-spacing: -0.03em; line-height: 1;
}
.reg-stat__lbl {
  font-size: 0.7rem; color: rgba(255,255,255,0.6);
  margin-top: 0.2rem; font-weight: 500;
}

/* ── Right panel ── */
.reg-right {
  background: var(--sn-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2.5rem;
  overflow-y: auto;
}

.reg-form-wrap {
  width: 100%;
  max-width: 420px;
}

.reg-form-wrap__head { margin-bottom: 1.75rem; }
.reg-form-wrap__head h1 {
  font-size: 1.6rem; font-weight: 900;
  color: var(--sn-text); letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}
.reg-form-wrap__head p {
  font-size: 0.85rem;
  color: var(--sn-text-muted); line-height: 1.55;
}

/* Name row */
.reg-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Password strength */
.pw-strength { margin-top: 0.4rem; display: none; }
.pw-strength-bar {
  height: 4px; border-radius: 4px;
  background: var(--sn-border); overflow: hidden; margin-bottom: 0.3rem;
}
.pw-strength-fill {
  height: 100%; border-radius: 4px;
  width: 0%; transition: width .3s ease, background .3s ease;
}
.pw-strength-label { font-size: 0.68rem; font-weight: 700; color: var(--sn-text-light); }

/* Terms */
.reg-terms {
  font-size: 0.75rem; color: var(--sn-text-muted);
  line-height: 1.6; margin-bottom: 1.25rem;
}
.reg-terms a { color: var(--sn-blue); font-weight: 600; }
.reg-terms a:hover { color: var(--sn-orange); }

/* Login link */
.reg-login { text-align: center; font-size: 0.82rem; color: var(--sn-text-muted); }
.reg-login a { color: var(--sn-blue); font-weight: 700; text-decoration: none; transition: color 0.15s; }
.reg-login a:hover { color: var(--sn-orange); text-decoration: underline; }

/* Step badge */
.reg-step-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--sn-success-bg); border: 1px solid var(--sn-success-border);
  color: var(--sn-success); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 20px;
  margin-bottom: 0.85rem;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .reg-page { grid-template-columns: 1fr; }
  .reg-left  { display: none; }
  .reg-right { min-height: calc(100vh - var(--sn-nav-h) - 60px); padding: 2rem 1.5rem; }
}
@media (max-width: 420px) {
  .reg-name-row { grid-template-columns: 1fr; }
}
