/* Modern Advanced Multi-School SaaS Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --bg-gradient: linear-gradient(135deg, #e6ecf8 0%, #ede7f6 45%, #fcebf2 100%);
  --sidebar-bg: rgba(255, 255, 255, 0.55);
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(255, 255, 255, 0.85);
  --card-radius: 20px;
  --card-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.07), 0 8px 16px -6px rgba(0, 0, 0, 0.04);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --primary-accent: #6366f1;
  --primary-accent-rgb: 99, 102, 241;
  --secondary-accent: #ec4899;
  --teal-accent: #14b8a6;
  --header-bg: rgba(255, 255, 255, 0.75);
}

/* Theme A: Professional Blue */
body.theme-design_a_blue {
  --bg-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  --sidebar-bg: #0f172a;
  --sidebar-text: #f8fafc;
  --primary-accent: #2563eb;
  --primary-accent-rgb: 37, 99, 235;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
}
body.theme-design_a_blue .app-sidebar {
  background: #0f172a !important;
  color: #f8fafc;
  border-right: 1px solid #1e293b;
}
body.theme-design_a_blue .sidebar-link {
  color: #cbd5e1;
}
body.theme-design_a_blue .sidebar-link:hover,
body.theme-design_a_blue .sidebar-link.active {
  background: #1e293b;
  color: #ffffff;
}

/* Theme C: Minimal Green */
body.theme-design_c_green {
  --bg-gradient: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%);
  --primary-accent: #059669;
  --primary-accent-rgb: 5, 150, 105;
  --secondary-accent: #10b981;
  --card-bg: #ffffff;
  --card-border: #d1fae5;
  --card-shadow: 0 8px 24px -4px rgba(5, 150, 105, 0.08);
}

/* Dark Mode */
body.dark-theme {
  --bg-gradient: linear-gradient(135deg, #090d16 0%, #111827 50%, #1e1b4b 100%);
  --sidebar-bg: rgba(17, 24, 39, 0.85);
  --card-bg: rgba(30, 41, 59, 0.85);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --header-bg: rgba(15, 23, 42, 0.85);
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* App Master Shell */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Header */
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-branding {
  display: flex;
  align-items: center;
  gap: 24px;
}

.saas-company-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 12px;
}
.saas-company-badge img {
  height: 30px;
}
.saas-company-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-accent);
  line-height: 1.2;
}
.saas-company-subtitle {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.active-school-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.active-school-badge img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.active-school-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}
.active-school-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.search-pill {
  position: relative;
  min-width: 280px;
}
.search-pill input {
  width: 100%;
  padding: 9px 18px 9px 40px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}
.search-pill input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(var(--primary-accent-rgb), 0.15);
  background: #ffffff;
}
.search-pill i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  text-decoration: none;
}
.action-icon-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.action-icon-btn .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.user-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.user-profile-pill:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.user-profile-pill img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.user-info {
  display: flex;
  flex-direction: column;
}
.user-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.user-role-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-accent);
}

/* Sidebar */
.app-sidebar {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.app-main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  flex: 1;
}

.sidebar-category {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 12px 14px 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-link i {
  font-size: 18px;
  width: 22px;
  text-align: center;
}
.sidebar-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(3px);
}
.sidebar-link.active {
  color: var(--primary-accent);
  background: #ffffff;
  box-shadow: 0 6px 18px -4px rgba(99, 102, 241, 0.15);
  font-weight: 700;
}

/* Main Content Area */
.app-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-content {
  padding: 28px;
}

/* Glass Floating Cards (matches mockup image) */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.glass-card:hover {
  box-shadow: 0 14px 35px -5px rgba(99, 102, 241, 0.12);
}

.card-title-lg {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

/* 4 Metric Pill Cards (matches top row in screenshot) */
.stat-pill-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.stat-val {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}
.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Course Progress Card */
.progress-bar-wrap {
  background: #f1f5f9;
  border-radius: 20px;
  height: 10px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-fill {
  background: linear-gradient(90deg, #14b8a6, #06b6d4);
  height: 100%;
  border-radius: 20px;
  transition: width 0.6s ease;
}

/* Circular Attendance Ring (matches screenshot 85% attendance) */
.circle-progress-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.donut-svg {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}
.donut-meter, .donut-value {
  fill: none;
  stroke-width: 12;
}
.donut-meter {
  stroke: #e2e8f0;
}
.donut-value {
  stroke: #14b8a6;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 56; /* 85% */
  transition: stroke-dashoffset 1s ease;
}
.donut-center-text {
  position: absolute;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
}

/* Grade Distribution Bars (matches screenshot A, B, C, D, F) */
.grade-bars-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 160px;
  padding-top: 20px;
  gap: 12px;
}
.grade-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.grade-bar {
  width: 100%;
  max-width: 32px;
  background: #a5b4fc;
  border-radius: 8px 8px 4px 4px;
  transition: height 0.5s ease;
}
.grade-bar.tall {
  background: #818cf8;
}
.grade-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Task Checklist (matches screenshot tasks list) */
.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.task-item:last-child {
  border-bottom: none;
}
.task-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  accent-color: var(--primary-accent);
  cursor: pointer;
}
.task-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}
.task-item.completed .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Mini Calendar Widget (matches screenshot) */
.mini-calendar {
  width: 100%;
}
.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}
.cal-cell {
  padding: 6px 0;
  border-radius: 8px;
  color: var(--text-main);
}
.cal-cell.today {
  background: var(--primary-accent);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* RTL Layout for Arabic */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .app-sidebar {
  border-right: none;
  border-left: 1px solid var(--card-border);
}
[dir="rtl"] .sidebar-link {
  transform: none;
}
[dir="rtl"] .sidebar-link:hover {
  transform: translateX(-3px);
}
[dir="rtl"] .search-pill i {
  left: auto;
  right: 14px;
}
[dir="rtl"] .search-pill input {
  padding: 9px 40px 9px 18px;
}

/* Modern Data Table */
.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.modern-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border: none;
}
.modern-table td {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  font-size: 14px;
}
.modern-table tr td:first-child {
  border-left: 1px solid var(--card-border);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.modern-table tr td:last-child {
  border-right: 1px solid var(--card-border);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
body.dark-theme .modern-table td {
  background: rgba(30, 41, 59, 0.85);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-active { background: #dcfce7; color: #15803d; }
.badge-trial { background: #fef3c7; color: #b45309; }
.badge-suspended { background: #fee2e2; color: #b91c1c; }
.badge-paid { background: #dcfce7; color: #15803d; }
.badge-unpaid { background: #fee2e2; color: #b91c1c; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .app-sidebar {
    width: 210px;
  }
}
@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
  }
  .app-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
  .app-topbar {
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  .topbar-branding {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .search-pill {
    min-width: 100%;
    order: 3;
  }
}
/* Background Atmosphere Variations */
body.bg-pastel_glass {
  background: linear-gradient(135deg, #e6ecf8 0%, #ede7f6 45%, #fcebf2 100%) fixed !important;
}
body.bg-geometric_mesh {
  background: linear-gradient(135deg, #dbeafe 0%, #f3e8ff 50%, #fce7f3 100%) fixed !important;
}
body.bg-navy_executive {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) fixed !important;
}
body.bg-emerald_fresh {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%) fixed !important;
}
body.bg-midnight_dark {
  background: linear-gradient(135deg, #090d16 0%, #111827 50%, #1e1b4b 100%) fixed !important;
}
body.bg-subtle_dots {
  background: #f8fafc fixed !important;
}

/* =========================================================
   AUBURN BLUE MODERN SYSTEM (2026 OVERHAUL - IMAGES 1 TO 8)
   ========================================================= */
:root {
  --auburn-royal-blue: #153376;
  --auburn-navy-dark: #0f2452;
  --auburn-accent-blue: #2563eb;
  --auburn-light-bg: #f0f4f9;
  --auburn-card-border: #dbe4f0;
}

body {
  background-color: var(--auburn-light-bg) !important;
  padding-bottom: 84px !important; /* Space for Bottom Nav Bar */
}

/* 1. TOPBAR HEADER (Royal Blue) */
.auburn-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--auburn-royal-blue);
  color: #ffffff;
  padding: 12px 24px;
  box-shadow: 0 4px 18px rgba(15, 36, 82, 0.18);
}
.auburn-topbar .topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}
.auburn-topbar .school-crest-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.auburn-topbar .school-name-text {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  line-height: 1.2;
}

/* Menu Toggle Button (Drawer Opener) */
.btn-auburn-menu {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-auburn-menu:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* Auburn Centered Search Bar */
.auburn-search-wrap {
  position: relative;
  max-width: 460px;
  width: 100%;
}
.auburn-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 15px;
}
.auburn-search-input {
  width: 100%;
  padding: 10px 18px 10px 44px;
  border-radius: 30px;
  border: none;
  background: #ffffff;
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  outline: none;
  transition: box-shadow 0.2s ease;
}
.auburn-search-input:focus {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

/* Topbar Action Icons */
.auburn-icon-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}
.auburn-icon-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* 2. SLIDE-OUT SIDEBAR DRAWER (Image 6) */
.auburn-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 14px 0 35px rgba(21, 51, 118, 0.22);
  display: flex;
  flex-direction: column;
}
.auburn-drawer.open {
  transform: translateX(0);
}
.auburn-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.auburn-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.auburn-drawer-header {
  padding: 24px 20px;
  background: linear-gradient(145deg, #153376 0%, #1e40af 100%);
  color: #ffffff;
  position: relative;
}
.auburn-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}
.auburn-drawer-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.auburn-drawer-user-card img {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.auburn-drawer-user-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}
.auburn-drawer-user-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #93c5fd;
  text-transform: uppercase;
}
.auburn-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}
.auburn-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #1e293b;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  transition: all 0.18s ease;
  margin-bottom: 4px;
}
.auburn-drawer-link i {
  font-size: 16px;
  width: 22px;
  text-align: center;
  color: #153376;
}
.auburn-drawer-link:hover {
  background: #f1f5f9;
  color: #153376;
}
.auburn-drawer-link.text-danger i {
  color: #dc2626;
}
.auburn-drawer-link.text-danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* 3. AUBURN CARDS (Hubs & Features - Images 1 to 5) */
.auburn-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid var(--auburn-card-border);
  box-shadow: 0 6px 20px rgba(21, 51, 118, 0.05);
  padding: 24px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.auburn-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(21, 51, 118, 0.12);
  border-color: var(--auburn-accent-blue);
}
.auburn-card-large {
  padding: 36px 24px;
  border-radius: 28px;
}
.auburn-card .card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
}
.auburn-card .card-action-link {
  color: var(--auburn-accent-blue);
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 800;
  margin-top: 6px;
}

/* 4. BOTTOM NAVIGATION DOCK (Images 1 to 5, 8) */
.auburn-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--auburn-royal-blue);
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 12px;
  box-shadow: 0 -4px 20px rgba(15, 36, 82, 0.16);
}
.auburn-bottom-nav .bottom-nav-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 16px;
  border-radius: 16px;
  transition: all 0.22s ease;
  min-width: 68px;
}
.auburn-bottom-nav .bottom-nav-item i {
  font-size: 18px;
  margin-bottom: 3px;
}
.auburn-bottom-nav .bottom-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.auburn-bottom-nav .bottom-nav-item.active {
  background: #ffffff !important;
  color: var(--auburn-royal-blue) !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

/* 5. STUDENTS & STAFF TABLE CARD (Image 7) */
.auburn-table-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid var(--auburn-card-border);
  box-shadow: 0 8px 25px rgba(21, 51, 118, 0.06);
  overflow: hidden;
  margin-bottom: 30px;
}
.auburn-table-banner {
  background: var(--auburn-royal-blue);
  color: #ffffff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.auburn-table-banner .banner-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auburn-table-toolbar {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--auburn-card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.auburn-filter-select {
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  outline: none;
}

/* Circular Action Buttons (Image 7) */
.action-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: none;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.action-circle-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
.action-circle-view {
  background: #e0f2fe;
  color: #0284c7;
}
.action-circle-edit {
  background: #fef3c7;
  color: #d97706;
}
.action-circle-idcard {
  background: #dcfce7;
  color: #16a34a;
}
.action-circle-delete {
  background: #fee2e2;
  color: #dc2626;
}

/* 6. DARK THEME STYLING OVERRIDES */
body.dark-theme {
  --auburn-light-bg: #0b1120;
  --auburn-card-border: #334155;
  background-color: #0b1120 !important;
  color: #f8fafc !important;
}
body.dark-theme .auburn-topbar,
body.dark-theme .auburn-bottom-nav,
body.dark-theme .auburn-table-banner {
  background: #0f172a !important;
}
body.dark-theme .auburn-card,
body.dark-theme .auburn-table-card,
body.dark-theme .auburn-drawer {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}
body.dark-theme .auburn-card .card-title,
body.dark-theme .auburn-drawer-link {
  color: #f8fafc !important;
}
body.dark-theme .auburn-drawer-link:hover {
  background: #334155 !important;
}
body.dark-theme .auburn-table-toolbar {
  background: #0f172a !important;
  border-color: #334155 !important;
}
body.dark-theme .auburn-filter-select,
body.dark-theme .auburn-search-input {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

