/* ============================================================
 *  MDS Admission Registration — Styles
 *  Future Education · futeducation.com
 * ============================================================ */

/* ── MDS Registration Page Styles ── */
    :root {
      --mds-primary: #0d6efd;
      --mds-dark:    #0a1931;
      --mds-success: #198754;
      --mds-gold:    #f59e0b;
      --mds-red:     #dc2626;
    }

    /* Hero */
    .mds-hero {
      background: linear-gradient(135deg, #0a1931 0%, #0d3570 60%, #1a5fb4 100%);
      padding: 80px 0 50px;
      position: relative;
      overflow: hidden;
    }
    .mds-hero::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(13,110,253,.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .mds-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.25);
      backdrop-filter: blur(8px);
      border-radius: 50px;
      padding: 5px 14px;
      font-size: .78rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 16px;
      letter-spacing: .5px;
    }
    .mds-hero-title {
      font-size: clamp(1.7rem, 4vw, 2.6rem);
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
    }
    .mds-hero-title span { color: #60a5fa; }
    .mds-hero-subtitle {
      color: rgba(255,255,255,.75);
      font-size: .95rem;
      max-width: 520px;
    }

    /* Trust bar */
    .mds-trust-bar {
      background: #fff;
      border-bottom: 2px solid #e5e7eb;
      padding: 12px 0;
    }
    .mds-trust-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: .82rem;
      font-weight: 600;
      color: #374151;
    }
    .mds-trust-item i { color: var(--mds-primary); font-size: 1.1rem; }

    /* Progress steps */
    .mds-steps {
      display: flex;
      justify-content: center;
      gap: 0;
      margin: 32px 0 28px;
      position: relative;
    }
    .mds-steps::before {
      content: '';
      position: absolute;
      top: 18px; left: 15%;
      width: 70%; height: 2px;
      background: #e5e7eb;
      z-index: 0;
    }
    .mds-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      flex: 1;
      max-width: 120px;
      position: relative;
      z-index: 1;
    }
    .mds-step-num {
      width: 36px; height: 36px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: .85rem;
      background: #e5e7eb;
      color: #6b7280;
      border: 2px solid #e5e7eb;
      transition: all .3s;
    }
    .mds-step.active .mds-step-num {
      background: var(--mds-primary);
      border-color: var(--mds-primary);
      color: #fff;
      box-shadow: 0 0 0 4px rgba(13,110,253,.2);
    }
    .mds-step.done .mds-step-num {
      background: var(--mds-success);
      border-color: var(--mds-success);
      color: #fff;
    }
    .mds-step-label {
      font-size: .72rem;
      font-weight: 600;
      color: #9ca3af;
      text-align: center;
      line-height: 1.2;
    }
    .mds-step.active .mds-step-label { color: var(--mds-primary); }
    .mds-step.done  .mds-step-label  { color: var(--mds-success); }

    /* Form card */
    .mds-form-card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 30px rgba(0,0,0,.1);
      overflow: hidden;
    }
    .mds-form-header {
      background: linear-gradient(135deg, var(--mds-primary), #0a58ca);
      padding: 18px 24px;
    }
    .mds-form-header h2 { color: #fff; margin: 0; font-size: 1.15rem; font-weight: 700; }
    .mds-form-header p  { color: rgba(255,255,255,.8); margin: 4px 0 0; font-size: .82rem; }
    .mds-form-body { padding: 24px; }

    /* Form fields */
    .mds-form-body .form-control,
    .mds-form-body .form-select {
      border-radius: 8px;
      border: 1.5px solid #e5e7eb;
      padding: 10px 14px;
      font-size: .9rem;
      transition: border-color .2s, box-shadow .2s;
    }
    .mds-form-body .form-control:focus,
    .mds-form-body .form-select:focus {
      border-color: var(--mds-primary);
      box-shadow: 0 0 0 3px rgba(13,110,253,.12);
    }
    .mds-form-body .form-control.is-invalid,
    .mds-form-body .form-select.is-invalid {
      border-color: var(--mds-red);
    }
    .mds-section-label {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: #6b7280;
      margin: 16px 0 8px;
      display: flex; align-items: center; gap: 6px;
    }
    .mds-section-label::after {
      content: ''; flex: 1; height: 1px; background: #e5e7eb;
    }

    /* Submit button */
    .mds-btn-pay {
      width: 100%;
      padding: 14px;
      font-size: 1rem;
      font-weight: 700;
      border-radius: 10px;
      background: linear-gradient(135deg, #0d6efd, #0a58ca);
      border: none;
      color: #fff;
      letter-spacing: .3px;
      cursor: pointer;
      transition: transform .15s, box-shadow .15s;
      position: relative;
    }
    .mds-btn-pay:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(13,110,253,.35);
    }
    .mds-btn-pay:disabled { opacity: .7; cursor: not-allowed; transform: none; }
    .mds-btn-pay .spinner-border {
      width: 18px; height: 18px; border-width: 2px;
    }

    /* Amount badge */
    .mds-amount-badge {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #f0f7ff;
      border: 1.5px solid #bfdbfe;
      border-radius: 10px;
      padding: 12px 16px;
      margin-bottom: 16px;
    }
    .mds-amount-badge .label { font-size: .82rem; color: #374151; }
    .mds-amount-badge .amount { font-size: 1.3rem; font-weight: 800; color: var(--mds-primary); }
    .mds-amount-badge .gst { font-size: .72rem; color: #6b7280; margin-top: 2px; }

    /* UPI icons */
    .mds-payment-icons {
      display: flex; gap: 8px; flex-wrap: wrap;
      margin-bottom: 14px;
    }
    .mds-upi-chip {
      background: #f9fafb;
      border: 1px solid #e5e7eb;
      border-radius: 6px;
      padding: 4px 10px;
      font-size: .72rem;
      font-weight: 600;
      color: #374151;
    }

    /* Security note */
    .mds-secure-note {
      display: flex; align-items: center; gap: 6px;
      font-size: .75rem; color: #6b7280;
      justify-content: center;
      margin-top: 10px;
    }


    /* Sidebar info card */
    .mds-info-card {
      background: #fff;
      border-radius: 14px;
      border: 1px solid #e5e7eb;
      overflow: hidden;
      margin-bottom: 16px;
    }
    .mds-info-card-head {
      background: #f8faff;
      border-bottom: 1px solid #e5e7eb;
      padding: 12px 16px;
      font-weight: 700;
      font-size: .85rem;
      display: flex; align-items: center; gap: 8px;
    }
    .mds-info-card-body { padding: 16px; }
    .mds-step-list { list-style: none; padding: 0; margin: 0; }
    .mds-step-list li {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 8px 0;
      border-bottom: 1px solid #f3f4f6;
      font-size: .83rem;
      color: #374151;
    }
    .mds-step-list li:last-child { border: none; padding-bottom: 0; }
    .mds-step-list .num {
      min-width: 22px; height: 22px;
      background: var(--mds-primary);
      color: #fff;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: .72rem; font-weight: 700;
      margin-top: 1px;
    }

    /* ── SUCCESS SCREEN ─────────────────────────────────────────── */
    #success-screen { display: none; }
    .mds-success-card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 4px 30px rgba(0,0,0,.1);
      overflow: hidden;
    }
    .mds-success-header {
      background: linear-gradient(135deg, #065f46, #059669);
      padding: 32px 24px;
      text-align: center;
    }
    .mds-success-icon {
      width: 70px; height: 70px;
      background: rgba(255,255,255,.2);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 14px;
      font-size: 2rem; color: #fff;
    }
    .mds-success-title { color: #fff; font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; }
    .mds-success-sub   { color: rgba(255,255,255,.8); font-size: .87rem; margin: 0; }
    .mds-success-body  { padding: 24px; }
    .mds-detail-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 10px 0; border-bottom: 1px solid #f3f4f6;
      font-size: .87rem;
    }
    .mds-detail-row:last-child { border: none; }
    .mds-detail-row .key   { color: #6b7280; }
    .mds-detail-row .value { font-weight: 600; color: #111827; text-align: right; max-width: 60%; word-break: break-all; }
    .mds-inquiry-badge {
      background: #eff6ff;
      border: 2px dashed #3b82f6;
      border-radius: 10px;
      padding: 14px;
      text-align: center;
      margin-bottom: 20px;
    }
    .mds-inquiry-badge .label { font-size: .75rem; color: #6b7280; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
    .mds-inquiry-badge .id    { font-size: 1.3rem; font-weight: 800; color: var(--mds-primary); font-family: 'Courier New', monospace; letter-spacing: 1px; }
    .mds-btn-receipt {
      width: 100%;
      padding: 13px;
      font-weight: 700;
      border-radius: 10px;
      background: linear-gradient(135deg, #059669, #065f46);
      border: none; color: #fff; cursor: pointer;
      font-size: .95rem;
      transition: box-shadow .2s;
    }
    .mds-btn-receipt:hover { box-shadow: 0 6px 18px rgba(5,150,105,.3); }

    /* ── LOADING OVERLAY ────────────────────────────────────────── */
    #mds-overlay {
      display: none;
      position: fixed; inset: 0;
      background: rgba(0,0,0,.65);
      z-index: 2147483647; /* above Razorpay iframe */
      align-items: center; justify-content: center;
      flex-direction: column; gap: 16px;
    }
    #mds-overlay.show { display: flex; }
    #mds-overlay p { color: #fff; font-weight: 600; font-size: .95rem; margin: 0; }

    /* ── NOTIFICATION TOAST ──────────────────────────────────────────
       Clean white card · top-right · slides in from right
       Above Razorpay (z-index max)
    ─────────────────────────────────────────────────────────────── */
    #mds-toast-wrap {
      position: fixed;
      top: 24px;
      right: 24px;
      z-index: 2147483647;
      pointer-events: none;
      width: 340px;
    }
    @media (max-width: 480px) {
      #mds-toast-wrap {
        top: 12px; right: 12px; left: 12px; width: auto;
      }
    }
    #mds-toast {
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 4px 6px -1px rgba(0,0,0,.07),
                  0 10px 24px -4px rgba(0,0,0,.12),
                  0 0 0 1px rgba(0,0,0,.06);
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translateX(calc(100% + 32px));
      transition: transform .32s cubic-bezier(.22,1,.36,1),
                  opacity .2s ease;
    }
    #mds-toast.show {
      opacity: 1;
      pointer-events: auto;
      transform: translateX(0);
    }
    /* Coloured top accent bar */
    .mds-toast-bar {
      height: 3px;
      width: 100%;
    }
    #mds-toast.error   .mds-toast-bar { background: #ef4444; }
    #mds-toast.success .mds-toast-bar { background: #22c55e; }
    #mds-toast.info    .mds-toast-bar { background: #3b82f6; }
    #mds-toast.warning .mds-toast-bar { background: #f59e0b; }
    /* Body */
    .mds-toast-inner {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      padding: 14px 14px 14px 16px;
    }
    /* SVG icon container */
    .mds-toast-icon {
      flex-shrink: 0;
      width: 20px; height: 20px;
      margin-top: 1px;
    }
    .mds-toast-icon svg { width: 20px; height: 20px; display: block; }
    #mds-toast.error   .mds-toast-icon svg { color: #ef4444; }
    #mds-toast.success .mds-toast-icon svg { color: #22c55e; }
    #mds-toast.info    .mds-toast-icon svg { color: #3b82f6; }
    #mds-toast.warning .mds-toast-icon svg { color: #f59e0b; }
    /* Text */
    .mds-toast-body  { flex: 1; min-width: 0; }
    .mds-toast-title {
      font-size: .825rem;
      font-weight: 600;
      color: #111827;
      margin-bottom: 2px;
      line-height: 1.3;
    }
    .mds-toast-msg {
      font-size: .775rem;
      color: #6b7280;
      line-height: 1.45;
    }
    /* Close button */
    .mds-toast-close {
      flex-shrink: 0;
      background: none;
      border: none;
      padding: 2px;
      cursor: pointer;
      color: #9ca3af;
      line-height: 1;
      border-radius: 4px;
      transition: color .15s, background .15s;
      margin-top: 1px;
    }
    .mds-toast-close:hover { color: #374151; background: #f3f4f6; }
    .mds-toast-close svg { width: 14px; height: 14px; display: block; }
    /* Auto-dismiss progress bar */
    .mds-toast-progress {
      height: 2px;
      background: #e5e7eb;
      transform-origin: left;
      transform: scaleX(1);
      transition: transform linear;
    }
    #mds-toast.error   .mds-toast-progress { background: #fca5a5; }
    #mds-toast.success .mds-toast-progress { background: #86efac; }
    #mds-toast.info    .mds-toast-progress { background: #93c5fd; }
    #mds-toast.warning .mds-toast-progress { background: #fcd34d; }

    /* ── RECEIPT PRINT ───────────────────────────────────────────── */
    @media print {
      /* Suppress entire page — receipt prints via printReceipt() in a new window */
      body * { display: none !important; }
    }

    /* ── Secret coupon modal ─────────────────────────────────── */
    #coupon-modal-overlay {
      display: none;
      position: fixed; inset: 0;
      background: rgba(0,0,0,.35);
      z-index: 2147483647;
      align-items: center;
      justify-content: center;
    }
    #coupon-modal-overlay.open { display: flex; }
    #coupon-modal-box {
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      width: 300px;
      box-shadow: 0 8px 32px rgba(0,0,0,.18);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    #coupon-modal-input {
      width: 100%;
      border: 1.5px solid #e5e7eb;
      border-radius: 7px;
      padding: 10px 13px;
      font-size: .95rem;
      font-family: 'Poppins', sans-serif;
      letter-spacing: 1px;
      outline: none;
      text-transform: uppercase;
      transition: border-color .2s;
    }
    #coupon-modal-input:focus { border-color: #0d6efd; }
    #coupon-modal-ok {
      width: 100%;
      padding: 10px;
      background: #0d6efd;
      color: #fff;
      border: none;
      border-radius: 7px;
      font-size: .9rem;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Poppins', sans-serif;
      transition: background .15s;
    }
    #coupon-modal-ok:hover { background: #0b5ed7; }

    /* ── RESPONSIVE ──────────────────────────────────────────────── */
    @media (max-width: 576px) {
      .mds-steps::before { width: 60%; left: 20%; }
      .mds-form-body { padding: 16px; }
    }

/* ============================================================
 *  ADDED FOR THIS PAGE ONLY — beyond the base MDS stylesheet.
 *  Reuses the same design tokens (--mds-primary, --mds-dark,
 *  --mds-success, --mds-red) already defined above.
 *  1) Interactive file-upload widget (replaces bare <input type=file>)
 *  2) Small mobile-friendliness polish
 * ============================================================ */

/* Interactive document upload widget */
.nu-file-wrap { position: relative; }
.nu-file-drop {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px 78px 10px 12px; /* right padding clears the action buttons */
  cursor: pointer;
  background: #f9fafb;
  transition: border-color .15s, background .15s;
}
.nu-file-drop:hover,
.nu-file-drop:focus-within {
  border-color: var(--mds-primary);
  background: #f0f7ff;
}
.nu-file-drop.has-file {
  border-style: solid;
  border-color: var(--mds-success);
  background: #f0fdf4;
}
.nu-file-drop .nu-file-icon {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: #e5e7eb;
  color: #6b7280;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .15s, color .15s;
}
.nu-file-drop.has-file .nu-file-icon { background: var(--mds-success); color: #fff; }
.nu-file-drop .nu-file-text { flex: 1; min-width: 0; }
.nu-file-drop .nu-file-name {
  font-size: .82rem; font-weight: 600; color: #374151;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.nu-file-drop .nu-file-hint { font-size: .72rem; color: #9ca3af; }
.nu-file-drop input[type="file"] {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; overflow: hidden; clip: rect(0,0,0,0);
}

/* View / remove buttons — siblings of the <label>, not inside it,
   so clicking them doesn't also reopen the file picker */
.nu-file-actions {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  display: none; gap: 4px;
}
.nu-file-wrap.has-file .nu-file-actions { display: flex; }
.nu-file-action-btn {
  width: 28px; height: 28px; border-radius: 7px; border: 1px solid #e5e7eb;
  background: #fff; display: flex; align-items: center; justify-content: center;
  color: #6b7280; cursor: pointer; font-size: .8rem;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.nu-file-action-btn:hover { background: #f3f4f6; }
.nu-file-action-view:hover { color: var(--mds-primary, #0d6efd); border-color: var(--mds-primary, #0d6efd); }
.nu-file-action-remove:hover { color: #dc2626; border-color: #dc2626; }

/* Simple lightbox for reviewing an uploaded image/PDF before submitting */
.nu-file-preview-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  background: rgba(15, 23, 42, .75);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.nu-file-preview-overlay.open { display: flex; }
.nu-file-preview-box {
  background: #fff; border-radius: 14px; max-width: 92vw; max-height: 88vh;
  width: 480px; display: flex; flex-direction: column; overflow: hidden;
}
.nu-file-preview-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid #eef1f6;
}
.nu-file-preview-head span { font-size: .88rem; font-weight: 700; color: #1f2937; }
.nu-file-preview-close {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid #e5e7eb;
  background: #fff; cursor: pointer; color: #6b7280;
}
.nu-file-preview-body {
  padding: 16px; overflow: auto; display: flex; align-items: center; justify-content: center;
  background: #f9fafb; min-height: 200px;
}
.nu-file-preview-body img { max-width: 100%; max-height: 60vh; border-radius: 8px; }
.nu-file-preview-body iframe { width: 100%; height: 60vh; border: none; border-radius: 8px; }
.nu-file-preview-fallback { text-align: center; color: #6b7280; font-size: .85rem; }
.nu-file-preview-fallback a { display: inline-block; margin-top: 10px; }

/* Mobile polish */
@media (max-width: 767px) {
  .mds-hero { padding: 56px 0 40px; text-align: center; }
  .mds-hero .col-lg-9 { margin: 0 auto; }
  .mds-hero-subtitle { margin-left: auto; margin-right: auto; }
  .mds-form-body { padding: 14px; }
  .mds-steps { margin: 22px 0 20px; }
  .mds-step-label { font-size: .64rem; }
  .mds-info-card.sticky-top { position: static; margin-top: 24px; }
  .table-responsive { font-size: .8rem; }
  .accordion-button { font-size: .88rem; }
}

/* ============================================================
 *  MDS THEME OVERRIDE — copied verbatim from the <style> block
 *  in the live mds-admission-registration.html so this page's
 *  form/cards match it exactly (navy/saffron/teal/gold), not the
 *  blue #0d6efd theme from the base mds-admission-registration.css
 *  above. Cascade order matches the live page: base stylesheet
 *  first, this override block after — same effect as that page's
 *  linked CSS + inline <style> in <head>.
 * ============================================================ */
:root{
  --mds-navy-1:#0b1f3a;
  --mds-navy-2:#13315c;
  --mds-saffron:#ff7a18;
  --mds-teal:#0fb59c;
  --mds-gold:#f2b705;
}

/* ---------- WHAT WE OFFER / EVERYTHING INCLUDED CARDS ---------- */
.mds-offer-section{ padding:44px 0 8px; }
.mds-offer-title{
  font-family:'Poppins',sans-serif; font-weight:700;
  font-size:clamp(1.3rem,2.4vw,1.8rem); color:var(--mds-navy-2);
  text-align:center; margin-bottom:8px;
}
.mds-offer-sub{
  text-align:center; color:#6b7280; max-width:680px;
  margin:0 auto 28px; font-size:.95rem;
}
.mds-offer-card{
  display:flex; align-items:flex-start; gap:12px;
  background:#fff; border:1px solid #e9edf4; border-radius:14px;
  padding:16px 16px; box-shadow:0 4px 14px rgba(15,40,80,.05);
  transition:transform .2s ease, box-shadow .2s ease; height:100%;
}
.mds-offer-card:hover{ transform:translateY(-3px); box-shadow:0 10px 24px rgba(15,40,80,.10); }
.mds-offer-icon{
  flex-shrink:0; width:40px; height:40px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--mds-navy-2),#1d4d8f);
  color:#fff; font-size:1.05rem;
}
.mds-offer-card span.txt{ font-size:.86rem; font-weight:600; color:#1f2937; line-height:1.35; }

/* ---------- FORM CARD (navy/saffron) ---------- */
.mds-form-card{
  background:#fff; border-radius:18px;
  box-shadow:0 10px 30px rgba(15,40,80,.08); border:1px solid #eef1f6;
  overflow:hidden;
}
.mds-form-header{
  background:linear-gradient(135deg,var(--mds-navy-2),#1d4d8f);
  color:#fff; padding:20px 24px;
}
.mds-form-header h2{ font-family:'Poppins',sans-serif; font-size:1.15rem; font-weight:700; margin:0 0 4px; }
.mds-form-header p{ font-size:.82rem; color:rgba(255,255,255,.8); margin:0; }
.mds-form-body{ padding:24px; }
.mds-section-label{
  font-size:.82rem; font-weight:700; color:var(--mds-navy-2);
  text-transform:uppercase; letter-spacing:.03em;
  margin:6px 0 10px; display:flex; align-items:center; gap:6px;
}
.mds-section-label::after{ content:''; flex:1; height:1px; background:#e5e7eb; }
.mds-section-label i{ color:var(--mds-saffron); }

.mds-amount-badge{
  display:flex; align-items:center; justify-content:space-between;
  background:#fff7ed; border:1px solid #ffd9b0;
  border-radius:12px; padding:14px 16px; margin:10px 0 14px;
}
.mds-amount-badge .label{ font-size:.8rem; font-weight:600; color:#7c4a12; }
.mds-amount-badge .gst{ font-size:.7rem; color:#9c6a30; }
.mds-amount-badge .amount{ font-size:1.5rem; font-weight:800; color:var(--mds-saffron); }

.mds-payment-icons{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.mds-upi-chip{
  background:#eef4ff; color:#1d4d8f; font-size:.75rem; font-weight:600;
  padding:5px 10px; border-radius:20px; border:1px solid #d9e6ff;
}

.mds-btn-pay{
  width:100%; border:none; border-radius:12px;
  background:linear-gradient(135deg,var(--mds-saffron),#ff9a45);
  color:#fff; font-weight:700; font-size:1rem;
  padding:14px 0; box-shadow:0 8px 20px rgba(255,122,24,.35);
  transition:transform .15s ease;
}
.mds-btn-pay:hover{ transform:translateY(-1px); }
.mds-secure-note{ text-align:center; font-size:.74rem; color:#6b7280; margin:10px 0 0; }

/* ---------- SUCCESS CARD ---------- */
.mds-success-card{
  background:#fff; border-radius:18px; overflow:hidden;
  box-shadow:0 10px 30px rgba(15,40,80,.08); border:1px solid #eef1f6;
}
.mds-success-header{
  background:linear-gradient(135deg,var(--mds-teal),#0a8c78);
  color:#fff; text-align:center; padding:30px 24px;
}
.mds-success-icon{ font-size:2.6rem; margin-bottom:8px; background:none; width:auto; height:auto; }
.mds-success-title{ font-family:'Poppins',sans-serif; font-weight:700; font-size:1.3rem; margin:0; color:#fff; }
.mds-success-sub{ font-size:.85rem; color:rgba(255,255,255,.85); margin:4px 0 0; }
.mds-success-body{ padding:24px; }

.mds-inquiry-badge{
  text-align:center; background:#f4f7fb; border-radius:12px;
  padding:16px; margin-bottom:16px; border:1px solid #e6ebf2;
}
.mds-inquiry-badge .label{ font-size:.75rem; color:#6b7280; font-weight:600; }
.mds-inquiry-badge .id{ font-size:1.3rem; font-weight:800; color:var(--mds-navy-2); letter-spacing:.04em; font-family:inherit; }

.mds-detail-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:9px 0; border-bottom:1px dashed #e6ebf2; font-size:.86rem;
}
.mds-detail-row .key{ color:#6b7280; }
.mds-detail-row .value{ font-weight:600; color:#1f2937; }

.mds-btn-receipt{
  width:100%; border:none; border-radius:10px;
  background:var(--mds-navy-2); color:#fff; font-weight:600;
  padding:11px 0; margin-top:6px;
}

/* ---------- SIDEBAR INFO CARDS ---------- */
.mds-info-card{
  background:#fff; border-radius:16px; border:1px solid #eef1f6;
  box-shadow:0 6px 18px rgba(15,40,80,.05);
  margin-bottom:18px; overflow:hidden;
}
.mds-info-card-head{
  display:flex; align-items:center; gap:8px;
  font-weight:700; font-size:.92rem; color:var(--mds-navy-2);
  padding:14px 18px; border-bottom:1px solid #f1f4f8; background:#fafbfd;
}
.mds-info-card-body{ padding:16px 18px; }

.mds-step-list{ list-style:none; margin:0; padding:0; }
.mds-step-list li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:.84rem; color:#374151; margin-bottom:10px;
}
.mds-step-list li .num{
  flex-shrink:0; width:22px; height:22px; border-radius:50%;
  background:var(--mds-saffron); color:#fff; font-size:.72rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}

/* ---------- Progress steps — navy/saffron variant ---------- */
.mds-step.active .mds-step-num{
  background:var(--mds-saffron); border-color:var(--mds-saffron);
  box-shadow:0 4px 12px rgba(255,122,24,.35);
}
.mds-step.active .mds-step-label{ color:var(--mds-saffron); }

/* ============================================================
 *  ADDED — custom Date of Birth picker + phone country-code
 *  input. Both are plain widgets built for this page; they reuse
 *  --mds-navy-2 / --mds-saffron so they match the theme above.
 * ============================================================ */

/* Date picker — position set inline via JS (portaled to <body> to
   escape .mds-form-card's overflow:hidden, which was clipping it) */
.nu-dob-wrap input[readonly] { background: #fff; cursor: pointer; }
.nu-datepicker {
  position: fixed; z-index: 2147483000;
  width: 300px; max-width: 92vw;
  background: #fff; border-radius: 14px;
  box-shadow: 0 14px 40px rgba(15,40,80,.18); border: 1px solid #eef1f6;
  padding: 14px; display: none;
}
.nu-datepicker.open { display: block; }
.nu-dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 6px; }
.nu-dp-head select {
  border: 1px solid #e5e7eb; border-radius: 8px; padding: 4px 6px;
  font-size: .82rem; font-weight: 600; color: var(--mds-navy-2, #13315c);
  min-width: 0; flex: 1 1 auto;
}
.nu-dp-nav {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid #e5e7eb;
  background: #fff; display: flex; align-items: center; justify-content: center;
  color: var(--mds-navy-2, #13315c); cursor: pointer; flex-shrink: 0;
}
.nu-dp-nav:hover { background: #f0f7ff; }
.nu-dp-nav:disabled { opacity: .3; cursor: not-allowed; }
.nu-dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.nu-dp-dow { font-size: .68rem; font-weight: 700; color: #9ca3af; padding: 4px 0; }
.nu-dp-day {
  font-size: .82rem; padding: 7px 0; border-radius: 8px; cursor: pointer; color: #1f2937;
  border: none; background: none;
}
.nu-dp-day:hover:not(:disabled) { background: #f0f7ff; }
.nu-dp-day:disabled { color: #d1d5db; cursor: not-allowed; }
.nu-dp-day.selected { background: var(--mds-saffron, #ff7a18); color: #fff; font-weight: 700; }
.nu-dp-day.today:not(.selected) { border: 1.5px solid var(--mds-saffron, #ff7a18); }
.nu-dp-day.other-month { visibility: hidden; }
.nu-dp-footer { text-align: center; font-size: .7rem; color: #9ca3af; margin-top: 8px; }

/* Phone input with country code */
.nu-phone-group { display: flex; gap: 0; }
.nu-phone-cc-btn {
  display: flex; align-items: center; gap: 4px;
  border: 1.5px solid #e5e7eb; border-right: none;
  border-radius: 8px 0 0 8px; padding: 0 10px;
  background: #f9fafb; font-size: .88rem; white-space: nowrap; cursor: pointer;
  flex-shrink: 0;
}
.nu-phone-cc-btn:hover { background: #f0f7ff; }
.nu-phone-group input[type="tel"] { border-radius: 0 8px 8px 0 !important; }
.nu-phone-cc-flag { font-size: 1.05rem; line-height: 1; }
.nu-phone-cc-dial { color: #374151; font-weight: 600; }
.nu-cc-dropdown {
  position: fixed; z-index: 2147483000;
  width: 280px; max-width: 92vw; max-height: 320px; overflow: hidden;
  background: #fff; border-radius: 12px;
  box-shadow: 0 14px 40px rgba(15,40,80,.18); border: 1px solid #eef1f6;
  display: none; flex-direction: column;
}
.nu-cc-dropdown.open { display: flex; }
.nu-cc-search {
  border: none; border-bottom: 1px solid #eef1f6; padding: 10px 12px;
  font-size: .85rem; outline: none;
}
.nu-cc-list { overflow-y: auto; flex: 1; }
.nu-cc-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; font-size: .84rem; cursor: pointer; color: #1f2937;
}
.nu-cc-item:hover { background: #f0f7ff; }
.nu-cc-item .nu-phone-cc-dial { margin-left: auto; color: #9ca3af; font-weight: 500; }
.nu-cc-divider { border-top: 1px solid #f1f4f8; margin: 4px 0; }