:root {
  --brand: #e20074;
  --brand-dark: #bc0060;
  --brand-soft: #fdf2f8;
  --brand-ring: rgba(226, 0, 116, 0.14);
  --brand-border: #f9cce3;
  --navy: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg: #f6f7fb;
  --white: #ffffff;
  --success: #059669;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --info: #2563eb;
  --info-bg: #eff6ff;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  color: var(--navy);
  font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  background-image:
    url('/images/bg-civic-lineart.svg'),
    url('/images/bg-civic-pattern.svg'),
    radial-gradient(circle at 50% -140px, rgba(20, 51, 102, 0.06), transparent 540px),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f4f7fb 100%);
  background-repeat: repeat-x, repeat, no-repeat, no-repeat;
  background-position: center bottom, center top, center top, center top;
  background-size: 1600px auto, 360px 360px, 100% 600px, 100% 100%;
  background-attachment: fixed, fixed, scroll, fixed;
}

body > main {
  flex: 1;
  width: 100%;
}

/* ============================================================
   HEADER & NAVIGATION (Locked 68px height, 860px aligned width)
   ============================================================ */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
}

.header-inner {
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header.header-wide .header-inner {
  max-width: 1340px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 40px;
  width: 180px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #a80058 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(226, 0, 116, 0.22);
  flex-shrink: 0;
}

.brand-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-subtitle {
  margin: 0;
  font-size: 11.5px;
  color: var(--slate-500);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--slate-100);
  padding: 4px;
  border-radius: 11px;
  flex-shrink: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--slate-600);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 20px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  transition: background 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-link.active {
  background: var(--white);
  color: var(--brand);
  box-shadow: var(--shadow-xs);
}

/* Circular Initial Profile Avatar in Header */
.nav-avatar-circle {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--brand) 0%, #b4005c 100%) !important;
  color: var(--white) !important;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(226, 0, 116, 0.26);
  margin-left: 2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-avatar-circle:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px var(--brand-ring);
}

/* ============================================================
   CONTAINERS & CLEAN PAGE INTRO (Unified 860px width)
   ============================================================ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.container-wide {
  max-width: 1340px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.page-intro {
  text-align: center;
  margin-bottom: 26px;
}

.intro-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 12px;
}

.page-intro h2 {
  margin: 0 0 8px;
  font-size: 27px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.page-intro p {
  margin: 0 auto;
  max-width: 580px;
  color: var(--slate-500);
  font-size: 14.5px;
}

.tip-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--slate-600);
}

.tip-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--slate-200);
  padding: 4px 11px;
  border-radius: 999px;
}

.tip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* Legacy Hero Banner (used on Status page) */
.hero-banner {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.hero-banner h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.hero-banner p {
  margin: 0;
  color: var(--slate-500);
  font-size: 14px;
}

/* ============================================================
   CLEAN WIZARD STEPPER
   ============================================================ */
.stepper-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  position: relative;
}

.step-btn {
  background: none;
  border: none;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  color: var(--slate-400);
  transition: color 0.2s;
}

.step-btn:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  width: calc(100% - 36px);
  height: 2px;
  background: var(--slate-200);
  transition: background 0.25s;
}

.step-btn.completed:not(:last-child)::after {
  background: var(--brand);
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--slate-100);
  border: 2px solid var(--slate-200);
  color: var(--slate-500);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.22s ease;
}

.step-btn.active {
  color: var(--navy);
}

.step-btn.active .step-circle {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 0 0 5px var(--brand-ring);
}

.step-btn.completed {
  color: var(--slate-700);
}

.step-btn.completed .step-circle {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

.step-label {
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.step-mobile-bar {
  display: none;
  margin-top: 12px;
}

.progress-track {
  height: 6px;
  background: var(--slate-100);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--brand), #f43f5e);
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* ============================================================
   WIZARD FORM SHELL & CARDS
   ============================================================ */
.wizard-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wizard-step {
  display: none;
  padding: 30px 34px 26px;
  animation: stepFade 0.24s ease-out;
}

.wizard-step.active {
  display: block;
}

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

.step-heading {
  margin-bottom: 24px;
}

.step-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand);
  margin-bottom: 4px;
}

.step-heading h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
}

.step-heading p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-500);
}

.subsection-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
}

.subsection-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   FORM FIELDS — AIRY, CALM, HIGH CRAFT
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-800);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.label-en {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--slate-400);
  font-family: 'Inter', sans-serif;
}

.req {
  color: var(--brand);
  font-weight: 700;
  margin-left: 2px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field input[type="password"],
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid #dce2ec;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy);
  background: #fcfdff;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
}

.field textarea {
  min-height: 82px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate-400);
  font-size: 13.5px;
}

.field input[data-upper="true"] {
  text-transform: uppercase;
  font-family: 'Inter', 'Hind Siliguri', sans-serif;
  letter-spacing: 0.25px;
}

.field input:hover:not(:disabled),
.field select:hover:not(:disabled),
.field textarea:hover:not(:disabled) {
  border-color: #b8c4d6;
  background: var(--white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ring);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  background: #fffafa;
}

.field-error-msg {
  font-size: 12px;
  font-weight: 600;
  color: var(--danger);
  display: none;
}

.field.has-error .field-error-msg {
  display: block;
}

.hint {
  font-size: 12px;
  color: var(--slate-500);
}

/* Segmented Pill Radio Controls */
.pill-group {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
}

.pill-option {
  position: relative;
}

.pill-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1.5px solid #dce2ec;
  border-radius: var(--radius-sm);
  background: #fcfdff;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: center;
}

.pill-option input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}

/* Clean Toggle Switch Row */
.toggle-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.18s;
  margin-bottom: 18px;
}

.toggle-panel:hover {
  border-color: var(--brand-border);
  background: #fffbfd;
}

.toggle-panel.checked {
  border-color: var(--brand-border);
  background: var(--brand-soft);
}

.toggle-text strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
}

.toggle-text span {
  font-size: 12.5px;
  color: var(--slate-500);
}

.switch-input {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--slate-300);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  border: none;
}

.switch-input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.switch-input:checked {
  background: var(--brand);
}

.switch-input:checked::after {
  transform: translateX(20px);
}

/* Soft Info Box inside Wizard */
.soft-box {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 14px;
}

.soft-box-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-700);
  margin: 0 0 14px;
}

/* ============================================================
   MODERN CUSTOM DROPZONE UPLOAD CARDS
   ============================================================ */
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dropzone {
  position: relative;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  background: #fcfdff;
  transition: all 0.18s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.dropzone.has-file {
  border-style: solid;
  border-color: var(--success-border);
  background: var(--success-bg);
}

.dropzone.has-error {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.dropzone-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropzone-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.dropzone.has-file .dropzone-icon {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.dropzone-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.dropzone-sub {
  font-size: 12px;
  color: var(--slate-500);
}

.dropzone-preview {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--white);
  border-radius: 9px;
  border: 1px solid var(--success-border);
  position: relative;
  z-index: 2;
}

.dropzone-preview.show {
  display: flex;
}

.dropzone-preview img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--slate-200);
  flex-shrink: 0;
}

.dropzone-file-meta {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}

.dropzone-file-meta strong {
  display: block;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone-file-meta span {
  color: var(--slate-500);
}

.dropzone-remove {
  position: relative;
  z-index: 3;
  background: var(--slate-100);
  border: none;
  color: var(--slate-600);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropzone-remove:hover {
  background: #fee2e2;
  color: var(--danger);
}

/* Declaration Box */
.declaration-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--brand-soft);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-md);
  margin-top: 22px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--slate-800);
}

.declaration-box input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

/* Wizard Footer Navigation */
.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 34px;
  background: #f9fafc;
  border-top: 1px solid var(--slate-200);
}

.step-counter-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.16s ease;
  text-decoration: none;
}

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

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(226, 0, 116, 0.24);
}

.btn-primary:hover:not(:disabled) {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover:not(:disabled) {
  background: var(--slate-800);
}

.btn-outline {
  background: var(--white);
  color: var(--slate-700);
  border-color: var(--slate-300);
}

.btn-outline:hover:not(:disabled) {
  background: var(--slate-100);
  color: var(--navy);
}

.btn-success {
  background: var(--success);
  color: var(--white);
}

.btn-success:hover:not(:disabled) {
  background: #047857;
}

.btn-danger-outline {
  background: var(--white);
  color: var(--danger);
  border-color: #fecaca;
}

.btn-danger-outline:hover:not(:disabled) {
  background: var(--danger-bg);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 12px 26px;
  font-size: 15px;
}

/* ============================================================
   ALERTS, BADGES, RECEIPT
   ============================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}

.alert.show {
  display: block;
}

.alert-error {
  background: var(--danger-bg);
  color: #991b1b;
  border: 1px solid #fecaca;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-pending { background: #fef3c7; color: #92400e; }
.badge-progress { background: #e0f2fe; color: #075985; }
.badge-police { background: #ede9fe; color: #5b21b6; }
.badge-verified { background: #d1fae5; color: #065f46; }
.badge-correction { background: #fee2e2; color: #991b1b; }

.receipt-card {
  display: none;
  background: var(--white);
  border: 1px solid var(--success-border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.receipt-card.show {
  display: block;
  animation: stepFade 0.25s ease-out;
}

.receipt-check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 2px solid var(--success-border);
}

.ref-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', monospace;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 10px 20px;
  border-radius: 12px;
  margin: 14px 0;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 14px;
}

.summary-table th,
.summary-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--slate-100);
  text-align: left;
}

.summary-table th {
  width: 38%;
  color: var(--slate-500);
  font-weight: 600;
  background: #f8fafc;
}

/* ============================================================
   ADMIN DASHBOARD & DRAWER
   ============================================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.kpi-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
}

.kpi-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-500);
}

.kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.filter-group input,
.filter-group select {
  padding: 9px 12px;
  border: 1.5px solid #dce2ec;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
}

.filter-group input {
  min-width: 240px;
  flex: 1;
  max-width: 380px;
}

.table-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  background: #f8fafc;
  color: var(--slate-600);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--slate-200);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background: #fafbfd;
}

.mono {
  font-family: 'Inter', ui-monospace, monospace;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  z-index: 60;
  display: none;
  justify-content: flex-end;
  backdrop-filter: blur(3px);
}

.modal-backdrop.open {
  display: flex;
}

.drawer {
  width: min(860px, 100vw);
  height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.drawer-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 40px;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.copy-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.copy-item.full {
  grid-column: span 2;
}

.copy-item-label {
  font-size: 11.5px;
  color: var(--slate-500);
  font-weight: 600;
}

.copy-item-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  word-break: break-word;
}

.copy-btn {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid var(--slate-300);
  background: var(--slate-100);
  color: var(--slate-800);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.copy-btn:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.copy-btn.copied {
  background: var(--success);
  color: var(--white);
  border-color: var(--success);
}

.doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}

.doc-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-thumb {
  height: 115px;
  border-radius: 6px;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.login-card {
  max-width: 420px;
  margin: 56px auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    padding: 18px 14px 56px;
  }
  .page-intro h2 {
    font-size: 22px;
  }
  .stepper {
    gap: 4px;
  }
  .step-label {
    font-size: 11px;
  }
  .step-btn:not(:last-child)::after {
    display: none;
  }
  .step-mobile-bar {
    display: block;
  }
  .wizard-step {
    padding: 22px 18px 20px;
  }
  .wizard-footer {
    padding: 14px 18px;
  }
  .form-grid,
  .form-grid-3,
  .upload-grid,
  .copy-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2,
  .col-span-3,
  .copy-item.full {
    grid-column: span 1;
  }
}

@media print {
  .site-header,
  .no-print,
  .toast {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  .receipt-card, .card {
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
  }
}

/* ============================================================
   CLEAN, MINIMAL EXECUTIVE HOMEPAGE
   ============================================================ */
.home-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.home-top-banner {
  margin-bottom: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  background: #004c97;
}

.home-top-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.home-hero {
  text-align: center;
  padding-bottom: 36px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.home-hero h2 {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.home-hero p {
  margin: 0 auto 26px;
  max-width: 580px;
  font-size: 15.5px;
  color: var(--slate-600);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-meta-line {
  margin-top: 20px;
  font-size: 13px;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Single Unified Clean Guide Sheet */
.guide-sheet {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.guide-block {
  padding: 34px 38px;
  border-bottom: 1px solid var(--slate-100);
}

.guide-block:last-child {
  border-bottom: none;
}

.guide-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.guide-block-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-index {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.guide-en-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-400);
  font-family: 'Inter', sans-serif;
}

/* Clean Rules List */
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: var(--slate-700);
  line-height: 1.65;
}

.clean-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.clean-list strong {
  color: var(--navy);
}

/* Clean 2x2 Documents Grid */
.clean-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.clean-doc-card {
  padding: 16px 18px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: #fafbfd;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.clean-doc-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clean-doc-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-req {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
}

.tag-opt {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
}

.clean-doc-desc {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

/* Clean Timeline Steps */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: 0;
  width: 1.5px;
  background: var(--slate-200);
}

.timeline-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-content h4 {
  margin: 2px 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.timeline-content p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Bottom Apply CTA Block */
.guide-cta {
  padding: 28px 38px;
  background: #fafbfd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.guide-cta h4 {
  margin: 0 0 3px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.guide-cta p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-500);
}

.home-footer {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 20px 36px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--slate-400);
}

.home-footer a {
  color: var(--slate-500);
  text-decoration: none;
}

.home-footer a:hover {
  color: var(--brand);
}

/* Pre-submit Review Box inside Step 5 */
.review-summary-box {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 20px;
}

.review-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  font-size: 13px;
}

.review-kv {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
  border-bottom: 1px dashed var(--slate-200);
}

.review-kv span {
  font-size: 11.5px;
  color: var(--slate-500);
}

.review-kv strong {
  color: var(--navy);
  font-size: 13.5px;
}

@media (max-width: 680px) {
  .home-wrap {
    padding: 28px 14px 52px;
  }
  .home-hero h2 {
    font-size: 25px;
  }
  .guide-block,
  .guide-cta {
    padding: 24px 20px;
  }
  .clean-doc-grid,
  .review-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLEAN AUTH (SIGN IN / SIGN UP + OTP) & MY ACCOUNT
   ============================================================ */
.auth-wrap {
  max-width: 460px;
  margin: 42px auto 72px;
  padding: 0 18px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--slate-100);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.auth-tab {
  border: none;
  background: transparent;
  padding: 9px 12px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.16s;
}

.auth-tab.active {
  background: var(--white);
  color: var(--brand);
  box-shadow: var(--shadow-xs);
}

.auth-mode-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.mode-chip {
  flex: 1;
  border: 1.5px solid var(--slate-200);
  background: #fcfdff;
  color: var(--slate-600);
  border-radius: 9px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
}

.mode-chip.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.otp-input {
  text-align: center;
  font-size: 22px !important;
  font-weight: 800;
  letter-spacing: 8px;
  font-family: 'Inter', monospace !important;
}

.demo-otp-box {
  display: none;
  margin: 12px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 13px;
}

.demo-otp-box.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.channel-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand);
}

.account-header-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1.5px solid var(--brand-border);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-gate-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 520px;
  margin: 24px auto;
}

/* ============================================================
   EXECUTIVE UNIFIED 4-STEP APPLICATION FORM
   ============================================================ */
.apply-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.apply-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.apply-header-bar h2 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.apply-header-bar p {
  margin: 0;
  font-size: 13.8px;
  color: var(--slate-500);
}

.apply-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-700);
  font-family: 'Inter', sans-serif;
  box-shadow: var(--shadow-xs);
}

.apply-user-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.apply-inline-feedback {
  display: none;
  margin: 18px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--danger-bg);
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13.5px;
  font-weight: 600;
}

.apply-inline-feedback.show {
  display: block;
}

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

@media (max-width: 760px) {
  .apply-shell {
    padding: 20px 14px 48px;
  }
  .upload-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   NAGAD DIRECT TRANSFER PAYMENT CARD
   ============================================================ */
.nagad-card {
  background: linear-gradient(135deg, #fff8f6 0%, #ffffff 62%, #fffbeb 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.nagad-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #c2410c;
  background: #ffedd5;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.nagad-title {
  margin: 0 0 2px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

.nagad-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
}

.nagad-number-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid #fdba74;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-xs);
}

.nagad-number-text {
  font-family: 'Inter', monospace;
  font-size: 20px;
  font-weight: 800;
  color: #b91c1c;
  letter-spacing: 0.4px;
}

.pay-verify-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.pay-verify-box.is-approved {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.pay-verify-box.is-rejected {
  background: #fef2f2;
  border-color: #fecaca;
}

/* ============================================================
   COMPREHENSIVE MOBILE-FIRST POLISH (360px – 768px)
   ============================================================ */
body {
  overflow-x: clip;
}

.field,
.form-grid > *,
.form-grid-3 > *,
.upload-grid-3 > *,
.clean-doc-grid > *,
.review-summary-grid > * {
  min-width: 0;
}

/* Status page responsive switch: Desktop Table vs Mobile Cards */
.status-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.status-m-card {
  background: #fafbfd;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-m-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--slate-200);
}

.status-m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.status-m-row span:first-child {
  color: var(--slate-500);
  font-weight: 600;
}

@media (max-width: 768px) {
  /* Smooth mobile background (avoid fixed bg jank on iOS/Android) */
  body {
    background-attachment: scroll, scroll, scroll, scroll;
    background-size: 920px auto, 280px 280px, 100% 420px, 100% 100%;
  }

  /* Prevent iOS Safari auto-zoom on form focus */
  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"],
  .field input[type="date"],
  .field input[type="number"],
  .field input[type="password"],
  .field select,
  .field textarea,
  .filter-group input,
  .filter-group select {
    font-size: 16px;
    min-height: 46px;
  }

  /* Home page mobile balance */
  .home-wrap {
    padding: 16px 14px 44px;
  }
  .home-top-banner {
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .home-hero {
    padding-bottom: 24px;
  }
  .home-hero h2 {
    font-size: 23px;
  }
  .home-hero p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .home-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .home-hero-actions .btn {
    width: 100%;
  }
  .home-meta-line {
    font-size: 12px;
    gap: 8px;
  }
  .guide-sheet {
    border-radius: 16px;
  }
  .guide-block {
    padding: 22px 18px;
  }
  .guide-block-head {
    margin-bottom: 16px;
  }
  .guide-block-head h3 {
    font-size: 17px;
  }
  .clean-list li {
    font-size: 13.8px;
    gap: 10px;
  }
  .guide-cta {
    padding: 22px 18px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .guide-cta .btn {
    width: 100%;
  }

  /* Footer clean stack on mobile */
  .home-footer {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px 28px;
    gap: 10px;
  }
  .home-footer > div:last-child {
    justify-content: center;
  }

  /* Application Form mobile refinement */
  .apply-shell {
    padding: 16px 12px 40px;
  }
  .apply-header-bar {
    margin-bottom: 14px;
    gap: 10px;
  }
  .apply-header-bar h2 {
    font-size: 20px;
  }
  .apply-header-bar p {
    font-size: 13px;
  }
  .apply-user-chip {
    font-size: 12px;
    padding: 5px 11px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stepper-card {
    padding: 14px 10px 12px;
    margin-bottom: 14px;
    border-radius: 14px;
  }
  .step-btn {
    padding: 4px 2px;
    gap: 5px;
  }
  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .step-label {
    font-size: 10.5px;
    line-height: 1.2;
  }
  .wizard-card {
    border-radius: 16px;
  }
  .wizard-step {
    padding: 20px 16px 18px;
  }
  .step-heading {
    margin-bottom: 18px;
  }
  .step-heading h3 {
    font-size: 18px;
  }
  .subsection-divider {
    margin: 20px 0 14px;
    font-size: 12.5px;
  }
  .toggle-panel {
    padding: 12px 14px;
  }
  .dropzone {
    padding: 14px;
  }
  .declaration-box {
    padding: 14px;
    font-size: 13px;
  }

  /* Receipt & Status Account Cards */
  .receipt-card {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .ref-pill {
    font-size: 17px;
    padding: 9px 14px;
    max-width: 100%;
  }
  .summary-table th,
  .summary-table td {
    display: block;
    width: 100%;
    padding: 6px 10px;
  }
  .summary-table th {
    padding-bottom: 2px;
    font-size: 12px;
    border-bottom: none;
  }
  .summary-table td {
    padding-top: 2px;
    padding-bottom: 10px;
  }
  .account-header-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
  .account-header-card > div:last-child {
    width: 100%;
  }
  .account-header-card > div:last-child .btn {
    flex: 1;
  }

  /* Admin mobile refinements */
  .container-wide {
    padding: 16px 12px 48px;
  }
  .filter-group {
    width: 100%;
  }
  .filter-group input,
  .filter-group select {
    min-width: 0;
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
  }
  .toolbar > div:last-child {
    width: 100%;
  }
  .toolbar > div:last-child .btn {
    flex: 1;
  }
  .drawer-header {
    flex-wrap: wrap;
    padding: 14px 16px;
  }
  .drawer-body {
    padding: 14px 14px 32px;
  }
  .toast {
    left: 14px;
    right: 14px;
    bottom: 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .status-desktop-table {
    display: none;
  }
  .status-mobile-cards {
    display: flex;
  }
}

@media (max-width: 600px) {
  /* Crisp single-line mobile header — fits down to 340px width */
  .site-header {
    height: 58px;
  }
  .header-inner {
    padding: 0 12px;
    gap: 8px;
  }
  .brand-logo-img {
    width: 126px;
    height: 28px;
  }
  .nav-links {
    padding: 3px;
    gap: 2px;
    border-radius: 10px;
  }
  .nav-link {
    font-size: 12px;
    padding: 0 9px;
    height: 30px;
  }
  .nav-avatar-circle {
    width: 30px;
    height: 30px;
    font-size: 12.5px;
  }

  /* Wizard footer: spacious touch buttons */
  .wizard-footer {
    padding: 14px 14px;
    gap: 10px;
  }
  .step-counter-text {
    display: none;
  }
  .wizard-footer .btn {
    flex: 1;
    padding: 11px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* Nagad payment box: full-width clean layout */
  .nagad-card {
    padding: 16px;
    gap: 12px;
    border-radius: 14px;
  }
  .nagad-title {
    font-size: 17px;
  }
  .nagad-number-box {
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px;
  }
  .nagad-number-text {
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .brand-logo-img {
    width: 112px;
    height: 25px;
  }
  .nav-link {
    font-size: 11.5px;
    padding: 0 7px;
  }
  .step-label {
    font-size: 9.5px;
  }
  .step-circle {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
}

/* ============================================================
   EXECUTIVE CLEAN ADMIN DASHBOARD (1080px Unified Width)
   ============================================================ */
.admin-login-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 18px 64px;
}

.admin-login-box {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  padding: 36px 34px 32px;
  box-shadow: var(--shadow);
}

.admin-lock-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.admin-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.admin-head-row h2 {
  margin: 0 0 3px;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.admin-head-row p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-500);
}

.admin-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.admin-kpi {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 15px 17px;
  box-shadow: var(--shadow-xs);
}

.admin-kpi-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-500);
}

.kpi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.admin-kpi-num {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 6px;
  line-height: 1.1;
}

.admin-tabs-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-tabs-list {
  display: flex;
  gap: 4px;
}

.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -1px;
  transition: color 0.16s, border-color 0.16s;
}

.admin-tab-btn:hover {
  color: var(--navy);
}

.admin-tab-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.tab-pill-count {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
}

.admin-tab-btn.active .tab-pill-count {
  background: var(--brand-soft);
  color: var(--brand);
}

.admin-surface {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-surface-bar {
  padding: 14px 18px;
  background: #fafbfd;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-surface .table-wrap {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 900px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-login-box {
    padding: 26px 20px;
  }
  .admin-head-actions {
    width: 100%;
  }
  .admin-head-actions .btn {
    flex: 1;
  }
  .admin-surface-bar {
    padding: 12px 14px;
  }
}
