/* ─── Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a3330; }
a { color: inherit; text-decoration: none; }

/* ─── Variables ─────────────────────────────────────────────────────── */
:root {
  --sidebar-w: 240px;
  --blue: #1a4140;
  --blue-mid: #3d8e8c;
  --blue-light: #e8f5f4;
  --gold: #b8932e;
  --green: #16a34a;
  --red: #dc2626;
  --orange: #ea580c;
  --purple: #7c3aed;
  --gray: #6b7280;
  --gray-light: #f4f6fb;
  --border: #e5e9f0;
  --radius: 10px;
  --shadow: 0 1px 4px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.1);
}

/* ─── Login ─────────────────────────────────────────────────────────── */
.login-body { background: linear-gradient(135deg, #0d2928 0%, #1a4140 50%, #3d8e8c 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-container { width: 100%; max-width: 420px; padding: 24px; }
.login-card { background: #fff; border-radius: 16px; padding: 48px 40px; box-shadow: var(--shadow-md); }
.login-logo { display: flex; justify-content: center; margin: 0 auto 20px; }
.login-logo-img { width: 80px; height: auto; display: block; }
.login-title { text-align: center; font-size: 22px; font-weight: 700; color: var(--blue); }
.login-subtitle { text-align: center; color: var(--gray); font-size: 13px; margin: 6px 0 28px; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.input-with-toggle { position: relative; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 4px; }
.pw-toggle svg { width: 18px; height: 18px; stroke: var(--gray); }

/* ─── Layout ─────────────────────────────────────────────────────────── */
.admin-body { display: flex; min-height: 100vh; background: var(--gray-light); }

.sidebar {
  width: var(--sidebar-w);
  background: var(--blue);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 20px 16px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo-wrap { width: 36px; height: 36px; background: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.sidebar-logo-img { width: 28px; height: auto; }

.sidebar-nav { flex: 1; padding: 12px 0; }

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.15s;
  cursor: pointer;
}
.nav-item:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-item.active { color: white; background: rgba(255,255,255,0.12); border-right: 3px solid var(--gold); }
.nav-item svg { width: 17px; height: 17px; flex-shrink: 0; }
.nav-logout { color: rgba(255,100,100,0.7); margin-top: 4px; }
.nav-logout:hover { color: #ff9999; background: rgba(255,100,100,0.1); }

.sidebar-footer { padding: 12px 0 8px; border-top: 1px solid rgba(255,255,255,0.1); }
.user-info { display: flex; align-items: center; gap: 10px; padding: 10px 20px 4px; }
.user-avatar { width: 30px; height: 30px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--blue); flex-shrink: 0; }
.user-name { color: white; font-size: 13px; font-weight: 500; }
.user-role { color: rgba(255,255,255,0.45); font-size: 11px; }

.main-content { margin-left: var(--sidebar-w); flex: 1; }
.content-wrapper { padding: 32px; max-width: 1200px; }

/* ─── Page header ─────────────────────────────────────────────────────── */
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.page-title { font-size: 24px; font-weight: 700; color: var(--blue); }
.page-sub { color: var(--gray); font-size: 13px; margin-top: 3px; }
.header-actions { display: flex; gap: 8px; }

/* ─── Cards ──────────────────────────────────────────────────────────── */
.card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-title { font-size: 15px; font-weight: 600; color: var(--blue); }
.card-body { padding: 20px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.p-3 { padding: 12px; }

/* ─── Stats ──────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon--blue { background: #e8f5f4; } .stat-icon--blue svg { stroke: #3d8e8c; }
.stat-icon--purple { background: #f5f3ff; } .stat-icon--purple svg { stroke: #7c3aed; }
.stat-icon--orange { background: #fff7ed; } .stat-icon--orange svg { stroke: #ea580c; }
.stat-icon--green { background: #f0fdf4; } .stat-icon--green svg { stroke: #16a34a; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--blue); line-height: 1; }
.stat-label { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* ─── Tables ─────────────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table thead { background: var(--gray-light); }
.table th { text-align: left; padding: 10px 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--gray-light); }
.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }

/* ─── Badges ─────────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge--geslaagd { background: #f0fdf4; color: #16a34a; }
.badge--gezakt   { background: #fef2f2; color: #dc2626; }
.badge--bezig    { background: #fff7ed; color: #ea580c; }
.badge--uitgenodigd { background: #e8f5f4; color: #2d7876; }
.badge--active   { background: #f0fdf4; color: #16a34a; }
.badge--inactive { background: #f4f4f5; color: #71717a; }

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 500; cursor: pointer; border: none; transition: all 0.15s; white-space: nowrap; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--blue-mid); color: white; } .btn-primary:hover { background: #2d7876; }
.btn-ghost { background: transparent; color: var(--blue); border: 1px solid var(--border); } .btn-ghost:hover { background: var(--gray-light); }
.btn-danger { background: var(--red); color: white; } .btn-danger:hover { background: #b91c1c; }
.btn-danger-ghost { background: transparent; color: var(--red); border: 1px solid transparent; } .btn-danger-ghost:hover { background: #fef2f2; border-color: #fecaca; }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-xs { padding: 3px 8px; font-size: 11.5px; border-radius: 6px; }
.inline-form { display: inline; }
.action-buttons { display: flex; gap: 4px; }

/* ─── Forms ──────────────────────────────────────────────────────────── */
.form-card { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-card--narrow { max-width: 560px; }
.form-grid { display: flex; flex-direction: column; gap: 24px; }
.form-section { display: flex; flex-direction: column; gap: 16px; }
.form-section-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--blue); }
.form-label.required::after { content: ' *'; color: var(--red); }
.form-control { padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13.5px; font-family: inherit; color: var(--blue); background: white; transition: border-color 0.15s; width: 100%; }
.form-control:focus { outline: none; border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(45,74,128,0.1); }
.form-hint { font-size: 11.5px; color: var(--gray); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { flex-direction: row; align-items: center; gap: 10px; }
.form-checkbox { width: 16px; height: 16px; cursor: pointer; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; }

/* file upload */
.file-upload-area { border: 2px dashed var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; cursor: pointer; transition: all 0.15s; position: relative; }
.file-upload-area:hover, .file-upload-area.drag-over { border-color: var(--blue-mid); background: var(--blue-light); }
.file-upload-area svg { width: 36px; height: 36px; stroke: var(--gray); margin-bottom: 8px; }
.file-upload-area p { color: var(--gray); font-size: 13px; }
.upload-link { color: var(--blue-mid); cursor: pointer; text-decoration: underline; }
.file-input-hidden { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-name-display { margin-top: 8px; font-size: 13px; color: var(--blue); font-weight: 500; }
.current-file { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--gray-light); border-radius: 8px; font-size: 13px; }
.current-file svg { width: 16px; height: 16px; stroke: var(--blue); }

/* ─── Courses grid ────────────────────────────────────────────────────── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.course-card { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; border: 1.5px solid transparent; transition: box-shadow 0.15s; }
.course-card:hover { box-shadow: var(--shadow-md); }
.course-card--inactive { opacity: .65; }
.course-card-header { display: flex; align-items: flex-start; justify-content: space-between; }
.course-icon { width: 40px; height: 40px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.course-icon svg { width: 20px; height: 20px; stroke: var(--blue); }
.course-title { font-size: 15px; font-weight: 600; color: var(--blue); }
.course-org { font-size: 12px; color: var(--gray); }
.course-desc { font-size: 12.5px; color: var(--gray); line-height: 1.5; }
.course-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--gray); }
.course-meta span { display: flex; align-items: center; gap: 4px; }
.course-actions { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }

/* ─── Quiz builder ──────────────────────────────────────────────────── */
.quiz-layout { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.questions-items { display: flex; flex-direction: column; }
.question-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); }
.question-item:last-child { border-bottom: none; }
.question-number { width: 28px; height: 28px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.question-body { flex: 1; }
.question-text { font-size: 14px; font-weight: 500; color: var(--blue); margin-bottom: 8px; }
.answers-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.answer-item { font-size: 12.5px; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.answer-correct { color: var(--green); font-weight: 500; }
.answer-marker { font-size: 11px; }
.question-actions { display: flex; gap: 4px; flex-shrink: 0; }
.answer-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.answer-radio-wrap { cursor: pointer; padding: 4px; }
.radio-dot { width: 16px; height: 16px; border: 2px solid var(--border); border-radius: 50%; display: inline-block; position: relative; }
input[type=radio]:checked + .radio-dot { border-color: var(--blue); background: var(--blue); }
input[type=radio] { display: none; }
.empty-state-sm { padding: 24px; text-align: center; color: var(--gray); font-size: 13px; }

/* ─── Detail layout ──────────────────────────────────────────────────── */
.detail-layout { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.avatar-large { width: 64px; height: 64px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin: 0 auto 20px; }
.detail-info { display: flex; flex-direction: column; gap: 12px; }
.detail-row { display: flex; justify-content: space-between; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--gray); font-weight: 500; }
.detail-main { min-width: 0; }

/* ─── Invite ─────────────────────────────────────────────────────────── */
.invite-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.invite-form-card .card-body { padding: 24px; }
.participant-select-list { border: 1.5px solid var(--border); border-radius: 8px; max-height: 280px; overflow-y: auto; }
.participant-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--border); transition: background 0.1s; }
.participant-option:last-child { border-bottom: none; }
.participant-option:hover { background: var(--gray-light); }
.participant-option input[type=checkbox] { cursor: pointer; width: 15px; height: 15px; flex-shrink: 0; }
.participant-avatar { width: 32px; height: 32px; background: var(--blue-light); color: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.participant-naam { font-size: 13.5px; font-weight: 500; display: block; }
.participant-email { font-size: 11.5px; color: var(--gray); }
.select-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.how-list { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--gray); line-height: 1.5; }
.code-block { background: var(--gray-light); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; font-size: 12px; font-family: monospace; white-space: pre; overflow-x: auto; color: var(--blue); }

/* ─── Inschrijvingen ───────────────────────────────────────────────── */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 20px; }
.filter-form { display: flex; align-items: center; gap: 12px; }
.filter-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.stat-pill { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.stat-pill--blue { background: #e8f5f4; color: #2d7876; }
.stat-pill--green { background: #f0fdf4; color: #16a34a; }
.stat-pill--orange { background: #fff7ed; color: #ea580c; }
.stat-pill--gray { background: #f4f4f5; color: #71717a; }
.score-display { font-weight: 600; }
.score-pass { color: var(--green); }
.score-fail { color: var(--red); }

/* ─── Modal ──────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.modal-box { position: relative; background: white; border-radius: var(--radius); padding: 28px; max-width: 480px; width: 90%; box-shadow: var(--shadow-md); z-index: 1; }
.modal-box h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.modal-box p { color: var(--gray); font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.link-display { display: flex; gap: 8px; }

/* ─── Quick actions ──────────────────────────────────────────────────── */
.section-title { font-size: 15px; font-weight: 600; color: var(--blue); margin-bottom: 14px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-card { background: white; border-radius: var(--radius); padding: 20px 16px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--blue); transition: all 0.15s; border: 1.5px solid transparent; }
.quick-card:hover { border-color: var(--blue-mid); box-shadow: var(--shadow-md); }
.quick-card svg { width: 24px; height: 24px; stroke: var(--blue-mid); }

/* ─── Empty state ───────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 64px 32px; }
.empty-state svg { width: 56px; height: 56px; stroke: var(--border); margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; color: var(--blue); margin-bottom: 8px; }
.empty-state p { color: var(--gray); margin-bottom: 24px; }

/* ─── Search ─────────────────────────────────────────────────────────── */
.search-box { position: relative; display: flex; align-items: center; }
.search-box svg { position: absolute; left: 10px; width: 15px; height: 15px; stroke: var(--gray); }
.search-input { padding: 7px 12px 7px 32px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; width: 240px; }
.search-input:focus { outline: none; border-color: var(--blue-mid); }

/* ─── Misc ───────────────────────────────────────────────────────────── */
.flash-container { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.alert { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 8px; font-size: 13.5px; }
.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.alert-danger  { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.alert-info    { background: #e8f5f4; color: #2d7876; border: 1px solid #b3dedd; }
.alert-close { background: none; border: none; cursor: pointer; font-size: 18px; line-height: 1; color: inherit; opacity: .6; }
.link-primary { color: var(--blue-mid); font-weight: 500; } .link-primary:hover { text-decoration: underline; }
.link-subtle { color: var(--blue); } .link-subtle:hover { text-decoration: underline; }
.settings-layout { max-width: 640px; }
pre code { font-size: 12px; }
.text-warning { color: var(--orange); }

/* ─── CSV import ────────────────────────────────────────────────────── */
.code-example { background: #f4f6f9; border: 1px solid #e0e4ea; border-radius: var(--radius); padding: 14px 16px; }
.code-example__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--gray); margin-bottom: 8px; }
.code-example pre { font-size: 12.5px; color: #1e2b3c; white-space: pre; }
.import-section { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.import-section--success { background: #f0faf3; border: 1px solid #b3e6c4; }
.import-section--warning { background: #fffbf0; border: 1px solid #fde08c; }
.import-section--danger  { background: #fff5f5; border: 1px solid #ffc5c5; }
.import-section__title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.import-section--success .import-section__title { color: #1a7f42; }
.import-section--warning .import-section__title { color: #92600a; }
.import-section--danger  .import-section__title { color: #b91c1c; }
.import-list { list-style: none; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.import-list li::before { content: '• '; opacity: .5; }

/* ─── Quiz afbeeldingen ─────────────────────────────────────────────── */
.quiz-thumb { display: block; max-width: 120px; max-height: 80px; object-fit: cover; border-radius: 6px; margin-top: 6px; border: 1px solid var(--border); }
.quiz-thumb-sm { max-width: 60px; max-height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); vertical-align: middle; margin-left: 6px; }
.quiz-thumb-lg { display: block; max-width: 240px; max-height: 160px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); margin-top: 8px; }
.answer-row-with-img { align-items: flex-start; }
.answer-inputs { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.answer-img-upload { display: flex; align-items: center; gap: 8px; }
.answer-img-label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; background: var(--gray-light); border: 1.5px dashed var(--border); border-radius: 6px; padding: 4px 10px; font-size: 12px; color: var(--gray); transition: border-color .15s; }
.answer-img-label:hover { border-color: var(--blue-mid); color: var(--blue-mid); }
.answer-img-icon { font-size: 14px; }
.answer-img-input { display: none; }
.answer-img-preview { max-width: 60px; max-height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }
.current-image-wrap { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.current-answer-img { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gray); cursor: pointer; }
.checkbox-label input { cursor: pointer; }
.checkbox-label-sm { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--gray); cursor: pointer; white-space: nowrap; }
.checkbox-label-sm input { cursor: pointer; }
.mt-1 { margin-top: 6px; }

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quiz-layout, .invite-layout, .detail-layout { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sidebar { width: 60px; }
  .sidebar-brand span, .nav-item span, .user-name, .user-role { display: none; }
  .main-content { margin-left: 60px; }
  .content-wrapper { padding: 20px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
