@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1a3a5c;
  --primary-dark: #102540;
  --primary-light: #2a5298;
  --gold: #b8960c;
  --gold-light: #d4af37;
  --gold-pale: #f5efc0;
  --bg: #f4f3ef;
  --white: #ffffff;
  --text: #1e1e1e;
  --text-muted: #5a5a5a;
  --border: #d0cfc9;
  --border-light: #e8e7e2;
  --success: #1b5e20;
  --success-light: #e8f5e9;
  --danger: #b71c1c;
  --danger-light: #ffebee;
  --warning: #e65100;
  --warning-light: #fff3e0;
  --info-bg: #e8eef6;
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.13);
  --radius: 6px;
  --radius-lg: 10px;
}

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

body {
  font-family: 'Sarabun', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ===== HEADER ===== */
.site-header {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.3px;
  color: #c8d8ec;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  text-align: center;
  padding: 6px;
  line-height: 1.3;
  border: 2px solid var(--gold-light);
}

.header-title h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.header-title p {
  font-size: 13px;
  color: #a8c4e0;
  margin-top: 2px;
}

.header-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
}

.header-nav a {
  color: #c8d8ec;
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  transition: all 0.2s;
  text-decoration: none;
}

.header-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.header-nav a.active { background: var(--gold); color: #fff; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary-dark);
  color: #a8c4e0;
  text-align: center;
  padding: 24px 32px;
  font-size: 14px;
  margin-top: 60px;
}

.site-footer p + p { margin-top: 4px; }
.site-footer a { color: var(--gold-light); }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ===== HERO / BANNER ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 40px 32px;
  text-align: center;
}

.page-hero h2 { font-size: 26px; font-weight: 700; }
.page-hero p { font-size: 15px; color: #c0d4ec; margin-top: 8px; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header.gold { background: var(--gold); }
.card-body { padding: 24px; }

/* ===== COURSE CARD ===== */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.course-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.course-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 20px 24px;
}

.course-card-header .badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.course-card-header h3 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.course-card-header p { font-size: 14px; color: #a8c4e0; margin-top: 4px; }

.course-card-body { padding: 20px 24px; }

.course-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.course-meta-item { font-size: 14px; }
.course-meta-item .label { color: var(--text-muted); font-size: 12px; display: block; }
.course-meta-item .value { font-weight: 600; color: var(--primary); }

.btn-apply {
  display: block;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-family: 'Sarabun', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
}

.btn-apply:hover { background: var(--primary-dark); text-decoration: none; color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Sarabun', sans-serif;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); text-decoration: none; }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #9a7d0a; color: var(--white); text-decoration: none; }

.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--info-bg); text-decoration: none; }

.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #145214; color: var(--white); text-decoration: none; }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #8b0000; color: var(--white); text-decoration: none; }

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 17px; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 18px; }

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

.form-label .req { color: var(--danger); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Sarabun', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-control:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(42,82,152,0.10); }
.form-control.error { border-color: var(--danger); }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a5a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

textarea.form-control { resize: vertical; min-height: 100px; }

.form-grid { display: grid; gap: 16px; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.form-row { display: flex; gap: 16px; }
.form-row > * { flex: 1; }

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
  overflow: hidden;
}

.form-section-header {
  background: var(--info-bg);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ===== STEP WIZARD ===== */
.step-progress {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 93px;
  z-index: 90;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.step-progress-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.step-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.step-track::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--border);
}

.step-item.active .step-circle { background: var(--primary); color: var(--white); border-color: var(--primary); }
.step-item.done .step-circle { background: var(--success); color: var(--white); border-color: var(--success); }

.step-label { font-size: 11px; color: var(--text-muted); text-align: center; max-width: 80px; line-height: 1.3; }
.step-item.active .step-label { color: var(--primary); font-weight: 600; }
.step-item.done .step-label { color: var(--success); }

/* ===== STEP CONTENT ===== */
.step-content { display: none; }
.step-content.active { display: block; }

/* ===== QUALIFICATION SELECTOR ===== */
.qual-sector {
  margin-bottom: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.qual-sector-header {
  padding: 14px 20px;
  background: var(--info-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--primary);
  user-select: none;
}

.qual-sector-header:hover { background: #dce7f2; }
.qual-sector-body { padding: 0 20px; display: none; }
.qual-sector.open .qual-sector-body { display: block; padding: 12px 20px; }
.qual-sector.open .qual-chevron { transform: rotate(180deg); }

.qual-chevron { transition: transform 0.2s; font-size: 12px; }

.qual-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.qual-item:last-child { border-bottom: none; }
.qual-item:hover { background: transparent; }

.qual-item input[type="radio"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }
.qual-item label { cursor: pointer; font-size: 14.5px; line-height: 1.6; }
.qual-item label strong { display: block; font-size: 13.5px; color: var(--primary); }

/* ===== COURSE TYPE SELECTOR ===== */
.course-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.course-type-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.course-type-card:hover { border-color: var(--primary-light); background: var(--info-bg); }
.course-type-card.selected { border-color: var(--primary); background: var(--info-bg); }
.course-type-card.selected .course-type-icon { color: var(--primary); }

.course-type-icon { font-size: 36px; margin-bottom: 12px; color: var(--text-muted); }
.course-type-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.course-type-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== DOCUMENT UPLOAD ===== */
.doc-list { display: flex; flex-direction: column; gap: 12px; }

.doc-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  background: var(--white);
}

.doc-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.doc-item-num {
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-item-label { font-weight: 500; font-size: 14.5px; flex: 1; }

.doc-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.doc-download:hover { background: var(--gold); color: var(--white); text-decoration: none; }

.doc-upload { margin-top: 8px; }

.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
}

.file-upload-area:hover { border-color: var(--primary-light); background: var(--info-bg); }
.file-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-name { font-size: 13px; color: var(--success); font-weight: 500; margin-top: 4px; }

.doc-required { color: var(--danger); font-size: 12px; margin-left: 4px; }
.doc-optional { color: var(--text-muted); font-size: 12px; margin-left: 4px; font-style: italic; }
.doc-conditional { color: var(--warning); font-size: 12px; margin-left: 4px; }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--primary); color: var(--white); padding: 10px 12px; text-align: left; font-weight: 600; white-space: nowrap; }
td { padding: 9px 12px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
tr:hover td { background: #f8f8f5; }

.table-add-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-light);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 0;
  font-weight: 500;
}

.table-add-row:hover { text-decoration: underline; }

.btn-del-row { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 16px; padding: 2px 6px; }
.btn-del-row:hover { background: var(--danger-light); border-radius: 4px; }

/* ===== REVIEW SECTION ===== */
.review-section { margin-bottom: 20px; }

.review-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  padding: 8px 16px;
  background: var(--info-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 12px;
}

.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }

.review-field { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px solid var(--border-light); }
.review-field .label { font-size: 12px; color: var(--text-muted); }
.review-field .value { font-size: 14.5px; font-weight: 500; }

/* ===== ALERT BOXES ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.alert-info { background: var(--info-bg); border-left: 4px solid var(--primary-light); color: var(--primary); }
.alert-warning { background: var(--warning-light); border-left: 4px solid var(--warning); color: var(--warning); }
.alert-success { background: var(--success-light); border-left: 4px solid var(--success); color: var(--success); }
.alert-danger { background: var(--danger-light); border-left: 4px solid var(--danger); color: var(--danger); }

/* ===== NAV BUTTONS ===== */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 40px;
  max-width: 960px;
  margin: 0 auto;
}

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-pending { background: var(--warning-light); color: var(--warning); }
.badge-approved { background: var(--success-light); color: var(--success); }
.badge-rejected { background: var(--danger-light); color: var(--danger); }
.badge-reviewing { background: var(--info-bg); color: var(--primary-light); }

/* ===== ADMIN ===== */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 240px;
  background: var(--primary-dark);
  color: var(--white);
  flex-shrink: 0;
  padding: 0;
}

.admin-sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-weight: 700;
  font-size: 15px;
}

.admin-sidebar-header small { display: block; font-size: 12px; color: #a8c4e0; font-weight: 400; margin-top: 2px; }

.admin-menu { list-style: none; padding: 12px 0; }
.admin-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: #c0d4ec;
  font-size: 14.5px;
  transition: all 0.2s;
  text-decoration: none;
}

.admin-menu li a:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.admin-menu li a.active { background: var(--primary-light); color: var(--white); }

.admin-content { flex: 1; padding: 28px 32px; overflow-y: auto; }
.admin-content-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-content-header h2 { font-size: 22px; font-weight: 700; color: var(--primary); }

/* ===== STATS GRID ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.stat-card.gold { border-left-color: var(--gold); }
.stat-card.success { border-left-color: var(--success); }
.stat-card.danger { border-left-color: var(--danger); }

.stat-number { font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-card.gold .stat-number { color: var(--gold); }
.stat-card.success .stat-number { color: var(--success); }
.stat-card.danger .stat-number { color: var(--danger); }

.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ===== LOGIN ===== */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 40px;
  width: 100%;
  max-width: 400px;
}

.login-card .logo-area {
  text-align: center;
  margin-bottom: 28px;
}

.login-card .logo-circle {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  margin-bottom: 12px;
}

.login-card h2 { font-size: 20px; color: var(--primary); }
.login-card p { font-size: 13px; color: var(--text-muted); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
}

.modal-overlay.hidden { display: none; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
}

.modal-header h3 { font-size: 17px; font-weight: 600; }
.modal-close { background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; padding: 0 4px; }
.modal-body { padding: 24px; }

/* ===== UTILITY ===== */
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-gold { color: var(--gold); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

.hidden { display: none !important; }

/* ===== INFO BOX ===== */
.info-box {
  background: var(--info-bg);
  border: 1px solid #b6c9e4;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.8;
}

.info-box h4 { font-size: 14px; color: var(--primary); margin-bottom: 8px; font-weight: 600; }
.info-box ul { padding-left: 20px; }
.info-box ul li { margin-bottom: 3px; }

/* ===== SEARCH/FILTER ===== */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-bar .form-control { max-width: 220px; }

/* ===== PRINT ===== */
@media print {
  .site-header, .step-progress, .step-nav, .admin-sidebar, .no-print { display: none !important; }
  .card { box-shadow: none; border: 1px solid #ccc; }
  body { background: white; font-size: 12pt; }
  .modal-overlay { position: static; background: none; padding: 0; }
  .modal-box { max-height: none; box-shadow: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-main { padding: 12px 16px; gap: 12px; }
  .header-logo { width: 48px; height: 48px; }
  .header-title h1 { font-size: 14px; }
  .header-nav { display: none; }
  .step-label { display: none; }
  .form-grid-2, .form-grid-3, .form-grid-4 { grid-template-columns: 1fr; }
  .course-type-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .review-grid { grid-template-columns: 1fr; }
}
