/* ============================================================
   ASPI Website Request Management Portal — Public Form Styles
   ============================================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --navy: #0f172a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --success: #16a34a;
  --success-bg: #f0fdf4;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(37, 99, 235, .10), transparent 60%),
    radial-gradient(900px 400px at -10% 110%, rgba(37, 99, 235, .07), transparent 55%),
    var(--slate-100);
  color: var(--slate-700);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #1e3a8a);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; letter-spacing: .5px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text strong { color: var(--navy); font-size: 16px; letter-spacing: -.2px; }
.logo-text span { font-size: 12px; color: var(--slate-500); }

/* ---------- Layout ---------- */
.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

.hero { text-align: center; margin-bottom: 30px; }
.hero h1 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--navy);
  letter-spacing: -.03em;
  font-weight: 800;
}
.hero p { color: var(--slate-500); margin-top: 8px; font-size: 15.5px; max-width: 560px; margin-left: auto; margin-right: auto; }

.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Stepper ---------- */
.stepper {
  display: flex;
  padding: 20px 28px;
  gap: 0;
  border-bottom: 1px solid var(--slate-200);
  overflow-x: auto;
}
.step {
  flex: 1;
  min-width: 110px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: default;
}
.step .dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--slate-100);
  border: 2px solid var(--slate-200);
  color: var(--slate-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
  transition: all .25s ease;
}
.step .lbl { font-size: 12.5px; font-weight: 600; color: var(--slate-400); line-height: 1.25; }
.step.active .dot { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.step.active .lbl { color: var(--primary); }
.step.done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.step.done .lbl { color: var(--slate-600); }
.step::after {
  content: '';
  position: absolute;
  left: 42px; right: 8px;
  top: 15px;
  height: 2px;
  background: var(--slate-200);
}
.step:last-child::after { display: none; }
.step.done::after { background: var(--success); }

/* ---------- Form body ---------- */
.form-body { padding: 30px 32px 8px; }
.step-pane { display: none; animation: fadeIn .25s ease; }
.step-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.step-title { font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.step-sub { color: var(--slate-500); font-size: 14px; margin: 4px 0 22px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}
.req { color: var(--danger); font-weight: 700; }
.hint { font-size: 12.5px; color: var(--slate-400); margin-top: 5px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--navy);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
textarea { resize: vertical; min-height: 96px; }
textarea.large { min-height: 140px; }
input.invalid, select.invalid, textarea.invalid { border-color: var(--danger); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
select:disabled { background-color: var(--slate-50); color: var(--slate-400); cursor: wait; }

.err-msg { display: none; color: var(--danger); font-size: 12.5px; margin-top: 5px; font-weight: 500; }
.err-msg.show { display: block; }

/* ---------- Radio / option cards ---------- */
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.option-card { position: relative; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card label {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px; border: 1.5px solid var(--slate-200); border-radius: 12px;
  background: #fff; font-size: 14px; color: var(--slate-700); cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  min-height: 52px; line-height: 1.35;
}
.option-card label:hover { border-color: var(--primary); color: var(--primary); }
.option-card input:checked + label {
  border-color: var(--primary); background: var(--primary-light);
  color: var(--primary-dark); font-weight: 600;
}
.option-card input:focus-visible + label { box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.option-card .ico {
  font-size: 15px; width: 30px; height: 30px; flex: 0 0 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--slate-200); border-radius: 8px; background: #fff;
}
.option-card input:checked + label .ico { border-color: var(--primary); }
.option-card .opt-text { flex: 1; }
/* multi-select tick indicator */
.option-card .tick {
  width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px;
  border: 1.5px solid var(--slate-300); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: transparent; transition: all .15s;
}
.option-card input:checked + label .tick {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
/* chips summarising the ticked request types */
.selected-types { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.selected-types:empty { margin-top: 0; }
.selected-types .st-lbl { font-size: 12.5px; color: var(--slate-500); font-weight: 600; }
.st-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 11px;
  background: var(--primary-light); color: var(--primary-dark);
  border: 1px solid #bfdbfe; border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.st-chip button {
  border: none; background: none; cursor: pointer; color: var(--primary-dark);
  font-size: 11px; line-height: 1; padding: 2px; opacity: .65;
}
.st-chip button:hover { opacity: 1; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-row .option-card label { padding: 11px 20px; border-radius: 999px; min-height: 0; justify-content: center; }

/* ---------- File upload ---------- */
.dropzone {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--slate-50);
}
.dropzone:hover, .dropzone.dragover { border-color: var(--primary); background: var(--primary-light); }
.dropzone .dz-icon { font-size: 30px; margin-bottom: 8px; }
.dropzone .dz-title { font-weight: 600; color: var(--slate-600); font-size: 14.5px; }
.dropzone .dz-sub { font-size: 12.5px; color: var(--slate-400); margin-top: 4px; }

.file-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.file-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
}
.file-item .f-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.file-item .f-meta { flex: 1; min-width: 0; }
.file-item .f-name { font-size: 13.5px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item .f-sub { font-size: 12px; color: var(--slate-400); }
.file-item .f-status { font-size: 12px; font-weight: 600; color: var(--success); }
.file-item .f-remove {
  border: none; background: var(--danger-bg); color: var(--danger);
  width: 28px; height: 28px; border-radius: 8px; cursor: pointer;
  font-size: 14px; line-height: 1; flex-shrink: 0;
}
.file-item .f-remove:hover { background: #fee2e2; }

/* ---------- Review step ---------- */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.review-item { padding: 11px 0; border-bottom: 1px solid var(--slate-100); }
.review-item.full { grid-column: 1 / -1; }
.review-item .r-lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--slate-400); }
.review-item .r-val { font-size: 14px; color: var(--navy); font-weight: 500; margin-top: 2px; word-break: break-word; white-space: pre-wrap; }

/* ---------- Footer nav ---------- */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 32px 26px;
  border-top: 1px solid var(--slate-100);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(37, 99, 235, .35); }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--slate-500); }
.btn-ghost:hover:not(:disabled) { color: var(--navy); background: var(--slate-100); }
.btn-success { background: var(--success); color: #fff; box-shadow: 0 2px 8px rgba(22, 163, 74, .35); }
.btn-success:hover:not(:disabled) { background: #15803d; }
.btn-lg { padding: 14px 30px; font-size: 15px; }

/* ---------- Alerts ---------- */
.alert { display: none; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500; margin-bottom: 18px; }
.alert.show { display: block; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #fde68a; }

/* ---------- Success page ---------- */
.success-wrap { display: none; text-align: center; padding: 50px 30px; }
.success-wrap.show { display: block; }
.success-icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--success-bg);
  border: 2px solid #bbf7d0;
  color: var(--success);
  font-size: 34px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-wrap h2 { color: var(--navy); font-size: 24px; letter-spacing: -.02em; }
.success-wrap .s-sub { color: var(--slate-500); margin: 8px auto 26px; max-width: 480px; font-size: 14.5px; }
.request-id-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  margin-bottom: 26px;
}
.success-details {
  max-width: 440px;
  margin: 0 auto 30px;
  text-align: left;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 6px 22px;
}
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Spinner ---------- */
.spinner {
  width: 16px; height: 16px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.site-footer { text-align: center; padding: 0 24px 40px; color: var(--slate-400); font-size: 12.5px; }
.site-footer a { color: var(--slate-500); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .page { padding: 24px 14px 60px; }
  /* Compact stepper: dots only, so five steps always fit the screen */
  .stepper { padding: 14px 10px; gap: 0; }
  .step { min-width: 0; flex: 1; }
  .step .lbl { display: none; }
  .step .dot { margin: 0 auto; }
  .stepper .step::after { margin: 0 4px; }
  .option-grid { grid-template-columns: 1fr; }
  .form-body, .form-footer { padding-left: 18px; padding-right: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .form-footer { flex-wrap: wrap; }
  .form-footer .btn { flex: 1; }
}

/* ---- Header sign-in link ---- */
.header-inner { position: relative; }
.header-link {
  margin-left: auto; font-size: 13px; font-weight: 600; color: var(--slate-500);
  text-decoration: none; border: 1px solid var(--slate-200); padding: 7px 14px;
  border-radius: 9px; background: #fff; transition: all .15s; white-space: nowrap;
}
.header-link:hover { color: var(--primary); border-color: var(--primary); }

/* ---- Completed stepper dots are clickable ---- */
#stepper .step.done { cursor: pointer; }

/* ---- Informational alert ---- */
.alert-info {
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af;
}

/* ---- Multi-school picker (step 1) ---- */
.multi-school { margin-top: 14px; }
.multi-school label.check-inline {
  display: flex; align-items: center; gap: 9px; font-size: 13.5px;
  color: var(--slate-600); cursor: pointer; margin: 0;
}
.multi-school label.check-inline input { width: 16px; height: 16px; accent-color: var(--primary); }
.ms-panel {
  margin-top: 12px; border: 1.5px solid var(--slate-200); border-radius: 12px;
  padding: 14px; background: var(--slate-50);
}
.ms-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; font-weight: 700; color: var(--slate-600); margin-bottom: 10px;
}
.ms-actions { display: flex; gap: 12px; }
.link-btn {
  border: none; background: none; padding: 0; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: var(--primary);
}
.link-btn:hover { text-decoration: underline; }
#msSearch { margin-bottom: 10px; }
.ms-list { max-height: 260px; overflow-y: auto; display: grid; gap: 6px; }
.ms-panel label.ms-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  background: #fff; border: 1.5px solid var(--slate-200); border-radius: 9px;
  font-size: 13.5px; color: var(--slate-700); cursor: pointer;
}
.ms-panel label.ms-item:hover { border-color: var(--primary); }
.ms-panel label.ms-item input { width: 17px; height: 17px; flex: 0 0 17px; margin: 0 2px 0 0; accent-color: var(--primary); }
.ms-panel label.ms-item.checked { border-color: var(--primary); background: var(--primary-light); font-weight: 600; }
.ms-panel label.ms-item .ms-url { margin-left: auto; font-size: 11.5px; color: var(--slate-400); font-weight: 400; }
.batch-note {
  margin-top: 10px; padding: 10px 12px; border-radius: 9px;
  background: var(--primary-light); border: 1px solid #bfdbfe;
  font-size: 12.5px; color: var(--primary-dark);
}
@media (max-width: 640px) { .ms-panel label.ms-item .ms-url { display: none; } }

/* ---- Header navigation (public pages) ---- */
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-nav .header-link { margin-left: 0; }
.header-link-primary {
  color: var(--primary); border-color: #bfdbfe; background: var(--primary-light);
}
.header-link-primary:hover { background: #dbeafe; border-color: var(--primary); }

/* ---- "Already submitted?" prompt above the form ---- */
.status-prompt {
  text-align: center; font-size: 13.5px; color: var(--slate-500);
  margin: -10px 0 22px;
}
.status-prompt a { color: var(--primary); font-weight: 600; text-decoration: none; }
.status-prompt a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .header-nav { gap: 6px; }
  .header-nav .header-link { padding: 6px 10px; font-size: 12px; }
  .status-prompt { margin: -4px 0 18px; }
}
@media (max-width: 420px) {
  /* keep the status link visible; team sign-in is for staff who know the URL */
  .header-nav .header-link:not(.header-link-primary) { display: none; }
}

/* ---- Public page notices and clocks ---- */
.notice-stack { display: grid; gap: 10px; margin: 0 0 20px; }
.notice {
  display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px;
  border-radius: 12px; border: 1px solid; font-size: 13.5px; line-height: 1.5;
}
.notice-body { flex: 1; }
.notice-body strong { display: block; margin-bottom: 2px; }
.notice-info { background: var(--primary-light); border-color: #bfdbfe; color: var(--primary-dark); }
.notice-success { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.notice-warning { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.notice-urgent { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.notice-x { border: none; background: none; cursor: pointer; font-size: 12px; color: inherit; opacity: .55; padding: 2px 4px; }
.notice-x:hover { opacity: 1; }
.notice-popup .modal { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; }
.notice-pop-top { display: flex; align-items: center; gap: 12px; padding: 20px 24px; border-radius: 16px 16px 0 0; }
.notice-pop-top h3 { margin: 0; font-size: 16px; }
.notice-pop-top .np-icon {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 800; background: rgba(255,255,255,.7);
}

.public-clocks { justify-content: center; margin: 0 0 14px; }
.clock-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.clock { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; }
.clock-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-300); }
.clock-dot.on { background: #22c55e; }
.clock-zone { color: var(--slate-400); font-weight: 600; }
.clock-time { font-family: "JetBrains Mono", monospace; font-weight: 700; color: var(--slate-500); }
.clock-sep { width: 1px; height: 11px; background: var(--slate-200); }

/* ---- Announcement popup (self-contained: no dependency on modal styles) ---- */
.np-backdrop {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(15, 23, 42, .55);
  opacity: 0; transition: opacity .18s ease;
}
.np-backdrop.show { opacity: 1; }
.np-card {
  width: 100%; max-width: 460px; background: #fff; border-radius: 16px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, .35); overflow: hidden;
  transform: translateY(10px) scale(.98); transition: transform .18s ease;
}
.np-backdrop.show .np-card { transform: none; }
.np-card-top { display: flex; align-items: center; gap: 12px; padding: 20px 24px 16px; }
.np-card-top h3 { margin: 0; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.np-badge {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.np-card-body {
  padding: 0 24px 20px; font-size: 14.5px; line-height: 1.6;
  color: #475569; white-space: pre-wrap;
}
.np-card-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 14px 24px; border-top: 1px solid #e2e8f0; background: #f8fafc;
}
.np-count { margin-right: auto; font-size: 12px; color: #94a3b8; font-weight: 600; }
.np-btn {
  border: none; cursor: pointer; padding: 10px 22px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: #fff; background: #2563eb;
  font-family: inherit;
}
.np-btn:hover { background: #1d4ed8; }
.np-btn:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }

/* tone colours on the header strip */
.np-info .np-card-top { background: #eff6ff; }
.np-info .np-badge { background: #dbeafe; color: #1d4ed8; }
.np-info .np-card-top h3 { color: #1e3a8a; }
.np-success .np-card-top { background: #f0fdf4; }
.np-success .np-badge { background: #dcfce7; color: #15803d; }
.np-success .np-card-top h3 { color: #14532d; }
.np-warning .np-card-top { background: #fffbeb; }
.np-warning .np-badge { background: #fef3c7; color: #b45309; }
.np-warning .np-card-top h3 { color: #78350f; }
.np-urgent .np-card-top { background: #fef2f2; }
.np-urgent .np-badge { background: #fee2e2; color: #b91c1c; }
.np-urgent .np-card-top h3 { color: #7f1d1d; }
.np-urgent .np-btn { background: #dc2626; }
.np-urgent .np-btn:hover { background: #b91c1c; }

/* stop the page scrolling behind the popup */
body.np-locked { overflow: hidden; }

@media (max-width: 480px) {
  .np-backdrop { padding: 14px; align-items: flex-end; }
  .np-card { max-width: none; border-radius: 16px 16px 12px 12px; }
  .np-card-top h3 { font-size: 16px; }
  .np-btn { width: 100%; padding: 12px; }
  .np-card-foot { flex-wrap: wrap; }
}
