:root {
  --primary: #1565C0;
  --primary-light: #1E88E5;
  --primary-dark: #0D47A1;
  --primary-bg: #E3F2FD;
  --primary-bg-light: #F5F9FF;
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --success: #2E7D32;
  --success-bg: #E8F5E9;
  --warning: #E65100;
  --warning-bg: #FFF3E0;
  --danger: #C62828;
  --danger-bg: #FFEBEE;
  --info-bg: #FFF8E1;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

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

body {
  font-family: var(--font);
  background: var(--gray-100);
  color: var(--gray-900);
  line-height: 1.5;
  font-size: 13px;
}

/* === NAVBAR === */
.app-navbar {
  background: var(--primary-dark);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 52px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.navbar-brand {
  color: white;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.navbar-links > a,
.nav-dropdown-toggle {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  height: 52px;
}

.navbar-links > a:hover,
.nav-dropdown-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

.navbar-links > a.active {
  background: rgba(255,255,255,0.2);
  color: white;
  font-weight: 600;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  overflow: hidden;
  z-index: 100;
  border: 1px solid var(--gray-200);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--gray-800);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.user-info {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-logout {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s;
}

.btn-logout:hover {
  background: rgba(255,255,255,0.25);
}

/* === GLOBAL ALERT === */
.global-alert {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 2000;
  max-width: 400px;
}

.alert-box {
  padding: 12px 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  box-shadow: var(--shadow-md);
}

.alert-box.success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #A5D6A7;
}

.alert-box.danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #EF9A9A;
}

.alert-box.warning {
  background: var(--info-bg);
  color: #7B6100;
  border: 1px solid #FFE082;
}

.alert-box.info {
  background: var(--primary-bg);
  color: var(--primary-dark);
  border: 1px solid #90CAF9;
}

.btn-close-alert {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  opacity: 0.7;
  font-size: 16px;
}

.btn-close-alert:hover { opacity: 1; }

/* === APP CONTENT === */
.app-content {
  min-height: calc(100vh - 52px);
  padding: 24px;
}

/* === PAGE CONTAINER === */
.page-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* === PAGE HEADER === */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.page-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.page-subtitle {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 2px;
}

/* === CARD === */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card-bordered {
  border-left: 3px solid var(--primary);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-bg); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #B71C1C; color: white; }
.btn-success { background: var(--success); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}
.btn-ghost:hover { background: var(--gray-100); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 10px 24px; font-size: 14px; }
.btn-warning { background: var(--warning); color: white; }
.btn-warning:hover { background: #BF360C; color: white; }

/* === BADGES === */
.badge-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-DRAFT { background: var(--gray-200); color: var(--gray-700); }
.badge-SCHEDULED { background: var(--primary-bg); color: var(--primary); }
.badge-IN_PROGRESS { background: var(--success-bg); color: var(--success); }
.badge-COMPLETED { background: var(--warning-bg); color: var(--warning); }
.badge-MINUTES_FINAL { background: #E8EAF6; color: #283593; }
.badge-CANCELLED { background: var(--danger-bg); color: var(--danger); }

/* === TABLE === */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--gray-200);
  background: var(--gray-50);
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: var(--primary-bg-light);
  cursor: pointer;
}

/* === FILTER BAR === */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-input, .filter-select {
  padding: 7px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.15s;
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(21,101,192,0.12);
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 5px;
}

.form-label .required { color: var(--danger); }

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-900);
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(21,101,192,0.12);
}

.form-textarea { resize: vertical; min-height: 60px; }
.form-textarea.conclusion {
  border: 2px solid var(--primary);
  background: var(--primary-bg-light);
}

/* === CHIPS === */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin: 2px;
}

.chip-remove {
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  opacity: 0.6;
}
.chip-remove:hover { opacity: 1; }

/* === INFO ROWS === */
.info-row {
  display: flex;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-100);
}

.info-label {
  font-weight: 600;
  color: var(--gray-700);
  min-width: 140px;
  flex-shrink: 0;
}

.info-value { color: var(--gray-900); }

/* === SEPARATOR === */
.sep { border-top: 1px solid var(--gray-200); margin: 16px 0; }

/* === PAGINATION === */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-600);
}

.pagination-btns {
  display: flex;
  gap: 4px;
}

.pagination-btn {
  padding: 4px 10px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  background: var(--white);
  font-size: 12px;
  cursor: pointer;
  color: var(--gray-700);
  transition: all 0.15s;
}

.pagination-btn:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* === DIALOG === */
.dialog-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.dialog-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dialog-box.dialog-lg {
  max-width: 680px;
}

.dialog-header {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.dialog-footer {
  padding: 12px 20px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* === ALERTS === */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 12px;
}

.alert-warning {
  background: var(--info-bg);
  color: #7B6100;
  border: 1px solid #FFE082;
}

.alert-info {
  background: var(--primary-bg);
  color: var(--primary-dark);
  border: 1px solid #90CAF9;
}

.alert-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid #EF9A9A;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #A5D6A7;
}

/* === TABS === */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 20px;
}

.tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}

.tab:hover { color: var(--gray-700); }

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* === AUTO-SAVE INDICATOR === */
.auto-save-indicator {
  font-size: 11px;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.auto-save-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === WATERMARK === */
.watermark-container { position: relative; }
.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 48px;
  font-weight: 800;
  color: rgba(21,101,192,0.06);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 4px;
  z-index: 0;
}

/* === ATTENDANCE === */
.attend-list {
  display: flex;
  gap: 20px;
}

.attend-col {
  flex: 1;
}

.attend-col-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gray-200);
}

.attend-col-title.present { color: var(--success); }
.attend-col-title.absent { color: var(--danger); }

.attend-item {
  padding: 5px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}

.attend-time { font-size: 11px; color: var(--gray-500); }

/* === MEETING LINK BOX === */
.meeting-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 12px;
}

.meeting-link-url {
  flex: 1;
  color: var(--primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === TWO COLUMN === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.col-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

/* === TOGGLE === */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
}

.toggle-label { font-size: 13px; color: var(--gray-800); }

.toggle {
  width: 36px; height: 20px;
  background: var(--gray-400);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.toggle.on { background: var(--primary); }
.toggle::after {
  content: '';
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.2s;
}

.toggle.on::after { left: 18px; }

/* === SECTION TITLE === */
.section-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-900);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary);
}

/* === LOGIN PAGE === */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1976D2 100%);
}

.login-box {
  background: white;
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

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

.login-logo .logo-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 28px;
  color: var(--primary);
}

.login-logo h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.login-logo p {
  font-size: 13px;
  color: var(--gray-500);
}

/* === LOADING === */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--gray-500);
  font-size: 14px;
  gap: 10px;
}

/* === OPINION CARD === */
.opinion-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
}

.opinion-card-header {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.opinion-card-mine {
  background: #F0F7FF;
  border-color: #90CAF9;
  box-shadow: 0 0 0 2px rgba(21,101,192,0.08);
}

/* === CHECKBOX ROWS === */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--gray-800);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  accent-color: var(--primary);
  width: 15px; height: 15px;
  cursor: pointer;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 13px;
  color: var(--gray-800);
}

.radio-row input[type="radio"] {
  accent-color: var(--primary);
}

/* === CONN STATUS === */
.conn-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
}
.conn-ok { background: var(--success-bg); color: var(--success); }
.conn-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* === EMPTY STATE === */
.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--gray-500);
}

.empty-state i {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
  opacity: 0.5;
}

/* === STAT CARD === */
.stat-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
}

.stat-card-label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-card-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card-desc {
  font-size: 12px;
  color: var(--gray-600);
}

/* === PAGE TOPBAR === */
.page-topbar {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.page-topbar-logo {
  font-weight: 700;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .app-content { padding: 12px; }
  .navbar-user .user-info { display: none; }
}

/* ════════════════════════════════════════════════════
   ADMIN SIDEBAR — persistent, fixed left
════════════════════════════════════════════════════ */
.admin-sidebar {
  width: 240px;
  min-width: 240px;
  background: #1A237E;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 200;
  box-shadow: 2px 0 8px rgba(0,0,0,.18);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.brand-name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.brand-sub  { font-size: 11px; color: rgba(255,255,255,.5); }

.admin-nav { flex: 1; padding: 10px 0; overflow-y: auto; }

.admin-nav-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 12px 16px 4px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: rgba(255,255,255,.75);
  text-decoration: none !important;
  font-size: 13px;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.admin-nav-link i { font-size: 16px; width: 20px; }
.admin-nav-link:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.admin-nav-link.active {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-left-color: #90CAF9;
  font-weight: 600;
}

.admin-sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  color: #fff;
  font-size: 14px;
}
.admin-user-name {
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-user-role { font-size: 11px; color: rgba(255,255,255,.5); }
.admin-logout-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.55);
  font-size: 18px;
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color .15s;
}
.admin-logout-btn:hover { color: #fff; }

/* Content offset khi có sidebar */
.app-content.has-sidebar {
  margin-left: 240px;
  padding: 0;
  background: #F0F2F5;
  min-height: 100vh;
}

/* Alert offset */
.global-alert.has-sidebar-offset { left: 240px; }

/* ════════════════════════════════════════════════════
   ADMIN PAGE — layout bên trong ng-view
════════════════════════════════════════════════════ */
.admin-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E0E0E0;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-page-body { padding: 20px 24px 32px; }

/* Stats grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.admin-stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  border-top: 4px solid transparent;
}
.stat-blue   { border-top-color: #1565C0; }
.stat-green  { border-top-color: #2E7D32; }
.stat-purple { border-top-color: #6A1B9A; }
.stat-orange { border-top-color: #E65100; }
.stat-icon   { font-size: 24px; opacity: .75; }
.stat-blue   .stat-icon { color: #1565C0; }
.stat-green  .stat-icon { color: #2E7D32; }
.stat-purple .stat-icon { color: #6A1B9A; }
.stat-orange .stat-icon { color: #E65100; }
.stat-value  { font-size: 30px; font-weight: 800; color: #212121; line-height: 1; }
.stat-label  { font-size: 12.5px; color: #757575; margin-top: 2px; }
.stat-link   { font-size: 12px; color: #1565C0; text-decoration: none; }
.stat-link:hover { text-decoration: underline; }

/* Content grid */
.admin-content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}
.admin-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  overflow: hidden;
}
.admin-card-header {
  padding: 13px 18px;
  border-bottom: 1px solid #F0F0F0;
  font-weight: 600;
  font-size: 13.5px;
  color: #212121;
  display: flex;
  align-items: center;
}
.admin-card-body { padding: 14px; }

/* Action buttons */
.admin-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  color: #212121;
  margin-bottom: 8px;
  border: 1px solid #EEEEEE;
  transition: all .15s;
}
.admin-action-btn:hover {
  background: #F5F5F5;
  color: #212121;
  border-color: #BDBDBD;
}
.action-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.bg-purple { background: #7B1FA2 !important; }
.bg-orange { background: #E65100 !important; }
.action-title { font-size: 13px; font-weight: 600; }
.action-desc  { font-size: 11.5px; color: #9E9E9E; }

/* Session list in dashboard */
.admin-session-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  border-bottom: 1px solid #F5F5F5;
  text-decoration: none !important;
  color: #212121;
  transition: background .12s;
}
.admin-session-item:last-child { border-bottom: none; }
.admin-session-item:hover { background: #F9F9F9; }
.session-title { font-size: 13px; font-weight: 600; color: #1A237E; margin-bottom: 3px; }
.session-meta  { display: flex; gap: 12px; font-size: 11.5px; color: #9E9E9E; }
.session-meta span { display: flex; align-items: center; gap: 3px; }

