:root {
  --simple-bg: #f4f7fb;
  --simple-surface: #ffffff;
  --simple-text: #142033;
  --simple-muted: #667085;
  --simple-line: #dce3ec;
  --simple-navy: #0f172a;
  --simple-blue: #2563eb;
  --simple-blue-dark: #1d4ed8;
  --simple-blue-soft: #eff6ff;
  --simple-yellow: #facc15;
  --simple-yellow-soft: #fefce8;
  --simple-pink: #ec4899;
  --simple-pink-soft: #fdf2f8;
  --simple-coral: #ef4444;
  --simple-green: #047857;
  --simple-green-soft: #ecfdf5;
  --simple-amber: #b45309;
  --simple-amber-soft: #fffbeb;
  --simple-red: #b42318;
  --simple-red-soft: #fef3f2;
}

html,
body {
  min-height: 100%;
  background: var(--simple-bg);
}

body {
  position: relative;
  display: block;
  margin: 0;
  color: var(--simple-text);
  background: var(--simple-bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 0;
  height: 6px;
  background: var(--simple-pink);
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 30px 18px 28px;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--simple-text);
  background: transparent;
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.brand-logo,
.mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.brand-logo {
  object-fit: contain;
  padding: 4px;
  background: var(--simple-surface);
}

.brand-logo[hidden] {
  display: none;
}

.mark {
  color: #ffffff;
  background: var(--simple-pink);
  font-size: 18px;
  font-weight: 800;
}

.institution-name {
  overflow-wrap: anywhere;
  color: var(--simple-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.system-label {
  margin-top: 3px;
  color: var(--simple-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.security-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #fde68a;
  border-radius: 999px;
  color: #854d0e;
  background: var(--simple-yellow-soft);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.security-pill svg,
.simple-footer svg,
.note svg,
.send-button svg,
.receipt-download svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.security-pill svg {
  width: 15px;
  height: 15px;
}

.hero {
  display: block;
  margin: 38px 0 20px;
}

.intro-panel {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.intro-panel::before,
.mini-steps,
.trust-panel {
  display: none;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--simple-pink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  max-width: none;
  margin: 0;
  color: var(--simple-navy);
  font-size: clamp(30px, 8vw, 39px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.lead {
  max-width: 440px;
  margin: 9px 0 0;
  color: var(--simple-muted);
  font-size: 14px;
  line-height: 1.55;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
}

.main-grid > * {
  min-width: 0;
}

.form-card,
.status-panel {
  overflow: hidden;
  border: 1px solid var(--simple-line);
  border-radius: 18px;
  background: var(--simple-surface);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.colour-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 6px;
}

.colour-bar span {
  display: block;
}

.colour-blue {
  background: var(--simple-blue);
}

.colour-yellow {
  background: var(--simple-yellow);
}

.colour-pink {
  background: var(--simple-pink);
}

.colour-red {
  background: var(--simple-coral);
}

.card-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 12px;
  padding: 20px 22px 0;
  border: 0;
  background: var(--simple-surface);
  text-align: left;
}

.card-head h2 {
  margin: 0;
  color: var(--simple-navy);
  font-size: 16px;
  font-weight: 750;
}

.queue-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  color: #854d0e;
  background: #fef3c7;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.form-body,
.status-body {
  display: grid;
  gap: 13px;
  padding: 18px 22px 22px;
}

label {
  display: grid;
  gap: 7px;
  margin: 0;
}

label > span:first-child {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.phone-input,
.otp-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  overflow: hidden;
  min-height: 56px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: var(--simple-surface);
  box-shadow: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.phone-input:focus-within,
.otp-row:focus-within {
  border-color: var(--simple-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.prefix {
  display: grid;
  place-items: center;
  min-width: 58px;
  padding: 0 8px;
  border: 0;
  color: #1e40af;
  background: var(--simple-blue-soft);
  font-size: 12px;
  font-weight: 800;
}

.phone-input input,
.otp-row input {
  width: 100%;
  height: 54px;
  border: 0;
  border-left: 1px solid #e2e8f0;
  padding: 0 14px;
  color: var(--simple-navy);
  background: var(--simple-surface);
  font-size: 18px;
  font-weight: 650;
  outline: none;
}

.phone-input input::placeholder,
.otp-row input::placeholder {
  color: #98a2b3;
  font-weight: 500;
}

.network-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  min-height: 60px;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: var(--simple-blue-soft);
  box-shadow: none;
}

.network-card.is-ready {
  border-color: #bfdbfe;
  background: var(--simple-blue-soft);
}

.network-card[data-provider="mtn"].is-ready {
  border-color: #fde047;
  background: var(--simple-yellow-soft);
}

.network-card[data-provider="atl"].is-ready {
  border-color: #93c5fd;
  background: var(--simple-blue-soft);
}

.network-card[data-provider="vod"].is-ready {
  border-color: #fda4af;
  background: #fff1f2;
}

.network-card.is-warning {
  border-color: #fecaca;
  background: var(--simple-red-soft);
}

.network-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #475467;
  background: var(--simple-surface);
  font-size: 9px;
  font-weight: 800;
}

.network-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.network-text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.network-text strong {
  overflow-wrap: anywhere;
  color: var(--simple-text);
  font-size: 13px;
  font-weight: 750;
}

.network-text span {
  display: block;
  color: var(--simple-muted);
  font-size: 11px;
  line-height: 1.35;
}

.name-card {
  display: grid;
  min-height: 56px;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #f9a8d4;
  border-radius: 12px;
  background: var(--simple-pink-soft);
}

.name-card[hidden],
.status-panel[hidden] {
  display: none;
}

.name-card span {
  color: #667085;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.name-card strong {
  overflow-wrap: anywhere;
  color: #9d174d;
  font-size: 15px;
  font-weight: 750;
}

.send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  gap: 9px;
  border: 1px solid var(--simple-blue);
  border-radius: 12px;
  color: #ffffff;
  background: var(--simple-blue);
  box-shadow: none;
  font-size: 14px;
  font-weight: 750;
  transform: none;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.send-button:hover {
  border-color: var(--simple-blue-dark);
  background: var(--simple-blue-dark);
  box-shadow: none;
  transform: none;
}

.send-button:focus-visible,
.secondary-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.send-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.send-button svg {
  width: 18px;
  height: 18px;
}

.secondary-button {
  display: none;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: #475467;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  transform: none;
}

.secondary-button.show {
  display: block;
}

.secondary-button:hover {
  color: var(--simple-blue);
  background: var(--simple-blue-soft);
  transform: none;
}

.status {
  display: none;
  margin: 0;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.status.show {
  display: block;
}

.status.info {
  color: #1e40af;
  background: var(--simple-blue-soft);
}

.status.success {
  color: #065f46;
  background: var(--simple-green-soft);
}

.status.error {
  color: var(--simple-red);
  background: var(--simple-red-soft);
}

.redirect-link {
  display: none;
  min-height: 48px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: var(--simple-navy);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.redirect-link.show {
  display: grid;
}

.receipt-download {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--simple-pink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.receipt-download.show {
  display: flex;
}

.receipt-download:hover {
  background: #db2777;
}

.receipt-download svg {
  width: 18px;
  height: 18px;
}

.otp-card {
  display: none;
  gap: 12px;
  margin: 0;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px;
  background: var(--simple-blue-soft);
}

.otp-card.show {
  display: grid;
}

.otp-card p {
  margin: 0;
  color: #475467;
  font-size: 12px;
  line-height: 1.45;
}

.note {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  color: #b42318;
  background: #fff1f2;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.note svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.note > span {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-weight: inherit;
}

.note strong {
  font-weight: 800;
}

.status-panel {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 12px;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: #f8fafc;
}

.request-card span {
  color: var(--simple-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.request-card strong {
  color: var(--simple-navy);
  font-size: 14px;
  font-weight: 750;
}

.progress-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  list-style: none;
}

.progress-step,
.progress-step.is-active,
.progress-step.is-done,
.progress-step.is-error {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: center;
  min-height: 72px;
  gap: 7px;
  padding: 9px 5px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: var(--simple-muted);
  background: var(--simple-surface);
  text-align: center;
}

.step-dot {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #667085;
  background: #f2f4f7;
  font-size: 10px;
  font-weight: 800;
}

.progress-step strong {
  display: block;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.progress-step.is-active {
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: var(--simple-blue-soft);
}

.progress-step.is-active .step-dot {
  color: #ffffff;
  background: var(--simple-blue);
}

.progress-step.is-done {
  border-color: #b7e4d2;
  color: var(--simple-green);
  background: var(--simple-green-soft);
}

.progress-step.is-done .step-dot {
  color: #ffffff;
  background: var(--simple-green);
}

.progress-step.is-error {
  border-color: #fecaca;
  color: var(--simple-red);
  background: var(--simple-red-soft);
}

.progress-step.is-error .step-dot {
  color: #ffffff;
  background: var(--simple-red);
}

.simple-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  color: #7c3aed;
  font-size: 10px;
  font-weight: 650;
}

.simple-footer svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 520px) {
  .page-shell {
    padding: 24px 13px 24px;
  }

  .security-pill {
    min-height: 29px;
    padding: 0 8px;
  }

  .hero {
    margin: 30px 4px 17px;
  }

  .form-card,
  .status-panel {
    border-radius: 15px;
  }

  .card-head {
    padding: 18px 17px 0;
  }

  .form-body,
  .status-body {
    padding: 16px 17px 18px;
  }

  .progress-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 350px) {
  .security-pill {
    display: none;
  }

  .progress-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
