/* ════════════════════════════════════════════════════════════════════════════
   IntraDash — Main Stylesheet
   Design System: Dark mode, indigo/violet accent, glassmorphism cards
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  --bg-base:       #070c18;
  --bg-surface:    #0d1424;
  --bg-card:       #111827;
  --bg-card-2:     #141d30;
  --bg-input:      #0d1424;
  --accent:        #6366f1;
  --accent-hover:  #4f46e5;
  --accent-2:      #8b5cf6;
  --accent-3:      #06b6d4;
  --accent-4:      #10b981;
  --accent-5:      #f59e0b;
  --danger:        #ef4444;
  --success:       #10b981;
  --warning:       #f59e0b;
  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;
  --border:        rgba(99, 102, 241, 0.18);
  --border-hover:  rgba(99, 102, 241, 0.4);
  --glow:          rgba(99, 102, 241, 0.25);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.5);
  --radius-xs:     6px;
  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.6); }

/* ── Background Mesh ── */
.bg-mesh {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(99,102,241,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(139,92,246,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 60% 50%, rgba(6,182,212,0.05) 0%, transparent 60%),
    var(--bg-base);
}

/* ════ NAVBAR ════════════════════════════════════════════════════════════════ */
.navbar-intradash {
  background: rgba(7, 12, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 1000;
}

.navbar-brand-custom {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.navbar-logo {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: white;
  box-shadow: 0 0 18px rgba(99,102,241,0.45);
  transition: var(--transition);
}
.navbar-logo:hover { transform: rotate(-5deg) scale(1.05); }
.navbar-brand-text { font-size: 1.25rem; font-weight: 800; color: var(--text-primary); }
.navbar-brand-text span { color: var(--accent); }

.nav-link-custom {
  color: var(--text-secondary) !important;
  font-size: 0.875rem; font-weight: 500;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--text-primary) !important;
  background: rgba(99,102,241,0.12);
}

.btn-nav-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white !important; border: none; border-radius: var(--radius-sm);
  padding: 8px 20px; font-size: 0.875rem; font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(99,102,241,0.35);
}
.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.5);
  color: white !important;
}

.user-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.1); border: 1px solid var(--border);
  border-radius: 50px; padding: 5px 14px 5px 5px;
}
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem; color: white;
}
.user-name { font-size: 0.825rem; font-weight: 500; color: var(--text-secondary); }

/* ════ AUTH PAGES ════════════════════════════════════════════════════════════ */
.auth-wrapper {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
  position: relative;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%; max-width: 460px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(99,102,241,0.08);
  animation: slideInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes slideInUp {
  from { opacity:0; transform: translateY(40px) scale(0.97); }
  to   { opacity:1; transform: translateY(0)  scale(1); }
}

.auth-logo {
  width: 64px; height: 64px; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: white;
  box-shadow: 0 0 36px rgba(99,102,241,0.4);
}

.auth-title { font-size: 1.75rem; font-weight: 800; text-align: center; color: var(--text-primary); }
.auth-subtitle { font-size: 0.875rem; color: var(--text-muted); text-align: center; margin-top: 6px; }

.auth-divider { display:flex; align-items:center; gap:12px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background: var(--border); }
.auth-divider span { font-size:0.75rem; color:var(--text-muted); }

/* ════ FORM CONTROLS ════════════════════════════════════════════════════════ */
.form-label-custom { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; display: block; }

.input-group-custom { position: relative; }
.input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 16px; pointer-events: none; z-index: 2;
}

.form-control-custom {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font); font-size: 0.9rem;
  padding: 12px 14px 12px 42px;
  outline: none;
  transition: var(--transition);
}
.form-control-custom::placeholder { color: var(--text-muted); }
.form-control-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
  background: rgba(99,102,241,0.03);
}
.form-control-custom.is-invalid { border-color: var(--danger); }
.form-control-custom.is-valid   { border-color: var(--success); }

.toggle-password {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); cursor: pointer; font-size: 16px; z-index: 2;
  transition: var(--transition);
}
.toggle-password:hover { color: var(--accent); }

.field-error { font-size: 0.75rem; color: var(--danger); margin-top: 5px; display: none; }
.field-error.show { display: block; }

/* ── Password Strength ── */
.strength-bar { height: 4px; border-radius: 2px; background: var(--border); margin-top: 8px; overflow: hidden; }
.strength-fill { height: 100%; border-radius: 2px; transition: width 0.4s, background 0.4s; width: 0; }
.strength-text { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* ════ BUTTONS ═══════════════════════════════════════════════════════════════ */
.btn-primary-custom {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; border: none; border-radius: var(--radius-sm);
  padding: 13px 24px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
  position: relative; overflow: hidden;
}
.btn-primary-custom::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99,102,241,0.55); }
.btn-primary-custom:hover::after { opacity: 1; }
.btn-primary-custom:active { transform: translateY(0); }
.btn-primary-custom:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-secondary-custom {
  background: rgba(99,102,241,0.08);
  color: var(--accent); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 20px;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.btn-secondary-custom:hover { background: rgba(99,102,241,0.15); border-color: var(--border-hover); }

.btn-danger-custom {
  background: rgba(239,68,68,0.1); color: var(--danger);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-sm); padding: 7px 14px;
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); display:inline-flex; align-items:center; gap:5px;
}
.btn-danger-custom:hover { background: rgba(239,68,68,0.2); }

/* ── Spinner ── */
.spinner-custom {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.spinner-custom.show { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Alert ── */
.alert-custom {
  border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 0.85rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  animation: fadeIn 0.3s ease;
}
.alert-success-custom { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #4ade80; }
.alert-error-custom   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: #f87171; }
.alert-info-custom    { background: rgba(99,102,241,0.1); border: 1px solid var(--border);          color: #a5b4fc; }
@keyframes fadeIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

/* ════ DASHBOARD LAYOUT ══════════════════════════════════════════════════════ */
.dashboard-main { min-height: calc(100vh - 70px); padding: 32px 0 60px; }

/* ── Page Header ── */
.page-header { margin-bottom: 32px; }
.page-title { font-size: 1.75rem; font-weight: 800; color: var(--text-primary); }
.page-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }

/* ── Upload Zone ── */
.upload-zone {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.upload-zone::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(99,102,241,0.04), transparent);
  pointer-events: none;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--accent);
  background: rgba(99,102,241,0.04);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.08);
}
.upload-zone.drag-over { transform: scale(1.01); }

.upload-icon-wrap {
  width: 88px; height: 88px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.upload-zone:hover .upload-icon-wrap { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(99,102,241,0.2); }
.upload-icon-wrap i { font-size: 36px; color: var(--accent); }

.upload-title { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.upload-subtitle { font-size: 0.875rem; color: var(--text-muted); }
.upload-chips { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top: 16px; }
.upload-chip {
  background: rgba(99,102,241,0.1); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px;
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
}

#fileInput { display: none; }

/* ── Progress ── */
.progress-custom {
  height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-top: 16px;
}
.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px; transition: width 0.4s ease;
  position: relative; overflow: hidden;
}
.progress-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ── Data Preview Panel ── */
.preview-panel {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: none;
}
.preview-panel.show { display: block; animation: slideInUp 0.4s ease both; }

.panel-header {
  background: rgba(99,102,241,0.06); border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.panel-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); display:flex; align-items:center; gap:8px; }
.panel-badge { font-size: 0.72rem; background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); border-radius: 20px; padding: 3px 10px; font-weight: 600; }

.stat-mini-row { display:flex; gap:16px; flex-wrap:wrap; }
.stat-mini {
  text-align:center; background: rgba(99,102,241,0.08); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 20px;
}
.stat-mini-val { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); }
.stat-mini-lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* Preview table */
.table-preview-wrap { overflow-x: auto; max-height: 260px; overflow-y: auto; padding: 0 24px 24px; }
.table-preview {
  width: 100%; border-collapse: collapse; font-size: 0.82rem;
}
.table-preview th {
  background: rgba(99,102,241,0.1); color: var(--text-primary);
  font-weight: 600; padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--border); white-space: nowrap;
  position: sticky; top: 0; z-index: 1;
}
.table-preview td {
  color: var(--text-secondary); padding: 9px 14px;
  border-bottom: 1px solid rgba(99,102,241,0.06);
  max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.table-preview tr:hover td { background: rgba(99,102,241,0.04); }

/* ── Chart Builder ── */
.chart-builder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: none;
}
.chart-builder.show { display: block; animation: slideInUp 0.4s ease both; }

.chart-item {
  background: rgba(99,102,241,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: var(--transition);
}
.chart-item:hover { border-color: rgba(99,102,241,0.3); }

.chart-item-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.form-select-custom {
  background: var(--bg-input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2364748b' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 12px center / 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-family: var(--font); font-size: 0.875rem;
  padding: 10px 34px 10px 12px; width: 100%; outline: none;
  -webkit-appearance: none; appearance: none; transition: var(--transition);
}
.form-select-custom:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.form-select-custom option { background: var(--bg-card); color: var(--text-primary); }

.form-input-custom {
  background: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-family: var(--font); font-size: 0.875rem;
  padding: 10px 12px; width: 100%; outline: none; transition: var(--transition);
}
.form-input-custom:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }

.form-label-sm { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; display: block; }

.remove-chart-btn {
  position: absolute; top: 12px; right: 12px;
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2);
  color: var(--danger); border-radius: var(--radius-xs);
  padding: 4px 8px; font-size: 0.75rem; cursor: pointer;
  transition: var(--transition); display:flex; align-items:center; gap:4px;
}
.remove-chart-btn:hover { background: rgba(239,68,68,0.2); }

.add-chart-btn {
  border: 2px dashed rgba(99,102,241,0.3); border-radius: var(--radius);
  padding: 18px; text-align: center; cursor: pointer; color: var(--accent);
  font-size: 0.875rem; font-weight: 600; transition: var(--transition);
  background: transparent; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-chart-btn:hover { border-color: var(--accent); background: rgba(99,102,241,0.06); }

/* ── Dashboards Grid ── */
.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
  height: 100%;
}
.dashboard-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.35); }

.dashboard-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--accent); margin-bottom: 14px;
}
.dashboard-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-card-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 16px; }
.dashboard-card-meta span { margin-right: 10px; }
.dashboard-card-actions { display: flex; gap: 8px; }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 4rem; color: var(--text-muted); margin-bottom: 20px; opacity: 0.4; display:block; }
.empty-state-title { font-size: 1.2rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state-sub { font-size: 0.875rem; color: var(--text-muted); }

/* ── Toast ── */
#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
  min-width: 280px; max-width: 380px;
  color: var(--text-primary); font-size: 0.875rem; font-weight: 500;
}
.toast-item.removing { animation: toastOut 0.3s ease both; }
.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-success { border-left: 3px solid var(--success); }
.toast-success .toast-icon { color: var(--success); }
.toast-error   { border-left: 3px solid var(--danger); }
.toast-error   .toast-icon { color: var(--danger); }
.toast-info    { border-left: 3px solid var(--accent); }
.toast-info    .toast-icon { color: var(--accent); }
@keyframes toastIn  { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { from { opacity:1; transform:translateX(0); }   to { opacity:0; transform:translateX(30px); } }

/* ── Step Indicators ── */
.steps-wrap { display: flex; gap: 0; margin-bottom: 32px; }
.step-item {
  flex: 1; display: flex; align-items: center; gap: 0;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: ''; flex: 1; height: 2px;
  background: var(--border); margin: 0 8px;
  transition: var(--transition);
}
.step-item.completed:not(:last-child)::after { background: var(--accent); }
.step-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
  transition: var(--transition); flex-shrink: 0;
}
.step-item.active .step-dot { border-color: var(--accent); background: rgba(99,102,241,0.1); color: var(--accent); box-shadow: 0 0 0 4px rgba(99,102,241,0.1); }
.step-item.completed .step-dot { border-color: var(--accent); background: var(--accent); color: white; }
.step-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); margin-left: 8px; white-space: nowrap; }
.step-item.active .step-label { color: var(--accent); }
.step-item.completed .step-label { color: var(--text-secondary); }

/* ── Section header ── */
.section-hdr { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.section-hdr-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.section-hdr-line { flex: 1; height: 1px; background: var(--border); }
.section-hdr-badge {
  font-size: 0.7rem; background: rgba(99,102,241,0.12); color: var(--accent);
  border: 1px solid var(--border); border-radius: 20px; padding: 3px 10px; font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .auth-card { padding: 32px 24px; }
  .upload-zone { padding: 40px 24px; }
  .step-label { display: none; }
  .stat-mini-row { gap: 8px; }
  .stat-mini { padding: 10px 14px; }
}
