/* ============================================
   Registration Page — Standalone Multi-Step Form
   ============================================ */

:root {
  --brand: #E8491C;
  --brand-dark: #B8360F;
  --brand-light: #FF7A45;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --grey-50: #FAFAFA;
  --grey-100: #F5F5F5;
  --grey-200: #E5E5E5;
  --grey-300: #D4D4D4;
  --grey-400: #A3A3A3;
  --grey-500: #737373;
  --grey-600: #525252;
  --grey-700: #404040;
  --grey-800: #262626;
  --grey-900: #171717;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
}

body.register-page {
  font-family: var(--font-body);
  background: var(--grey-100);
  color: var(--grey-800);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.reg-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* Page wrapper */
.reg-page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.reg-page-card {
  width: 100%;
  max-width: 760px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 24px 64px rgba(0, 0, 0, 0.08);
}

/* Header */
.reg-page-header {
  background: var(--black);
  padding: 28px 32px 0;
}

.reg-page-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.reg-page-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reg-page-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.reg-page-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.reg-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.reg-page-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.reg-page-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.reg-page-close i {
  font-size: 1.25rem;
}

/* Step indicator */
.reg-page-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.reg-page-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s ease;
}

.reg-page-step-label {
  padding: 0 8px 10px;
  text-align: left;
  white-space: nowrap;
}

.reg-page-step-bar {
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.reg-page-step.active {
  color: var(--white);
}

.reg-page-step.active .reg-page-step-bar,
.reg-page-step.completed .reg-page-step-bar {
  background: var(--brand);
}

.reg-page-step.completed {
  color: rgba(255, 255, 255, 0.7);
}

/* Form body */
.reg-page-form {
  padding: 32px;
}

.reg-page-panel {
  display: block;
  animation: regPanelIn 0.35s ease;
  scroll-margin-top: 24px;
}

@keyframes regPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reg-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.reg-section-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-dark);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}

.reg-section-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.01em;
}

/* Labels & inputs */
.reg-page-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 10px;
}

.reg-page-label .req {
  color: var(--brand);
}

.reg-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--grey-400);
}

.reg-page-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.reg-page-label-row .reg-page-label {
  margin-bottom: 0;
}

.reg-sport-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--brand);
  white-space: nowrap;
}

.reg-page-field {
  margin-bottom: 24px;
}

.reg-page-fieldset {
  border: none;
  margin-bottom: 24px;
}

.reg-page-fieldset legend {
  margin-bottom: 10px;
}

.reg-page-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--grey-800);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reg-page-input-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.reg-page-input::placeholder {
  color: var(--grey-400);
}

.reg-page-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 73, 28, 0.1);
}

.reg-page-input.invalid {
  border-color: #DC2626;
}

.reg-page-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.reg-page-hint {
  font-size: 0.8125rem;
  color: var(--grey-500);
  margin: -4px 0 12px;
}

.reg-page-error {
  display: block;
  font-size: 0.75rem;
  color: #DC2626;
  margin-top: 6px;
  min-height: 0;
}

.reg-page-error-block:empty {
  display: none;
}

/* Batch selector cards */
.reg-batch-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reg-batch-card {
  cursor: pointer;
}

.reg-batch-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reg-batch-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.reg-batch-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--grey-300);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.reg-batch-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--white);
  transform: scale(0);
  transition: transform 0.2s ease;
}

.reg-batch-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--grey-700);
}

.reg-batch-card input:checked + .reg-batch-inner {
  border-color: var(--brand);
  background: rgba(232, 73, 28, 0.04);
}

.reg-batch-card input:checked + .reg-batch-inner .reg-batch-radio {
  border-color: var(--brand);
  background: var(--brand);
}

.reg-batch-card input:checked + .reg-batch-inner .reg-batch-radio::after {
  transform: scale(1);
}

.reg-batch-card:hover .reg-batch-inner {
  border-color: var(--grey-300);
}

/* Sport chips */
.reg-sport-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reg-sport-chip {
  cursor: pointer;
}

.reg-sport-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reg-sport-chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey-700);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.reg-sport-chip-icon {
  display: flex;
  font-size: 1rem;
  color: var(--brand);
  transition: color 0.2s ease;
}

.reg-sport-chip-check {
  font-size: 0.8125rem;
  opacity: 0;
  transform: scale(0.4);
  margin-left: -2px;
  width: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, width 0.2s ease, margin-left 0.2s ease;
}

.reg-sport-chip input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 73, 28, 0.35);
}

.reg-sport-chip input:checked + span .reg-sport-chip-icon {
  color: var(--white);
}

.reg-sport-chip input:checked + span .reg-sport-chip-check {
  opacity: 1;
  transform: scale(1);
  width: 14px;
  margin-left: 2px;
}

.reg-sport-chip:hover span {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.reg-sport-chip input:checked:hover + span {
  box-shadow: 0 6px 20px rgba(232, 73, 28, 0.4);
}

/* Divider */
.reg-page-divider {
  height: 1px;
  background: var(--grey-200);
  margin: 28px 0;
}

/* Atharv Runbhoomi (IIM Indore) trial callout */
.reg-trial-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(241, 245, 249, 0.95) 100%);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 20px;
}

.reg-trial-section-media {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.reg-trial-section-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reg-trial-section-body {
  flex: 1;
  min-width: 0;
}

.reg-trial-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(232, 73, 28, 0.08);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.reg-trial-section-desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-600);
  line-height: 1.6;
}

/* Atharv Runbhoomi — special dark trial panel */
.reg-panel-atharv {
  background: linear-gradient(160deg, #141110 0%, var(--black) 100%);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: 0 20px 50px rgba(232, 73, 28, 0.16);
}

.reg-panel-atharv .reg-section-title {
  color: var(--white);
}

.reg-panel-atharv .reg-trial-section {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 20px;
}

.reg-panel-atharv .reg-trial-section-pill {
  background: rgba(232, 73, 28, 0.16);
  color: var(--brand-light);
}

.reg-panel-atharv .reg-trial-section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.reg-panel-atharv .reg-page-fieldset legend,
.reg-panel-atharv .reg-page-label-row .reg-page-label {
  color: var(--brand-light);
}

.reg-panel-atharv .reg-batch-inner {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.15);
}

.reg-panel-atharv .reg-batch-radio {
  border-color: rgba(255, 255, 255, 0.35);
}

.reg-panel-atharv .reg-batch-text {
  color: rgba(255, 255, 255, 0.85);
}

.reg-panel-atharv .reg-batch-card:hover .reg-batch-inner {
  border-color: rgba(255, 255, 255, 0.3);
}

.reg-panel-atharv .reg-batch-card input:checked + .reg-batch-inner {
  background: rgba(232, 73, 28, 0.1);
}

.reg-panel-atharv .reg-page-hint {
  color: rgba(255, 255, 255, 0.5);
}

.reg-panel-atharv .reg-page-error {
  color: #FF6B6B;
}

/* Skill level guide */
.reg-level-guide {
  margin-bottom: 8px;
  background: linear-gradient(135deg, #FDF6EC 0%, #FBEEDD 100%);
  border: 1.5px solid #F0E0C8;
  border-radius: var(--radius-xl);
  padding: 24px 20px;
}

.reg-level-guide-head {
  margin-bottom: 20px;
}

.reg-level-guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(232, 73, 28, 0.08);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.reg-level-guide-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grey-900);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.reg-level-guide-desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-600);
  line-height: 1.6;
}

.reg-guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.reg-guide-card {
  position: relative;
  padding: 20px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  overflow: hidden;
}

.reg-guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.reg-card-l1::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.reg-card-l2::before {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.reg-card-l3::before {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.reg-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.reg-card-l1:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.reg-card-l2:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.reg-card-l3:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.reg-guide-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reg-guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 12px;
}

.badge-l1 {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
}

.badge-l2 {
  background: rgba(37, 99, 235, 0.12);
  color: #1e40af;
}

.badge-l3 {
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
}

.reg-guide-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--grey-500);
  background: var(--grey-100);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-guide-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 6px;
}

.reg-guide-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grey-600);
  line-height: 1.5;
}

/* Sport & skill level table */
.reg-sport-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-lg);
}

.reg-sport-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.reg-sport-table thead th {
  background: var(--grey-50);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey-500);
  text-align: left;
  border-bottom: 1.5px solid var(--grey-200);
  white-space: nowrap;
}

.reg-sport-th-register,
.reg-sport-th-level {
  text-align: center;
}

.reg-sport-row td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--grey-100);
  font-size: 0.875rem;
  color: var(--grey-800);
  transition: background 0.15s ease;
}

.reg-sport-row:last-child td {
  border-bottom: none;
}

.reg-sport-row:hover td {
  background: var(--grey-50);
}

.reg-sport-row:has(input[type="checkbox"]:checked) td {
  background: rgba(232, 73, 28, 0.04);
}

.reg-sport-td-sport {
  font-weight: 600;
  white-space: nowrap;
}

.reg-sport-td-sport i {
  color: var(--brand);
  margin-right: 8px;
  font-size: 1rem;
  vertical-align: -2px;
}

.reg-sport-td-register,
.reg-sport-td-level {
  text-align: center;
}

.reg-sport-checkbox {
  display: inline-flex;
  cursor: pointer;
}

.reg-sport-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reg-sport-checkbox span {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--grey-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.reg-sport-checkbox input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
}

.reg-sport-checkbox input:checked + span::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.reg-level-radio {
  display: inline-flex;
  cursor: pointer;
}

.reg-level-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reg-level-radio span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--grey-700);
  white-space: nowrap;
}

.reg-level-radio span::before {
  content: '';
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 2px solid var(--grey-300);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.reg-level-radio input:checked + span {
  color: var(--brand-dark);
  font-weight: 700;
}

.reg-level-radio input:checked + span::before {
  border-color: var(--brand);
  border-width: 5px;
}

.reg-sport-row-other td {
  background: var(--grey-50);
}

.reg-sport-other-input {
  width: 100%;
  min-width: 160px;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--grey-800);
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease;
}

.reg-sport-other-input:focus {
  border-color: var(--brand);
}

/* File upload */
.reg-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  border: 1.5px dashed var(--grey-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: center;
}

.reg-upload-box:hover {
  border-color: var(--brand);
  background: rgba(232, 73, 28, 0.02);
}

.reg-upload-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reg-upload-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-100);
  border-radius: 50%;
  color: var(--grey-500);
  font-size: 1.125rem;
}

.reg-upload-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-600);
}

.reg-upload-name {
  font-size: 0.75rem;
  color: var(--grey-400);
}

.reg-upload-box.has-file {
  border-color: var(--brand);
  border-style: solid;
  background: rgba(232, 73, 28, 0.03);
}

.reg-upload-box.has-file .reg-upload-name {
  color: var(--brand);
  font-weight: 500;
}

/* Declaration */
.reg-page-declaration {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 8px;
}

.reg-page-declaration input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reg-page-decl-box {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 1.5px solid var(--grey-300);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.reg-page-decl-box i {
  font-size: 0.875rem;
  color: var(--white);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.reg-page-declaration input:checked + .reg-page-decl-box {
  background: var(--brand);
  border-color: var(--brand);
}

.reg-page-declaration input:checked + .reg-page-decl-box i {
  opacity: 1;
  transform: scale(1);
}

.reg-page-decl-text {
  font-size: 0.8125rem;
  color: var(--grey-600);
  line-height: 1.6;
}

/* Buttons */
.reg-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.reg-page-btn-primary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.reg-page-btn-primary:hover {
  background: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 73, 28, 0.35);
}

.reg-page-btn-back {
  background: var(--grey-100);
  color: var(--grey-700);
  flex-shrink: 0;
}

.reg-page-btn-back:hover {
  background: var(--grey-200);
}

.reg-page-btn-full {
  width: 100%;
  margin-top: 8px;
}

/* Submit loading */
.reg-page-btn-primary.loading .reg-submit-text,
.reg-page-btn-primary.loading .reg-submit-icon {
  display: none;
}

.reg-page-btn-primary .reg-submit-loading {
  display: none;
}

.reg-page-btn-primary.loading .reg-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reg-spinner {
  animation: regSpin 0.8s linear infinite;
}

@keyframes regSpin {
  to { transform: rotate(360deg); }
}

/* Success state */
.reg-page-success {
  padding: 56px 32px;
  text-align: center;
  animation: regPanelIn 0.4s ease;
}

.reg-page-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 73, 28, 0.08);
  border-radius: 50%;
  color: var(--brand);
  font-size: 2.25rem;
}

.reg-page-success h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 12px;
}

.reg-page-success p {
  font-size: 0.9375rem;
  color: var(--grey-500);
  max-width: 400px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.reg-page-success-ref {
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin: -12px auto 24px;
}

.reg-page-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.reg-page-success .reg-page-btn {
  margin: 0 6px 8px;
}

/* Form error banner */
.reg-form-error {
  background: #FEF2F2;
  color: #DC2626;
  font-size: 0.875rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid #FECACA;
}

/* Responsive */
@media (max-width: 640px) {
  .reg-page-header {
    padding: 20px 20px 0;
  }

  .reg-page-form {
    padding: 24px 20px;
  }

  .reg-page-step-label {
    font-size: 0.5625rem;
    padding: 0 4px 8px;
  }

  .reg-page-row {
    grid-template-columns: 1fr;
  }

  .reg-batch-options {
    grid-template-columns: 1fr;
  }

  .reg-guide-cards {
    grid-template-columns: 1fr;
  }

  .reg-trial-section {
    flex-direction: column;
  }

  .reg-trial-section-media {
    width: 100%;
    height: 160px;
  }

  .reg-page-btn-back {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reg-page-panel {
    animation: none;
  }

  .reg-spinner {
    animation: none;
  }

}
