/**
 * School Management System - Professional Admin Design System
 * Inspired by AdminLTE 4 & Classical Collegiate Architecture
 * Solid Colors | Advanced Calligraphic Typography | Zero Blur/Glassmorphism
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Solid Color Palette */
  --navy-950: #0a1324;
  --navy-900: #0f1d36;
  --navy-850: #142442;
  --navy-800: #1b2f54;
  --navy-700: #263e6d;

  --gold-600: #9e7515;
  --gold-500: #c59b27;
  --gold-400: #dcb33e;
  --gold-100: #fbf6e8;

  --emerald-700: #0b5936;
  --emerald-600: #0e7a4a;
  --emerald-100: #e7f7ee;

  --crimson-700: #8c1414;
  --crimson-600: #b91c1c;
  --crimson-100: #fde8e8;

  --amber-600: #c25e00;
  --amber-100: #fef3c7;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  --body-bg: #edf2f7;
  --card-bg: #ffffff;

  /* Fonts */
  --font-calligraphy: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --sidebar-width: 270px;
  --sidebar-collapsed-width: 78px;
  --header-height: 64px;

  /* Solid Borders & Crisp Outlines (No blur) */
  --border-solid: 1px solid var(--slate-200);
  --border-solid-dark: 1px solid var(--navy-700);
  --border-gold: 1px solid var(--gold-500);
}

/* Reset & Core Defaults */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--body-bg);
  color: var(--slate-900);
  font-size: 0.925rem;
  line-height: 1.55;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Executive & Modern Typography */
.font-calligraphy {
  font-family: var(--font-sans);
}

h1,
h2,
h3,
.brand-title,
.modal-title,
.page-header-title {
  font-family: var(--font-sans);
  letter-spacing: -0.015em;
  font-weight: 700;
}

.font-editorial {
  font-family: var(--font-editorial);
}

.font-mono {
  font-family: var(--font-mono);
}

/* App Wrapper */
.app-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar Styling - Solid Imperial Navy - Fixed Viewport Position */
.app-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-width);
  background-color: var(--navy-900);
  color: #d1d9e6;
  display: flex;
  flex-direction: column;
  border-right: none;
  box-shadow: 2px 0 16px rgba(10, 19, 36, 0.08);
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1040;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-700) transparent;
}

.app-sidebar::-webkit-scrollbar {
  width: 4px;
}

.app-sidebar::-webkit-scrollbar-thumb {
  background-color: var(--navy-700);
  border-radius: 2px;
}

.sidebar-brand {
  height: var(--header-height);
  background-color: var(--navy-950);
  border-bottom: none;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 0.85rem;
  text-decoration: none;
  color: #ffffff;
}

.brand-crest {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: var(--navy-950);
  font-family: var(--font-calligraphy);
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  object-fit: cover;
  overflow: hidden;
}

.brand-crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
}

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

.brand-name {
  font-family: var(--font-calligraphy);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.15;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-profile {
  padding: 0.9rem 1.1rem;
  background-color: var(--navy-850);
  border-bottom: none;
  margin: 0.5rem 0.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--navy-700);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  font-family: var(--font-calligraphy);
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  line-height: 1.2;
}

.profile-role {
  font-size: 0.72rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Sidebar Navigation */
.sidebar-nav {
  padding: 0.75rem 0;
  flex-grow: 1;
  overflow-y: auto;
}

.nav-section-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7b8ea8;
  padding: 0.75rem 1.5rem 0.35rem;
  font-weight: 700;
  font-family: var(--font-sans);
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu .nav-item {
  margin-bottom: 3px;
}

.sidebar-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.15rem;
  margin: 2px 0.75rem;
  color: #b8c4d6;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  border: none;
  border-radius: 10px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-menu .nav-link i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  color: #8da0be;
}

.sidebar-menu .nav-link:hover {
  background-color: var(--navy-800);
  color: #ffffff;
}

.sidebar-menu .nav-link:hover i {
  color: var(--gold-400);
}

.sidebar-menu .nav-link.active {
  background-color: var(--navy-800);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
}

.sidebar-menu .nav-link.active i {
  color: var(--gold-500);
}

.sidebar-menu .badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

/* Header Navbar */
.app-header {
  height: var(--header-height);
  background-color: #ffffff;
  border-bottom: none;
  box-shadow: 0 1px 4px rgba(15, 29, 54, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sidebar-toggle-btn {
  background: var(--slate-100);
  border: none;
  color: var(--navy-900);
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.sidebar-toggle-btn:hover {
  background-color: var(--slate-200);
}

.header-college-title {
  font-family: var(--font-calligraphy);
  color: var(--navy-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.15;
}

.header-title-main {
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  color: var(--navy-950);
}

.header-title-sub {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--gold-600);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-session-badge {
  background-color: var(--navy-900);
  color: var(--gold-400);
  border: none;
  font-family: var(--font-calligraphy);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Main Content Area - Offset by fixed sidebar */
.app-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  transition: margin-left 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-content {
  padding: 1.75rem;
  flex-grow: 1;
}

/* Page Header - Smooth Rounded, No Vertical Border Line */
.page-header {
  background-color: #ffffff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 29, 54, 0.04);
  padding: 1.35rem 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title-box {
  display: flex;
  flex-direction: column;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 0.84rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.page-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Metric Cards - Compact & Sleek */
.metric-card {
  background-color: var(--card-bg);
  border: 1px solid #eef2f6;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(15, 29, 54, 0.04);
  padding: 0.9rem 1.15rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin: 0;
}

.metric-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.metric-icon-box.bg-navy {
  background-color: var(--navy-900);
  color: var(--gold-400);
}

.metric-icon-box.bg-gold {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

.metric-icon-box.bg-emerald {
  background-color: var(--emerald-600);
  color: #ffffff;
}

.metric-icon-box.bg-crimson {
  background-color: var(--crimson-600);
  color: #ffffff;
}

.metric-value {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.15;
  margin: 0.1rem 0 0.25rem;
  letter-spacing: -0.02em;
}

.metric-footer {
  font-size: 0.76rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.45rem;
  margin-top: 0.35rem;
}

/* Custom Standard Cards - Smooth Rounded Corners, No Border Lines */
.card-solid {
  background-color: #ffffff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 29, 54, 0.04);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.card-solid-header {
  padding: 1rem 1.35rem;
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-solid-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-900);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.01em;
}

.card-solid-body {
  padding: 1.25rem 1.35rem;
}

/* High-Density Data Tables - Rounded & Seamless */
.table-responsive {
  border: none;
  border-radius: 14px;
  overflow-x: auto;
  box-shadow: 0 2px 10px rgba(15, 29, 54, 0.04);
}

.table-custom {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

.table-custom thead th {
  background-color: var(--navy-900);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 0.95rem;
  border: none;
  white-space: nowrap;
  vertical-align: middle;
}

.table-custom tbody td {
  padding: 0.75rem 0.95rem;
  border: none;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.86rem;
  vertical-align: middle;
  background-color: #ffffff;
}

.table-custom tbody tr:nth-child(even) td {
  background-color: #f8fafc;
}

.table-custom tbody tr:hover td {
  background-color: #f1f5f9;
}

/* Badges - Smooth Rounded Pills */
.badge-solid {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}

.badge-navy {
  background-color: var(--navy-900);
  color: #ffffff;
}

.badge-gold {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

.badge-emerald {
  background-color: var(--emerald-600);
  color: #ffffff;
}

.badge-crimson {
  background-color: var(--crimson-600);
  color: #ffffff;
}

.badge-amber {
  background-color: var(--amber-600);
  color: #ffffff;
}

.badge-slate {
  background-color: var(--slate-200);
  color: var(--slate-700);
}

/* Buttons - Smooth Rounded Corners, No Outlines */
.btn-solid {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-solid:active {
  transform: scale(0.98);
}

.btn-solid-navy {
  background-color: var(--navy-900);
  color: #ffffff;
}

.btn-solid-navy:hover {
  background-color: var(--navy-800);
  color: #ffffff;
}

.btn-solid-gold {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

.btn-solid-gold:hover {
  background-color: var(--gold-400);
  color: var(--navy-950);
}

.btn-solid-emerald {
  background-color: var(--emerald-600);
  color: #ffffff;
}

.btn-solid-emerald:hover {
  background-color: var(--emerald-700);
  color: #ffffff;
}

.btn-solid-crimson {
  background-color: var(--crimson-600);
  color: #ffffff;
}

.btn-solid-crimson:hover {
  background-color: var(--crimson-700);
  color: #ffffff;
}

.btn-solid-outline {
  background-color: #f1f5f9;
  color: var(--navy-900);
}

.btn-solid-outline:hover {
  background-color: var(--slate-200);
  color: var(--navy-900);
}

/* Forms - Smooth Rounded & Clean */
.form-label-custom {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.form-control-custom,
.form-select-custom {
  width: 100%;
  padding: 0.6rem 0.95rem;
  font-size: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--slate-900);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--navy-900);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 29, 54, 0.12);
}

/* Filter Bar - Smooth Rounded Card, No Border Line */
.filter-bar {
  background-color: #ffffff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 29, 54, 0.03);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

/* Modals - Smooth Rounded, Deep Shadow, Zero Harsh Borders */
.modal-content {
  border: none !important;
  border-radius: 18px !important;
  box-shadow: 0 25px 60px rgba(15, 29, 54, 0.25) !important;
  overflow: hidden;
}

.modal-header {
  border-bottom: none !important;
  padding: 1.25rem 1.5rem;
}

.modal-footer {
  border-top: none !important;
  padding: 1.25rem 1.5rem;
}

/* System Alerts - Smooth Rounded & Borderless */
.alert {
  border: none !important;
  border-radius: 12px !important;
}

/* Suggestive Search Dropdown - Smooth Rounded Floating Panel */
.suggestive-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 29, 54, 0.16);
  z-index: 1080;
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
  border: none;
  scrollbar-width: thin;
}

.suggestive-header {
  padding: 0.65rem 1rem;
  background-color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.suggestive-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.12s ease;
  border-bottom: 1px solid #f8fafc;
}

.suggestive-item:last-child {
  border-bottom: none;
}

.suggestive-item:hover,
.suggestive-item.active {
  background-color: #f1f5f9;
}

.suggestive-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.suggestive-info {
  flex-grow: 1;
  min-width: 0;
}

.suggestive-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2px;
}

.suggestive-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-950);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestive-subtitle {
  font-size: 0.76rem;
  color: var(--slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestive-highlight {
  background-color: #fef08a;
  color: #713f12;
  font-weight: 800;
  border-radius: 4px;
  padding: 0 3px;
}

.suggestive-item-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--slate-500);
  font-size: 0.85rem;
}

/* Official Print Styles (Challan & Result Cards) */
@media print {

  .app-sidebar,
  .app-header,
  .page-actions,
  .filter-bar,
  .no-print {
    display: none !important;
  }

  .app-main {
    margin: 0 !important;
    padding: 0 !important;
  }

  .app-content {
    padding: 0 !important;
  }

  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }
}

/* ==========================================================================
   Flexible / Collapsible Sidebar Implementation (remains fixed in place)
   ========================================================================== */

/* Desktop Collapsed Sidebar State */
body.sidebar-collapsed .app-sidebar {
  width: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .app-main {
  margin-left: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .sidebar-brand {
  padding: 0 0.5rem;
  justify-content: center;
}

body.sidebar-collapsed .sidebar-brand .brand-text {
  display: none !important;
}

body.sidebar-collapsed .sidebar-brand .brand-crest {
  margin: 0 auto;
}

body.sidebar-collapsed .sidebar-profile {
  padding: 0.85rem 0.25rem;
  justify-content: center;
}

body.sidebar-collapsed .sidebar-profile .profile-info {
  display: none !important;
}

body.sidebar-collapsed .sidebar-profile .profile-avatar {
  margin: 0 auto;
}

body.sidebar-collapsed .nav-section-title {
  text-indent: -9999px;
  height: 1px;
  padding: 0;
  margin: 0.75rem 0.85rem;
  background-color: var(--navy-800);
  overflow: hidden;
}

body.sidebar-collapsed .sidebar-menu .nav-link {
  padding: 0.75rem 0;
  justify-content: center;
  gap: 0;
  position: relative;
}

body.sidebar-collapsed .sidebar-menu .nav-link span,
body.sidebar-collapsed .sidebar-menu .nav-link .badge {
  display: none !important;
}

body.sidebar-collapsed .sidebar-menu .nav-link i {
  margin: 0;
  font-size: 1.3rem;
  width: auto;
}

/* Floating Tooltip for Collapsed Sidebar Icons */
body.sidebar-collapsed .sidebar-menu .nav-link:hover::after {
  content: attr(data-tooltip);
  position: fixed;
  left: calc(var(--sidebar-collapsed-width) + 10px);
  background-color: var(--navy-950);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 1060;
}

/* Mobile Backdrop Overlay */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 19, 36, 0.7);
  z-index: 1035;
  display: none;
  cursor: pointer;
}

body.sidebar-mobile-open .sidebar-backdrop {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .app-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--sidebar-width) !important;
    transform: translateX(-100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4);
  }

  body.sidebar-mobile-open .app-sidebar,
  .app-sidebar.show {
    transform: translateX(0) !important;
  }

  .app-main {
    margin-left: 0 !important;
  }

  .app-content {
    padding: 1rem;
  }

  .header-college-title span {
    font-size: 0.88rem;
  }
}

/* Sortable Table Columns */
.sort-link {
  cursor: pointer;
  user-select: none;
  color: inherit;
  transition: color 0.15s ease;
}
.sort-link:hover {
  color: var(--primary-color, #0d6efd) !important;
}
.sort-link:hover .sort-icon {
  opacity: 1 !important;
  color: var(--primary-color, #0d6efd) !important;
}