/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:          #1a5ca8;
  --blue-dark:     #144a8c;
  --blue-light:    #e8f0fb;
  --green:         #2e7d32;
  --green-light:   #e8f5e9;
  --yellow:        #f59f00;
  --yellow-light:  #fff8e1;
  --orange:        #e65c00;
  --orange-light:  #fff3e0;
  --red:           #c62828;
  --red-light:     #ffebee;
  --gray:          #6b7280;
  --gray-light:    #f3f4f6;
  --border:        #d1d5db;
  --text:          #111827;
  --muted:         #6b7280;
  --white:         #ffffff;
  --topbar-h:      56px;
  --shadow:        0 1px 4px rgba(0,0,0,.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--gray-light);
  min-height: 100vh;
}

/* ── Screens ──────────────────────────────────────────────────────────────── */
.screen { display: none; }
.screen.active { display: block; }

/* ── Login ────────────────────────────────────────────────────────────────── */
.login-container {
  max-width: 380px;
  margin: 80px auto;
  background: var(--white);
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.login-logo { text-align: center; margin-bottom: 28px; }
.login-company {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .5px;
}
.login-module {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.login-subtitle {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 16px;
}

/* ── Forms ────────────────────────────────────────────────────────────────── */
label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,92,168,.12);
}
input.readonly-input { background: var(--gray-light); color: var(--muted); }

.form-error {
  color: var(--red);
  font-size: 13px;
  min-height: 18px;
}
.form-msg { font-size: 13px; margin-top: 8px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, opacity .15s;
  white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary  { background: var(--blue);    color: var(--white); }
.btn-primary:hover  { background: var(--blue-dark); }
.btn-outline  { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover  { background: var(--blue-light); }
.btn-danger   { background: var(--red);    color: var(--white); }
.btn-danger:hover   { background: #a31f1f; }
.btn-sm       { padding: 6px 14px; font-size: 13px; }
.btn-full     { width: 100%; }

/* ── Topbar ───────────────────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-brand { display: flex; flex-direction: column; }
.topbar-company { font-size: 16px; font-weight: 700; letter-spacing: .4px; }
.topbar-module  { font-size: 11px; opacity: .75; }

.topbar-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-btn:hover  { background: rgba(255,255,255,.12); color: var(--white); }
.nav-btn.active { background: rgba(255,255,255,.2);  color: var(--white); }

.topbar-right { display: flex; align-items: center; gap: 12px; }
.user-greeting { font-size: 13px; opacity: .85; white-space: nowrap; }

/* ── Views ────────────────────────────────────────────────────────────────── */
.view { padding: 20px; max-width: 1200px; margin: 0 auto; }
.view.hidden { display: none; }

/* ── Toolbar ──────────────────────────────────────────────────────────────── */
.view-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; flex: 1; }
.filter-input  { max-width: 220px; }
.filter-select { max-width: 160px; }
.filter-date   { max-width: 150px; }

/* ── Table ────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: 8px; box-shadow: var(--shadow); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}
.data-table th {
  background: var(--blue);
  color: var(--white);
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: var(--blue-light); }
.data-table tbody tr:last-child td { border-bottom: none; }
.table-empty { text-align: center; color: var(--muted); padding: 32px !important; }

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.status-placed            { background: var(--yellow-light); color: #7a5000; }
.status-received          { background: var(--green-light);  color: var(--green); }
.status-partially-received{ background: var(--orange-light); color: var(--orange); }
.status-closed            { background: var(--gray-light);   color: var(--gray); }

/* ── PO Form ──────────────────────────────────────────────────────────────── */
.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.form-header-left { display: flex; align-items: center; gap: 12px; }
.form-header-left h2 { font-size: 18px; font-weight: 700; }
.form-header-meta { font-size: 13px; color: var(--muted); }

.po-form-top {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: flex-end;
}
.field-group { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }

/* Vendor combo */
.vendor-combo { position: relative; min-width: 260px; }
.combo-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  max-height: 240px;
  overflow-y: auto;
  z-index: 200;
}
.combo-dropdown.hidden { display: none; }
.combo-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}
.combo-item:hover { background: var(--blue-light); }
.combo-empty { padding: 10px 12px; color: var(--muted); font-size: 13px; }

/* Line items table */
.line-items-section {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.line-items-header {
  background: var(--blue-light);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
  border-bottom: 1px solid var(--border);
}
.line-items-table-wrap { overflow-x: auto; }
.line-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.line-items-table th {
  background: var(--gray-light);
  color: var(--text);
  padding: 8px 8px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.line-items-table td {
  padding: 6px 6px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.line-items-table td input,
.line-items-table td select {
  padding: 5px 6px;
  font-size: 13px;
}
.col-amount { text-align: right; }
td.col-amount { text-align: right; font-weight: 600; }

.btn-remove-line {
  background: transparent;
  border: none;
  color: var(--red);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}
.btn-remove-line:hover { background: var(--red-light); border-radius: 4px; }

.line-items-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
}
.po-total-display {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}

.po-form-bottom {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.memo-label { flex: 1; min-width: 240px; }
.po-form-actions { display: flex; gap: 10px; align-items: flex-end; }

/* ── PO Detail / Receive ──────────────────────────────────────────────────── */
.detail-header-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}
.detail-total { font-weight: 700; color: var(--blue); font-size: 16px; }

.detail-memo-row {
  background: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

.detail-footer {
  background: var(--white);
  border-radius: 8px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.detail-status-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.detail-actions { display: flex; gap: 10px; }
.muted-text { font-size: 13px; color: var(--muted); }

/* ── Reconcile ────────────────────────────────────────────────────────────── */
/* ── Reconcile ────────────────────────────────────────────────────────────── */
.reconcile-search-bar {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.reconcile-search-label { font-size: 14px; font-weight: 600; }

/* PO header */
.reconcile-po-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px 8px 0 0;
  padding: 14px 20px;
}
.reconcile-po-header-left  { display: flex; align-items: baseline; gap: 14px; }
.reconcile-po-header-right { display: flex; align-items: center; gap: 14px; font-size: 14px; opacity: .9; }
.reconcile-po-vendor { font-size: 18px; font-weight: 700; }
.reconcile-po-num    { font-size: 14px; opacity: .85; }

/* Totals bar */
.reconcile-totals-bar {
  display: flex;
  gap: 1px;
  background: var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  margin-bottom: 20px;
}
.reconcile-total-item {
  flex: 1;
  background: var(--white);
  padding: 14px 18px;
  text-align: center;
}
.reconcile-total-item:last-child { border-radius: 0 0 8px 8px; }
.reconcile-total-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 4px; }
.reconcile-total-value { font-size: 20px; font-weight: 700; color: var(--text); }
#recon-remaining.over-invoiced { color: var(--red); }
#recon-remaining.fully-invoiced { color: var(--green); }

/* Section labels */
.reconcile-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 8px;
  padding: 0 2px;
}

/* Invoice history */
.reconcile-invoice-history {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}
.reconcile-invoice-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.reconcile-invoice-row:last-child { border-bottom: none; }
.recon-inv-num    { font-weight: 700; min-width: 120px; }
.recon-inv-amount { font-weight: 700; color: var(--blue); min-width: 80px; }
.recon-inv-date   { font-size: 13px; color: var(--muted); }
.recon-inv-by     { font-size: 13px; color: var(--muted); flex: 1; }
.recon-inv-notes  { font-size: 13px; color: var(--muted); font-style: italic; flex: 1; }
.btn-undo { background: transparent; color: var(--muted); border: 1.5px solid var(--border); margin-left: auto; flex-shrink: 0; }
.btn-undo:hover { color: var(--red); border-color: var(--red); background: var(--red-light); }
.reconcile-empty-inline { padding: 16px; color: var(--muted); font-size: 14px; }

/* Add invoice form */
.reconcile-form {
  background: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.reconcile-form label { min-width: 160px; flex: 1; }
#reconcile-invoice-amount { font-weight: 600; }

.reconcile-empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  font-size: 15px;
}

/* ── Receive Items ────────────────────────────────────────────────────────── */
.receive-search-bar {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.receive-search-inner { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.receive-search-label { font-size: 14px; font-weight: 600; }
.receive-open-count   { font-size: 13px; color: var(--muted); padding-bottom: 2px; }

/* Receive dropdown items */
.recv-combo-item   { display: flex; align-items: center; gap: 8px; }
.recv-combo-num    { font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.recv-combo-vendor { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.recv-combo-status { flex-shrink: 0; width: 130px; text-align: right; }

.receive-po-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px 8px 0 0;
  padding: 14px 20px;
}
.receive-po-header-left  { display: flex; align-items: baseline; gap: 16px; }
.receive-po-header-right { display: flex; align-items: center; gap: 16px; font-size: 14px; opacity: .9; }
.receive-vendor  { font-size: 18px; font-weight: 700; }
.receive-po-num  { font-size: 15px; opacity: .85; }

.receive-memo-row {
  background: var(--white);
  padding: 12px 16px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* Receiving table */
.recv-table .col-num { text-align: right; width: 90px; }
.recv-table td.col-num { text-align: right; }
.recv-table td input[type="number"] { width: 72px; text-align: right; padding: 4px 6px; font-size: 13px; }
.recv-table td input[type="text"]   { width: 180px; font-size: 13px; padding: 4px 6px; }

.recv-shortage-pos { color: var(--red);   font-weight: 700; }
.recv-shortage-zero{ color: var(--green); font-weight: 600; }

/* Row highlighting */
.recv-row-complete  { background: #f0faf0; }
.recv-row-partial   { background: #fff8f0; }
.recv-row-none      { background: #fff3f3; }

.receive-footer {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.receive-status-row { display: flex; align-items: center; gap: 16px; }
.recv-status-hint   { font-size: 13px; color: var(--muted); font-style: italic; }

/* ── Admin ────────────────────────────────────────────────────────────────── */
.admin-subnav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}
.admin-nav-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.admin-nav-btn:hover  { border-color: var(--blue); color: var(--blue); }
.admin-nav-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

.admin-section { }
.admin-section.hidden { display: none; }
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-toolbar h3 { font-size: 16px; font-weight: 700; }

.admin-list { background: var(--white); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.admin-list-item:last-child { border-bottom: none; }
.admin-list-item .item-name { font-weight: 500; }
.admin-list-item .item-meta { font-size: 12px; color: var(--muted); }
.admin-list-item .item-actions { display: flex; gap: 8px; }
.inactive-badge { font-size: 11px; color: var(--muted); background: var(--gray-light); padding: 2px 8px; border-radius: 10px; }

/* ── Modals ───────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 16px;
}
.modal.hidden { display: none; }
.modal-box {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 28px 24px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-sm { max-width: 340px; }
.modal-title { font-size: 17px; font-weight: 700; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.checkbox-label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }

/* ── Utility ──────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.manager-only { }

/* ── Responsive ───────────────────────────────────────────────────────────── */

/* Mobile bottom nav — hidden on desktop */
.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 200;
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
  }
  .mobile-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px 10px;
    background: transparent;
    border: none;
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    gap: 3px;
    line-height: 1.2;
  }
  .mobile-nav-btn .mnav-icon {
    font-size: 20px;
    line-height: 1;
  }
  .mobile-nav-btn.active { color: var(--blue); }
  .mobile-nav-btn.manager-only.hidden { display: none; }

  /* Topbar mobile */
  .topbar-nav { display: none; }
  .user-greeting { display: none; }
  .topbar { padding: 0 14px; }
  .topbar-module { display: none; }

  /* Extra bottom padding so content doesn't hide behind nav */
  #app-screen { padding-bottom: 64px; }

  /* Views */
  .view { padding: 12px; }

  /* Filters stack vertically */
  .view-toolbar { flex-direction: column; align-items: stretch; }
  .filters { flex-direction: column; }
  .filter-input, .filter-select, .filter-date { max-width: 100%; width: 100%; }
  #btn-po-filter-reset { width: 100%; }

  /* PO List: hide table header, make rows into cards */
  #po-table thead { display: none; }
  #po-table tbody tr {
    display: block;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
    padding: 0;
    border: none;
  }
  #po-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
  }
  #po-table td:last-child { border-bottom: none; }
  #po-table td.table-empty { display: table-cell; text-align: center; }
  #po-table td[data-label]::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-right: 8px;
    flex-shrink: 0;
  }
  #po-table td.memo-cell {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    justify-content: flex-start;
    gap: 8px;
  }
  #po-table .btn-view-po { width: 100%; margin: 0; }

  /* PO Form top - stack vertically */
  .po-form-top { flex-direction: column; gap: 14px; }
  .field-group { flex-direction: column; align-items: stretch; width: 100%; }
  .vendor-combo { min-width: unset; width: 100%; }

  /* Line items: horizontal scroll */
  .line-items-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .line-items-table { min-width: 700px; }

  /* PO form bottom - stack */
  .po-form-bottom { flex-direction: column; }
  .po-form-actions { flex-direction: column; }
  .po-form-actions .btn { width: 100%; }

  /* Form header */
  .form-header { flex-wrap: wrap; }

  /* Detail view */
  .detail-footer { flex-direction: column; align-items: stretch; }
  .detail-actions { flex-direction: column; }
  .detail-actions .btn { width: 100%; }

  /* Receive table: horizontal scroll */
  .recv-table { min-width: 760px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Receive footer */
  .receive-footer { flex-direction: column; align-items: stretch; }
  #btn-recv-save { width: 100%; }
  .receive-status-row { flex-direction: column; align-items: stretch; }

  /* Receive header */
  .receive-po-header { flex-direction: column; gap: 8px; }
  .receive-po-header-left { flex-direction: column; gap: 4px; }

  /* Reconcile */
  .reconcile-form { flex-direction: column; }
  .reconcile-form label { min-width: unset; width: 100%; }
  #btn-reconcile-save { width: 100%; }

  /* Admin subnav - scroll horizontally */
  .admin-subnav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .admin-nav-btn { white-space: nowrap; }

  /* Modals */
  .modal { align-items: flex-end; padding: 0; }
  .modal-box {
    border-radius: 16px 16px 0 0;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px 20px 32px;
  }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }

  /* Login */
  .login-container { margin: 32px 16px; padding: 28px 20px; }
}
