:root {
  --color-primary: #1e40af;
  --color-primary-dark: #1e3a8a;
  --color-primary-vivid: #3b82f6;
  --color-primary-light: #dbeafe;
  --color-primary-50: #eff6ff;
  --color-secondary: #0891b2;
  --color-secondary-dark: #0e7490;
  --color-secondary-light: #cffafe;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-accent-light: #fef3c7;
  --color-success: #059669;
  --color-success-light: #d1fae5;
  --color-warning: #eab308;
  --color-warning-light: #fef9c3;
  --color-error: #dc2626;
  --color-error-light: #fee2e2;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
  --header-height: 68px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 14px;
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --color-primary: #1e40af;
  --color-primary-dark: #1e3a8a;
  --color-primary-vivid: #3b82f6;
  --color-primary-light: #dbeafe;
  --color-primary-50: #eff6ff;
  --color-secondary: #0891b2;
  --color-secondary-dark: #0e7490;
  --color-secondary-light: #cffafe;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-accent-light: #fef3c7;
  --color-success: #059669;
  --color-success-light: #d1fae5;
  --color-warning: #eab308;
  --color-warning-light: #fef9c3;
  --color-error: #dc2626;
  --color-error-light: #fee2e2;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
  --header-height: 68px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 16px;
  z-index: 10000;
  font-size: 14px;
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#registerPlanSelector .account-type-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: var(--space-4);
}
#registerPlanSelector .account-type-btn {
  border: 0;
  background: transparent;
  color: #475569;
  padding: var(--space-2) var(--space-5);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
#registerPlanSelector .account-type-btn:hover {
  color: #0f172a;
}
#registerPlanSelector .account-type-btn.active {
  background: #fff;
  color: #3b82f6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
#registerPlanSelector .account-type-btn i {
  margin-right: var(--space-2);
}
#registerPlanSelector .plan-pane + .plan-pane {
  margin-top: var(--space-3);
}
#registerPlanSelector .plan-pane-subheading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
  margin: 0 0 var(--space-2) 0;
}
#registerPlanSelector .plan-pane-subheading small {
  text-transform: none;
  letter-spacing: 0;
  color: #059669;
  font-weight: 700;
}
#registerPlanSelector .plan-pane-subheading.mt-3 {
  margin-top: var(--space-4);
}
#registerPlanSelector .plan-pane-intro {
  color: #334155;
  margin-bottom: var(--space-3);
  line-height: 1.5;
}
#registerPlanSelector .plan-pane-footnote {
  margin-top: var(--space-3);
  color: #64748b;
  font-size: 0.8rem;
}
#registerPlanSelector .plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: var(--space-2);
}
#registerPlanSelector .plan-card {
  display: block;
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease, transform 150ms ease;
}
#registerPlanSelector .plan-card:hover {
  border-color: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
#registerPlanSelector .plan-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
#registerPlanSelector .plan-card:has(input:checked) {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: rgba(59, 130, 246, 0.04);
}
#registerPlanSelector .plan-card .plan-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#registerPlanSelector .plan-card .plan-card-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.2;
}
#registerPlanSelector .plan-card .plan-card-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}
#registerPlanSelector .plan-card .plan-card-price small {
  color: #64748b;
  font-weight: 400;
  font-size: 0.8rem;
}

.payment-provider-group .auth-plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
}
.payment-provider-group .auth-plan-option {
  padding: var(--space-3) var(--space-4);
}

.school-name-group {
  padding: var(--space-3);
  background: rgba(59, 130, 246, 0.03);
  border: 1px dashed rgba(59, 130, 246, 0.25);
  border-radius: 12px;
}
.school-name-group input {
  background: #fff;
}
