:root {
  --white: #eaf5ff;
  /* --primary: #49b0ff; */
  --primary: #6a0611;
  --primary-dark: #041635;
  --primary-hover: #041635;
}.tata-title{color: #fff !important};
.form-control{
    background: #f2f2f2 !important;
}
.bg-light{
    background: #f2f2f2 !important;
}
input[type="file"]{
    line-height: 2.5 !important;
}

.form-control:focus {
    border-color: var(--primary);
}

a:hover, a:focus, a.active{
    color: var(--primary-dark);
}

.modal-header{
	border-top-left-radius: 20px !important; border-top-right-radius: 20px !important;
}
.dlabnav .metismenu > li a > i{
	width: 14px !important
}
.fs-20{
	font-size: 20px !important
}


.select2-container--default .select2-selection--single{
  background: #f8f8f8 !important;
  border: 0.0625rem solid #f8f8f8 !important;
  padding: 0.3125rem 1.25rem !important;
  color: #6e6e6e !important;
  height: 3rem !important;
  border-radius: 1rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 33px !important
}
.select2-container .select2-selection--single .select2-selection__rendered{
  padding-left: 0px !important
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
  top: 8px !important;
  right: 13px !important;
}

.custom_bottom_border{border-bottom: 1px solid rgba(33, 40, 50, 0.125) !important;}
.font-weight-bolder{font-weight: 600 !important; color: #6a0611 !important}


.form-switch .form-check-input{
  width: 2.5rem !important
}


.d-icon{
  float: right; font-size: 40px; color: var(--primary);
}

/* Dashboard top spacing (avoid pulling under fixed header) */
.edu-dashboard-top {
  margin-top: 0;
}
.breaking-news {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  min-width: 0;
}
.breaking-news .news {
  flex: 0 0 44px;
  width: 44px;
}
.breaking-news .news-scroll,
.breaking-news marquee {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

/* Dashboard welcome banner */
.edu-welcome-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ead9dc;
  background: linear-gradient(135deg, #faf6f7 0%, #fff 55%);
}
.edu-welcome-banner__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
}
.edu-welcome-banner__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2f2f2f;
  line-height: 1.3;
}
.edu-welcome-banner__text {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.45;
}

/* Compact modern dashboard stat cards */
a.edu-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid #ececec;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  box-shadow: none;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
a.edu-stat-card:hover {
  border-color: #d8c5c8;
  background: #faf7f8;
  transform: translateY(-1px);
  color: inherit;
}
.edu-stat-card__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(106, 6, 17, 0.08);
  color: var(--primary);
  font-size: 16px;
}
.edu-stat-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.edu-stat-card__label {
  font-size: 12px;
  font-weight: 500;
  color: #777;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.edu-stat-card__value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  line-height: 1.15;
}

/* Student type selection cards */
a.edu-student-type-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
}
a.edu-student-type-card .card {
  height: 100%;
  margin-bottom: 0;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.edu-student-type-card:hover .card {
  border-color: #d8c5c8;
  transform: translateY(-1px);
}
.edu-student-type-card__media {
  height: 180px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.edu-student-type-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}
.edu-student-type-card__note {
  display: inline;
  font-weight: 500;
  color: #777;
  font-size: 0.9em;
}
.edu-student-type-card .card-body {
  padding: 14px 16px !important;
}

/* Student detail tabs - clear section navigation */
.student-tab-box .edu-section-switch {
  display: none !important;
}

.student-tab-box .top-main-nav.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0 !important;
  border-bottom: 1px solid #ececec !important;
  padding: 0 0 12px !important;
  margin-bottom: 18px !important;
  background: transparent !important;
}
.student-tab-box .top-main-nav > .nav-item {
  width: auto !important;
  flex: 0 0 auto;
  margin: 0 !important;
  background: transparent !important;
  text-align: center;
}
.student-tab-box .top-main-nav .nav-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #555 !important;
  padding: 9px 16px !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}
.student-tab-box .top-main-nav .nav-link:hover {
  color: var(--primary) !important;
  border-color: #c9a4a9 !important;
  background: #faf7f8 !important;
}
.student-tab-box .top-main-nav .nav-link.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(106, 6, 17, 0.2) !important;
}

@media (max-width: 767.98px) {
  .student-tab-box {
    margin-left: 0;
    margin-right: 0;
  }

  /* Solid section menu — 2 per row to save space */
  .student-tab-box .top-main-nav.nav-tabs {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap !important;
    gap: 8px;
    overflow: visible;
    border: 1px solid #e6e6e6 !important;
    border-radius: 12px !important;
    background: #f4f4f4 !important;
    padding: 12px !important;
    margin-bottom: 16px !important;
  }
  .student-tab-box .top-main-nav.nav-tabs::before {
    content: "Browse sections";
    display: block;
    flex: 0 0 100%;
    width: 100%;
    margin: 0 0 2px;
    padding: 0 2px 8px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #777;
  }
  .student-tab-box .top-main-nav > .nav-item {
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    flex: 0 0 calc(50% - 4px) !important;
  }
  .student-tab-box .top-main-nav .nav-link {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #222 !important;
    padding: 11px 8px !important;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    min-height: 44px;
    line-height: 1.25 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }
  .student-tab-box .top-main-nav .nav-link::after {
    display: none;
  }
  .student-tab-box .top-main-nav .nav-link:hover {
    border-color: #c9a4a9 !important;
    color: var(--primary) !important;
  }
  .student-tab-box .top-main-nav .nav-link.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(106, 6, 17, 0.22) !important;
  }
  .student-tab-box .tab-content {
    padding-top: 2px;
  }
  .student-tab-box .tab-content::before {
    content: "Selected section";
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #777;
  }
  .student-tab-box .tab-pane {
    border: 0 !important;
    box-shadow: none !important;
  }
  .student-tab-box .info p {
    flex-wrap: wrap;
  }
  .student-tab-box .info p b.text-dark {
    width: 42% !important;
    min-width: 110px;
  }
}
@media (max-width: 767.98px) {
  .edu-student-type-row {
    --bs-gutter-x: 10px !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
  }
  .edu-student-type-row > [class*="col-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  .edu-student-type-card__media {
    height: 110px;
  }
  .edu-student-type-card__title {
    font-size: 0.85rem;
  }
  .edu-student-type-card .card-body {
    padding: 10px 10px !important;
  }
}

/* Brand logo sizing — hard caps so crest never blows out header */
.nav-header .brand-logo img,
.nav-header .brand-title img {
  max-width: 70px !important;
  width: auto !important;
  height: auto !important;
  max-height: 70px !important;
  object-fit: contain !important;
}
.nav-header .brand-title img {
  width: 70px !important;
}
.nav-header .brand-logo img.logo-abbr,
.nav-header img.logo-abbr {
  display: none;
  width: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  height: auto !important;
  object-fit: contain !important;
}
[data-sidebar-style="mini"] .nav-header .brand-logo img.logo-abbr,
[data-sidebar-style="overlay"] .nav-header .brand-logo img.logo-abbr,
.menu-toggle .nav-header .brand-logo img.logo-abbr,
[data-sidebar-style="mini"] .nav-header img.logo-abbr,
[data-sidebar-style="overlay"] .nav-header img.logo-abbr,
.menu-toggle .nav-header img.logo-abbr {
  display: block !important;
}
.nav-header .brand-logo {
  overflow: hidden;
}

.card-header.mobile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.card-header.mobile-card-header .float-right {
  float: none !important;
}
.card-header.mobile-card-header .card-title {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Flat list page (no card chrome) */
.edu-list-page {
  width: 100%;
}
.edu-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.edu-list-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* ===== Modern DataTables UX ===== */
.edu-table-wrap {
  width: 100%;
  overflow: visible;
}
.edu-table-wrap .dataTables_wrapper {
  min-width: 100%;
}
.edu-table-wrap .dataTables_scroll {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
/* Kill DataTables scrollX duplicate/collapsed header if present */
.edu-table-wrap .dataTables_scrollBody > table > thead,
.edu-table-wrap .dataTables_scrollBody thead {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}
.edu-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
}
table.edu-data-table {
  background: #fff;
  margin-bottom: 0 !important;
}

.edu-dt-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.edu-dt-left,
.edu-dt-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.edu-dt-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 8px;
}

.dataTables_wrapper .edu-dt-toolbar .dataTables_length,
.dataTables_wrapper .edu-dt-toolbar .dataTables_filter,
.dataTables_wrapper .edu-dt-toolbar .dt-buttons {
  float: none !important;
  margin: 0 !important;
  text-align: left !important;
}
.dataTables_wrapper .edu-dt-toolbar .dataTables_length label,
.dataTables_wrapper .edu-dt-toolbar .dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  color: #666;
}
.dataTables_wrapper .edu-dt-toolbar .dataTables_length select {
  min-width: 72px;
  height: 38px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  padding: 0 8px;
}
.dataTables_wrapper .edu-dt-toolbar .dataTables_filter input {
  height: 38px;
  min-width: 220px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 0 12px;
  margin-left: 0 !important;
  background: #fff;
}
.dataTables_wrapper .edu-dt-toolbar .dataTables_filter input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 6, 17, 0.08);
}
.dataTables_wrapper .edu-dt-toolbar .dt-buttons .btn,
.dataTables_wrapper .edu-dt-toolbar .dt-button {
  border-radius: 8px !important;
  padding: 7px 12px !important;
  margin: 0 4px 0 0 !important;
  border: 1px solid #e2e2e2 !important;
  background: #fff !important;
  color: #444 !important;
  font-size: 12px !important;
  box-shadow: none !important;
}
.dataTables_wrapper .edu-dt-toolbar .dt-buttons .btn:hover,
.dataTables_wrapper .edu-dt-toolbar .dt-button:hover {
  background: #f7f7f7 !important;
  color: var(--primary) !important;
  border-color: #d8d8d8 !important;
}

table.edu-data-table,
.edu-table-wrap table,
.dataTables_scrollBody table.edu-data-table {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
table.edu-data-table thead th,
.edu-table-wrap .table thead th,
.dataTables_scrollHead table thead th {
  background: var(--primary) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
  border-bottom: 1px solid var(--primary) !important;
  border-top: none !important;
  padding: 6px 20px 6px 8px !important;
  white-space: nowrap;
  vertical-align: middle !important;
  position: relative;
}
table.edu-data-table thead th.sorting,
table.edu-data-table thead th.sorting_asc,
table.edu-data-table thead th.sorting_desc,
table.edu-data-table thead th.sorting_asc_disabled,
table.edu-data-table thead th.sorting_desc_disabled,
.dataTables_scrollHead table thead th.sorting,
.dataTables_scrollHead table thead th.sorting_asc,
.dataTables_scrollHead table thead th.sorting_desc {
  cursor: pointer;
  background-image: none !important;
  background-color: var(--primary) !important;
  color: #ffffff !important;
}
/* Hide default DataTables sort image icons */
table.edu-data-table thead th.sorting,
table.edu-data-table thead th.sorting_asc,
table.edu-data-table thead th.sorting_desc,
.dataTables_scrollHead table thead th.sorting,
.dataTables_scrollHead table thead th.sorting_asc,
.dataTables_scrollHead table thead th.sorting_desc {
  background-image: none !important;
}
table.edu-data-table thead th.sorting:before,
table.edu-data-table thead th.sorting_asc:before,
table.edu-data-table thead th.sorting_desc:before,
.dataTables_scrollHead table thead th.sorting:before,
.dataTables_scrollHead table thead th.sorting_asc:before,
.dataTables_scrollHead table thead th.sorting_desc:before {
  content: none !important;
  display: none !important;
}
table.edu-data-table thead th.sorting:after,
table.edu-data-table thead th.sorting_asc:after,
table.edu-data-table thead th.sorting_desc:after,
.dataTables_scrollHead table thead th.sorting:after,
.dataTables_scrollHead table thead th.sorting_asc:after,
.dataTables_scrollHead table thead th.sorting_desc:after {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 9px !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
table.edu-data-table thead th.sorting:after,
.dataTables_scrollHead table thead th.sorting:after {
  content: "\2195" !important; /* ↕ */
  opacity: 0.75 !important;
}
table.edu-data-table thead th.sorting_asc:after,
.dataTables_scrollHead table thead th.sorting_asc:after {
  content: "\25B2" !important; /* ▲ */
  opacity: 1 !important;
}
table.edu-data-table thead th.sorting_desc:after,
.dataTables_scrollHead table thead th.sorting_desc:after {
  content: "\25BC" !important; /* ▼ */
  opacity: 1 !important;
}
table.edu-data-table thead th.edu-actions-col,
.dataTables_scrollHead table thead th.edu-actions-col {
  padding-right: 8px !important;
  cursor: default;
}
table.edu-data-table thead th.edu-actions-col:after,
.dataTables_scrollHead table thead th.edu-actions-col:after {
  content: none !important;
  display: none !important;
}
table.edu-data-table tbody td,
.edu-table-wrap .table tbody td {
  font-size: 11px !important;
  line-height: 1.35 !important;
  color: #444 !important;
  padding: 4px 8px !important;
  border-color: #f0f0f0 !important;
  vertical-align: middle !important;
  white-space: nowrap;
}
table.edu-data-table tbody tr > * {
  background-color: #ffffff !important;
}
table.edu-data-table tbody tr:nth-child(even) > *,
table.edu-data-table.table-striped > tbody > tr:nth-of-type(even) > * {
  background-color: #fafafa !important;
}
table.edu-data-table tbody tr:hover > * {
  background-color: #f5f5f5 !important;
}
table.edu-data-table th.edu-col-dob,
table.edu-data-table td.edu-col-dob {
  width: 1%;
  white-space: nowrap !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}
table.edu-data-table th.edu-col-registered,
table.edu-data-table td.edu-col-registered {
  width: 1%;
  white-space: nowrap !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
  vertical-align: middle;
}
.edu-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  color: #5c3d42;
  background: #f7eef0;
  border: 1px solid #edd8dd;
}
.edu-date-badge i {
  font-size: 8px;
  opacity: 0.75;
}
.edu-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  padding: 1px 5px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
}
.edu-status-badge i {
  font-size: 6px;
}
.edu-status-badge--pending {
  color: #8a6d1d;
  background: #fff8e1;
  border-color: #f0e0a8;
}
.edu-status-badge--conditional {
  color: #1f5f8b;
  background: #e8f4fc;
  border-color: #c5dff0;
}
.edu-status-badge--success {
  color: #1f6b3a;
  background: #e8f7ee;
  border-color: #c5e6d1;
}
.edu-status-badge--danger {
  color: #9b2c2c;
  background: #fdecec;
  border-color: #f0c9c9;
}
.edu-status-badge--muted {
  color: #6b6b6b;
  background: #f3f3f3;
  border-color: #e4e4e4;
}
table.edu-data-table .table-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 3px;
  align-items: center;
}
table.edu-data-table .table-actions .btn-action {
  min-width: 26px;
  min-height: 26px;
  width: 26px;
  height: 26px;
  padding: 0 !important;
  border-radius: 5px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  font-size: 10px;
}
table.edu-data-table .table-actions .btn {
  box-shadow: none !important;
}

/* Application Actions dropdown */
.edu-action-menu {
  display: inline-flex;
  align-items: center;
  position: static;
}
.edu-action-menu .btn-actions {
  min-height: 28px;
  padding: 5px 14px;
  border-radius: 50rem !important;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--primary) !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  line-height: 1.2;
  white-space: nowrap;
}
.edu-action-menu .btn-actions:hover,
.edu-action-menu .btn-actions:focus,
.edu-action-menu .btn-actions:focus-visible,
.edu-action-menu .btn-actions.show,
.edu-action-menu .btn-actions:active,
.edu-action-menu.show .btn-actions {
  background: #55050e !important;
  border-color: #55050e !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.edu-action-menu .btn-actions::after {
  margin-left: 6px;
  vertical-align: 0.1em;
  border-top-color: #ffffff;
}
.edu-action-menu .dropdown-menu,
.dropdown-menu.edu-action-menu-open {
  min-width: 180px;
  border: 1px solid #ececec;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  padding: 6px;
  z-index: 3000 !important;
}
.dropdown-menu.edu-action-menu-open .dropdown-item,
.edu-action-menu .dropdown-item {
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}
.dropdown-menu.edu-action-menu-open .dropdown-item i,
.edu-action-menu .dropdown-item i {
  width: 16px;
  text-align: center;
  color: #777;
}
.dropdown-menu.edu-action-menu-open .dropdown-item:hover,
.edu-action-menu .dropdown-item:hover {
  background: #f7f2f3;
  color: var(--primary);
}
.dropdown-menu.edu-action-menu-open .dropdown-item:hover i,
.edu-action-menu .dropdown-item:hover i {
  color: var(--primary);
}
.dropdown-menu.edu-action-menu-open .dropdown-item.text-danger,
.dropdown-menu.edu-action-menu-open .dropdown-item.text-danger i,
.edu-action-menu .dropdown-item.text-danger,
.edu-action-menu .dropdown-item.text-danger i {
  color: #c0392b !important;
}
.dropdown-menu.edu-action-menu-open .dropdown-item.text-danger:hover,
.edu-action-menu .dropdown-item.text-danger:hover {
  background: #fff1f0;
}

.dataTables_wrapper .dataTables_info {
  padding-top: 0 !important;
  color: #777;
  font-size: 13px;
}
.dataTables_wrapper .dataTables_paginate {
  padding-top: 0 !important;
  background: transparent !important;
}
.dataTables_wrapper .paging_simple_numbers.dataTables_paginate {
  background: transparent !important;
  padding: 0 !important;
}

/* Theme uses span .paginate_button.current { color: primary } which hides text on primary bg */
.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate span .paginate_button {
  border-radius: 8px !important;
  border: 1px solid #ebebeb !important;
  min-width: 36px !important;
  width: auto !important;
  height: 36px !important;
  line-height: 34px !important;
  margin: 0 3px !important;
  padding: 0 10px !important;
  background: #fff !important;
  color: #444 !important;
  box-sizing: border-box;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.previous,
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
  width: 36px !important;
  color: #444 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current:hover:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: none !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate span .paginate_button:hover {
  background: #f7f2f3 !important;
  color: var(--primary) !important;
  border-color: #e4d5d7 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate span .paginate_button.current:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled {
  opacity: 0.4 !important;
  background: #fff !important;
  color: #999 !important;
  cursor: default !important;
}

/* Action column: scroll with table on mobile (not sticky) */
table.edu-data-table th.edu-actions-col,
table.edu-data-table td.edu-actions-col {
  white-space: nowrap;
}
table.edu-data-table th.edu-col-email,
table.edu-data-table td.edu-col-email {
  white-space: nowrap !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

@media (min-width: 992px) {
  .edu-table-wrap {
    overflow-x: auto;
  }
  table.edu-data-table {
    table-layout: auto;
    width: 100% !important;
  }
  table.edu-data-table td,
  table.edu-data-table th {
    white-space: nowrap;
  }
  table.edu-data-table .edu-col-dob {
    width: 1% !important;
  }
  table.edu-data-table .edu-col-email,
  table.edu-data-table .edu-actions-col {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

/* Hide empty/legacy second header rows if any remain */
table.edu-data-table thead tr.filters,
table.edu-data-table thead tr.filters0,
table.edu-data-table thead tr.filters1,
table.edu-data-table thead tr.filters3 {
  display: none !important;
}

@media (max-width: 767.98px) {
  .nav-header .brand-logo img.logo-abbr,
  .nav-header img.logo-abbr {
    display: block !important;
    width: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    height: auto !important;
  }
  .nav-header .brand-title {
    display: none !important;
  }

  /* Clear fixed header (theme root font-size is 14px → 5rem = 70px) with a small gap */
  [data-header-position="fixed"] .content-body,
  .content-body {
    padding-top: calc(5rem + 6px) !important;
  }
  .content-body .container-fluid {
    padding-top: 0.35rem !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow-x: hidden;
  }

  /*
   * Stacking must keep .nav-header ABOVE .header.
   * Hamburger sits outside nav-header (right: -3rem) over the header area;
   * equal z-index lets .header cover logo + hamburger.
   */
  .header {
    z-index: 20 !important;
  }
  .nav-header {
    z-index: 30 !important;
    overflow: visible !important;
  }
  .nav-header .nav-control {
    z-index: 31 !important;
    display: block !important;
  }
  .nav-header .hamburger,
  .nav-header .hamburger .line {
    display: block !important;
    visibility: visible !important;
  }
  .nav-header .logo-abbr {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .dlabnav {
    z-index: 25 !important;
  }

  /*
   * Theme sets .row { --bs-gutter-x: 30px }, which creates a large middle gap
   * between col-6 cards and a ~5px left overhang vs container padding.
   * Force matched gutters on the dashboard.
   */
  .edu-dashboard-top {
    margin-top: 0 !important;
  }
  .edu-dashboard-top,
  .edu-dashboard-top .row {
    --bs-gutter-x: 12px !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  .edu-dashboard-top .row > [class*="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .breaking-news {
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    z-index: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* Metric cards: slightly tighter gap between the pair */
  .edu-dashboard-top .edu-dash-cards,
  .edu-dashboard-top .row.edu-dash-cards,
  .row.edu-dash-cards {
    --bs-gutter-x: 8px !important;
    margin-left: -4px !important;
    margin-right: -4px !important;
  }
  .edu-dashboard-top .edu-dash-cards > [class*="col-"],
  .edu-dashboard-top .col-6.col-md-3,
  .row.edu-dash-cards > [class*="col-"],
  .row.edu-dash-cards > .col-6 {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .edu-dashboard-top .edu-dash-cards .card,
  .edu-dashboard-top .col-6 .card {
    margin-bottom: 8px;
  }
  .edu-stat-card {
    margin-bottom: 8px;
  }
  .edu-stat-card__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 14px;
  }
  .edu-stat-card__value {
    font-size: 1.2rem;
  }
  .edu-stat-card__label {
    font-size: 11px;
  }

  /* Charts/status: full width, matched side padding */
  .edu-dashboard-top .edu-dash-charts,
  .edu-dashboard-top .row.edu-dash-charts,
  .row.edu-dash-charts {
    --bs-gutter-x: 12px !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  .edu-dash-charts > [class*="col-"],
  .edu-dash-charts .col-sm-6,
  .edu-dash-charts .col-xl-6,
  .edu-dash-charts .col-xl-8,
  .edu-dash-charts .col-xl-4,
  .edu-dash-charts .col-lg-4,
  .edu-dash-charts .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .edu-dash-charts .card {
    width: 100%;
    max-width: 100%;
  }
  .edu-dash-charts .chartBar,
  .edu-dash-charts #chartBar,
  .edu-dash-charts #emailchart,
  .edu-dash-charts #ApplicationByStatus {
    max-width: 100%;
  }

  .d-icon {
    font-size: 22px !important;
  }
  .card .card-body.px-4 {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .card .fs-18 {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }
  .card .d-flex.align-items-end span {
    font-size: 11px;
    line-height: 1.2;
    max-width: 70%;
  }
  .card .d-flex.align-items-end h4 {
    font-size: 16px !important;
  }

  .header .dashboard_bar {
    display: none !important;
  }

  /* Notification + profile: tighter gap, vertically centered */
  .header-right {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    gap: 10px;
  }
  .header-right > li {
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 0 !important;
    margin: 0 !important;
  }
  .header-right > li:not(:first-child) {
    padding-left: 0 !important;
  }
  .header-right .notification_dropdown .nav-link,
  .header-right .header-profile > a.nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 4px !important;
    line-height: 1 !important;
    height: 36px;
    width: 36px;
  }
  .header-right .notification_dropdown .nav-link svg {
    width: 22px !important;
    height: 22px !important;
  }
  .header-right .header-profile img,
  .header-profile img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover;
  }
  .header-right .notification_dropdown .nav-link .badge {
    right: -2px !important;
    top: -2px !important;
    height: 16px !important;
    width: 16px !important;
    line-height: 16px !important;
    font-size: 9px !important;
    padding: 0 !important;
  }

  .edu-dt-toolbar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .edu-dt-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .edu-dt-info,
  .edu-dt-pager,
  .dataTables_wrapper .edu-dt-footer .dataTables_info,
  .dataTables_wrapper .edu-dt-footer .dataTables_paginate {
    width: 100%;
    float: none !important;
    text-align: center !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .dataTables_wrapper .edu-dt-footer .dataTables_paginate {
    margin: 0 auto !important;
  }
  .edu-dt-left,
  .edu-dt-right {
    width: auto;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .edu-dt-left {
    flex: 0 0 auto;
  }
  .edu-dt-right {
    flex: 1 1 auto;
    justify-content: flex-end;
  }
  .dataTables_wrapper .edu-dt-toolbar .dataTables_length label {
    gap: 0;
    font-size: 0; /* hide "Show … entries", keep select */
  }
  .dataTables_wrapper .edu-dt-toolbar .dataTables_length select {
    min-width: 56px;
    height: 34px;
    padding: 0 4px;
    font-size: 13px;
  }
  .dataTables_wrapper .edu-dt-toolbar .dataTables_filter,
  .dataTables_wrapper .edu-dt-toolbar .dataTables_filter label {
    width: 100%;
    min-width: 0;
  }
  .dataTables_wrapper .edu-dt-toolbar .dataTables_filter label {
    justify-content: flex-end;
    font-size: 0; /* hide "Search:" text, keep input visible */
  }
  .dataTables_wrapper .edu-dt-toolbar .dataTables_filter input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none;
    height: 34px;
    font-size: 13px;
  }
  .edu-table-wrap .dataTables_scroll {
    border-radius: 8px;
  }
  .dataTables_wrapper .dataTables_paginate .paginate_button,
  .dataTables_wrapper .dataTables_paginate span .paginate_button {
    min-width: 34px !important;
    height: 34px !important;
    line-height: 32px !important;
    font-size: 12px !important;
  }
  .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
  .dataTables_wrapper .dataTables_paginate .paginate_button.next {
    width: auto !important;
    min-width: 52px !important;
    padding: 0 10px !important;
  }
  table.edu-data-table thead th,
  table.edu-data-table tbody td {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }
  table.edu-data-table tbody td {
    white-space: nowrap;
  }
  table.edu-data-table .table-actions .btn-action {
    min-width: 28px;
    min-height: 28px;
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .edu-dt-toolbar .dt-buttons {
    display: none;
  }

  #DZ_W_Notification1 {
    height: 260px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .nav-header .logo-abbr {
    display: block !important;
  }
}