/* ==========================================================================
   S DIGITAL SHOP (sdigitalshop.com)
   Official Portal Stylesheet • Responsive, Modern, Clean & High Contrast Print
   ========================================================================== */

:root {
  --primary: #123e75;
  --primary-hover: #0c2d58;
  --primary-light: #eaf2fc;
  --accent: #0284c7;
  --accent-green: #059669;
  --accent-green-hover: #047857;
  --accent-amber: #d97706;
  --accent-red: #dc2626;
  --bg-page: #f0f4f9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: #cbd5e1;
  --border-focus: #3b82f6;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* --- App Header --- */
.sds-header {
  background: linear-gradient(135deg, #0d274c 0%, #153e77 100%);
  color: #ffffff;
  padding: 14px 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--primary);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 12px;
  color: #93c5fd;
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.clock-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  transition: background 0.2s ease;
}

.btn-header-wa:hover {
  background: var(--accent-green-hover);
}

/* --- Top Navigation Tabs Bar --- */
.nav-tab-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 72px;
  z-index: 40;
}

.nav-tab-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 6px;
  padding: 8px 20px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.nav-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 650;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.nav-tab-btn:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

.nav-tab-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #bfdbfe;
}

/* --- Main Layout --- */
.main-content {
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* --- Universal Panels & Cards --- */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.panel-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   TAB 1: CSC SHORTCUTS
   ========================================================================== */
.shortcuts-filter-bar {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  outline: none;
  background: var(--surface);
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-muted);
}

.category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cat-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-btn:hover {
  border-color: #94a3b8;
  color: var(--primary);
}

.cat-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.cat-btn.fav-cat.active {
  background: #f59e0b;
  border-color: #f59e0b;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.shortcut-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.shortcut-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.badge-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.fav-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #cbd5e1;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}

.fav-btn:hover {
  color: #f59e0b;
}

.fav-btn.active {
  color: #f59e0b;
}

.card-title {
  font-size: 16px;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
  flex: 1;
}

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-portal {
  flex: 1;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.btn-portal:hover {
  background: var(--primary-hover);
}

.btn-copy-link {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s ease;
}

.btn-copy-link:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   TAB 2: SMART PRINT STUDIO
   ========================================================================== */
.smart-print-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.mode-tab-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.mode-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-slider-row input[type="range"] {
  flex: 1;
}

.input-slider-row input[type="number"] {
  width: 85px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}

.quick-pos-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.btn-small-pos {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 650;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.btn-small-pos:hover {
  background: #e2e8f0;
}

.file-dropzone {
  border: 2px dashed #93c5fd;
  background: #f8fafc;
  padding: 24px 16px;
  text-align: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: 16px;
  display: block;
  transition: background 0.2s, border-color 0.2s;
}

.file-dropzone.drop-active {
  background: #dbeafe !important;
  border-color: var(--primary) !important;
}

.file-dropzone input[type="file"] {
  display: block;
  margin: 10px auto 0;
  font-size: 13px;
}

.id-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.id-cardbox {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  background: var(--surface-alt);
}

.preview-container {
  background: #e2e8f0;
  border-radius: var(--radius-sm);
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  margin: 10px 0;
}

.preview-container img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.tool-buttons-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.btn-action {
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 650;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.15s;
}

.btn-action:hover {
  border-color: #3b82f6;
  color: #1d4ed8;
}

.btn-print-main {
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 750;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.btn-print-main:hover {
  background: var(--primary-hover);
}

.btn-send-wa {
  background: var(--accent-green);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-send-wa:hover {
  background: var(--accent-green-hover);
}

/* Paper Mini Canvas Preview */
.paper-preview-box {
  background: #334155;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 20px;
  text-align: center;
}

.paper-mini {
  width: min(100%, 260px);
  aspect-ratio: 210 / 297;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.paper-mini canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Status alerts */
.status-alert {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-top: 12px;
}

.status-alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.status-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Crop Modal */
.crop-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.crop-dialog {
  width: min(920px, 100%);
  height: min(94vh, 850px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.crop-stage {
  flex: 1;
  background: #0f172a;
  overflow: hidden;
  position: relative;
  margin: 12px 0;
  border-radius: var(--radius-sm);
}

.crop-stage img {
  max-width: 100%;
  display: block;
}

.perspective-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.perspective-stage img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: none;
  max-height: none;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.corner-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.corner-layer svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.corner-handle {
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  transform: translate(-50%, -50%);
  touch-action: none;
  cursor: grab;
  z-index: 2;
}

.corner-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 1px #1d4ed8;
  transform: translate(-50%, -50%);
}

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

/* ==========================================================================
   TAB 3: SDS GAP SEAT FINDER
   ========================================================================== */
.seat-finder-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.seat-finder-inputs input,
.seat-finder-inputs select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.btn-gradient-search {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 750;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-secondary {
  background: #334155;
  color: #ffffff;
  font-weight: 650;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-demo-train {
  background: #059669;
  color: #ffffff;
  font-weight: 700;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.seat-results-container {
  margin-top: 24px;
  display: none;
  background: #0f172a;
  color: #f8fafc;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.seat-stats-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.stat-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  min-width: 140px;
}

.stat-card strong {
  display: block;
  font-size: 20px;
  color: #38bdf8;
}

.stat-card span {
  font-size: 12px;
  color: #94a3b8;
}

.route-hops {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0;
}

.hop-step {
  background: #1e293b;
  border: 1px solid #0284c7;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.hop-stations {
  font-size: 15px;
  font-weight: 800;
  color: #38bdf8;
}

.hop-seat {
  font-size: 13px;
  margin-top: 4px;
}

.hop-arrow {
  color: #34d399;
  font-size: 22px;
}

.badge-chip {
  display: inline-block;
  background: #1e293b;
  border: 1px solid #475569;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  margin-right: 6px;
}

.seat-row {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.span-tag {
  color: #34d399;
  font-weight: 700;
  font-size: 13px;
}

.badge-pill {
  background: #0369a1;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 6px;
}

/* ==========================================================================
   TAB 4: PHOTO & SIGN RESIZER
   ========================================================================== */
.resizer-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
}

/* ==========================================================================
   TAB 5: AGE CALCULATOR
   ========================================================================== */
.age-calc-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.age-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.age-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.age-card strong {
  font-size: 28px;
  color: var(--primary);
  display: block;
}

.age-card span {
  font-size: 13px;
  color: var(--text-muted);
}

.eligibility-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.eligibility-table th,
.eligibility-table td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: 13px;
}

.elig-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
}

.elig-badge.eligible {
  background: #dcfce7;
  color: #15803d;
}

.elig-badge.not-eligible {
  background: #fee2e2;
  color: #b91c1c;
}

/* ==========================================================================
   TAB 6: RATE CHART & BILLING
   ========================================================================== */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.rate-item {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rate-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 15px;
}

.billing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.billing-table th,
.billing-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.billing-table th {
  background: #f1f5f9;
  text-align: left;
}

/* ==========================================================================
   TAB 7: FORMS LIBRARY
   ========================================================================== */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-badge {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 8px;
}

.form-title {
  font-size: 15px;
  font-weight: 750;
  color: #1e293b;
  margin-bottom: 6px;
}

.form-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex: 1;
}

.btn-form-download {
  display: block;
  text-align: center;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.15s;
}

.btn-form-download:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

/* Toast */
.sds-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 1000;
}

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

/* Footer */
.sds-footer {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  background: #ffffff;
}

/* Print Area (Hidden in screen) */
#printArea {
  display: none;
}

/* ==========================================================================
   HIGH-PRECISION PRINT STYLES (@media print)
   ========================================================================== */
@media print {
  @page {
    size: A4;
    margin: 0;
  }
  body > * {
    display: none !important;
  }
  #printArea {
    display: block !important;
    background: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #printArea .sheet {
    width: 210mm;
    height: 297mm;
    page-break-after: always;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
  }
  #printArea .sheet img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .smart-print-grid,
  .resizer-grid {
    grid-template-columns: 1fr;
  }
  .id-cards-grid {
    grid-template-columns: 1fr;
  }
}
