/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  /* Layout */
  --sidebar-collapsed: 64px;
  --sidebar-expanded: 264px;
  --topbar-h: 64px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Dark theme (default) */
  --bg-base:    #0b0d1a;
  --bg-surface: #121528;
  --bg-card:    #181c30;
  --bg-hover:   #1e2340;
  --bg-input:   #141729;

  --sidebar-bg:    #0d1024;
  --sidebar-hover: #1a1e35;
  --sidebar-active:#1e2340;

  --text-1: #e2e8f0;
  --text-2: #94a3b8;
  --text-3: #64748b;

  --accent:      #7c3aed;
  --accent-2:    #6366f1;
  --accent-glow: rgba(124, 58, 237, 0.3);
  --accent-soft: rgba(124, 58, 237, 0.12);

  --success:  #10b981;
  --warning:  #f59e0b;
  --danger:   #ef4444;
  --info:     #3b82f6;

  --success-soft: rgba(16,185,129,0.12);
  --warning-soft: rgba(245,158,11,0.12);
  --danger-soft:  rgba(239,68,68,0.12);
  --info-soft:    rgba(59,130,246,0.12);

  --border:       rgba(255,255,255,0.06);
  --border-med:   rgba(255,255,255,0.1);
  --border-strong:rgba(255,255,255,0.16);

  --shadow:    0 2px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

[data-theme="light"] {
  --bg-base:    #f0f4f8;
  --bg-surface: #ffffff;
  --bg-card:    #ffffff;
  --bg-hover:   #f8fafc;
  --bg-input:   #f1f5f9;

  --sidebar-bg:    #0d1024;
  --sidebar-hover: #1a1e35;
  --sidebar-active:#1e2340;

  --text-1: #1e293b;
  --text-2: #475569;
  --text-3: #94a3b8;

  --border:       rgba(0,0,0,0.07);
  --border-med:   rgba(0,0,0,0.1);
  --border-strong:rgba(0,0,0,0.15);

  --shadow:    0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
select, input, textarea {
  font: inherit;
  color: inherit;
}

/* ── App Shell ─────────────────────────────────────────────────────────────── */
.app-shell {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar-collapsed);
  background: var(--sidebar-bg);
  border-right: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width var(--transition);
  z-index: 100;
  box-shadow: 4px 0 24px rgba(0,0,0,0.3);
}
.sidebar:hover { width: var(--sidebar-expanded); }

/* Brand */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: var(--topbar-h);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.brand-logo {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff;
  box-shadow: 0 0 16px var(--accent-glow);
}
.brand-name {
  font-size: 16px; font-weight: 700;
  color: #fff; white-space: nowrap;
  opacity: 0; transition: opacity var(--transition);
}
.sidebar:hover .brand-name { opacity: 1; }

/* Nav */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0;
}
.sidebar-nav::-webkit-scrollbar { width: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.nav-section { margin-bottom: 8px; }
.nav-section-label {
  display: block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-3);
  padding: 10px 20px 4px;
  white-space: nowrap;
  opacity: 0; transition: opacity var(--transition);
}
.sidebar:hover .nav-section-label { opacity: 1; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  height: 50px;
  color: var(--text-2);
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-item:hover {
  background: var(--sidebar-hover);
  color: #fff;
}
.nav-item.active {
  background: var(--accent-soft);
  color: var(--accent-2);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}
.nav-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.nav-label {
  font-size: 15px; font-weight: 500;
  opacity: 0; transition: opacity var(--transition);
  white-space: nowrap;
}
.sidebar:hover .nav-label { opacity: 1; }

/* Footer */
.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 12px 0;
  flex-shrink: 0;
}
.user-card {
  display: flex; align-items: center;
  gap: 10px; padding: 6px 12px;
  border-radius: 8px;
  margin: 0 6px;
  transition: background var(--transition);
}
.user-card:hover { background: var(--sidebar-hover); }
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.user-meta { flex: 1; min-width: 0; }
.user-name {
  font-size: 15px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transition: opacity var(--transition);
}
.user-role {
  font-size: 12px; color: var(--text-3);
  opacity: 0; transition: opacity var(--transition);
}
.sidebar:hover .user-name,
.sidebar:hover .user-role { opacity: 1; }
.logout-btn {
  color: var(--text-3); font-size: 16px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: all var(--transition);
  opacity: 0;
  flex-shrink: 0;
}
.logout-btn:hover { background: var(--danger-soft); color: var(--danger); }
.sidebar:hover .logout-btn { opacity: 1; }

/* ── Main Area ─────────────────────────────────────────────────────────────── */
.main-area {
  margin-left: var(--sidebar-collapsed);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left var(--transition);
}

/* ── Topbar ────────────────────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  transition: background var(--transition), border-color var(--transition);
}
.page-title {
  font-size: 20px; font-weight: 700;
  color: var(--text-1);
}
.topbar-right {
  display: flex; align-items: center; gap: 12px;
}
.db-selector-group {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  transition: border-color var(--transition);
}
.db-selector-group:focus-within { border-color: var(--accent); }
.db-selector-group i { color: var(--accent); font-size: 15px; }
.db-selector {
  background: none; border: none; outline: none;
  font-size: 15px; font-weight: 500; color: var(--text-1);
  cursor: pointer; min-width: 160px; max-width: 260px;
}
.db-selector option { background: var(--bg-card); }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-med);
  background: var(--bg-card);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ── Content ───────────────────────────────────────────────────────────────── */
.content {
  flex: 1;
  padding: 28px;
  max-width: 1600px;
  width: 100%;
}

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--border-med); box-shadow: var(--shadow-lg); }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.card-title {
  font-size: 17px; font-weight: 700; color: var(--text-1);
}
.card-subtitle {
  font-size: 14px; color: var(--text-3); margin-top: 2px;
}

/* ── Grid ──────────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ── Stat cards ────────────────────────────────────────────────────────────── */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.stat-icon.purple { background: var(--accent-soft); color: var(--accent); }
.stat-icon.blue   { background: var(--info-soft); color: var(--info); }
.stat-icon.green  { background: var(--success-soft); color: var(--success); }
.stat-icon.amber  { background: var(--warning-soft); color: var(--warning); }
.stat-value { font-size: 30px; font-weight: 800; line-height: 1.2; }
.stat-label { font-size: 15px; color: var(--text-2); margin-top: 3px; }

/* ── Filter bar ────────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 5px; }
.filter-label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-3);
}
.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 15px; color: var(--text-1);
  outline: none;
  transition: border-color var(--transition);
  min-width: 140px;
}
.filter-select:focus { border-color: var(--accent); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  transition: all var(--transition);
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 0 28px var(--accent-glow); transform: translateY(-1px); }
.btn-secondary {
  background: var(--bg-hover); color: var(--text-1);
  border-color: var(--border-med);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger {
  background: var(--danger-soft); color: var(--danger);
  border-color: rgba(239,68,68,0.2);
}
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-success {
  background: var(--success-soft); color: var(--success);
  border-color: rgba(16,185,129,0.2);
}
.btn-success:hover { background: var(--success); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 14px; }
.btn-icon { padding: 8px; }

/* ── Table ─────────────────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
table {
  width: 100%; border-collapse: collapse;
  font-size: 15px;
}
thead { background: var(--bg-hover); }
th {
  padding: 12px 16px;
  text-align: left; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--text-3); white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-1);
  vertical-align: middle;
}
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: var(--bg-hover); }
tbody tr:last-child td { border-bottom: none; }

/* ── Badge ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
}
.badge-green  { background: var(--success-soft); color: var(--success); }
.badge-red    { background: var(--danger-soft); color: var(--danger); }
.badge-amber  { background: var(--warning-soft); color: var(--warning); }
.badge-blue   { background: var(--info-soft); color: var(--info); }
.badge-purple { background: var(--accent-soft); color: var(--accent-2); }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label { font-size: 15px; font-weight: 600; color: var(--text-2); }
.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 15px; color: var(--text-1);
  outline: none; width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-hint { font-size: 13px; color: var(--text-3); }

/* ── Flash messages ────────────────────────────────────────────────────────── */
.flash-container {
  position: fixed; top: 16px; right: 16px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
  max-width: 400px;
}
.flash {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500;
  animation: slideIn 0.3s ease;
  border: 1px solid;
  backdrop-filter: blur(12px);
}
.flash-success { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.3); color: var(--success); }
.flash-error   { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: var(--danger); }
.flash-warning { background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.3); color: var(--warning); }
.flash-info    { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.3); color: var(--info); }
.flash-close {
  margin-left: auto; color: inherit; opacity: 0.6;
  font-size: 15px; line-height: 1;
  transition: opacity var(--transition);
}
.flash-close:hover { opacity: 1; }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Toggle switch ─────────────────────────────────────────────────────────── */
.toggle {
  position: relative; display: inline-block;
  width: 44px; height: 24px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--border-med);
  border-radius: 24px; cursor: pointer;
  transition: background var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff; border-radius: 50%;
  transition: transform var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── Modal ─────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 30px; width: 100%; max-width: 500px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95); transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.modal-subtitle { font-size: 15px; color: var(--text-2); margin-bottom: 20px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* ── Chart containers ──────────────────────────────────────────────────────── */
.chart-wrap {
  position: relative; width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.chart-inner {
  width: 100%; height: 420px;
}
.chart-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-3); font-size: 15px;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border-med);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.chart-error {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 200px; gap: 10px;
  color: var(--danger); font-size: 15px;
}
.chart-error i { font-size: 32px; opacity: 0.7; }

/* ── File upload zone ──────────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border-med);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.upload-zone i { font-size: 40px; color: var(--accent); margin-bottom: 14px; }
.upload-zone .upload-title { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.upload-zone .upload-hint { font-size: 14px; color: var(--text-3); }
#file-input { display: none; }

/* ── Page header ───────────────────────────────────────────────────────────── */
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.page-header h2 {
  font-size: 26px; font-weight: 800;
}
.page-header p {
  font-size: 16px; color: var(--text-2); margin-top: 4px;
}

/* ── Divider ───────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* ── Empty state ───────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-3);
}
.empty-state i { font-size: 44px; margin-bottom: 14px; opacity: 0.5; }
.empty-state p { font-size: 16px; }

/* ── Scrollbar ─────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.text-muted  { color: var(--text-3); }
.text-accent { color: var(--accent-2); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-warning { color: var(--warning); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-4   { margin-top: 4px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* ── Kano type colors ──────────────────────────────────────────────────────── */
.kano-must      { background: rgba(239,68,68,0.15); color: #ef4444; }
.kano-one       { background: rgba(59,130,246,0.15); color: #3b82f6; }
.kano-attractive{ background: rgba(16,185,129,0.15); color: #10b981; }
.kano-indiff    { background: rgba(100,116,139,0.15); color: #94a3b8; }
.kano-reverse   { background: rgba(245,158,11,0.15); color: #f59e0b; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .content { padding: 16px; }
  .filter-bar { flex-direction: column; }
}

/* ── Light theme sidebar override ─────────────────────────────────────────── */
[data-theme="light"] {
  --sidebar-bg:     #1e293b;
  --sidebar-hover:  #273449;
  --sidebar-active: #2d3f5c;
}

[data-theme="light"] .sidebar {
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  box-shadow: 4px 0 16px rgba(0,0,0,0.05);
}
[data-theme="light"] .sidebar-brand {
  border-bottom: 1px solid #e2e8f0;
}
[data-theme="light"] .brand-name,
[data-theme="light"] .nav-section-label,
[data-theme="light"] .user-name { color: #1e293b; }
[data-theme="light"] .user-role { color: #64748b; }
[data-theme="light"] .nav-item {
  color: #475569;
}
[data-theme="light"] .nav-item:hover {
  background: #f1f5f9;
  color: #1e293b;
}
[data-theme="light"] .nav-item.active {
  background: rgba(37,99,235,0.08);
  color: #2563eb;
}
[data-theme="light"] .nav-item.active::before {
  background: #2563eb;
}
[data-theme="light"] .sidebar-footer {
  border-top: 1px solid #e2e8f0;
}
[data-theme="light"] .user-card:hover { background: #f1f5f9; }
[data-theme="light"] .logout-btn:hover { background: rgba(239,68,68,0.1); }
[data-theme="light"] .sidebar-nav::-webkit-scrollbar-thumb { background: #cbd5e1; }

/* ── Content center align ─────────────────────────────────────────────────── */
.content {
  margin-left: auto;
  margin-right: auto;
}
