:root {
  --rjbcl-blue: #123b72;
  --rjbcl-blue-mid: #2f5f9e;
  --rjbcl-blue-dark: #0b254a;
  --rjbcl-gold: #e1a629;
  --rjbcl-gold-dark: #c98e19;
  --rjbcl-gold-light: #fcf6e8;
  --rjbcl-success: #198754;
  --rjbcl-success-light: #d1e7dd;
  --rjbcl-danger: #c0392b;
  --rjbcl-warning: #f59e0b;
  --rjbcl-bg: #f4f7fb;
  --rjbcl-card-bg: #ffffff;
  --rjbcl-text-main: #1e293b;
  --rjbcl-text-muted: #64748b;
  --rjbcl-border: #e2e8f0;
  --rjbcl-radius: 16px;
}

* { scroll-behavior: smooth; }

body {
  background-color: var(--rjbcl-bg);
  color: var(--rjbcl-text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rjbcl-blue); }
.brand-home-link { display: inline-flex; align-items: center; text-decoration: none; }

/* Keyboard accessibility: visible focus ring everywhere, not just form controls */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.stepper span:focus-visible {
  outline: 3px solid var(--rjbcl-gold);
  outline-offset: 2px;
}

/* Header Navbar */
.claim-nav {
  background: var(--rjbcl-card-bg);
  border-bottom: 1px solid var(--rjbcl-border);
}

.nav-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  flex-wrap: wrap;
}

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

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--rjbcl-blue-dark);
  font-size: 0.95rem;
}

.brand-text span {
  color: var(--rjbcl-text-muted);
  font-size: 0.75rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rjbcl-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hub-link:hover { color: var(--rjbcl-blue-dark); }

.portal-badge {
  background: var(--rjbcl-gold-light);
  color: var(--rjbcl-blue);
  border: 1px solid rgba(225, 166, 41, 0.4);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--rjbcl-gold);
  box-shadow: 0 0 0 3px rgba(225, 166, 41, 0.25);
}

/* Hero */
.hero-wrap {
  position: relative;
  /* Date pickers are positioned below the policy card. They must be allowed
     to extend outside this main wrapper instead of being clipped at its edge. */
  overflow: visible;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 340px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(18, 59, 114, 0.10), rgba(18, 59, 114, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.header-section { position: relative; z-index: 1; }

.eyebrow {
  color: var(--rjbcl-gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  font-weight: 800;
  color: var(--rjbcl-blue);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--rjbcl-blue-dark);
}

/* Stepper Progress Tracker */
.stepper-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 10px;
  position: relative;
  z-index: 1;
}

.stepper {
  position: relative;
  display: flex;
  gap: 0;
  min-width: 720px;
}

.stepper-track {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 15px;
  height: 3px;
  background: var(--rjbcl-border);
  border-radius: 3px;
  z-index: 0;
}

.stepper-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--rjbcl-gold), var(--rjbcl-blue));
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper span {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 4px;
  color: var(--rjbcl-text-muted);
}

.stepper .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--rjbcl-border);
  color: var(--rjbcl-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.stepper span b {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.stepper span.active .step-num {
  background: var(--rjbcl-blue);
  border-color: var(--rjbcl-blue);
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(18, 59, 114, 0.14);
}

.stepper span.active b {
  color: var(--rjbcl-blue-dark);
  font-weight: 800;
}

.stepper span.done .step-num {
  background: var(--rjbcl-success);
  border-color: var(--rjbcl-success);
  color: transparent;
  font-size: 0;
}

.stepper span.done .step-num::after {
  content: "\2713";
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.stepper span.done b { color: var(--rjbcl-success); }

/* Alert */
#alert.alert {
  border: 1px solid transparent;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Cards & Panel Styling */
.claim-card {
  border: 0;
  border-radius: var(--rjbcl-radius);
  background: var(--rjbcl-card-bg);
  box-shadow: 0 10px 30px rgba(18, 59, 114, 0.08);
}
.language-toggle { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #e2e8f0; border-radius: 3px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.08); }
.language-toggle button { border: 0; background: #fff; color: #334155; padding: 4px 9px; font-size: .76rem; line-height: 1.2; cursor: pointer; }
.language-toggle button.is-active { background: var(--rjbcl-blue); color: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgba(18,59,114,.3); font-weight: 700; }
.death-date-type-native-hidden { display: none !important; }
.death-date-label { position: relative; display: block; padding-right: 78px; min-height: 24px; }
.date-format-toggle { position: absolute; top: -4px; right: 0; display: inline-flex; gap: 2px; padding: 2px; border: 1px solid #dbe4f0; border-radius: 5px; background: #fff; box-shadow: 0 2px 6px rgba(15,23,42,.08); font-weight: 400; }
.date-format-toggle button { border: 0; background: #fff; color: #334155; min-width: 30px; padding: 3px 6px; font-size: .7rem; line-height: 1.2; cursor: pointer; border-radius: 3px; }
.date-format-toggle button.is-active { background: var(--rjbcl-blue) !important; color: #fff !important; border-radius: 3px; box-shadow: 0 1px 3px rgba(18,59,114,.3); font-weight: 700; }
.date-format-toggle button:focus-visible { outline: 2px solid #2563eb; outline-offset: 1px; }

/* Keep the AD/BS date picker above the following death-claim shortcut card. */
#policy-panel { position: relative; z-index: 20; }

.fade-in { animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

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

@media (prefers-reduced-motion: reduce) {
  .fade-in { animation: none; }
  .stepper-track-fill { transition: none; }
  * { scroll-behavior: auto; }
}

.panel-header { display: flex; flex-direction: column; gap: 4px; }

.panel-header h2 { display: flex; align-items: center; gap: 10px; }

/* Section icon badges, matching the Digital Hub's colored icon chips */
.section-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.section-icon.tone-blue { background: #eef4fa; color: var(--rjbcl-blue); }
.section-icon.tone-amber { background: #fef3e2; color: var(--rjbcl-warning); }
.section-icon.tone-gold { background: var(--rjbcl-gold-light); color: var(--rjbcl-gold-dark); }
.section-icon.tone-green { background: var(--rjbcl-success-light); color: var(--rjbcl-success); }

.panel-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Keep the policy heading visually centered in both English and Nepali. */
.policy-form-area > .panel-header-row {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.policy-form-area > .panel-header-row > div { width: 100%; text-align: center; }
.policy-form-area > .panel-header-row h2 { justify-content: center; }

/* Inputs & Form Elements */
.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--rjbcl-text-main);
  margin-bottom: 6px;
}

.form-control, .form-select {
  border: 1px solid var(--rjbcl-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--rjbcl-blue);
  box-shadow: 0 0 0 3px rgba(18, 59, 114, 0.12);
}

.form-control[readonly] {
  background-color: #f8fafc;
  color: var(--rjbcl-text-muted);
}

.dob-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.dob-col { flex: 1 1 0; min-width: 0; position: relative; }

.field-sublabel {
  display: block;
  font-size: 0.75rem;
  color: var(--rjbcl-text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.dob-divider {
  color: var(--rjbcl-text-muted);
  font-size: 0.85rem;
  padding-bottom: 9px;
  font-weight: 600;
}

/* File Upload Card Styling */
.upload-card-wrapper {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s ease;
}

.upload-card-wrapper:hover,
.upload-card-wrapper.drag-over {
  border-color: var(--rjbcl-blue);
  background: #f1f5f9;
}

.upload-filename {
  font-size: 0.8rem;
  color: var(--rjbcl-success);
  margin-top: 6px;
  display: none;
  align-items: center;
  gap: 6px;
}

.upload-filename.show { display: flex; }
.file-preview { display: none; margin-top: 8px; }
.file-preview.show { display: block; }
.file-preview-image { display: block; max-width: 180px; max-height: 140px; object-fit: contain; border: 1px solid #dbe5f1; border-radius: 8px; padding: 4px; background: #fff; }
.claim-form-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.claim-form-links small { flex-basis: 100%; }
.claim-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--rjbcl-border); }
.claim-form-hint { color: var(--rjbcl-text-muted); font-size: .82rem; }
.claim-form-hint i { color: var(--rjbcl-success); }
.claim-primary-action { min-width: 190px; border-radius: 10px; font-weight: 700; }
.claim-form-actions .btn { box-shadow: 0 8px 18px rgba(18,59,114,.18); }
.review-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.review-actions .btn { min-height: 46px; border-radius: 10px; font-weight: 700; }
.review-document-list { display: grid; gap: 10px; }
.review-document-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid var(--rjbcl-border); border-radius: 10px; background: #f8fafc; }
.review-document-info { display: flex; align-items: center; min-width: 0; }
.review-document-info span { min-width: 0; }
.review-document-info strong, .review-document-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-document-info strong { color: var(--rjbcl-blue); font-size: .86rem; }
.review-document-info small { color: var(--rjbcl-text-muted); margin-top: 2px; }
.review-document-preview { flex: none; }
.review-file-thumbnail { display: block; width: 58px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid #cbd5e1; }
.death-mobile-verification { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.death-mobile-verification > .form-control { flex: 1 1 220px; min-width: 0; }
.death-otp-send { white-space: nowrap; font-weight: 600; }
.death-otp-box { flex-basis: 100%; }
.death-otp-box .input-group { max-width: 430px; }
.death-otp-verify { white-space: nowrap; }
@media (max-width: 560px) { .claim-form-actions { align-items: stretch; flex-direction: column; }.claim-primary-action { width: 100%; } }
@media (max-width: 560px) { .review-actions { align-items: stretch; flex-direction: column-reverse; }.review-actions .btn { width: 100%; } }

/* Buttons */
.btn-primary {
  background-color: var(--rjbcl-blue);
  border-color: var(--rjbcl-blue);
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 20px;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--rjbcl-blue-dark);
  border-color: var(--rjbcl-blue-dark);
}

.btn-outline-secondary,
.btn-outline-primary {
  border-radius: 8px;
  font-weight: 600;
}

.btn-glow { box-shadow: 0 4px 14px rgba(18, 59, 114, 0.25); }

.btn:disabled { cursor: not-allowed; }

/* Summaries & Output Boxes */
.summary {
  background: #f8fafc;
  border: 1px solid var(--rjbcl-border);
  border-radius: 12px;
  padding: 20px;
}

.summary dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.summary dt {
  color: var(--rjbcl-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.summary dd {
  margin: 0;
  font-weight: 700;
  color: var(--rjbcl-blue-dark);
  font-size: 1rem;
}

.policy-hero-card {
  background: linear-gradient(135deg, var(--rjbcl-blue-dark), var(--rjbcl-blue));
  border-radius: 14px;
  padding: 20px 22px;
  color: #fff;
}

.policy-hero-card h6 { color: rgba(255, 255, 255, 0.7); }

.policy-hero-card .summary-hero dl { color: #fff; }
.policy-hero-card .summary-hero dt { color: rgba(255, 255, 255, 0.65); }
.policy-hero-card .summary-hero dd { color: #fff; }

.review-box p { margin-bottom: 10px; font-size: 0.95rem; }

/* Success Card Elements */
.success-mark {
  width: 72px;
  height: 72px;
  line-height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--rjbcl-success-light);
  color: var(--rjbcl-success);
  font-size: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reference-card {
  background: var(--rjbcl-gold-light);
  border: 1px solid rgba(225, 166, 41, 0.3);
  padding: 16px 24px;
  border-radius: 12px;
  display: inline-block;
}

.reference {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rjbcl-blue);
  font-variant-numeric: tabular-nums;
}

.letter-spacing-lg { letter-spacing: 0.4em; font-weight: 700; }

.max-w-xl { max-width: 480px; }
.max-w-md { max-width: 420px; }

/* Footer, consistent with the Digital Hub */
.claim-footer {
  border-top: 1px solid var(--rjbcl-border);
  padding: 20px 24px;
  text-align: center;
  color: var(--rjbcl-text-muted);
  font-size: 0.82rem;
}

/* Reference portal treatment: airy blue shell, hero artwork and split lookup card. */
body { background: linear-gradient(135deg, #eaf4ff 0%, #f8fbff 48%, #eaf3ff 100%); }
.hero-wrap { max-width: 1280px; }
.header-section.hero-heading { min-height: 190px; display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 22px 0 0; }
.hero-copy { position: relative; z-index: 2; padding-left: 0; }
.hero-copy h1 { font-size: clamp(2.2rem, 4vw, 3rem); color: #102f67; }
.hero-subtitle { color: #168276; font-size: 1.6rem; font-weight: 700; }
.hero-copy .lead { max-width: 390px; font-size: 1rem; line-height: 1.65; }
.hero-illustration { position: relative; width: 48%; height: 190px; overflow: hidden; display: flex; align-items: center; justify-content: flex-end; }
.hero-image { width: 100%; height: 100%; object-fit: contain; object-position: center right; mix-blend-mode: multiply; opacity: .78; mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 100%); }
.hero-mountains { position: absolute; inset: 55px 0 0; opacity: .45; background: linear-gradient(135deg, transparent 48%, #a9c9f4 49% 52%, transparent 53%) 0 0/180px 100%, linear-gradient(45deg, transparent 48%, #c8dcf8 49% 55%, transparent 56%) 80px 20px/220px 100%; }
.hero-clipboard { position: absolute; right: 26%; top: 20px; width: 86px; height: 124px; border: 8px solid #dceaff; border-radius: 10px; background: #fff; box-shadow: 8px 10px 15px rgba(24, 72, 140, .2); transform: rotate(5deg); text-align: center; padding-top: 28px; color: #42ae91; }
.hero-clipboard:before { content: ''; position: absolute; width: 34px; height: 18px; border-radius: 8px; background: #3e76d3; top: -18px; left: 18px; }
.hero-clipboard i { font-size: 2rem; display: block; }.hero-clipboard span { display: block; height: 6px; margin: 9px 12px 0; border-radius: 5px; background: #d8e5f8; }.hero-clipboard span:last-child { margin-right: 24px; }
.hero-temple { position: absolute; right: 4%; bottom: 22px; font-size: 6.5rem; color: #9fc4f3; opacity: .65; }
.stepper-wrapper { background: rgba(255,255,255,.8); border: 1px solid #d4dfed; border-radius: 15px; padding: 20px 28px 14px; box-shadow: 0 8px 22px rgba(38, 86, 145, .08); }
.policy-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 36px; }
.needs-panel { background: linear-gradient(145deg, #f1fbf8, #f5fbfa); border-radius: 12px; padding: 28px 24px; color: #193a5b; }
.needs-panel h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }.check-list { list-style: none; padding: 0; margin: 0; }.check-list li { margin: 12px 0; color: #53647c; }.check-list li:before { content: '\2713'; color: #159477; font-weight: 800; margin-right: 11px; }.needs-panel hr { border-color: #dcebe7; margin: 22px 0; }.benefit { display: flex; gap: 12px; align-items: center; margin: 14px 0; }.benefit i { color: #168d7a; font-size: 1.2rem; width: 22px; text-align: center; }.benefit b, .benefit small { display: block; }.benefit b { font-size: .78rem; }.benefit small { color: #71839a; font-size: .68rem; margin-top: 2px; }
.support-strip { margin: 22px 0 28px; border: 1px solid #bdd4f7; background: rgba(240,247,255,.75); border-radius: 10px; min-height: 42px; display: flex; justify-content: center; align-items: center; gap: 10px; color: #435677; font-size: .8rem; }.support-strip i { color: #173e82; font-size: 1rem; }.support-strip a { color: #125ec5; text-decoration: none; font-weight: 600; }.support-divider { color: #a6b8d1; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0 28px 18px; }.trust-row > div { display: flex; align-items: center; gap: 10px; color: #24416e; }.trust-row > div > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e5f0ff; color: #2058a1; }.trust-row b, .trust-row small { display: block; }.trust-row b { font-size: .72rem; }.trust-row small { color: #7186a6; font-size: .66rem; margin-top: 3px; }

@media (max-width: 600px) {
  .summary dl { grid-template-columns: 1fr; }
  .stepper span b { display: none; }
  .policy-hero-card { padding: 16px; }
}

@media (max-width: 800px) { .header-section.hero-heading { min-height: 150px; }.hero-illustration { width: 40%; opacity: .75; }.policy-layout { grid-template-columns: 1fr; }.needs-panel { order: 2; }.trust-row { grid-template-columns: repeat(2, 1fr); padding-inline: 0; } }
@media (max-width: 560px) { .hero-illustration { display: none; }.support-strip { flex-wrap: wrap; padding: 10px; }.support-divider { display: none; }.trust-row { grid-template-columns: 1fr; }.stepper-wrapper { padding-inline: 12px; } }

/* AD/BS calendar styling shared with the existing receipt date picker. */
.dp { display: none; position: absolute; z-index: 2000; top: calc(100% + 10px); left: 0; width: min(280px, calc(100vw - 48px)); padding: 12px; background: #fff; border: 1px solid #dbeafe; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,56,147,.18); }
.dob-col:last-child .dp { left: auto; right: 0; }
.dp.dp--open { display: block; }
.dp__header { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; }
.dp__heading { display: flex; flex: 1; justify-content: center; gap: 4px; }
.dp__month-label,.dp__year-label,.dp__nav,.dp__action { border: 0; background: transparent; color: #003893; font-weight: 700; cursor: pointer; }
.dp__nav { font-size: 1.5rem; line-height: 1; padding: 2px 8px; }
.dp__weekdays,.dp__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; text-align: center; }
.dp__weekdays span { color: #64748b; font-size: .7rem; padding: 4px 0; }
.dp__day,.dp__year-cell { border: 0; border-radius: 6px; background: transparent; color: #172033; padding: 6px 2px; cursor: pointer; font-size: .78rem; }
.dp__day:hover,.dp__year-cell:hover { background: #eaf3ff; color: #003893; }.dp__day--today { color: #16a34a; font-weight: 800; }.dp__day--selected,.dp__year-cell--selected { background: #003893; color: #fff; }.dp__day--empty { cursor: default; }
.dp__footer { display: flex; justify-content: space-between; border-top: 1px solid #dbeafe; margin-top: 10px; padding-top: 8px; }.dp__action { color: #0369a1; font-size: .75rem; }.dp__year-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }

/* The shared Nepali datepicker uses ndp-* classes. Keep the selected date
   clearly visible with the RJBCL theme, including prefilled dates. */
.ndp-container.ndp-light .ndp-table td.ndp-selected,
.ndp-container.ndp-light .ndp-month-button.ndp-selected,
.ndp-container.ndp-light .ndp-year-button.ndp-selected {
  background: var(--rjbcl-blue, #003893) !important;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
}

/* Premium Calculator progress navigator, reused for claim steps */
.steps { background: rgba(255,255,255,.92); border: 1px solid var(--rjbcl-border); border-radius: 15px; box-shadow: 0 10px 30px rgba(0,56,147,.08); }
.steps ol { max-width: 1240px; margin: auto; list-style: none; display: flex; align-items: center; gap: 0; padding: 14px 28px 18px; }
.steps__item { display: flex; align-items: center; gap: 10px; color: var(--rjbcl-text-muted); font-size: 13.5px; font-weight: 600; }
.steps__item:not(:last-child) { flex: 1; position: relative; }
.steps__item:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--rjbcl-border); margin: 0 14px; }
.steps__circle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--rjbcl-border); color: var(--rjbcl-text-muted); font-size: 12px; font-weight: 700; flex: none; background: #fff; transition: background .15s ease,border-color .15s ease,color .15s ease; }
.steps__label { white-space: nowrap; }
.steps__item.is-active { color: #1d4ed8; }
.steps__item.is-active .steps__circle { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.steps__item.is-done .steps__circle { background: #dbeafe; border-color: #2563eb; color: #1d4ed8; }
.steps__item.is-done:not(:last-child)::after { background: #93c5fd; }
.steps__item.is-active .steps__label { font-weight: 700; }
.steps ol { min-width: 760px; }
@media (max-width: 900px) { .steps { overflow-x: auto; }.steps__label { display: none; }.steps ol { min-width: 520px; padding: 12px 16px 16px; }.steps__item:not(:last-child)::after { margin: 0 8px; } }
@media (max-width: 560px) {
  .dob-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .dob-divider { display: none; }
  .dob-col:last-child .dp { left: 0; right: auto; }
}
.stepper-wrapper { padding: 22px 30px 16px; border-radius: 18px; background: rgba(255,255,255,.92); }
.stepper { min-width: 760px; align-items: flex-start; }
.stepper-track { left: 7.1%; right: 7.1%; top: 19px; height: 2px; background: #dce4ef; }
.stepper-track-fill { background: linear-gradient(90deg, #1b9c82, #16458f); box-shadow: 0 0 5px rgba(22,69,143,.18); }
.stepper span { min-height: 65px; gap: 8px; cursor: default; }
.stepper .step-num { width: 36px; height: 36px; border-width: 1px; border-color: #ccd7e5; color: #53647c; background: #fff; box-shadow: 0 2px 4px rgba(20,52,97,.04); }
.stepper span b { color: #66748a; font-size: .82rem; letter-spacing: .01em; }
.stepper span.active .step-num { width: 36px; border-radius: 50%; background: linear-gradient(145deg, #173f8a, #0e3275); border-color: #173f8a; box-shadow: 0 6px 12px rgba(18,59,114,.24), 0 0 0 4px rgba(18,59,114,.08); }
.stepper span.active b { color: #102f67; }
.stepper span.done .step-num { background: #1a9a80; border-color: #1a9a80; box-shadow: 0 3px 8px rgba(26,154,128,.2); }
.stepper span.done b { color: #19806d; }
.stepper span:not(.active):not(.done):hover .step-num { border-color: #9db4d0; background: #f5f9ff; }

@media (max-width: 800px) { .stepper-wrapper { padding-inline: 18px; } }

/* Digital Hub theme tokens and final color pass. Keep claim-specific layout,
   but use the same blue/cyan/green language as RJBCL Digital Hub. */
:root {
  --rjbcl-blue: #003893;
  --rjbcl-blue-mid: #2f5f9e;
  --rjbcl-blue-dark: #00296b;
  --rjbcl-gold: #0891b2;
  --rjbcl-gold-dark: #0369a1;
  --rjbcl-gold-light: #e0f2fe;
  --rjbcl-success: #16a34a;
  --rjbcl-success-light: #dcfce7;
  --rjbcl-bg: #f4f8ff;
  --rjbcl-card-bg: rgba(255,255,255,.92);
  --rjbcl-text-main: #172033;
  --rjbcl-text-muted: #64748b;
  --rjbcl-border: #dbeafe;
}
body { color: var(--rjbcl-text-main); background: radial-gradient(circle at top left, rgba(34,211,238,.18), transparent 34%), radial-gradient(circle at bottom right, rgba(0,56,147,.13), transparent 34%), linear-gradient(135deg, #f4f8ff 0%, #fff 48%, #eaf7ff 100%); }
.claim-nav { background: rgba(255,255,255,.88); border-bottom-color: rgba(34,211,238,.15); }
.brand-text strong, h1, h2, .hero-copy h1 { color: var(--rjbcl-blue); }
.brand-text span, .hero-copy .lead, .form-label, .text-muted { color: var(--rjbcl-text-muted) !important; }
.hero-subtitle { color: #0284c7; }
.portal-badge { background: #f8fbff; color: var(--rjbcl-blue); border-color: #bae6fd; }
.badge-dot { background: #22d3ee; box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.stepper-wrapper { border-color: rgba(34,211,238,.22); box-shadow: 0 10px 30px rgba(0,56,147,.08); }
.stepper-track-fill { background: linear-gradient(90deg, #16a34a, #003893); }
.stepper span.active .step-num { background: linear-gradient(135deg, #003893, #0048bc); border-color: #003893; }
.stepper span.active b { color: #00296b; }
.stepper span.done .step-num { background: #16a34a; border-color: #16a34a; }
.claim-card { box-shadow: 0 10px 30px rgba(0,56,147,.08), inset 0 1px 0 rgba(255,255,255,.8); }
.needs-panel { background: linear-gradient(145deg, #ecfeff, #f0fdf4); }
.needs-panel h3, .benefit b { color: #003893; }
.check-list li:before, .benefit i { color: #16a34a; }
.btn-primary { background: linear-gradient(135deg, #003893, #0048bc); border-color: #003893; }
.btn-primary:hover, .btn-primary:focus { background: #00296b; border-color: #00296b; }
.section-icon.tone-blue { background: #eaf3ff; color: #003893; }
.section-icon.tone-amber, .section-icon.tone-gold { background: #e0f2fe; color: #0369a1; }
.policy-hero-card { background: linear-gradient(135deg, #00296b, #003893); }
.support-strip { border-color: #bae6fd; background: rgba(234,243,255,.78); }
.support-strip a { color: #0369a1; }
.trust-row > div > i { background: #eaf3ff; color: #003893; }
.success-mark { background: #dcfce7; color: #16a34a; }
.reference-card { background: #e0f2fe; border-color: #bae6fd; }
.reference { color: #003893; }
.claim-footer { border-top-color: #dbeafe; color: #4b6a96; }
