.jvm-zoom-btn.jvm-zoomin,
.jvm-zoom-btn.jvm-zoomout {
  top: 10px;
  background: #d1d5db;
  color: #111827;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
}

.slick-dots {
  display: flex !important;
}

.fc-toolbar-title {
  font-size: 24px !important;
  font-weight: 600;
}

.fc-button {
  border-color: var(--primary-600) !important;
  background: #fff !important;
  color: var(--primary-600) !important;
  font-weight: 600 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-width: 80px !important;
}

.fc-button:hover {
  background-color: var(--primary-50) !important;
}

.fc-button-active {
  color: #fff !important;
  background-color: var(--primary-600) !important;
}

.fc-button-active:hover {
  color: #fff !important;
  background-color: var(--primary-600) !important;
}

.fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
  box-shadow: none !important;
}

.fc-toolbar-chunk {
  display: flex !important;
}

.fc .fc-button-primary:focus {
  box-shadow: none !important;
}

.fc-h-event {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-h-event .fc-event-main {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-v-event .fc-event-main {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  background-color: var(--primary-50) !important;
  color: var(--primary-600) !important;
}

.fc-daygrid-day-number {
  transition: background-color 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-radius: 50%;
}

.fc-daygrid-day:hover .fc-daygrid-day-number {
  background-color: var(--primary-100) !important;
  color: var(--primary-600) !important;
  transition: background-color 0.2s;
}

.slider-progress .active {
  transition: all 0.3s linear;
}

.slick-list {
  margin: 0 -7px;
}

.slick-slide > div {
  padding: 0 10px;
}

.center-gap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.inline-grid {
  display: inline-grid;
}

.image-upload__boxInner.custom {
  display: flex;
  justify-content: center;
  align-items: center;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
  text-align: unset !important;
}

/* Hide all submenus by default */
.sidebar-submenu {
  /* display: none; */
  list-style: none;
  padding-left: 20px;
  /* Adjust as needed */
}

.sidebar-menu .sidebar-submenu {
  display: block;
}

/* Optional: Add transition for smooth toggle */
.sidebar-menu .dropdown .sidebar-submenu {
  transition: max-height 0.3s linear;
  overflow: hidden;
  max-height: 0px;
}

/* .sidebar-menu .dropdown.open .sidebar-submenu {
  max-height: 1000px;
} */

.sidebar-menu li > a > i {
  margin-inline-end: 0;
}

.mr-10 {
  margin-right: 10px !important;
}

.sidebar-menu .sidebar-submenu li a {
  gap: 12px;
}

.sidebar-menu .sidebar-submenu li > .active-page {
  background-color: var(--button-secondary);
  color: var(--text-primary-light);
}

.sidebar-menu li > a.active-page:hover {
  color: var(--text-primary-light);
}
.me-8 {
  margin-right: 8px;
}

.gap-10 {
  display: flex;
  gap: 8px;
}

.w-33 {
  width: 33.33%;
}

.overlay::after {
  position: absolute;
  content: "";
  top: 0;
  inset-inline-start: 0;
  width: 0;
  height: 100%;
  background-color: #000;
  opacity: 0.65;
  transition: all 0.3s;
  z-index: 2;
}

.overlay.active::after {
  width: 100%;
}

.topbar-profile-trigger {
  gap: 12px;
  padding: 6px 10px 6px 6px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.topbar-profile-meta {
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}

.topbar-profile-meta strong {
  color: #2b3674;
  font-size: 13px;
  font-weight: 700;
}

.topbar-profile-meta small {
  color: #98a2b3;
  font-size: 11px;
}

@media (max-width: 767px) {
  .navbar-header .navbar-search {
    display: none;
  }

  .dashboard-main-body {
    padding-inline: 0 !important;
  }
}

/* ==========================================================================
   PREMIUM & MODERN UI OVERRIDES
   ========================================================================== */

/* Modern Font and Body Tweaks */
body {
  background-color: #f6f8fc !important;
  letter-spacing: -0.01em;
}

/* Glassmorphism Sidebar */
.sidebar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Sidebar Logo Styling */
.sidebar-logo {
  padding: 24px 28px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}

/* Premium Sidebar Links and Hover Effects */
.sidebar-menu li a {
  margin: 4px 16px !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  color: #5b6275 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative !important;
}

/* Interactive hover translate & background */
.sidebar-menu li a:hover {
  background-color: rgba(72, 127, 255, 0.08) !important;
  color: var(--primary-700) !important;
  transform: translateX(5px);
}

.sidebar-menu li a:hover .menu-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary-600) !important;
}

.sidebar-menu li a .menu-icon {
  font-size: 20px !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}

/* Active Link Premium Glow & Gradient */
.sidebar-menu li a.active-page,
.sidebar-menu .sidebar-submenu li > a.active-page {
  background: linear-gradient(135deg, var(--primary-600), #5e66f1) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(72, 127, 255, 0.24) !important;
  transition: all 0.3s ease;
}
.sidebar-menu li a.active-page:hover {
  transform: translateX(5px);
}

.sidebar.active .sidebar-menu li a.active-page {
  transform: none !important;
  display: flex !important;
  justify-content: center !important;
  padding: 10px !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
}

.sidebar.active .sidebar-menu li a.active-page .menu-icon {
  margin: 0 !important;
  font-size: 24px !important;
}

.sidebar-menu li a.active-page .menu-icon,
.sidebar-menu .sidebar-submenu li > a.active-page .circle-icon {
  color: #ffffff !important;
}

/* Mobile Overlay Fixes */
@media (max-width: 1199px) {
  .overlay.active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(2px);
    z-index: 99 !important;
    transition: opacity 0.3s ease;
  }
  .sidebar.sidebar-open {
    z-index: 100 !important;
    box-shadow: 4px 0 24px rgba(0,0,0,0.1);
  }
}

/* Sidebar Dropdown arrow transition */
.sidebar-menu .dropdown::after {
  transition: transform 0.25s ease !important;
}

.sidebar-menu .dropdown.open::after {
  transform: rotate(90deg) !important;
}

/* Clean submenu styling */
.sidebar-submenu {
  padding-left: 12px !important;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}

.sidebar-submenu li a {
  margin: 2px 16px 2px 24px !important;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
}

/* Glassmorphism Header Bar */
.navbar-header {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02) !important;
  padding: 16px 32px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

/* Toggle Buttons */
.sidebar-toggle, .sidebar-mobile-toggle {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  width: 40px !important;
  height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  color: #475569 !important;
}

.sidebar-toggle {
  display: none !important;
}
@media (min-width: 1200px) {
  .sidebar-toggle {
    display: flex !important;
  }
}

.sidebar-mobile-toggle {
  display: flex !important;
}
@media (min-width: 1200px) {
  .sidebar-mobile-toggle {
    display: none !important;
  }
}

.sidebar-toggle:hover, .sidebar-mobile-toggle:hover {
  background: #f1f5f9 !important;
  color: var(--primary-600) !important;
  transform: scale(1.05);
}

/* Premium Card Styles */
.smooth-card, .card, .school-card {
  border-radius: 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.025) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.smooth-card:hover, .school-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.045) !important;
}

/* Premium Table Rows */
.user-table tr, .table tr {
  transition: background-color 0.2s ease !important;
}

.smooth-table-row:hover, .table tbody tr:hover {
  background-color: rgba(72, 127, 255, 0.035) !important;
}

/* Input Fields Refinements */
.admin-search input, .admin-filter, .admin-select, .form-control, .form-select {
  border: 1px solid #e2e8f0 !important;
  background-color: #f8fafc !important;
  transition: all 0.2s ease !important;
  font-size: 14px !important;
}

.admin-search input:focus, .admin-filter:focus, .admin-select:focus, .form-control:focus, .form-select:focus {
  border-color: var(--primary-500) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(72, 127, 255, 0.15) !important;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Profile Trigger Premium Look */
.topbar-profile-trigger {
  padding: 6px 12px 6px 6px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
}

.topbar-profile-trigger:hover {
  background: #f8fafc !important;
  border-color: rgba(203, 213, 225, 0.8) !important;
  transform: translateY(-1px);
}

.profile-avatar-wrapper img {
  transition: transform 0.25s ease;
}

.topbar-profile-trigger:hover .profile-avatar-wrapper img {
  transform: scale(1.05);
}

/* Prevent parent dropdown from having full blue background when active */
.sidebar-menu li.dropdown.open > a,
.sidebar-menu li.dropdown.dropdown-open > a {
  background-color: transparent !important;
  color: #475569 !important;
}
.sidebar-menu li.dropdown.open > a:hover {
  background-color: #f1f5f9 !important;
}
.sidebar-menu li.dropdown.open > a .menu-icon {
  color: var(--primary-600) !important;
}

/* Center-align Advanced Filters input & select values */
.student-filter-card select.form-select,
.student-filter-card select.form-select option {
  text-align: center !important;
  text-align-last: center !important;
}

.student-filter-card input.form-control {
  text-align: center !important;
}

/* Adjust date input centering to look correct in browsers that display calendars */
.student-filter-card input[type="date"] {
  text-align: center !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

