/* ============================================================
   ReviewShield — Admin Design System
   Font: Satoshi (Fontshare) | Accent: Teal | Surfaces: Warm neutral
   ============================================================ */

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

:root {
  --font: 'Satoshi', -apple-system, sans-serif;

  /* Light theme */
  --bg-base:       #f5f3f0;
  --bg-surface:    #ffffff;
  --bg-surface-2:  #faf9f7;
  --bg-sidebar:    #1c1917;
  --sidebar-text:  #a8a29e;
  --sidebar-active:#ffffff;
  --sidebar-hover: #292524;

  --text-primary:   #1c1917;
  --text-secondary: #78716c;
  --text-muted:     #a8a29e;

  --accent:         #0d9488;
  --accent-hover:   #0f766e;
  --accent-light:   #ccfbf1;
  --accent-dim:     rgba(13,148,136,.12);

  --border:         #e7e5e4;
  --border-strong:  #d6d3d1;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --sidebar-w: 240px;
  --header-h:  72px;
}

[data-theme="dark"] {
  --bg-base:       #0c0a09;
  --bg-surface:    #1c1917;
  --bg-surface-2:  #292524;
  --bg-sidebar:    #111110;
  --sidebar-text:  #78716c;
  --sidebar-active:#ffffff;
  --sidebar-hover: #1c1917;

  --text-primary:   #fafaf9;
  --text-secondary: #a8a29e;
  --text-muted:     #57534e;

  --accent:         #2dd4bf;
  --accent-hover:   #5eead4;
  --accent-light:   rgba(45,212,191,.15);
  --accent-dim:     rgba(45,212,191,.08);

  --border:         #292524;
  --border-strong:  #3f3a37;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.5);
}

html, body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Layout ────────────────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  z-index: 100;
  border-right: 1px solid rgba(255,255,255,.04);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo-icon { font-size: 20px; }
.logo-text  { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.3px; }

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--sidebar-text);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
  position: relative;
}

.nav-item:hover { background: var(--sidebar-hover); color: #fff; }
.nav-item.active { background: var(--accent); color: #fff; }
.nav-item.active svg { stroke: #fff; }

.nav-item .badge {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}

.sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }

.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.user-avatar-placeholder {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.user-details {
  display: flex; flex-direction: column;
  min-width: 0;
}

.user-name  { font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-email { font-size: 10px; color: var(--sidebar-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.logout-btn, .theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--sidebar-text);
  cursor: pointer;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}

.logout-btn:hover, .theme-toggle:hover { background: var(--sidebar-hover); color: #fff; }

/* ── Main Content ──────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 32px 36px;
  min-height: 100vh;
}

/* ── Page Header ───────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.page-title    { font-size: 22px; font-weight: 700; letter-spacing: -.4px; color: var(--text-primary); }
.page-subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 3px; }
.back-link     { color: var(--text-secondary); font-size: 13px; }

/* ── KPI Grid ──────────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.kpi-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.kpi-icon--blue   { background: #eff6ff; color: #3b82f6; }
.kpi-icon--amber  { background: #fffbeb; color: #f59e0b; }
.kpi-icon--teal   { background: var(--accent-light); color: var(--accent); }
.kpi-icon--yellow { background: #fefce8; color: #eab308; }

[data-theme="dark"] .kpi-icon--blue  { background: rgba(59,130,246,.12); }
[data-theme="dark"] .kpi-icon--amber { background: rgba(245,158,11,.12); }
[data-theme="dark"] .kpi-icon--yellow{ background: rgba(234,179,8,.12); }

.kpi-data { display: flex; flex-direction: column; gap: 2px; }
.kpi-value { font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.5px; }
.kpi-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }

/* ── Section ───────────────────────────────────────────────── */
.section { margin-bottom: 28px; }

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

.section-title { font-size: 15px; font-weight: 600; }
.section-link  { font-size: 13px; color: var(--accent); }

/* ── Table ─────────────────────────────────────────────────── */
.table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead tr { border-bottom: 1px solid var(--border); }
.data-table th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-muted);
  text-align: left;
  background: var(--bg-surface-2);
}

.data-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--bg-surface-2); }
.data-table tbody tr.row-pending td { background: rgba(245,158,11,.04); }

.comment-cell { max-width: 280px; color: var(--text-secondary); }
.date-cell    { white-space: nowrap; color: var(--text-secondary); font-size: 12px; }
.empty-row    { text-align: center; color: var(--text-muted); padding: 40px !important; }

/* ── Status Badges ─────────────────────────────────────────── */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.status-pending    { background: #fef3c7; color: #92400e; }
.status-published  { background: #d1fae5; color: #065f46; }
.status-redirected { background: var(--accent-light); color: var(--accent); }
.status-rejected   { background: #fee2e2; color: #991b1b; }

[data-theme="dark"] .status-pending    { background: rgba(245,158,11,.15); color: #fbbf24; }
[data-theme="dark"] .status-published  { background: rgba(52,211,153,.15); color: #34d399; }
[data-theme="dark"] .status-redirected { background: var(--accent-dim);    color: var(--accent); }
[data-theme="dark"] .status-rejected   { background: rgba(239,68,68,.15);  color: #f87171; }

/* ── Stars ─────────────────────────────────────────────────── */
.stars-mini { display: inline-flex; gap: 1px; }
.star-on  { color: #fbbc04; font-size: 14px; }
.star-off { color: var(--border-strong); font-size: 14px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: var(--bg-surface-2); }

.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-surface-2); color: var(--text-primary); }

.btn-danger { background: #fee2e2; color: #991b1b; }
.btn-danger:hover { background: #fecaca; }

.btn-teal { background: var(--accent-light); color: var(--accent); }
.btn-teal:hover { background: var(--accent); color: #fff; }

.btn-sm  { padding: 6px 12px; font-size: 12px; }
.btn-xs  { padding: 4px 10px; font-size: 11px; }
.btn-full { width: 100%; justify-content: center; }

[data-theme="dark"] .btn-danger { background: rgba(239,68,68,.15); color: #f87171; }
[data-theme="dark"] .btn-danger:hover { background: rgba(239,68,68,.25); }
[data-theme="dark"] .btn-teal { background: var(--accent-dim); }

.inline-form { display: inline; }
.actions-cell { white-space: nowrap; display: flex; gap: 6px; align-items: center; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-container { max-width: 660px; }

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.form-section { padding: 28px 32px; border-bottom: 1px solid var(--border); }
.form-section:last-child { border-bottom: none; }
.form-section-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px; }

.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.label-hint { display: block; font-weight: 400; color: var(--text-secondary); font-size: 12px; margin-top: 2px; }

.form-input, .form-select {
  width: 100%;
  padding: 9px 13px;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13.5px;
  color: var(--text-primary);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-input-file { font-size: 13px; color: var(--text-secondary); }
.form-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; }

.form-actions {
  padding: 20px 32px;
  display: flex; align-items: center; gap: 12px; justify-content: flex-end;
  background: var(--bg-surface-2);
  border-top: 1px solid var(--border);
}

/* Threshold selector */
.threshold-selector { display: flex; flex-direction: column; gap: 8px; }
.threshold-option   { display: flex; align-items: center; cursor: pointer; }
.threshold-option input { margin-right: 10px; accent-color: var(--accent); }
.threshold-label    { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.threshold-stars    { display: flex; gap: 2px; color: #fbbc04; font-size: 16px; }

/* Current logo */
.current-logo { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.logo-preview { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.logo-note    { font-size: 11.5px; color: var(--text-muted); }

/* ── Business Cards ────────────────────────────────────────── */
.businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.business-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}

.business-card-header { display: flex; gap: 14px; align-items: flex-start; }

.business-logo { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.business-logo-placeholder {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--accent-light); color: var(--accent);
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.business-name    { font-size: 15px; font-weight: 700; }
.business-address { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.business-meta { display: flex; flex-direction: column; gap: 10px; }
.meta-item     { display: flex; flex-direction: column; gap: 4px; }
.meta-label    { font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); font-weight: 600; }
.meta-value    { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.meta-note     { font-size: 11px; color: var(--text-secondary); }

.link-row { display: flex; align-items: center; gap: 6px; }
.link-code { font-size: 11px; background: var(--bg-base); border: 1px solid var(--border); padding: 4px 8px; border-radius: 4px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.btn-copy { background: none; border: 1px solid var(--border); border-radius: 4px; padding: 4px 6px; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; transition: all .15s; }
.btn-copy:hover { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }

.business-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--border); }

/* ── Filters Bar ───────────────────────────────────────────── */
.filters-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.filters-form { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }

.filter-tabs { display: flex; gap: 4px; }
.filter-tab {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all .15s;
  border: 1px solid transparent;
}
.filter-tab:hover { background: var(--bg-surface-2); color: var(--text-primary); }
.filter-tab.active { background: var(--accent); color: #fff; }

/* ── QR Generator ──────────────────────────────────────────── */
.qr-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.qr-config-panel, .qr-preview-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.panel-title { font-size: 14px; font-weight: 700; margin-bottom: 20px; }

.template-options { display: flex; gap: 10px; }
.template-opt { cursor: pointer; }
.template-opt input { display: none; }
.template-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px; border-radius: var(--radius-sm); border: 2px solid var(--border);
  font-size: 11px; text-align: center; color: var(--text-secondary);
  transition: all .15s;
}
.template-opt input:checked + .template-card { border-color: var(--accent); background: var(--accent-dim); color: var(--accent); }
.template-icon { font-size: 20px; }

.checkbox-group  { display: flex; flex-direction: column; gap: 8px; }
.checkbox-label  { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.checkbox-label input { accent-color: var(--accent); }

.color-options { display: flex; gap: 8px; }
.color-opt { cursor: pointer; }
.color-opt input { display: none; }
.color-swatch {
  display: block; width: 28px; height: 28px;
  border-radius: 50%; border: 2px solid var(--border);
  transition: all .15s;
}
.color-opt input:checked + .color-swatch { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

/* Preview */
.preview-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }

.preview-canvas-wrapper {
  display: flex; align-items: center; justify-content: center;
  background: #e5e7eb;
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 300px;
}

/* QR Card templates */
.qr-card {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Roboto', sans-serif;
}

.qr-card--table {
  width: 220px; padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.qr-card--a5 {
  width: 280px; padding: 32px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.qr-card--sticker {
  width: 220px; height: 220px;
  border-radius: 50%;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.qr-card-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 100%;
}

.qr-google-logo { display: flex; justify-content: center; }

.qr-stars {
  color: #fbbc04;
  font-size: 22px;
  letter-spacing: 2px;
}

.qr-image { width: 140px; height: 140px; }

.qr-cta-text {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #202124;
}

.qr-placeholder {
  width: 140px; height: 140px;
  background: #f3f4f6;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
}

.qr-loading, .qr-error {
  width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #9ca3af;
}

/* ── Empty State ───────────────────────────────────────────── */
.empty-state {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty-icon { font-size: 44px; margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.empty-state p  { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 20px; }

/* ── Alert ─────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 16px; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
[data-theme="dark"] .alert-error { background: rgba(239,68,68,.15); color: #f87171; border-color: rgba(239,68,68,.3); }

/* ── Login Page ────────────────────────────────────────────── */
.login-page { background: var(--bg-base); min-height: 100vh; display: flex; align-items: stretch; }

.login-container {
  display: grid;
  grid-template-columns: 440px 1fr;
  width: 100%;
}

.login-card {
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 52px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
}

.login-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 36px;
}

.logo-icon      { font-size: 24px; }
.logo-wordmark  { font-size: 20px; font-weight: 800; letter-spacing: -.4px; }

.login-title    { font-size: 28px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 6px; }
.login-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; }

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 14px; font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all .15s;
  box-shadow: var(--shadow-sm);
}

.btn-google:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  color: var(--text-primary);
}

.login-legal {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* Login visual panel */
.login-visual {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
  padding: 48px;
}

.visual-content { max-width: 380px; }

.visual-stat {
  margin-bottom: 40px;
}

.stat-number {
  display: block;
  font-size: 72px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -3px;
}

.stat-label {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.visual-reviews { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.mini-review {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.15);
}

.mini-stars { color: #fbbc04; font-size: 13px; margin-bottom: 6px; }
.mini-text  { font-size: 13px; color: rgba(255,255,255,.9); margin-bottom: 6px; line-height: 1.4; }
.mini-name  { font-size: 11px; color: rgba(255,255,255,.55); }

.visual-tagline {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar { display: none; }
  .main-content { padding: 20px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .login-container { grid-template-columns: 1fr; }
  .login-visual { display: none; }
}

/* ── Utility ───────────────────────────────────────────────── */
.text-muted { color: var(--text-muted); }
