/* Onboarding index landing */
.apply-layout .apply-container {
  padding-top: 32px;
}

/* Shared onboarding background — official slider image */
body[data-onboarding-page] .apply-layout {
  position: relative;
  min-height: 100vh;
  background-color: #0a1410;
  overflow: hidden;
}

body[data-onboarding-page] .apply-layout::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('../img/bg/slider2.png') center center / cover no-repeat;
  pointer-events: none;
}

body[data-onboarding-page] .apply-layout::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    165deg,
    rgba(10, 20, 16, 0.84) 0%,
    rgba(13, 26, 20, 0.78) 45%,
    rgba(10, 20, 16, 0.88) 100%
  );
  pointer-events: none;
}

body[data-onboarding-page] .apply-layout > * {
  position: relative;
  z-index: 1;
}

/* ── Modern auth shell (register & shared onboarding auth) ── */
.auth-modern {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: transparent;
}

.auth-modern-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: authOrbFloat 14s ease-in-out infinite;
}

.auth-orb--1 {
  width: 320px;
  height: 320px;
  top: -8%;
  left: -6%;
  background: rgba(34, 197, 94, 0.35);
}

.auth-orb--2 {
  width: 280px;
  height: 280px;
  bottom: -10%;
  right: -4%;
  background: rgba(22, 163, 74, 0.28);
  animation-delay: -5s;
}

.auth-orb--3 {
  width: 180px;
  height: 180px;
  top: 42%;
  right: 18%;
  background: rgba(59, 130, 246, 0.12);
  animation-delay: -9s;
}

.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

@keyframes authOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 22px) scale(0.96); }
}

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

@keyframes authLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes authShine {
  0% { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(220%) skewX(-18deg); }
}

.auth-animate {
  opacity: 0;
  animation: authFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--auth-delay, 0.08s) * 1);
}

.auth-animate--1 { --auth-delay: 1; }
.auth-animate--2 { --auth-delay: 2; }
.auth-animate--3 { --auth-delay: 3; }
.auth-animate--4 { --auth-delay: 4; }
.auth-animate--5 { --auth-delay: 5; }
.auth-animate--6 { --auth-delay: 6; }
.auth-animate--7 { --auth-delay: 7; }
.auth-animate--8 { --auth-delay: 8; }
.auth-animate--9 { --auth-delay: 9; }
.auth-animate--10 { --auth-delay: 10; }
.auth-animate--11 { --auth-delay: 11; }
.auth-animate--12 { --auth-delay: 12; }

/* Register page — centered layout */
body[data-onboarding-page="register"] .apply-layout--register {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: transparent;
}

body[data-onboarding-page="register"] .apply-layout--register .apply-container {
  padding-top: 0;
  width: 60%;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.auth-modern-container {
  width: 100%;
}

/* Complete profile — modern layout */
body[data-onboarding-page="complete-profile"] .apply-layout--profile {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 36px 20px 56px;
  background: transparent;
}

body[data-onboarding-page="complete-profile"] .apply-layout--profile .apply-container {
  padding-top: 0;
  width: 72%;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.auth-profile-card {
  padding: 32px 36px 28px;
}

.auth-profile-form .form-grid {
  gap: 16px;
}

.auth-modern-card .profile-form-section {
  background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
  border: 1px solid #e8edf2;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-modern-card .profile-form-section:hover {
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.06);
}

.auth-modern-card .profile-form-section + .profile-form-section {
  border-top: 1px solid #e8edf2;
  padding-top: 20px;
}

.auth-modern-card .profile-form-section-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-section-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: var(--accent-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.auth-input-wrap--textarea .auth-input-icon {
  top: 16px;
  transform: none;
}

.auth-textarea {
  min-height: 88px;
  resize: vertical;
  padding-top: 12px !important;
}

.auth-select-wrap {
  position: relative;
}

.auth-select-wrap .auth-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 42px !important;
}

.auth-select-wrap .auth-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: #f3f4f6;
}

.auth-select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

.auth-select-wrap:focus-within .auth-select-chevron {
  color: var(--accent-green);
}

.profile-passport-zone {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border: 2px dashed #d1d5db;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.profile-passport-zone.is-loading {
  pointer-events: none;
}

.profile-passport-zone--compact {
  max-width: 420px;
}

.profile-passport-loader {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green-dark);
  backdrop-filter: blur(2px);
}

.profile-passport-loader[hidden] {
  display: none !important;
}

.profile-passport-loader-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(34, 197, 94, 0.2);
  border-top-color: var(--accent-green);
  border-radius: 50%;
  animation: btnSpin 0.75s linear infinite;
}

.profile-passport-label--compact {
  padding: 10px 12px;
}

.profile-passport-zone:hover,
.profile-passport-zone.is-dragover {
  border-color: var(--accent-green);
  background: #f0fdf4;
}

.profile-passport-zone.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.profile-passport-zone.has-image {
  border-style: solid;
  border-color: rgba(34, 197, 94, 0.35);
}

.profile-passport-preview {
  width: 100px;
  min-width: 100px;
  height: 120px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 36px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.profile-passport-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-passport-zone.has-image .profile-passport-preview {
  border-color: var(--accent-green);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.profile-passport-zone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.profile-passport-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  margin: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.profile-passport-label:hover {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.profile-passport-label > i {
  font-size: 22px;
  color: var(--accent-green);
  margin-bottom: 2px;
}

.profile-passport-label-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-passport-label-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.profile-passport-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.profile-nin-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border: 1px solid #bfdbfe;
  font-size: 12px;
  color: #1e40af;
  line-height: 1.5;
}

.profile-nin-note i {
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Stepper */
.auth-stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 0 4px;
}

.auth-stepper-track {
  position: absolute;
  top: 18px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.auth-stepper-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-stepper-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.auth-stepper-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-stepper-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.auth-stepper-item.active .auth-stepper-dot {
  color: #fff;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: rgba(74, 222, 128, 0.6);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2), 0 8px 20px rgba(34, 197, 94, 0.35);
  transform: scale(1.08);
}

.auth-stepper-item.active .auth-stepper-label {
  color: #86efac;
}

.auth-stepper-item.done .auth-stepper-dot {
  color: #86efac;
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(74, 222, 128, 0.4);
}

.auth-stepper-item.done .auth-stepper-label {
  color: rgba(134, 239, 172, 0.75);
}

/* Auth card */
.auth-modern-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(34, 197, 94, 0.06);
  padding: 36px 40px 32px;
  margin-bottom: 0;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.auth-modern-card:hover {
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 32px 64px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(34, 197, 94, 0.1);
}

.auth-modern-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  height: auto;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
  margin-bottom: 18px;
  animation: authLogoFloat 4s ease-in-out infinite;
}

.onboarding-register-brand {
  text-align: center;
  margin-bottom: 20px;
}

.onboarding-register-logo {
  display: block;
  max-width: 240px;
  width: 100%;
  height: auto;
  max-height: 72px;
  margin: 0 auto;
  object-fit: contain;
}

.auth-modern-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #16a34a;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.auth-modern-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.auth-modern-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Auth inputs */
.auth-input-wrap {
  position: relative;
}

.auth-input-wrap .auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.25s ease;
  z-index: 1;
}

.auth-input-wrap .auth-input,
.auth-input-wrap .form-control-dash.auth-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  min-height: 46px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.auth-input-wrap:focus-within .auth-input-icon {
  color: var(--accent-green);
}

.auth-input-wrap .auth-input:focus,
.auth-input-wrap .form-control-dash.auth-input:focus {
  background: #fff;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  outline: none;
}

.auth-input-wrap .password-toggle-btn {
  right: 12px;
}

.auth-input-wrap.password-field-wrap .auth-input,
.auth-input-wrap.password-field-wrap .form-control-dash {
  padding-right: 44px;
}

.auth-modern-form .form-group-dash label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

/* Submit button */
.auth-submit-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  border: none !important;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%) !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.45) !important;
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.btn-dash--busy {
  opacity: 0.92;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-dash--busy:hover {
  transform: none !important;
  box-shadow: inherit !important;
}

.btn-busy-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-busy-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
  flex-shrink: 0;
}

:not(.btn-dash-primary).btn-dash--busy .btn-busy-spinner,
a.btn-dash--busy .btn-busy-spinner {
  border-color: rgba(34, 197, 94, 0.2);
  border-top-color: var(--accent-green);
}

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

.auth-submit-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-submit-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: authShine 3.5s ease-in-out infinite;
}

.auth-modern .auth-footer-link {
  margin-top: 22px;
  font-size: 13px;
}

.auth-modern .auth-footer-link a {
  font-weight: 600;
  transition: color 0.2s ease;
}

.auth-modern .auth-footer-link a:hover {
  color: var(--accent-green-dark);
}

.auth-modern-footer {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 20px;
  letter-spacing: 0.03em;
}

.profile-form-section {
  margin-bottom: 20px;
  padding-bottom: 4px;
}

.profile-form-section + .profile-form-section {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.profile-form-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-form-section-title i {
  color: var(--accent-green);
}

.profile-passport-upload .passport-preview {
  flex-shrink: 0;
}

.profile-field-readonly {
  background: #f8fafc;
  color: var(--text-secondary);
  cursor: not-allowed;
}

.nin-field-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

.onboarding-index-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 40px;
}

.onboarding-hero {
  background: linear-gradient(135deg, #0d1a14 0%, #1a5c3a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

.onboarding-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.onboarding-hero h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  max-width: 560px;
}

.onboarding-hero-content > p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
  max-width: 620px;
}

.onboarding-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.onboarding-hero-actions .btn-dash-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.onboarding-hero-actions .btn-dash-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.onboarding-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.onboarding-stat {
  flex: 1 1 120px;
  min-width: 100px;
}

.onboarding-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1.2;
}

.onboarding-stat span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.onboarding-section {
  margin-bottom: 28px;
}

.onboarding-section-head {
  margin-bottom: 16px;
}

.onboarding-section-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.onboarding-section-head p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.onboarding-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.onboarding-benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.onboarding-benefit-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: var(--shadow-card);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.benefit-icon.green { background: #ecfdf5; color: #22c55e; }
.benefit-icon.blue { background: #eff6ff; color: #3b82f6; }
.benefit-icon.purple { background: #f5f3ff; color: #8b5cf6; }
.benefit-icon.orange { background: #fffbeb; color: #f59e0b; }
.benefit-icon.teal { background: #f0fdfa; color: #14b8a6; }
.benefit-icon.red { background: #fef2f2; color: #ef4444; }

.onboarding-benefit-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.onboarding-benefit-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.onboarding-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.onboarding-how-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 16px;
  text-align: center;
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.onboarding-how-step h4 {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.onboarding-how-step p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.onboarding-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 8px;
}

.onboarding-cta-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-primary);
}

.onboarding-cta-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.onboarding-index-footer {
  text-align: center;
  padding: 20px 16px 28px;
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
}

.onboarding-index-footer p {
  margin: 0 0 4px;
}

.onboarding-steps--5 .onboarding-step {
  min-width: 100px;
  font-size: 10px;
  padding: 8px 6px;
}

.otp-input-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}

.otp-input {
  width: 44px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.otp-input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.demo-otp-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  color: #1e40af;
  margin-bottom: 16px;
}

.demo-otp-box strong {
  font-size: 18px;
  letter-spacing: 4px;
  display: block;
  margin-top: 4px;
}

.membership-id-reveal {
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-card);
  margin-bottom: 16px;
}

.membership-id-reveal .id-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.membership-id-reveal .id-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-green-dark);
  margin: 8px 0;
  letter-spacing: 1px;
}

.membership-id-reveal .id-note {
  font-size: 11px;
  color: var(--text-secondary);
}

.onboarding-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 360px;
  padding: 12px 40px 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  box-shadow: var(--shadow-md);
  animation: slideUp 0.25s ease;
}

.onboarding-toast--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.onboarding-toast--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.onboarding-toast--info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

.onboarding-toast button {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: none;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
}

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

.nin-locked-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-card);
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.nin-locked-banner i {
  font-size: 24px;
  color: #d97706;
  flex-shrink: 0;
}

.nin-locked-banner h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}

.nin-locked-banner p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

.nin-verify-card .membership-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green-dark);
  background: #ecfdf5;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.nin-input-wrap {
  max-width: 320px;
}

.nin-input-wrap input {
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: 600;
  text-align: center;
}

.nin-verify-form {
  margin-bottom: 0;
}

.nin-status {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.nin-status--info {
  color: #1d4ed8;
}

.nin-status--success {
  color: #047857;
}

.nin-status--error {
  color: #b91c1c;
}

.nin-data-preview {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.nin-profile-form {
  margin-top: 4px;
}

.nin-profile-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.nin-profile-form-note {
  font-size: 11px;
  color: var(--text-secondary);
  margin: -6px 0 16px;
  line-height: 1.5;
}

.nin-profile-grid {
  gap: 14px 16px;
}

.nin-photo-field {
  margin-bottom: 4px;
}

.nin-nimc-photo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.nin-nimc-photo {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(29, 78, 216, 0.2);
  background: #fff;
}

.nin-nimc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nin-nimc-photo-caption {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 220px;
}

.nin-data-preview.is-populated .nin-profile-section {
  animation: ninFormReveal 0.35s ease;
}

.nin-confirm-btn {
  margin-top: 18px;
  width: 100%;
}

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

.nin-preview-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
}

.onboarding-nav-locked {
  padding: 14px 12px;
  margin: 8px 10px 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  font-size: 10px;
  color: #92400e;
  text-align: center;
}

.onboarding-nav-locked-icon {
  font-size: 22px;
  margin-bottom: 6px;
  color: #d97706;
}

.onboarding-nav-locked p {
  margin: 0 0 4px;
  line-height: 1.4;
}

.auth-footer-link {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 16px;
}

.auth-footer-link a {
  color: var(--accent-green);
  font-weight: 600;
  text-decoration: none;
}

.password-field-wrap {
  position: relative;
}

.password-field-wrap .form-control-dash {
  padding-right: 40px;
}

.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 4px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn:hover {
  color: var(--accent-green);
}

.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.password-strength-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e5e7eb;
  transition: background 0.2s ease;
}

.password-strength-bar.filled {
  background: #f59e0b;
}

.password-strength-bar.filled.valid {
  background: #22c55e;
}

.password-hint {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.password-hint--valid {
  color: #16a34a;
  font-weight: 500;
}

.password-requirements {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.password-req {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.password-req i {
  font-size: 8px;
}

.password-req.valid {
  color: #16a34a;
  font-weight: 500;
}

.password-req.valid i {
  font-size: 11px;
}

@media (max-width: 767.98px) {
  body[data-onboarding-page="register"] .apply-layout--register .apply-container,
  body[data-onboarding-page="complete-profile"] .apply-layout--profile .apply-container {
    width: 100%;
  }

  .auth-profile-card {
    padding: 24px 20px 22px;
  }

  .profile-passport-zone {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-passport-zone-body {
    width: 100%;
  }

  .auth-modern-card {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }

  .auth-modern-title {
    font-size: 22px;
  }

  .auth-stepper-label {
    font-size: 9px;
  }

  .auth-stepper-dot {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .onboarding-benefits-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-how-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onboarding-hero h2 {
    font-size: 22px;
  }

  .onboarding-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .auth-stepper-label {
    display: none;
  }

  .auth-stepper-track {
    left: 12%;
    right: 12%;
    top: 16px;
  }

  .auth-logo-ring {
    padding: 10px 14px;
  }

  .onboarding-register-logo {
    max-width: 200px;
    max-height: 60px;
  }

  .onboarding-steps--5 .onboarding-step {
    min-width: 0;
    flex: 1 1 45%;
  }

  .onboarding-how-grid {
    grid-template-columns: 1fr;
  }

  .otp-input {
    width: 38px;
    height: 42px;
    font-size: 18px;
  }

  .nin-preview-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .passport-preview {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-animate,
  .auth-orb,
  .auth-logo-ring,
  .auth-submit-shine {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .auth-submit-btn:hover {
    transform: none;
  }
}