/* =============================================
   Case Tracker — Stylesheet
   Clean, large-print, law office professional
   ============================================= */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  background: linear-gradient(160deg, #eef3fb 0%, #e8eef5 100%) fixed;
  color: #1a1a2e;
  min-height: 100vh;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  background: linear-gradient(to right, #1b3a5c, #1e4d7b);
  color: white;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header h1 {
  font-size: 24px;
  font-weight: 700;
  flex: 1;
  letter-spacing: -0.3px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 40px;
  width: auto;
}

.user-info {
  font-size: 13px;
  opacity: 0.75;
  white-space: nowrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background 0.15s, opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  line-height: 1;
  text-align: center;
}
.btn:active { opacity: 0.85; }

.btn-primary   { background: #2563eb; color: white; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }

.btn-green     { background: #16a34a; color: white; }
.btn-green:hover { background: #15803d; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,163,74,0.3); }

.btn-danger    { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(220,38,38,0.25); }

.btn-secondary { background: #6b7280; color: white; }
.btn-secondary:hover { background: #4b5563; }

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.45);
  text-decoration: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

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

/* =============================================
   FILTERS BAR
   ============================================= */
.filters {
  background: white;
  padding: 12px 24px;
  border-bottom: 1px solid #dde3eb;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
}

.filters input[type="text"],
.filters select {
  padding: 8px 11px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  color: #1a1a2e;
  height: 38px;
}

.filters input[type="text"] { min-width: 220px; }
.filters select { min-width: 130px; }

.filters input[type="text"]:focus,
.filters select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

/* =============================================
   CASE TABLE
   ============================================= */
.table-container {
  padding: 20px 24px;
}

.case-count {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
  font-weight: 500;
}

.table-scroll {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 900px;
}

thead th {
  background: #1b3a5c;
  color: white;
  padding: 13px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  user-select: none;
}

thead th:first-child { border-radius: 8px 0 0 0; }
thead th:last-child  { border-radius: 0 8px 0 0; }

tbody tr {
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
  transition: filter 0.12s;
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { filter: brightness(0.95); }
tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 #2563eb; }

tbody td {
  padding: 12px 14px;
  font-size: 14px;
  vertical-align: middle;
  transition: box-shadow 0.12s;
}

/* ---- Row color coding ---- */
tbody tr.row-overdue  { background: #fee2e2; }
tbody tr.row-soon     { background: #fef9c3; }
tbody tr.row-closed   { background: #f8f9fa; color: #9ca3af; }

/* ---- Deadline text color ---- */
.dl-overdue { color: #b91c1c; font-weight: 700; }
.dl-soon    { color: #b45309; font-weight: 600; }

/* ---- Case name column ---- */
.case-name-cell { font-weight: 600; min-width: 160px; color: #1b3a5c; }

/* ---- Stage column: slightly smaller, allow wrap ---- */
.stage-cell { font-size: 13px; max-width: 180px; }

/* ---- Description column ---- */
.desc-cell { font-size: 13px; max-width: 200px; color: #374151; }
.row-closed .desc-cell { color: #9ca3af; }

/* ---- Timestamp column ---- */
.ts-cell { font-size: 12px; color: #9ca3af; white-space: nowrap; }

/* ---- Priority badges ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.badge-urgent { background: #dc2626; color: white; }
.badge-high   { background: #ea580c; color: white; }
.badge-normal { background: #e5e7eb; color: #374151; }

/* ---- Status badges ---- */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.st-active    { background: #dcfce7; color: #15803d; }
.st-stayed    { background: #fef3c7; color: #92400e; }
.st-settled   { background: #dbeafe; color: #1d4ed8; }
.st-dismissed { background: #f3f4f6; color: #6b7280; }
.st-judgment  { background: #ede9fe; color: #6d28d9; }
.st-closed    { background: #f3f4f6; color: #9ca3af; }

/* ---- Empty / loading ---- */
.loading-cell, .empty-cell {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
  font-size: 15px;
}
.empty-cell strong { display: block; font-size: 18px; margin-bottom: 6px; color: #6b7280; }

/* ---- Urgent row flash indicator ---- */
tbody tr.row-urgent-active td:first-child {
  border-left: 4px solid #dc2626;
}

/* =============================================
   MODALS
   ============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  overflow-y: auto;
  padding: 24px 16px;
  box-sizing: border-box;
}
.modal-overlay.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal {
  background: white;
  border-radius: 12px;
  padding: 28px 28px;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  animation: slideIn 0.18s ease;
  border-top: 4px solid #1b3a5c;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.modal-close-btn:hover {
  color: #374151;
  background: #f3f4f6;
}
.modal-wide   { max-width: 580px; }
.modal-narrow { max-width: 400px; }

#reset-modal { z-index: 300; }

@keyframes slideIn {
  from { transform: translateY(-16px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.modal h2 {
  font-size: 21px;
  font-weight: 700;
  color: #1b3a5c;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e9ecef;
}

/* =============================================
   FORMS (inside modals)
   ============================================= */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  color: #1a1a2e;
  background: white;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

/* Password show/hide toggle */
.pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pw-wrap input {
  flex: 1;
  padding-right: 58px;
}
.pw-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.pw-toggle:hover { color: #1a1a2e; background: #f3f4f6; }

.req      { color: #dc2626; }
.optional { color: #9ca3af; font-weight: 400; text-transform: none; letter-spacing: 0; }

.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
}
.modal-actions .spacer { flex: 1; }

/* =============================================
   USERS LIST (inside modal)
   ============================================= */
#users-list {
  margin-bottom: 20px;
}

.users-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.users-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #1b3a5c;
}
.users-count {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

.users-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.15s;
}
.user-card:hover {
  box-shadow: 0 3px 10px rgba(0,0,0,0.09);
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b3a5c, #2563eb);
  color: white;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.user-card-info {
  flex: 1;
  min-width: 0;
}
.user-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.user-card-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 3px;
}

.user-email-val { color: #2563eb; }
.user-email-missing { color: #f59e0b; font-style: italic; }

.role-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.role-admin {
  background: #ede9fe;
  color: #6d28d9;
}
.role-staff {
  background: #e0f2fe;
  color: #0369a1;
}

.you-tag {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 7px;
  border-radius: 20px;
}

.user-action-btns {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-shrink: 0;
}

.add-user-form {
  background: white;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.add-user-form h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1b3a5c;
  margin-bottom: 16px;
}

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://res.cloudinary.com/dp0noxpxo/image/upload/v1781632746/Gemini_Generated_Image_olgo3folgo3folgo_onpoi7.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-box {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 48px 44px;
  width: 400px;
  max-width: 94vw;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  text-align: center;
}

.login-logo-img {
  width: 200px;
  max-width: 80%;
  margin-bottom: 20px;
}

.login-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 30px;
}

.login-box h1 {
  font-size: 26px;
  font-weight: 700;
  color: #1b3a5c;
  margin-bottom: 4px;
}

.login-box > p {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 30px;
}

.login-box .form-group {
  text-align: left;
  margin-bottom: 18px;
}

.login-box .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.login-box input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  font-size: 16px;
  transition: border-color 0.15s;
}

.login-box input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.login-box .btn-primary {
  width: 100%;
  padding: 13px;
  font-size: 16px;
  border-radius: 7px;
  margin-top: 6px;
}

.error-msg {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 11px 14px;
  border-radius: 7px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

/* =============================================
   MILESTONE CHECKLIST
   ============================================= */
.milestone-section {
  margin-top: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.milestone-section-header {
  background: #1b3a5c;
  color: white;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.milestone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border-bottom: 1px solid #f3f4f6;
  gap: 12px;
}
.milestone-row:last-child { border-bottom: none; }
.milestone-row:nth-child(even) { background: #fafafa; }

.milestone-label {
  font-size: 14px;
  color: #374151;
  flex: 1;
}

.milestone-yesno {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.yn-btn {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #d1d5db;
  background: white;
  color: #6b7280;
  transition: all 0.1s;
}
.yn-btn:hover { border-color: #9ca3af; }

.yn-active-yes  { background: #16a34a; color: white; border-color: #16a34a; }
.yn-active-no   { background: #dc2626; color: white; border-color: #dc2626; }
.yn-active-clr  { background: #e5e7eb; color: #374151; border-color: #d1d5db; }

.milestone-date-row { gap: 16px; }

.milestone-text-input {
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  flex-shrink: 0;
  width: 220px;
}
.milestone-text-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

.milestone-textarea-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.milestone-textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 64px;
  color: #1a1a2e;
}
.milestone-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

.milestone-date-input {
  padding: 5px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  flex-shrink: 0;
  width: 160px;
}
.milestone-date-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

/* Board Communication sub-rows */
.milestone-board-header {
  background: #f0f4f8;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.milestone-board-subtitle {
  font-size: 11px;
  color: #6b7280;
  font-style: italic;
  font-weight: 400;
}
.milestone-subrow {
  padding-left: 32px;
  background: #fafafa;
}
.milestone-label-month {
  font-size: 13px;
  color: #6b7280;
}

/* =============================================
   ADMIN TAB SWITCHER
   ============================================= */
.admin-tabs {
  padding: 16px 24px 0;
  display: flex;
}

.admin-tab-pills {
  display: flex;
  background: #dde3ed;
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.admin-tab {
  padding: 8px 22px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #64748b;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  font-family: inherit;
}

.admin-tab.active {
  background: #fff;
  color: #1b3a5c;
  box-shadow: 0 1px 4px rgba(0,0,0,0.13);
}

.admin-tab:hover:not(.active) {
  color: #1b3a5c;
  background: rgba(255,255,255,0.55);
}

/* Case Transferred */
.milestone-transfer-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.milestone-transfer-input {
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  width: 200px;
}
.milestone-transfer-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

/* Milestone summary in table */
.ms-count {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.ms-trial {
  font-size: 11px;
  color: #1d4ed8;
  font-weight: 600;
  margin-top: 2px;
}
.ms-none { color: #9ca3af; }

/* =============================================
   REPORT STATUS BADGES & ROW COLORS
   ============================================= */
.rs-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.rs-current { background: #dcfce7; color: #15803d; }
.rs-yellow  { background: #fef9c3; color: #854d0e; }
.rs-red     { background: #fee2e2; color: #991b1b; }

tbody tr.row-report-yellow { background: #fefce8; }
tbody tr.row-report-red    { background: #fef2f2; }

.ms-report-date { font-size: 13px; font-weight: 600; color: #1a1a2e; }
.ms-report-by   { font-size: 11px; color: #6b7280; margin-top: 1px; }

/* =============================================
   LAST EDIT INFO (case modal)
   ============================================= */
#last-edit-info {
  font-size: 12px;
  color: #6b7280;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 7px 12px;
  margin-bottom: 14px;
}

/* =============================================
   REPORT HISTORY (case modal)
   ============================================= */
.report-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1b3a5c;
  color: white;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 20px;
  border-radius: 6px 6px 0 0;
}
.report-count-badge {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  text-transform: none;
  letter-spacing: 0;
}
.report-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  background: white;
  gap: 12px;
}
.report-entry:last-child { border-bottom: none; border-radius: 0 0 6px 6px; }
.report-entry-left { display: flex; flex-direction: column; gap: 2px; }
.report-entry-month { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.report-entry-meta  { font-size: 12px; color: #6b7280; }
.report-entry-empty {
  padding: 18px 14px;
  color: #9ca3af;
  font-size: 13px;
  background: white;
  border-radius: 0 0 6px 6px;
}
#report-history-section { margin-top: 4px; }

/* =============================================
   ADMIN PAGE
   ============================================= */
.admin-summary {
  display: flex;
  gap: 16px;
  padding: 16px 24px 0;
  flex-wrap: wrap;
}
.admin-stat {
  background: white;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #1b3a5c;
  border-radius: 10px;
  padding: 16px 22px;
  min-width: 140px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.admin-stat-yellow { border-top-color: #eab308; }
.admin-stat-red    { border-top-color: #dc2626; }
.admin-stat-num   { display: block; font-size: 32px; font-weight: 800; color: #1b3a5c; margin-bottom: 2px; }
.admin-stat-label { font-size: 11px; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.report-by  { font-size: 11px; color: #9ca3af; }
.edit-stale { color: #b91c1c; font-weight: 600; }

/* =============================================
   CUSTOM SCROLLBAR (Webkit)
   ============================================= */
::-webkit-scrollbar            { width: 8px; height: 8px; }
::-webkit-scrollbar-track      { background: transparent; }
::-webkit-scrollbar-thumb      { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover{ background: #94a3b8; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 860px) {
  .header h1 { font-size: 18px; }
  .filters { padding: 10px 14px; gap: 8px; }
  .filters input[type="text"] { min-width: 160px; }
  .filters select { min-width: 110px; }
  .table-container { padding: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 22px 18px; }
}
