/* ─── Reset & Root ─────────────────────────────────────────────────────────── */
:root {
  --bg:        #0f0f0f;
  --card:      #191919;
  --card2:     #222222;
  --teal:      #e53535;
  --teal2:     #b91c1c;
  --teal-glow: rgba(229,53,53,0.15);
  --teal-grad: linear-gradient(135deg, #e53535 0%, #b91c1c 100%);
  --white:     #ffffff;
  --text-sec:  #9ca3af;
  --border:    #2a2a2a;
  --success:   #22c55e;
  --warning:   #f59e0b;
  --danger:    #f87171;
  --success-bg: rgba(34,197,94,0.12);
  --warning-bg: rgba(245,158,11,0.12);
  --danger-bg:  rgba(248,113,113,0.12);
  --radius:    14px;
  --nav-h:     68px;
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* ─── App Shell ─────────────────────────────────────────────────────────────── */
.app-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.page-content {
  flex: 1;
  padding: 0 0 calc(var(--nav-h) + 16px);
  overflow-y: auto;
}

/* ─── Bottom Nav ─────────────────────────────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-h);
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding: 0 8px 14px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  text-decoration: none;
  color: #4b5563;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-icon { font-size: 20px; }
.nav-label { font-size: 10px; }
.nav-item.active .nav-label,
.nav-item.active .nav-icon { color: var(--teal); }

.nav-fab {
  width: 52px;
  height: 52px;
  background: var(--teal-grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(20,184,166,0.5);
  margin-top: -10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-fab.overdue {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 4px 16px rgba(239,68,68,0.5);
}

/* ─── Flash Messages ────────────────────────────────────────────────────────── */
.flash-stack { padding: 14px 16px 0; }

.flash {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flash.success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16,185,129,0.25); }
.flash.error   { background: var(--danger-bg);  color: var(--danger);  border: 1px solid rgba(239,68,68,0.25); }
.flash.warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }
.flash.info    { background: var(--teal-glow);  color: var(--teal);    border: 1px solid rgba(20,184,166,0.25); }

/* ─── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,53,53,0.2), transparent);
}

.card-sm { padding: 14px; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
}

.btn-full { display: flex; width: 100%; }

.btn-teal {
  background: var(--teal-grad);
  color: white;
  box-shadow: 0 6px 24px rgba(20,184,166,0.4), 0 2px 8px rgba(20,184,166,0.2);
}
.btn-teal:hover { opacity: 0.9; }

.btn-ghost {
  background: transparent;
  color: var(--text-sec);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid rgba(239,68,68,0.3);
}

.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }

/* ─── Form Elements ─────────────────────────────────────────────────────────── */
.field-group { margin-bottom: 14px; }

.field-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.field-input::placeholder { color: #4b5563; }
.field-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

textarea.field-input { resize: vertical; min-height: 80px; }
select.field-input { cursor: pointer; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ─── Status Pills ──────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-green  { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }
.pill-yellow { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.pill-red    { background: var(--danger-bg);  color: var(--danger);  border: 1px solid rgba(239,68,68,0.3); }
.pill-teal   { background: var(--teal-glow);  color: var(--teal);    border: 1px solid rgba(20,184,166,0.3); }

/* ─── Divider ───────────────────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider span {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ─── Section Heading ───────────────────────────────────────────────────────── */
.section-heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 20px 0 10px;
}

/* ─── Login Page ────────────────────────────────────────────────────────────── */
.login-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.login-bg-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(20,184,166,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.app-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--teal-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(20,184,166,0.4), 0 0 0 1px rgba(20,184,166,0.2);
}

.app-icon-wrap img,
.app-icon-wrap svg { width: 48px; height: 48px; }

.app-name {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.app-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.login-form { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; }

.input-wrapper { position: relative; }
.input-field {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px 44px 16px 18px;
  font-size: 15px;
  color: var(--white);
  width: 100%;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-field::placeholder { color: #4b5563; }
.input-field:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
.input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.4;
  pointer-events: none;
}

.btn-login {
  background: var(--teal-grad);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 17px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 6px 24px rgba(20,184,166,0.4), 0 2px 8px rgba(20,184,166,0.2);
  font-family: inherit;
  transition: opacity 0.15s;
}
.btn-login:hover { opacity: 0.9; }

/* ─── Dashboard ─────────────────────────────────────────────────────────────── */
.dash-header {
  padding: 16px 20px 8px;
}

.dash-greeting {
  font-size: 14px;
  color: var(--text-sec);
  font-weight: 400;
  margin-bottom: 2px;
}

.dash-restaurant {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-restaurant .switch-arrow {
  font-size: 14px;
  color: var(--teal);
  font-weight: 400;
}

/* Status Banner */
.status-banner {
  margin: 4px 20px 20px;
  border-radius: 18px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}

.status-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  border-radius: 18px;
}

.status-banner.compliant {
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
  box-shadow: 0 4px 20px rgba(16,185,129,0.25);
}

.status-banner.due-soon {
  background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%);
  box-shadow: 0 4px 20px rgba(245,158,11,0.25);
}

.status-banner.overdue {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #dc2626 100%);
  box-shadow: 0 4px 20px rgba(239,68,68,0.25);
}

.status-banner.no-record {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.status-label {
  font-size: 22px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.status-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

.status-date {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.6;
}

/* Metric Grid */
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 20px 20px;
}

.metric-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,53,53,0.2), transparent);
}

.metric-icon-bg {
  width: 32px;
  height: 32px;
  background: rgba(20,184,166,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.metric-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.metric-label {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Recent Records */
.record-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border-radius: 14px;
  margin: 0 20px 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.record-row-icon {
  width: 38px;
  height: 38px;
  background: rgba(20,184,166,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.record-row-info { flex: 1; min-width: 0; }
.record-row-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.record-row-sub { font-size: 12px; color: #6b7280; }
.record-row-right { text-align: right; flex-shrink: 0; }
.record-gallons { font-size: 15px; font-weight: 700; color: var(--teal); }
.record-date-sm { font-size: 11px; color: #6b7280; margin-top: 2px; }

/* Violations warning banner */
.violation-banner {
  margin: 0 20px 16px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.violation-banner .vb-icon { font-size: 20px; flex-shrink: 0; }
.violation-banner .vb-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.violation-banner .vb-sub { font-size: 12px; color: var(--text-sec); }

/* Certificate / Download button row */
.action-row {
  display: flex;
  gap: 10px;
  margin: 0 20px 20px;
}

/* ─── Records Page ──────────────────────────────────────────────────────────── */
.page-header {
  padding: 16px 20px 16px;
}

.page-header .page-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.count-badge {
  background: var(--teal-glow);
  border: 1px solid rgba(20,184,166,0.3);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.search-bar {
  margin: 0 20px 16px;
  background: var(--card);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  flex: 1;
}

.search-bar input::placeholder { color: #4b5563; }

.record-card {
  margin: 0 20px 10px;
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
}

.record-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.record-manifest { font-size: 15px; font-weight: 700; color: var(--white); }
.record-card-date { font-size: 12px; color: #6b7280; margin-top: 2px; }

.record-card-mid {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.record-gal-big { font-size: 18px; font-weight: 800; color: var(--teal); }
.record-meta { font-size: 12px; color: #6b7280; }

.record-card-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.hauler-name { font-size: 12px; color: var(--text-sec); font-weight: 500; }
.export-link {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

/* ─── Service Log Form ──────────────────────────────────────────────────────── */
.log-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 20px;
}

.back-btn {
  width: 36px;
  height: 36px;
  background: var(--card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  border: 1px solid var(--border);
  flex-shrink: 0;
  text-decoration: none;
}

.log-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.scan-box {
  margin: 0 20px 16px;
  border: 2px dashed rgba(20,184,166,0.5);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  background: rgba(20,184,166,0.04);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.scan-box:hover { background: rgba(20,184,166,0.08); }
.scan-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.scan-emoji { font-size: 38px; margin-bottom: 10px; display: block; }
.scan-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.scan-sub { font-size: 13px; color: #6b7280; }
.scan-loading { font-size: 14px; color: var(--teal); font-weight: 600; }

.img-preview {
  margin: 0 20px 16px;
  min-height: 80px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  display: none;
  overflow: hidden;
}

.img-preview img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 14px; }

.form-section { padding: 0 20px; }

/* Signature Canvas */
.sig-wrap {
  padding: 0 20px;
  margin-bottom: 14px;
}

#sig-pad {
  background: var(--card2);
  border-radius: 8px;
  border: 1px solid var(--teal);
  display: block;
  width: 100%;
  max-width: 340px;
  touch-action: none;
}

.sig-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ─── Restaurants Page ──────────────────────────────────────────────────────── */
.rest-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border-radius: 16px;
  margin: 0 20px 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.rest-item.active-rest {
  border-color: rgba(20,184,166,0.5);
  background: rgba(20,184,166,0.05);
}

.rest-icon {
  width: 42px;
  height: 42px;
  background: rgba(20,184,166,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.rest-info { flex: 1; min-width: 0; }
.rest-name { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.rest-county { font-size: 12px; color: #6b7280; }
.rest-active-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-glow);
  border: 1px solid rgba(20,184,166,0.3);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.rest-edit-btn {
  font-size: 18px;
  color: #4b5563;
  text-decoration: none;
  flex-shrink: 0;
}

/* ─── Settings Page ─────────────────────────────────────────────────────────── */
.profile-card {
  margin: 0 20px 24px;
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,184,166,0.05) 0%, transparent 60%);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(20,184,166,0.3);
}

.profile-name { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.profile-email { font-size: 13px; color: #6b7280; }

.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }

.pill-option {
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: #6b7280;
  background: var(--card);
  cursor: pointer;
  letter-spacing: 0.02em;
  font-family: inherit;
}

.pill-option.active,
.pill-option:focus {
  background: var(--teal-glow);
  border-color: rgba(20,184,166,0.5);
  color: var(--teal);
  box-shadow: 0 0 12px rgba(20,184,166,0.15);
}

.settings-section { padding: 0 20px; margin-bottom: 24px; }
.settings-section-label {
  font-size: 10px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.version-footer {
  text-align: center;
  font-size: 11px;
  color: #374151;
  letter-spacing: 0.06em;
  padding: 0 0 24px;
}

/* ─── Violations Page ───────────────────────────────────────────────────────── */
.violation-result {
  background: var(--card);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

.violation-name { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.violation-meta { font-size: 12px; color: #6b7280; }
.violation-priority {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.priority-HIGH { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }
.priority-MEDIUM { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.priority-LOW { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }

/* ─── Utilities ─────────────────────────────────────────────────────────────── */
.text-teal   { color: var(--teal); }
.text-sec    { color: var(--text-sec); }
.text-green  { color: var(--success); }
.text-red    { color: var(--danger); }
.text-yellow { color: var(--warning); }
.text-sm     { font-size: 13px; }
.text-xs     { font-size: 11px; }
.fw-bold     { font-weight: 700; }
.mt-1        { margin-top: 4px; }
.mt-2        { margin-top: 8px; }
.mt-3        { margin-top: 12px; }
.mb-0        { margin-bottom: 0; }
.mb-2        { margin-bottom: 8px; }
.px-20       { padding-left: 20px; padding-right: 20px; }
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2       { gap: 8px; }
.gap-3       { gap: 12px; }
.w-full      { width: 100%; }

/* ─── Scrollbar ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ─── Home indicator ────────────────────────────────────────────────────────── */
.home-indicator {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.home-indicator span {
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}
