/* ==========================================================================
   CMJ UNIVERSITY - ADMINISTRATIVE CONTROL CONSOLE STYLESHEET
   Statutory Framework | Responsive Dashboard & Data Master Architecture
   No Emojis | Semantic Professional Icons | Dark/Light Themes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --adm-bg: #f8fafc;
  --adm-surface: #ffffff;
  --adm-surface-alt: #f1f5f9;
  --adm-border: #e2e8f0;
  --adm-border-subtle: #edf2f7;

  /* Primary Palette */
  --adm-primary: #0a1128;
  --adm-primary-hover: #16285a;
  --adm-primary-light: #eff4fc;
  --adm-primary-text: #ffffff;

  /* Accent Emerald */
  --adm-emerald: #059669;
  --adm-emerald-light: #ecfdf5;
  --adm-emerald-border: #a7f3d0;
  --adm-emerald-text: #065f46;

  /* Accent Gold */
  --adm-gold: #d97706;
  --adm-gold-light: #fffbeb;
  --adm-gold-border: #fde68a;
  --adm-gold-text: #92400e;

  /* Danger / Crimson */
  --adm-danger: #dc2626;
  --adm-danger-light: #fef2f2;
  --adm-danger-border: #fecaca;
  --adm-danger-text: #991b1b;

  /* Slate Neutrals */
  --adm-text-main: #0f172a;
  --adm-text-muted: #64748b;
  --adm-text-subtle: #94a3b8;

  /* Dimensions */
  --adm-sidebar-w: 260px;
  --adm-header-h: 68px;
  --adm-radius-sm: 6px;
  --adm-radius-md: 10px;
  --adm-radius-lg: 14px;
  --adm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --adm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --adm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
  --adm-bg: #060b18;
  --adm-surface: #0a1128;
  --adm-surface-alt: #0f1c3f;
  --adm-border: rgba(255, 255, 255, 0.08);
  --adm-border-subtle: rgba(255, 255, 255, 0.05);
  --adm-text-main: #f8fafc;
  --adm-text-muted: #cbd5e1;
  --adm-text-subtle: #94a3b8;
  --adm-primary: #1e3a7a;
  --adm-primary-hover: #294fa0;
  --adm-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --adm-shadow-md: 0 6px 16px rgba(0, 0, 0, 0.45);
}

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

body.adm-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--adm-bg);
  color: var(--adm-text-main);
  font-size: 0.925rem;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Layout Wrapper
   ========================================================================== */
.adm-wrapper {
  display: flex;
  min-height: 100vh;
  background: var(--adm-bg);
}

.adm-sidebar {
  width: var(--adm-sidebar-w);
  background: #040814;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  transition: transform 0.25s ease-in-out;
}

.adm-sidebar-brand {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.adm-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adm-brand-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--adm-radius-sm);
  background: linear-gradient(135deg, #1e3a7a, #0a1128);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.adm-brand-text {
  display: flex;
  flex-direction: column;
}

.adm-brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.adm-brand-subtitle {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Sidebar Nav */
.adm-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adm-nav-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.adm-nav-header {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 10px 4px;
}

.adm-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--adm-radius-sm);
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.86rem;
  transition: all 0.15s ease;
}

.adm-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.adm-nav-link.is-active {
  background: #1e3a7a;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.adm-nav-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Sidebar Footer User Card */
.adm-sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adm-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.adm-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: #1e3a7a;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.adm-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.adm-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.adm-user-role {
  font-size: 0.68rem;
  color: #94a3b8;
}

.adm-logout-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: var(--adm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.adm-logout-btn:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: #dc2626;
  color: #ffffff;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
.adm-main-wrapper {
  flex: 1;
  margin-left: var(--adm-sidebar-w);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.adm-header {
  height: var(--adm-header-h);
  background: var(--adm-surface);
  border-bottom: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.adm-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.adm-sidebar-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--adm-text-main);
  cursor: pointer;
}

.adm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}

.adm-breadcrumb-item {
  color: var(--adm-text-subtle);
  font-weight: 500;
}

.adm-breadcrumb-separator {
  color: var(--adm-border);
}

.adm-breadcrumb-current {
  color: var(--adm-text-main);
  font-weight: 600;
}

.adm-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adm-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--adm-radius-sm);
  border: 1px solid var(--adm-border);
  background: var(--adm-surface);
  color: var(--adm-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.adm-icon-sun {
  display: block;
}

.adm-icon-moon {
  display: none;
}

[data-theme="dark"] .adm-icon-sun {
  display: none;
}

[data-theme="dark"] .adm-icon-moon {
  display: block;
}

.adm-content {
  padding: 28px;
  flex: 1;
}

/* Alerts */
.adm-alert {
  padding: 12px 18px;
  border-radius: var(--adm-radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.adm-alert-success {
  background: var(--adm-emerald-light);
  border: 1px solid var(--adm-emerald-border);
  color: var(--adm-emerald-text);
}

.adm-alert-error {
  background: var(--adm-danger-light);
  border: 1px solid var(--adm-danger-border);
  color: var(--adm-danger-text);
}

/* Cards & Dashboards */
.adm-card {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-md);
  box-shadow: var(--adm-shadow-sm);
  padding: 22px;
  margin-bottom: 24px;
}

.adm-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--adm-border-subtle);
}

.adm-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--adm-text-main);
}

/* Tables */
.adm-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-sm);
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.adm-table th {
  background: var(--adm-surface-alt);
  padding: 12px 16px;
  font-weight: 600;
  color: var(--adm-text-muted);
  border-bottom: 1px solid var(--adm-border);
}

.adm-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--adm-border-subtle);
  color: var(--adm-text-main);
}

.adm-table tbody tr:hover {
  background: rgba(30, 58, 122, 0.03);
}

/* Buttons */
.adm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--adm-radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-btn-primary {
  background: #1e3a7a;
  color: #ffffff;
}

.adm-btn-primary:hover {
  background: #294fa0;
}

.adm-btn-danger {
  background: #dc2626;
  color: #ffffff;
}

.adm-btn-danger:hover {
  background: #ef4444;
}

/* Toast */
.adm-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.adm-toast {
  padding: 12px 18px;
  border-radius: var(--adm-radius-sm);
  background: var(--adm-surface);
  color: var(--adm-text-main);
  box-shadow: var(--adm-shadow-lg);
  border: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  animation: slideInToast 0.25s ease-out;
}
.adm-toast-success { border-left: 4px solid var(--adm-emerald); }
.adm-toast-error { border-left: 4px solid var(--adm-danger); }
.adm-toast-info { border-left: 4px solid var(--adm-primary); }

@keyframes slideInToast {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Forms & Inputs */
.adm-form-group {
  margin-bottom: 18px;
}

.adm-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--adm-text-main);
  margin-bottom: 6px;
  text-transform: capitalize;
}

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

.adm-input,
.adm-select,
.adm-textarea {
  width: 100%;
  padding: 9px 13px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--adm-text-main);
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.adm-input:focus,
.adm-select:focus,
.adm-textarea:focus {
  border-color: #1e3a7a;
  box-shadow: 0 0 0 3px rgba(30, 58, 122, 0.12);
}

.adm-textarea {
  min-height: 85px;
  resize: vertical;
}

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

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

.adm-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.adm-form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.adm-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--adm-border-subtle);
}

/* Badges */
.adm-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.adm-badge-success {
  background: var(--adm-emerald-light);
  color: var(--adm-emerald-text);
  border: 1px solid var(--adm-emerald-border);
}

.adm-badge-warning {
  background: var(--adm-gold-light);
  color: var(--adm-gold-text);
  border: 1px solid var(--adm-gold-border);
}

.adm-badge-danger {
  background: var(--adm-danger-light);
  color: var(--adm-danger-text);
  border: 1px solid var(--adm-danger-border);
}

.adm-badge-info {
  background: var(--adm-primary-light);
  color: #1e3a7a;
  border: 1px solid rgba(30, 58, 122, 0.2);
}

.adm-badge-neutral {
  background: var(--adm-surface-alt);
  color: var(--adm-text-muted);
  border: 1px solid var(--adm-border);
}

/* Additional Button Styles */
.adm-btn-secondary {
  background: var(--adm-surface);
  color: var(--adm-text-main);
  border: 1px solid var(--adm-border);
}

.adm-btn-secondary:hover {
  background: var(--adm-surface-alt);
}

.adm-btn-outline {
  background: transparent;
  color: #1e3a7a;
  border: 1px solid rgba(30, 58, 122, 0.3);
}

.adm-btn-outline:hover {
  background: rgba(30, 58, 122, 0.05);
}

.adm-btn-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
}

.adm-btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--adm-radius-sm);
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  color: var(--adm-text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-btn-icon:hover {
  color: var(--adm-text-main);
  background: var(--adm-surface-alt);
  border-color: #cbd5e1;
}

.adm-btn-icon-danger:hover {
  color: var(--adm-danger);
  background: var(--adm-danger-light);
  border-color: var(--adm-danger-border);
}

/* Filter Bar */
.adm-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  background: var(--adm-surface);
  padding: 14px 18px;
  border-radius: var(--adm-radius-sm);
  border: 1px solid var(--adm-border);
}

.adm-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Dynamic Subject Marksheet Table */
.adm-marks-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.adm-marks-table th,
.adm-marks-table td {
  padding: 8px 10px;
  border: 1px solid var(--adm-border);
  font-size: 0.84rem;
}

.adm-marks-table th {
  background: var(--adm-surface-alt);
  color: var(--adm-text-muted);
  font-weight: 600;
  text-align: left;
}

.adm-marks-table input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--adm-border);
  border-radius: 4px;
  font-size: 0.84rem;
  background: var(--adm-surface);
  color: var(--adm-text-main);
}

/* Responsive */
@media (max-width: 900px) {
  .adm-sidebar {
    transform: translateX(-100%);
  }
  .adm-sidebar.is-open {
    transform: translateX(0);
  }
  .adm-main-wrapper {
    margin-left: 0;
  }
  .adm-sidebar-toggle {
    display: inline-flex;
  }
  .adm-dashboard-grid {
    grid-template-columns: 1fr !important;
  }
  .adm-welcome-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Advanced Admin Dashboard Components & Animations
   ========================================================================== */

/* Welcome Banner */
.adm-welcome-banner {
  background: linear-gradient(135deg, #0a1128 0%, #1e3a7a 100%);
  border-radius: var(--adm-radius-md);
  padding: 24px 28px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(10, 17, 40, 0.15);
  position: relative;
  overflow: hidden;
}

.adm-welcome-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.adm-welcome-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.adm-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: admPulse 2s infinite ease-in-out;
}

.adm-welcome-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.adm-welcome-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin: 0;
  max-width: 680px;
  line-height: 1.5;
}

.adm-welcome-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 2;
}

/* Stats Grid & Hover Cards */
.adm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.adm-card-stat {
  margin-bottom: 0;
  padding: 18px 20px;
  cursor: default;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.adm-card-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -4px rgba(10, 17, 40, 0.12);
  border-color: rgba(5, 150, 105, 0.4);
}

.adm-stat-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.adm-stat-meta {
  display: flex;
  flex-direction: column;
}

.adm-stat-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--adm-text-subtle);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.adm-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.adm-stat-sub {
  font-size: 0.72rem;
  color: var(--adm-text-muted);
}

.adm-stat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--adm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.adm-card-stat:hover .adm-stat-icon-box {
  transform: scale(1.08);
}

/* Palette helpers */
.text-primary { color: var(--adm-primary); }
.text-emerald { color: var(--adm-emerald); }
.text-indigo { color: #4f46e5; }
.text-gold { color: var(--adm-gold); }
.text-danger { color: var(--adm-danger); }

.bg-primary-light { background: var(--adm-primary-light); }
.bg-emerald-light { background: var(--adm-emerald-light); }
.bg-indigo-light { background: #eef2ff; color: #4f46e5; }
.bg-gold-light { background: var(--adm-gold-light); }
.bg-danger-light { background: var(--adm-danger-light); }

/* Quick Actions Section */
.adm-quick-actions-section {
  padding: 22px;
}

.adm-section-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adm-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adm-card-subtitle {
  font-size: 0.8rem;
  color: var(--adm-text-subtle);
  margin-top: 2px;
}

.adm-quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.adm-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--adm-surface-alt);
  border: 1px solid var(--adm-border-subtle);
  border-radius: var(--adm-radius-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.adm-quick-card:hover {
  background: var(--adm-surface);
  border-color: var(--adm-emerald);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(5, 150, 105, 0.15);
}

.adm-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.adm-quick-card:hover .adm-quick-icon {
  transform: scale(1.1);
}

.adm-quick-info {
  display: flex;
  flex-direction: column;
}

.adm-quick-title {
  font-size: 0.88rem;
  color: var(--adm-text-main);
  font-weight: 700;
}

.adm-quick-desc {
  font-size: 0.74rem;
  color: var(--adm-text-muted);
}

/* Operational 2-Col Grid */
.adm-dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 24px;
}

.adm-grid-left, .adm-grid-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Enrollment Table Tags */
.adm-enrollment-tag {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--adm-primary);
  background: var(--adm-primary-light);
  padding: 3px 8px;
  border-radius: 4px;
}

.adm-student-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1e3a7a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adm-program-tag {
  font-size: 0.82rem;
  color: var(--adm-text-main);
  background: var(--adm-surface-alt);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Exam Batches */
.adm-exam-batches-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-exam-batch-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--adm-radius-sm);
  background: var(--adm-surface-alt);
  border: 1px solid var(--adm-border-subtle);
  transition: all 0.18s ease;
}

.adm-exam-batch-item:hover {
  background: var(--adm-surface);
  border-color: var(--adm-border);
  box-shadow: var(--adm-shadow-sm);
}

.adm-batch-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.adm-batch-meta {
  flex: 1;
  min-width: 0;
}

.adm-batch-title {
  font-size: 0.88rem;
  color: var(--adm-text-main);
  display: block;
}

.adm-batch-details {
  font-size: 0.76rem;
  color: var(--adm-text-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.adm-batch-link {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--adm-text-subtle);
  background: var(--adm-surface);
  border: 1px solid var(--adm-border-subtle);
  transition: all 0.15s ease;
}

.adm-batch-link:hover {
  color: var(--adm-primary);
  border-color: var(--adm-primary);
  background: var(--adm-primary-light);
}

/* Telemetry Box */
.adm-telemetry-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-telemetry-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: var(--adm-surface-alt);
  border-radius: var(--adm-radius-sm);
  font-size: 0.84rem;
}

.adm-telemetry-label {
  color: var(--adm-text-muted);
}

.adm-telemetry-val {
  color: var(--adm-text-main);
  font-weight: 600;
}

.adm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--adm-emerald);
}

.adm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--adm-emerald);
  box-shadow: 0 0 6px var(--adm-emerald);
  animation: admPulse 2s infinite ease-in-out;
}

.adm-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  color: var(--adm-text-main);
}

.adm-chip-prod {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.adm-chip-dev {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

/* Inquiries Feed */
.adm-inquiries-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adm-inquiry-item {
  padding: 12px 14px;
  border-radius: var(--adm-radius-sm);
  border: 1px solid var(--adm-border-subtle);
  background: var(--adm-surface-alt);
  transition: all 0.15s ease;
}

.adm-inquiry-item:hover {
  background: var(--adm-surface);
  border-color: var(--adm-border);
  box-shadow: var(--adm-shadow-sm);
}

.adm-inquiry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.adm-inquiry-name {
  font-size: 0.88rem;
  color: var(--adm-text-main);
}

.adm-inquiry-time {
  font-size: 0.72rem;
  color: var(--adm-text-subtle);
}

.adm-inquiry-meta {
  font-size: 0.78rem;
  color: var(--adm-text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.adm-inquiry-text {
  font-size: 0.78rem;
  color: var(--adm-text-subtle);
  margin: 0;
  line-height: 1.45;
}

/* Animations */
@keyframes admPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes admSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cmj-spin {
  animation: admSpin 1s linear infinite;
}

