/* ═══════════════════════════════════════════════════════════════
   SBD Form Design System
   Mirrors the hrep-prereg visual identity for brand consistency.
   ═══════════════════════════════════════════════════════════════ */

/* ── Loading Overlay ───────────────────────────── */
.sbd-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 20px;
}

.sbd-loading-overlay.show {
  display: flex;
}

.sbd-loading-card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 40px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(15, 27, 45, 0.18);
}

.sbd-loading-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #e8efff;
  border-top-color: #213f9a;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: sbd-spin 0.9s linear infinite;
}

@keyframes sbd-spin {
  to { transform: rotate(360deg); }
}

.sbd-loading-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a2332;
}

.sbd-loading-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #8896a6;
}

/* ── Design Tokens ─────────────────────────────── */
:root {
  --sbd-card: #ffffff;
  --sbd-ink: #1a2332;
  --sbd-muted: #5a6a7e;
  --sbd-light: #8896a6;
  --sbd-border: #dce3eb;
  --sbd-border-light: #e8edf3;
  --sbd-brand: #213f9a;
  --sbd-brand-light: #e8efff;
  --sbd-brand-dark: #1e40af;
  --sbd-brand-glow: rgba(33, 63, 154, 0.12);
  --sbd-danger: #e53e3e;
  --sbd-radius: 14px;
  --sbd-radius-lg: 20px;
  --sbd-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --sbd-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Form page body background ─────────────────── */
.sbd-form-body {
  min-height: 100vh;
  background-color: #f8fbff;
  background-image: linear-gradient(rgba(248, 251, 255, 0.5), rgba(248, 251, 255, 0.5)),
    url('/assets/images/sbd-background.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: min(45vw, 520px) auto;
  background-attachment: fixed;
}

/* ── Card ──────────────────────────────────────── */
.sbd-card {
  background: var(--sbd-card);
  border: 1px solid var(--sbd-border);
  border-radius: var(--sbd-radius-lg);
  padding: 28px;
  box-shadow: var(--sbd-shadow);
  transition: box-shadow var(--sbd-transition);
  margin-bottom: 16px;
}

.sbd-card:last-child { margin-bottom: 0; }

.prereg-signature-link {
  display: inline-flex;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--sbd-border);
  border-radius: 10px;
  background: #f8fafc;
}

.prereg-signature-image {
  display: block;
  width: 150px;
  max-width: 100%;
  max-height: 72px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* ── Card Section Label (green uppercase header) ─ */
.sbd-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sbd-brand);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sbd-label svg { flex-shrink: 0; }

/* ── Sub-card (nested inside a card) ─────────── */
.sbd-sub-card {
  background: #f8fafc;
  border: 1px solid var(--sbd-border-light);
  border-radius: var(--sbd-radius);
  padding: 20px;
  margin-top: 16px;
}

.sbd-sub-card .sbd-label {
  font-size: 11px;
  margin-bottom: 12px;
}

/* ── Grid System ──────────────────────────────── */
.sbd-grid   { display: grid; gap: 16px; }
.sbd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sbd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sbd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sbd-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

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

/* ── Stat Tile ────────────────────────────────── */
.sbd-stat-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--sbd-border);
  border-left: 4px solid var(--sbd-brand);
  background: #fff;
}

.sbd-stat-label {
  font-size: 12px;
  color: var(--sbd-muted);
  font-weight: 500;
}

.sbd-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--sbd-brand);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sbd-stat-value--yes { color: #15803d; }
.sbd-stat-value--no  { color: #dc2626; }

.sbd-stat-tile--yes {
  border-left-color: #15803d;
  background: #f0fdf4;
}

.sbd-stat-tile--no {
  border-left-color: #dc2626;
  background: #fff5f5;
}

.sbd-mt { margin-top: 16px; }
.sbd-mb { margin-bottom: 16px; }

/* ── Field ────────────────────────────────────── */
.sbd-field {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sbd-muted);
}

.sbd-field > span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sbd-req {
  color: var(--sbd-danger);
  font-weight: 700;
}

/* ── Input / Select / Textarea ────────────────── */
.sbd-input,
.sbd-select,
.sbd-textarea {
  border: 1.5px solid var(--sbd-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  background: #fff;
  color: var(--sbd-ink);
  transition: all var(--sbd-transition);
  outline: none;
}

.sbd-input:focus,
.sbd-select:focus,
.sbd-textarea:focus {
  border-color: var(--sbd-brand);
  box-shadow: 0 0 0 3px var(--sbd-brand-glow);
}

.sbd-input::placeholder { color: var(--sbd-light); }
.sbd-input[readonly] { background: #f8fafc; color: var(--sbd-muted); }

.sbd-textarea {
  min-height: 90px;
  resize: vertical;
}

.sbd-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235a6a7e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.2L2.4 5.6h11.2L8 11.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* ── Phone Prefix ────────────────────────────── */
.sbd-phone {
  display: flex;
  overflow: hidden;
  border: 1.5px solid var(--sbd-border);
  border-radius: 10px;
  background: #fff;
  transition: all var(--sbd-transition);
}

.sbd-phone:focus-within {
  border-color: var(--sbd-brand);
  box-shadow: 0 0 0 3px var(--sbd-brand-glow);
}

.sbd-phone-tag {
  border-right: 1px solid var(--sbd-border);
  background: #f8fafc;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sbd-muted);
  flex-shrink: 0;
}

.sbd-phone .sbd-input {
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

/* ── HREP ID Lookup ──────────────────────────── */
.hrep-status {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  min-height: 16px;
}
.hrep-status--searching { color: var(--sbd-muted); }
.hrep-status--success   { color: #15803d; }
.hrep-status--error     { color: var(--sbd-danger); }

.sbd-input[readonly][data-hrep-target] {
  background: #f8fafc;
  color: var(--sbd-muted);
  cursor: default;
}


/* ── File Upload ─────────────────────────────── */
.sbd-file {
  border: 1.5px dashed var(--sbd-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-family: inherit;
  width: 100%;
  background: #fafbfc;
  color: var(--sbd-muted);
  transition: all var(--sbd-transition);
  cursor: pointer;
}

.sbd-file:hover {
  border-color: var(--sbd-brand);
  background: var(--sbd-brand-light);
}

/* ── Checkbox Field ──────────────────────────── */
.sbd-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sbd-muted);
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--sbd-border-light);
  border-radius: 10px;
  cursor: pointer;
}

.sbd-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--sbd-brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Consent block ───────────────────────────── */
.sbd-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--sbd-muted);
  line-height: 1.5;
}

.sbd-consent input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--sbd-brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────── */
.sbd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--sbd-border);
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  background: #fff;
  color: var(--sbd-ink);
  cursor: pointer;
  transition: all var(--sbd-transition);
}

.sbd-btn:hover {
  border-color: #b8c2cc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sbd-btn-primary {
  border-color: var(--sbd-brand);
  background: var(--sbd-brand);
  color: #fff;
  box-shadow: 0 2px 8px var(--sbd-brand-glow);
}

.sbd-btn-primary:hover {
  background: var(--sbd-brand-dark);
  border-color: var(--sbd-brand-dark);
  box-shadow: 0 4px 16px var(--sbd-brand-glow);
  transform: translateY(-1px);
}

.sbd-btn-primary:active { transform: translateY(0); }

.sbd-btn-pill {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
}

.sbd-btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.sbd-btn-danger {
  border-color: #f5b5b5;
  background: #fff1f1;
  color: #b42318;
}

.sbd-btn-danger:hover {
  background: #fee2e2;
}

/* ── Photo Thumb ─────────────────────────────── */
.sbd-photo-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.sbd-photo-actions {
  display: grid;
  gap: 8px;
}

/* ── Social Type Cards ───────────────────────── */
.sbd-type-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sbd-type-card {
  display: grid;
  gap: 10px;
  cursor: pointer;
  border-radius: 16px;
  border: 2px solid transparent;
  background: #1b2a44;
  padding: 16px;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: all var(--sbd-transition);
}

.sbd-type-card input[type="radio"] { accent-color: #f0c96a; }

.sbd-type-card input[type="radio"]:checked ~ .sbd-type-name,
.sbd-type-card:has(input:checked) {
  border-color: #f0c96a;
  box-shadow: 0 12px 24px rgba(15,27,45,0.3);
}

.sbd-type-name {
  font-size: 16px;
  font-weight: 600;
}

.sbd-type-desc {
  font-size: 13px;
  opacity: 0.8;
}

/* ── View link (for existing docs) ───────────── */
.sbd-view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sbd-brand);
}

.sbd-view-link:hover { text-decoration: underline; }

/* ── Alert ───────────────────────────────────── */
.sbd-alert {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid;
}

.sbd-alert-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #dc2626;
}

.sbd-alert-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.sbd-alert-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #b45309;
}

/* ── Edit Info Bar ───────────────────────────── */
.sbd-edit-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  border-radius: 16px;
  border: 1px solid var(--sbd-border);
  background: #f6f8fb;
  padding: 12px 16px;
  margin-top: 16px;
}

.sbd-edit-bar-id {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sbd-muted);
}

.sbd-edit-bar-value {
  font-size: 16px;
  font-weight: 600;
}

/* ── Edit Type Switcher ──────────────────────── */
.sbd-edit-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-top: 12px;
}

.sbd-edit-switch-label { font-weight: 600; color: var(--sbd-muted); }

.sbd-edit-switch a {
  border-radius: 999px;
  border: 1px solid var(--sbd-border);
  padding: 6px 12px;
  font-weight: 600;
  color: var(--sbd-ink);
}

.sbd-edit-switch a.active {
  border-color: var(--sbd-brand);
  background: var(--sbd-brand-glow);
  color: var(--sbd-brand);
}

.sbd-edit-switch-hint { color: var(--sbd-muted); }

/* ── Submit Row ──────────────────────────────── */
.sbd-submit-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .sbd-grid-4,
  .sbd-grid-3,
  .sbd-grid-2,
  .sbd-grid-5 {
    grid-template-columns: 1fr;
  }

  .sbd-card { padding: 20px; }
  .sbd-type-cards { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sbd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sbd-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .sbd-type-cards { grid-template-columns: repeat(4, 1fr); }
}

/* ── Pending Queue request-item fixed size ───── */
.request-item {
  height: 90px;
  min-height: 90px;
  max-height: 90px;
  overflow: hidden;
}

/* ── Flatpickr alignment ─────────────────────── */
.flatpickr-input { font-family: inherit; }

/* ── Admin Pending Filter Bar ────────────────── */
.sbd-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 10px;
  position: relative;
  z-index: 10;
  margin-bottom: 0;
}

.sbd-filter-bar .sbd-input {
  width: 220px;
  flex-shrink: 0;
}

.sbd-filter-bar .sbd-select {
  flex-shrink: 0;
  width: auto;
  min-width: 140px;
}

/* ── Full-width column span helper ───────────── */
.sbd-col-full {
  grid-column: 1 / -1;
}

/* ── Pending Queue scrollable list (~20 cards) ───────── */
.sbd-queue-list {
  max-height: 240vh;
  overflow-y: auto;
}

/* ── Narrow form card ────────────────────────── */
.sbd-form-narrow {
  max-width: 560px;
}

/* ── Users Table ─────────────────────────────── */
.sbd-users-table {
  border-collapse: collapse;
  width: 100%;
}

.sbd-users-table thead th {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sbd-muted);
  background: #f8fafc;
  border-bottom: 2px solid var(--sbd-border);
  white-space: nowrap;
}

.sbd-users-table tbody tr {
  border-bottom: 1px solid var(--sbd-border-light);
  transition: background var(--sbd-transition);
}

.sbd-users-table tbody tr:hover {
  background: var(--sbd-brand-light);
}

.sbd-users-table tbody td {
  padding: 10px 14px;
  vertical-align: middle;
}

.sbd-users-username {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: #f1f5f9;
  color: var(--sbd-muted);
  padding: 2px 8px;
  border-radius: 6px;
}

.sbd-users-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.sbd-users-badge--type {
  background: var(--sbd-brand-light);
  color: var(--sbd-brand-dark);
}

.sbd-users-badge--yes {
  background: #dcfce7;
  color: #15803d;
}

.sbd-users-badge--no {
  background: #f1f5f9;
  color: var(--sbd-light);
}

.sbd-users-badge--dswd {
  background: #ede9fe;
  color: #6d28d9;
}

.sbd-users-badge--status {
  background: rgba(240,201,106,0.2);
  color: #8c5b00;
}

/* ── Pagination disabled state ───────────────── */
.sbd-btn[aria-disabled="true"],
.sbd-btn--disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* ── Detail panel grid: items align to their own top ─ */
.sbd-detail-grid {
  display: grid;
  align-content: start;
  align-items: start;
}

/* ══════════════════════════════════════════════════════
   Submission Confirmation Modal
   ══════════════════════════════════════════════════════ */

/* Prevent display from overriding hidden attribute */
.sub-modal-backdrop.hidden {
  display: none !important;
}

.sub-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 16px;
  animation: subFadeIn 0.18s ease;
}

@keyframes subFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.sub-modal-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(15, 27, 45, 0.22), 0 4px 16px rgba(15, 27, 45, 0.1);
  animation: subSlideUp 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Close button */
.sub-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 1;
}

.sub-modal-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

/* Success banner */
.sub-success-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #213f9a 0%, #1d6fa8 100%);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 24px;
  color: #fff;
}

.sub-success-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

.sub-success-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.sub-success-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Tracking code + QR layout */
.sub-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
  text-align: center;
}

.sub-ref-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.sub-ref-value {
  font-family: 'Courier New', Courier, monospace;
  font-size: 28px;
  font-weight: 700;
  color: #1a2332;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.sub-ref-hint {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.sub-qr-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
}

.sub-qr-hint {
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  letter-spacing: 0.04em;
}

/* Action buttons */
.sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.sub-btn--print {
  background: #213f9a;
  color: #fff;
}

.sub-btn--print:hover {
  background: #1a3280;
  box-shadow: 0 4px 12px rgba(33, 63, 154, 0.3);
}

.sub-btn--tracker {
  background: #f1f5f9;
  color: #1e293b;
}

.sub-btn--tracker:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Print styles */
@media print {
  /* Hide the site nav so only the modal print header shows */
  header {
    display: none !important;
  }

  .sub-modal-backdrop {
    position: static !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    display: block !important;
  }

  .sub-modal-card {
    position: static !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 24px !important;
    animation: none !important;
  }

  .sub-print-header {
    display: flex !important;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
  }

  .sub-print-logo {
    height: 48px;
    width: auto;
  }

  .sub-print-divider {
    flex: 1;
    height: 1px;
    background: #cbd5e1;
  }

  .sub-print-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 4px;
  }

  .sub-print-sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
  }

  .sub-body {
    background: #f8fafc !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sub-ref-value {
    font-size: 22px;
  }
}
