/**
* Template Name: NiceAdmin
* Updated: Jan 29 2024 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;
}

[data-bs-theme="dark"] body {
  background: #1e2024;
  color: #f5f5f5;
}

[data-bs-theme="ieu-dark"] body {
  background: #1a1a1a;
  color: #e9ecef;
}

a {
  color: #4154f1;
  text-decoration: none;
}

[data-bs-theme="dark"] a {
  color: #6ea8fe;
}

[data-bs-theme="ieu-dark"] a {
  color: #ff8534;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

[data-bs-theme="dark"] a:hover {
  color: #8bb9fe;
}

[data-bs-theme="ieu-dark"] a:hover {
  color: #ff9a57;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
  color: #e9ecef;
}

[data-bs-theme="ieu-dark"] h1,
[data-bs-theme="ieu-dark"] h2,
[data-bs-theme="ieu-dark"] h3,
[data-bs-theme="ieu-dark"] h4,
[data-bs-theme="ieu-dark"] h5,
[data-bs-theme="ieu-dark"] h6 {
  color: #f5f5f5;
}

[data-bs-theme="ieu-dark"].datatable-pagination .datatable-active a,
[data-bs-theme="ieu-dark"].datatable-pagination .datatable-active a:focus,
[data-bs-theme="ieu-dark"].datatable-pagination .datatable-active a:hover,
[data-bs-theme="ieu-dark"].datatable-pagination .datatable-active button,
[data-bs-theme="ieu-dark"].datatable-pagination .datatable-active button:focus,
[data-bs-theme="ieu-dark"].datatable-pagination .datatable-active button:hover {
	cursor: default !important;
	color: #ff6a00 !important;
	background-color: #2a2a2a !important;
}

[data-bs-theme="dark"].datatable-pagination .datatable-active a,
[data-bs-theme="dark"].datatable-pagination .datatable-active a:focus,
[data-bs-theme="dark"].datatable-pagination .datatable-active a:hover,
[data-bs-theme="dark"].datatable-pagination .datatable-active button,
[data-bs-theme="dark"].datatable-pagination .datatable-active button:focus,
[data-bs-theme="dark"].datatable-pagination .datatable-active button:hover {
	cursor: default !important;
	color: #ff6a00 !important;
	background-color: #2a2a2a !important;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

[data-bs-theme="dark"] .pagetitle h1 {
  color: #f8f9fa;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

[data-bs-theme="dark"] .back-to-top {
  background: #6ea8fe;
}

[data-bs-theme="dark"] .back-to-top:hover {
  background: #8bb9fe;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

[data-bs-theme="dark"] .dropdown-menu {
  background-color: #343a40;
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.3);
}

[data-bs-theme="ieu-dark"] .dropdown-menu {
  background-color: #262626;
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.3);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

[data-bs-theme="ieu-dark"] .dropdown-menu .dropdown-divider {
  border-top: 1px solid #343a40;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

[data-bs-theme="dark"] .dropdown-menu .dropdown-item {
  color: #e9ecef;
}

[data-bs-theme="ieu-dark"] .dropdown-menu .dropdown-item {
  color: #e9ecef;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

[data-bs-theme="dark"] .dropdown-menu .dropdown-item:hover {
  background-color: #495057;
  color: #fff;
}

[data-bs-theme="ieu-dark"] .dropdown-menu .dropdown-item:hover {
  background-color: #343a40;
  color: #ff6a00;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
  
  [data-bs-theme="dark"] .dropdown-menu-arrow::before {
    background: #343a40;
    border-top: 1px solid #495057;
    border-left: 1px solid #495057;
  }

  [data-bs-theme="ieu-dark"] .dropdown-menu-arrow::before {
    background: #262626;
    border-top: 1px solid #343a40;
    border-left: 1px solid #343a40;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

[data-bs-theme="dark"] .card {
  background-color: #212529;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.2);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

[data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .card-footer {
  background-color: #212529;
  border-color: #495057;
  color: #e9ecef;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  font-family: "Poppins", sans-serif;
}

[data-bs-theme="dark"] .card-title {
  color: #e9ecef;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

[data-bs-theme="dark"] .card-title span {
  color: #adb5bd;
}

.card-body {
  padding: 0 20px 20px 20px;
}

[data-bs-theme="dark"] .card-body {
  color: #e9ecef;
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

[data-bs-theme="ieu-dark"] .accordion-item {
  background-color: #1e1e1e;
}

[data-bs-theme="dark"] .accordion-item {
  background-color: #212529;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

[data-bs-theme="ieu-dark"] .accordion-button:not(.collapsed) {
  color: #ff6a00;
  background-color: #262626;
}

[data-bs-theme="dark"] .accordion-button {
  background-color: #212529;
  color: #e9ecef;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  color: #6ea8fe;
  background-color: #343a40;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

[data-bs-theme="ieu-dark"] .accordion-flush .accordion-button:not(.collapsed) {
  color: #ff6a00;
}

[data-bs-theme="dark"] .accordion-flush .accordion-button:not(.collapsed) {
  color: #6ea8fe;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

[data-bs-theme="ieu-dark"] .accordion-flush .accordion-body {
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .accordion-flush .accordion-body {
  color: #adb5bd;
}

[data-bs-theme="dark"] .accordion-flush .accordion-body {
  color: var(--bs-accordion-color);
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

[data-bs-theme="dark"] .breadcrumb {
  color: #adb5bd;
}

[data-bs-theme="dark"] .breadcrumb a {
  color: #6ea8fe;
}

[data-bs-theme="dark"] .breadcrumb a:hover {
  color: #8bb9fe;
}

[data-bs-theme="dark"] .breadcrumb .breadcrumb-item::before {
  color: #6c757d;
}

[data-bs-theme="dark"] .breadcrumb .active {
  color: #e9ecef;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

[data-bs-theme="dark"] .nav-tabs-bordered {
  border-bottom: 2px solid #495057;
}

[data-bs-theme="dark"] .nav-tabs-bordered .nav-link {
  color: #e9ecef;
}

[data-bs-theme="dark"] .nav-tabs-bordered .nav-link:hover,
[data-bs-theme="dark"] .nav-tabs-bordered .nav-link:focus {
  color: #6ea8fe;
}

[data-bs-theme="dark"] .nav-tabs-bordered .nav-link.active {
  background-color: #212529;
  color: #6ea8fe;
  border-bottom: 2px solid #6ea8fe;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}


  .logo {
    width: 180px;

}

.logo img {
  max-height: 30px;
  margin-right: 6px;
}

.loginlogo img{
  width:200px;
  max-height: 100px;

}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #012970;
  font-family: "Nunito", sans-serif;
}

[data-bs-theme="ieu-dark"] .logo span {
  color: #ff8534;
}

[data-bs-theme="dark"] .logo span {
  color: #6ea8fe;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

[data-bs-theme="dark"] .header {
  background-color: #212529;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="ieu-dark"] .header {
  background-color: #121212;
  box-shadow: 0px 1px 0px #ff6a00;
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}

[data-bs-theme="ieu-dark"] .header .toggle-sidebar-btn {
  color: #ff6a00;
}

[data-bs-theme="dark"] .header .toggle-sidebar-btn {
  color: #6ea8fe;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

[data-bs-theme="ieu-dark"] .header .search-form input {
  background-color: #262626;
  border: 1px solid rgba(255, 106, 0, 0.2);
  color: #e9ecef;
}

[data-bs-theme="dark"] .header .search-form input {
  background-color: #343a40;
  border: 1px solid rgba(110, 168, 254, 0.2);
  color: #e9ecef;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

[data-bs-theme="ieu-dark"] .header .search-form input:focus,
[data-bs-theme="ieu-dark"] .header .search-form input:hover {
  box-shadow: 0 0 10px 0 rgba(255, 106, 0, 0.25);
  border: 1px solid rgba(255, 106, 0, 0.4);
}

[data-bs-theme="dark"] .header .search-form input:focus,
[data-bs-theme="dark"] .header .search-form input:hover {
  box-shadow: 0 0 10px 0 rgba(110, 168, 254, 0.25);
  border: 1px solid rgba(110, 168, 254, 0.4);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #012970;
}

[data-bs-theme="ieu-dark"] .header .search-form button i {
  color: #ff8534;
}

[data-bs-theme="dark"] .header .search-form button i {
  color: #6ea8fe;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

[data-bs-theme="ieu-dark"] .header-nav .nav-icon {
  color: #ff8534;
}

[data-bs-theme="dark"] .header-nav .nav-icon {
  color: #6ea8fe;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

[data-bs-theme="ieu-dark"] .header-nav .badge-number {
  background-color: #ff6a00;
}

[data-bs-theme="dark"] .header-nav .badge-number {
  background-color: #6ea8fe;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

[data-bs-theme="ieu-dark"] .header-nav .notifications .notification-item h4 {
  color: #e9ecef;
}

[data-bs-theme="dark"] .header-nav .notifications .notification-item h4 {
  color: #e9ecef;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

[data-bs-theme="ieu-dark"] .header-nav .notifications .notification-item p {
  color: #adb5bd;
}

[data-bs-theme="dark"] .header-nav .notifications .notification-item p {
  color: #adb5bd;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

[data-bs-theme="ieu-dark"] .header-nav .notifications .notification-item:hover {
  background-color: #343a40;
}

[data-bs-theme="dark"] .header-nav .notifications .notification-item:hover {
  background-color: #343a40;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

[data-bs-theme="ieu-dark"] .header-nav .messages .message-item h4 {
  color: #e9ecef;
}

[data-bs-theme="dark"] .header-nav .messages .message-item h4 {
  color: #e9ecef;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

[data-bs-theme="ieu-dark"] .header-nav .messages .message-item p {
  color: #adb5bd;
}

[data-bs-theme="dark"] .header-nav .messages .message-item p {
  color: #adb5bd;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

[data-bs-theme="ieu-dark"] .header-nav .messages .message-item:hover {
  background-color: #343a40;
}

[data-bs-theme="dark"] .header-nav .messages .message-item:hover {
  background-color: #343a40;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

[data-bs-theme="ieu-dark"] .header-nav .profile .dropdown-header h6 {
  color: #e9ecef;
}

[data-bs-theme="dark"] .header-nav .profile .dropdown-header h6 {
  color: #e9ecef;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

[data-bs-theme="dark"] .header-nav .profile .dropdown-item:hover {
    background-color:#495057;
}
/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 250px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 20px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #4154f1;
  transition: all 0.3s ease, transform 0.2s ease;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
  border-left: 3px solid #4154f1;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10%;
  color: #4154f1;
  margin-bottom:4%;
}

[data-bs-theme="dark"] .sidebar .nav-link i {
    color: #6ea8fe;
}

.sidebar-nav .nav-link.collapsed {
  color: black;
  background: #fff;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}

.sidebar-nav .nav-link:hover {
  color: #4154f1;
  background: #f6f9ff;
  transform: translateX(3px);
}

.sidebar-nav .nav-link:hover i {
  color: #4154f1;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link:hover i {
    color: #6ea8fe;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 5px 5px 10px;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #012970;
  transition: all 0.3s ease, transform 0.2s ease;
  padding: 8px 15px;
  margin: 4px 0;
  border-radius: 6px;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-content a i {
  font-size: 15px;
  margin-right: 10px;
  line-height: 0;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #4154f1;
  background-color: #f0f3ff;
  transform: translateX(3px); /* Add rightward shift on hover */
}

.sidebar-nav .nav-content a.active {
  border-left: 3px solid #4154f1;
}

.sidebar-nav .nav-content a:hover:not(.active) {
  border-left: 3px solid rgba(65, 84, 241, 0.5); /* Light theme inactive hover color */
}

/* Dark theme modifications */
[data-bs-theme="dark"] .sidebar-nav .nav-content a:hover,
[data-bs-theme="dark"] .sidebar-nav .nav-content a.active {
  background-color: #2c3034;
  color: #6ea8fe;
  transform: translateX(3px);
}

[data-bs-theme="dark"] .sidebar-nav .nav-content a.active {
  border-left: 3px solid #6ea8fe;
}

[data-bs-theme="dark"] .sidebar-nav .nav-content a:hover:not(.active) {
  border-left: 3px solid rgba(110, 168, 254, 0.5); /* Dark theme inactive hover color */
}

/* IEU Dark theme modifications */
[data-bs-theme="ieu-dark"] .sidebar-nav .nav-content a:hover,
[data-bs-theme="ieu-dark"] .sidebar-nav .nav-content a.active {
  background-color: #2a2a2a;
  color: #ff6a00;
  transform: translateX(3px);
}

[data-bs-theme="ieu-dark"] .sidebar-nav .nav-content a.active {
  border-left: 3px solid #ff6a00;
}

[data-bs-theme="ieu-dark"] .sidebar-nav .nav-content a:hover:not(.active) {
  border-left: 3px solid rgba(255, 106, 0, 0.5); /* IEU Dark theme inactive hover color */
}

/* Nav Link hover and active styles */
.sidebar-nav .nav-link:hover {
  color: #4154f1;
  background: #f6f9ff;
  transform: translateX(3px);
}

.sidebar-nav .nav-link.collapsed:hover {
  border-left: 3px solid rgba(65, 84, 241, 0.3);
}

.sidebar-nav .nav-link.active {
  border-left: 3px solid #4154f1;
}

/* Dark theme nav link styles */
[data-bs-theme="dark"] .sidebar-nav .nav-link:hover {
  color: #6ea8fe;
  background-color: #2c3034;
  transform: translateX(3px);
}

[data-bs-theme="dark"] .sidebar-nav .nav-link.collapsed:hover {
  border-left: 3px solid rgba(110, 168, 254, 0.3);
}

[data-bs-theme="dark"] .sidebar-nav .nav-link.active {
  border-left: 3px solid #6ea8fe;
}

/* IEU Dark theme nav link styles */
[data-bs-theme="ieu-dark"] .sidebar-nav .nav-link:hover {
  color: #ff6a00;
  background-color: #2a2a2a;
  transform: translateX(3px);
}

[data-bs-theme="ieu-dark"] .sidebar-nav .nav-link.collapsed:hover {
  border-left: 3px solid rgba(255, 106, 0, 0.3);
}

[data-bs-theme="ieu-dark"] .sidebar-nav .nav-link.active {
  border-left: 3px solid #ff6a00;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

[data-bs-theme="ieu-dark"] .dashboard .filter .icon {
  color: #adb5bd;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

[data-bs-theme="ieu-dark"] .dashboard .filter .icon:hover,
[data-bs-theme="ieu-dark"] .dashboard .filter .icon:focus {
  color: #ff6a00;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

[data-bs-theme="ieu-dark"] .dashboard .filter .dropdown-header h6 {
  color: #ff6a00;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

[data-bs-theme="dark"] .dashboard .info-card h6 {
  color: #f8f9fa;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}
.dashboard .sales-card2 .card-icon {
    color: #0dcaf0;
    background: #00faae26;
}
.dashboard .sales-card3 .card-icon {
    color: #713045;
    background: #c94e4e4a;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}
.dashboard .revenue-card2 .card-icon {
    color: #ffac09;
    background: #ffc1074f;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}
.dashboard .customers-card2 .card-icon {
    color: #40514e;
    background: #2f89fc57;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

[data-bs-theme="ieu-dark"] .dashboard .activity .activity-item .activite-label {
  color: #adb5bd;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

[data-bs-theme="ieu-dark"] .dashboard .activity .activity-item .activite-label::before {
  background-color: #343a40;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}
[data-bs-theme="dark"] .dashboard .activity .activity-item .activity-badge,
[data-bs-theme="ieu-dark"] .dashboard .activity .activity-item .activity-badge {
  border: 3px solid #1e1e1e;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}

[data-bs-theme="ieu-dark"] .dashboard .news h4 a {
  color: #e9ecef;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

[data-bs-theme="ieu-dark"] .dashboard .news h4 a:hover {
  color: #ff6a00;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

[data-bs-theme="ieu-dark"] .dashboard .news p {
  color: #adb5bd;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

[data-bs-theme="dark"] .dashboard .recent-sales .table thead {
  background: #343a40;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

[data-bs-theme="dark"] .dashboard .top-selling .table thead {
  background: #343a40;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  padding: 15px 0;
}

[data-bs-theme="ieu-dark"] .iconslist .icon {
  background-color: #1a1a1a;
  border-radius: 0.25rem;
  text-align: center;
  color: #ff6a00;
  padding: 15px 0;
}

[data-bs-theme="dark"] .iconslist .icon {
  background-color: rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  text-align: center;
  color: #6ea8fe;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

[data-bs-theme="ieu-dark"] .iconslist .label {
  font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #e9ecef;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

[data-bs-theme="ieu-dark"] .profile .profile-card h2 {
  color: #e9ecef;
}

[data-bs-theme="dark"] .profile .profile-card h2 {
  color: #e9ecef;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

[data-bs-theme="ieu-dark"] .profile .profile-card .social-links a {
  color: rgba(255, 133, 52, 0.5);
}

[data-bs-theme="dark"] .profile .profile-card .social-links a {
  color: rgba(110, 168, 254, 0.5);
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

[data-bs-theme="ieu-dark"] .profile .profile-card .social-links a:hover {
  color: #ff6a00;
}

[data-bs-theme="dark"] .profile .profile-card .social-links a:hover {
  color: #6ea8fe;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

[data-bs-theme="ieu-dark"] .profile .profile-overview .card-title {
  color: #ff6a00;
}

[data-bs-theme="dark"] .profile .profile-overview .card-title {
  color: #6ea8fe;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

[data-bs-theme="ieu-dark"] .profile .profile-overview .label {
  color: #adb5bd;
}

[data-bs-theme="dark"] .profile .profile-overview .label {
  color: #adb5bd;
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

[data-bs-theme="ieu-dark"] .profile .profile-edit label {
  color: #adb5bd;
}

[data-bs-theme="dark"] .profile .profile-edit label {
  color: #adb5bd;
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

[data-bs-theme="ieu-dark"] .faq .basic h6 {
  color: #ff6a00;
}

[data-bs-theme="dark"] .faq .basic h6 {
  color: #6ea8fe;
}

.faq .basic p {
  color: #6980aa;
}

[data-bs-theme="ieu-dark"] .faq .basic p {
  color: #adb5bd;
}

[data-bs-theme="dark"] .faq .basic p {
  color: #adb5bd;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

[data-bs-theme="ieu-dark"] .contact .info-box i {
  color: #ff6a00;
}

[data-bs-theme="dark"] .contact .info-box i {
  color: #6ea8fe;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

[data-bs-theme="ieu-dark"] .contact .info-box h3 {
  color: #e9ecef;
}

[data-bs-theme="dark"] .contact .info-box h3 {
  color: #e9ecef;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

[data-bs-theme="ieu-dark"] .contact .php-email-form button[type=submit] {
  background: #ff6a00;
}

[data-bs-theme="dark"] .contact .php-email-form button[type=submit] {
  background: #6ea8fe;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

[data-bs-theme="ieu-dark"] .contact .php-email-form button[type=submit]:hover {
  background: #e05e00;
}

[data-bs-theme="dark"] .contact .php-email-form button[type=submit]:hover {
  background: #8bb9fe;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

[data-bs-theme="ieu-dark"] .error-404 h1 {
  color: #ff6a00;
}

[data-bs-theme="dark"] .error-404 h1 {
  color: #6ea8fe;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 30px;
}

[data-bs-theme="ieu-dark"] .error-404 h2 {
  color: #e9ecef;
}

[data-bs-theme="dark"] .error-404 h2 {
  color: #e9ecef;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

[data-bs-theme="ieu-dark"] .error-404 .btn {
  background: #ff6a00;
  color: #fff;
}

[data-bs-theme="dark"] .error-404 .btn {
  background: #495057;
  color: #fff;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

[data-bs-theme="ieu-dark"] .error-404 .btn:hover {
  background: #e05e00;
}

[data-bs-theme="dark"] .error-404 .btn:hover {
  background: #6c757d;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

[data-bs-theme="ieu-dark"] .footer {
  border-top: 1px solid #343a40;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

[data-bs-theme="ieu-dark"] .footer .copyright {
  color: #e9ecef;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}

[data-bs-theme="ieu-dark"] .footer .credits {
  color: #e9ecef;
}

/* Overrides for main panel */
[data-bs-theme="dark"] .main-panel {
  background-color: #1e2024;
  color: #e9ecef;
}

[data-bs-theme="ieu-dark"] .main-panel {
  background-color: #1a1a1a;
  color: #e9ecef;
}

[data-bs-theme="dark"] .content-wrapper {
  background-color: #1e2024;
}



[data-bs-theme="dark"] .table {
  color: #e9ecef;
}

[data-bs-theme="dark"] .table thead th {
  border-color: #495057;
}

[data-bs-theme="dark"] .form-control {
  background-color: #343a40;
  border-color: #495057;
  color: #e9ecef;
}

[data-bs-theme="dark"] .form-control:focus {
  background-color: #343a40;
  color: #e9ecef;
  border-color: #6ea8fe;
  box-shadow: 0 0 0 0.25rem rgba(110, 168, 254, 0.25);
}

/* Form element focus styles */
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus,
.btn-check:focus + .btn,
.page-link:focus,
.form-range:focus,
.input-group-text:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="color"]:focus,
.custom-select:focus,
.custom-file-input:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(65, 84, 241, 0.25);
  border-color: #8991f5;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] .form-check-input:focus,
[data-bs-theme="dark"] .btn:focus,
[data-bs-theme="dark"] .btn-check:focus + .btn,
[data-bs-theme="dark"] .page-link:focus,
[data-bs-theme="dark"] .form-range:focus,
[data-bs-theme="dark"] .input-group-text:focus,
[data-bs-theme="dark"] textarea:focus,
[data-bs-theme="dark"] input[type="text"]:focus,
[data-bs-theme="dark"] input[type="password"]:focus,
[data-bs-theme="dark"] input[type="email"]:focus,
[data-bs-theme="dark"] input[type="number"]:focus,
[data-bs-theme="dark"] input[type="date"]:focus,
[data-bs-theme="dark"] input[type="datetime-local"]:focus,
[data-bs-theme="dark"] input[type="month"]:focus,
[data-bs-theme="dark"] input[type="search"]:focus,
[data-bs-theme="dark"] input[type="tel"]:focus,
[data-bs-theme="dark"] input[type="time"]:focus,
[data-bs-theme="dark"] input[type="url"]:focus,
[data-bs-theme="dark"] input[type="week"]:focus,
[data-bs-theme="dark"] input[type="color"]:focus,
[data-bs-theme="dark"] .custom-select:focus,
[data-bs-theme="dark"] .custom-file-input:focus {
  color: #e9ecef;
  border-color: #6ea8fe;
  box-shadow: 0 0 0 0.25rem rgba(110, 168, 254, 0.25);
}

[data-bs-theme="ieu-dark"] .form-control:focus,
[data-bs-theme="ieu-dark"] .form-select:focus,
[data-bs-theme="ieu-dark"] .form-check-input:focus,
[data-bs-theme="ieu-dark"] .btn:focus,
[data-bs-theme="ieu-dark"] .btn-check:focus + .btn,
[data-bs-theme="ieu-dark"] .page-link:focus,
[data-bs-theme="ieu-dark"] .form-range:focus,
[data-bs-theme="ieu-dark"] .input-group-text:focus,
[data-bs-theme="ieu-dark"] textarea:focus,
[data-bs-theme="ieu-dark"] input[type="text"]:focus,
[data-bs-theme="ieu-dark"] input[type="password"]:focus,
[data-bs-theme="ieu-dark"] input[type="email"]:focus,
[data-bs-theme="ieu-dark"] input[type="number"]:focus,
[data-bs-theme="ieu-dark"] input[type="date"]:focus,
[data-bs-theme="ieu-dark"] input[type="datetime-local"]:focus,
[data-bs-theme="ieu-dark"] input[type="month"]:focus,
[data-bs-theme="ieu-dark"] input[type="search"]:focus,
[data-bs-theme="ieu-dark"] input[type="tel"]:focus,
[data-bs-theme="ieu-dark"] input[type="time"]:focus,
[data-bs-theme="ieu-dark"] input[type="url"]:focus,
[data-bs-theme="ieu-dark"] input[type="week"]:focus,
[data-bs-theme="ieu-dark"] input[type="color"]:focus,
[data-bs-theme="ieu-dark"] .custom-select:focus,
[data-bs-theme="ieu-dark"] .custom-file-input:focus {
  color: #e9ecef;
  border-color: #ff8534;
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25);
}

/*--------------------------------------------------------------
# Loading Overlay
--------------------------------------------------------------*/
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 18px;
  font-weight: bold;
  z-index: 9999;
  display: none;
  text-align: center;
  color: #012970;
}

.loading-overlay .spinner-border {
  width: 4rem;
  height: 4rem;
  margin-bottom: 10px;
  color: #4154f1;
}

.loading-overlay .loading-text {
  margin-top: 10px;
}

/* Dark theme override */
[data-bs-theme="dark"] .loading-overlay {
  background: rgba(33, 37, 41, 0.85);
  color: #e9ecef;
}

[data-bs-theme="dark"] .loading-overlay .spinner-border {
  color: #6ea8fe;
}

/* IEU Dark theme override */
[data-bs-theme="ieu-dark"] .loading-overlay {
  background: rgba(26, 26, 26, 0.85);
  color: #e9ecef;
}

[data-bs-theme="ieu-dark"] .loading-overlay .spinner-border {
  color: #ff6a00;
}

/* Ensure loading overlay works with scrollable content */
body.loading-active {
  overflow: hidden;
}

/*--------------------------------------------------------------
# Responsive Improvements
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .header {
    padding-left: 15px;
  }
  
  .logo img {
    max-height: 26px;
  }
  
  .logo span {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  #main {
    margin-top: 60px;
    padding: 15px;
  }
  
  .pagetitle h1 {
    font-size: 20px;
  }
  
  .card {
    margin-bottom: 20px;
  }
  
  .header .search-bar {
    min-width: 100%;
  }
  
  .header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
  }
  
  .header-nav .nav-profile span {
    display: none;
  }
}

@media (max-width: 576px) {
  .header {
    height: 60px;
  }
  
  .logo span {
    display: none;
  }
  
  .header-nav .nav-profile img {
    max-height: 30px;
  }
  
  .card-title {
    font-size: 16px;
  }
}

/* Mobile sidebar improvements */
@media (max-width: 1199px) {
  .sidebar {
    box-shadow: 0 0 15px rgba(1, 41, 112, 0.1);
    z-index: 9999;
  }

  [data-bs-theme="dark"] .sidebar {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }

  [data-bs-theme="ieu-dark"] .sidebar {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  }

  .toggle-sidebar .sidebar {
    left: 0;
    transition: all 0.3s;
  }

  body.toggle-sidebar #main {
    margin-left: 0;
    padding: 15px;
  }

  body.toggle-sidebar .sidebar {
    left: 0;
    width: 250px;
  }
}

/* Mobile content adjustments */
@media (max-width: 768px) {
  .dashboard .info-card h6 {
    font-size: 22px;
  }
  
  .dashboard .card-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .dropdown-menu {
    width: 100%;
    max-width: 300px;
  }
  
  .dropdown-menu-arrow::before {
    display: none;
  }
  
  .mobile-nav-overlay {
    background: rgba(0, 0, 0, 0.5);
  }

  [data-bs-theme="ieu-dark"] .mobile-nav-overlay {
    background: rgba(0, 0, 0, 0.7);
  }
}

/* Table hover styles - add to both themes */
[data-bs-theme="dark"] .table-hover tbody tr:hover {
  background-color: rgba(110, 168, 254, 0.1);
  color: #e9ecef;
}

[data-bs-theme="ieu-dark"] .table-hover tbody tr:hover {
  background-color: rgba(255, 106, 0, 0.1);
  color: #e9ecef;
}

/* Table color variants for dark theme */
[data-bs-theme="dark"] .table-primary {
  --bs-table-color: #cfe2ff;
  --bs-table-bg: #0a3161;
  --bs-table-border-color: #1a4373;
  --bs-table-striped-bg: #1a4373;
  --bs-table-striped-color: #cfe2ff;
  --bs-table-active-bg: #26548a;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #26548a;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="dark"] .table-secondary {
  --bs-table-color: #e2e3e5;
  --bs-table-bg: #343a40;
  --bs-table-border-color: #454d55;
  --bs-table-striped-bg: #3e444a;
  --bs-table-striped-color: #e2e3e5;
  --bs-table-active-bg: #484e54;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #484e54;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="dark"] .table-success {
  --bs-table-color: #d1e7dd;
  --bs-table-bg: #0f5132;
  --bs-table-border-color: #1e633e;
  --bs-table-striped-bg: #1e633e;
  --bs-table-striped-color: #d1e7dd;
  --bs-table-active-bg: #2a7049;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #2a7049;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="dark"] .table-danger {
  --bs-table-color: #f8d7da;
  --bs-table-bg: #842029;
  --bs-table-border-color: #93313a;
  --bs-table-striped-bg: #93313a;
  --bs-table-striped-color: #f8d7da;
  --bs-table-active-bg: #a1414a;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #a1414a;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="dark"] .table-warning {
  --bs-table-color: #fff3cd;
  --bs-table-bg: #7d5a00;
  --bs-table-border-color: #8c6a15;
  --bs-table-striped-bg: #8c6a15;
  --bs-table-striped-color: #fff3cd;
  --bs-table-active-bg: #9b7a25;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #9b7a25;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="dark"] .table-info {
  --bs-table-color: #cff4fc;
  --bs-table-bg: #055160;
  --bs-table-border-color: #146270;
  --bs-table-striped-bg: #146270;
  --bs-table-striped-color: #cff4fc;
  --bs-table-active-bg: #247080;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #247080;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="dark"] .table-light {
  --bs-table-color: #f8f9fa;
  --bs-table-bg: #343a40;
  --bs-table-border-color: #454d55;
  --bs-table-striped-bg: #3e444a;
  --bs-table-striped-color: #f8f9fa;
  --bs-table-active-bg: #484e54;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #484e54;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="dark"] .table-dark {
  --bs-table-color: #fff;
  --bs-table-bg: #1a1d20;
  --bs-table-border-color: #2c3034;
  --bs-table-striped-bg: #2c3034;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #373b3e;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #373b3e;
  --bs-table-hover-color: #fff;
}

/* Table color variants for ieu-dark theme */
[data-bs-theme="ieu-dark"] .table-primary {
  --bs-table-color: #fff;
  --bs-table-bg: #cc5500;
  --bs-table-border-color: #d66200;
  --bs-table-striped-bg: #d66200;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #e06e00;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #e06e00;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="ieu-dark"] .table-secondary {
  --bs-table-color: #e9ecef;
  --bs-table-bg: #343a40;
  --bs-table-border-color: #454d55;
  --bs-table-striped-bg: #3e444a;
  --bs-table-striped-color: #e9ecef;
  --bs-table-active-bg: #484e54;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #484e54;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="ieu-dark"] .table-success {
  --bs-table-color: #d1e7dd;
  --bs-table-bg: #0f5132;
  --bs-table-border-color: #1e633e;
  --bs-table-striped-bg: #1e633e;
  --bs-table-striped-color: #d1e7dd;
  --bs-table-active-bg: #2a7049;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #2a7049;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="ieu-dark"] .table-danger {
  --bs-table-color: #f8d7da;
  --bs-table-bg: #842029;
  --bs-table-border-color: #93313a;
  --bs-table-striped-bg: #93313a;
  --bs-table-striped-color: #f8d7da;
  --bs-table-active-bg: #a1414a;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #a1414a;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="ieu-dark"] .table-warning {
  --bs-table-color: #fff;
  --bs-table-bg: #b36200;
  --bs-table-border-color: #c17100;
  --bs-table-striped-bg: #c17100;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #d07d00;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #d07d00;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="ieu-dark"] .table-info {
  --bs-table-color: #cff4fc;
  --bs-table-bg: #055160;
  --bs-table-border-color: #146270;
  --bs-table-striped-bg: #146270;
  --bs-table-striped-color: #cff4fc;
  --bs-table-active-bg: #247080;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #247080;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="ieu-dark"] .table-light {
  --bs-table-color: #f8f9fa;
  --bs-table-bg: #272727;
  --bs-table-border-color: #373737;
  --bs-table-striped-bg: #373737;
  --bs-table-striped-color: #f8f9fa;
  --bs-table-active-bg: #424242;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #424242;
  --bs-table-hover-color: #fff;
}

[data-bs-theme="ieu-dark"] .table-dark {
  --bs-table-color: #fff;
  --bs-table-bg: #121212;
  --bs-table-border-color: #2a2a2a;
  --bs-table-striped-bg: #1a1a1a;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #2a2a2a;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #2a2a2a;
  --bs-table-hover-color: #fff;
}

/* Ensure proper text contrast for both themes */
[data-bs-theme="dark"] .table,
[data-bs-theme="ieu-dark"] .table {
  border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .table > :not(caption) > * > *,
[data-bs-theme="ieu-dark"] .table > :not(caption) > * > * {
  border-bottom-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .table-bordered > :not(caption) > *,
[data-bs-theme="ieu-dark"] .table-bordered > :not(caption) > * {
  border-color: var(--bs-border-color);
}

/*--------------------------------------------------------------
# Custom IEU Button
--------------------------------------------------------------*/
.btn-ieu {
  color: #fff;
  background-color: #ff6a00;
  border-color: #ff6a00;
}

.btn-ieu:hover {
  color: #fff;
  background-color: #e05e00;
  border-color: #d45800;
}

.btn-ieu:focus, .btn-ieu.focus {
  color: #fff;
  background-color: #e05e00;
  border-color: #d45800;
  box-shadow: 0 0 0 0.25rem rgba(255, 128, 38, 0.5);
}

.btn-ieu.disabled, .btn-ieu:disabled {
  color: #fff;
  background-color: #ff8534;
  border-color: #ff8534;
  opacity: 0.65;
}

.btn-ieu:not(:disabled):not(.disabled):active, 
.btn-ieu:not(:disabled):not(.disabled).active,
.show > .btn-ieu.dropdown-toggle {
  color: #fff;
  background-color: #cc5500;
  border-color: #bf5000;
}

.btn-ieu:not(:disabled):not(.disabled):active:focus, 
.btn-ieu:not(:disabled):not(.disabled).active:focus,
.show > .btn-ieu.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 128, 38, 0.5);
}

/* Outline version */
.btn-outline-ieu {
  color: #ff6a00;
  border-color: #ff6a00;
}

.btn-outline-ieu:hover {
  color: #fff;
  background-color: #ff6a00;
  border-color: #ff6a00;
}

.btn-outline-ieu:focus, .btn-outline-ieu.focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.5);
}

.btn-outline-ieu.disabled, .btn-outline-ieu:disabled {
  color: #ff6a00;
  background-color: transparent;
  opacity: 0.65;
}

.btn-outline-ieu:not(:disabled):not(.disabled):active, 
.btn-outline-ieu:not(:disabled):not(.disabled).active,
.show > .btn-outline-ieu.dropdown-toggle {
  color: #fff;
  background-color: #ff6a00;
  border-color: #ff6a00;
}

.btn-outline-ieu:not(:disabled):not(.disabled):active:focus, 
.btn-outline-ieu:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-ieu.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.5);
}

/* Light theme styles (default) */
.fc-event {
  color: #000;
}

.fc-col-header-cell-cushion {
  color: #000;
}

.fc-daygrid-day-number {
  color: #000;
}

/* Dark theme styles */
[data-bs-theme="dark"] .fc-event {
  color: #fff;
}

[data-bs-theme="dark"] .fc-col-header-cell-cushion {
  color: #fff;
}

[data-bs-theme="dark"] .fc-daygrid-day-number {
  color: #fff;
}

[data-bs-theme="dark"] .fc-day {
  background-color: #212529;
}

[data-bs-theme="dark"] .fc-day-today {
  background-color: #343a40 !important;
}

/* IEU Dark theme styles */
[data-bs-theme="ieu-dark"] .fc-event {
  color: #fff;
}

[data-bs-theme="ieu-dark"] .fc-col-header-cell-cushion {
  color: #fff;
}

[data-bs-theme="ieu-dark"] .fc-daygrid-day-number {
  color: #fff;
}

[data-bs-theme="ieu-dark"] .fc-day {
  background-color: #1a1a1a;
}

[data-bs-theme="ieu-dark"] .fc-day-today {
  background-color: #262626 !important;
}

/* Button styling */
.fc-today-button {
  background-color: #428924 !important;
  border-color: #428924 !important;
}

.fc-prev-button, .fc-next-button {
  background-color: #c8590a !important;
  border-color: #c8590a !important;
}

.fc-dayGridMonth-button, .fc-dayGridWeek-button, .fc-dayGridDay-button,
.fc-timeGridWeek-button, .fc-timeGridDay-button {
  background-color: #808080 !important;
  border-color: #808080 !important;
}

  .fc-dayGridMonth-button.active, .fc-dayGridWeek-button.active, .fc-dayGridDay-button.active,
  .fc-timeGridWeek-button.active, .fc-timeGridDay-button.active {
      background-color: #087cc8 !important;
      border-color: #087cc8 !important;
  }

/* IEU Dark theme button styling */
[data-bs-theme="ieu-dark"] .fc-today-button {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
}

[data-bs-theme="ieu-dark"] .fc-prev-button,
[data-bs-theme="ieu-dark"] .fc-next-button {
  background-color: #ff6a00 !important;
  border-color: #ff6a00 !important;
}

[data-bs-theme="ieu-dark"] .fc-dayGridMonth-button.active,
[data-bs-theme="ieu-dark"] .fc-dayGridWeek-button.active,
[data-bs-theme="ieu-dark"] .fc-dayGridDay-button.active,
[data-bs-theme="ieu-dark"] .fc-timeGridWeek-button.active,
[data-bs-theme="ieu-dark"] .fc-timeGridDay-button.active {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
}

/* Layout improvements */
.fc .fc-daygrid-day-top {
  flex-direction: row !important;
}

.fc-v-event .fc-event-main {
  height: 100%;
}

.fc-event-time, .fc-event-title {
  padding: 0 1px;
  white-space: normal;
}

/* Theme-specific event colors */
[data-bs-theme="dark"] .fc-event-time,
[data-bs-theme="dark"] .fc-event-title {
  color: #000 !important; /* Keep dark text on colored backgrounds for better readability */
}

[data-bs-theme="ieu-dark"] .fc-event-time,
[data-bs-theme="ieu-dark"] .fc-event-title {
  color: #000 !important; /* Keep dark text on colored backgrounds for better readability */
}

.fc-daygrid-event-harness {
  cursor: pointer;
}

/* Hover effects for all calendar events */
.fc-event {
  transition: all 0.2s ease;
}

  /* Common hover effect for all event types */
  .fc-event:hover,
  .fc-daygrid-event:hover,
  .fc-daygrid-dot-event:hover {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transform: translateY(-2px);
      cursor: pointer;
  }

/* Specific brightness adjustment based on event type - preserves individual colors */
.fc-event-start:hover,
.fc-event-end:hover {
    filter: brightness(1.1);
}

.fc-event-past:hover {
  filter: brightness(1.05);
  opacity: 0.9;
}

/* Dark theme adjustments */
[data-bs-theme="dark"] .fc-event:hover,
[data-bs-theme="dark"] .fc-daygrid-event:hover,
[data-bs-theme="dark"] .fc-daygrid-dot-event:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"].fc-button-active {
    background-color: var(--bs-tertiary-bg) !important;
}
/* IEU Dark theme adjustments */
[data-bs-theme="ieu-dark"] .fc-event:hover,
[data-bs-theme="ieu-dark"] .fc-daygrid-event:hover,
[data-bs-theme="ieu-dark"] .fc-daygrid-dot-event:hover {
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.15);
}

/* Enhance event border on hover */
.fc-event:hover {
  border-width: 1.5px;
  z-index: 5; /* Ensure hovered events appear above others */
}

  /* Event content hover effects */
  .fc-event:hover .fc-event-title,
  .fc-event:hover .fc-event-time {
      font-weight: 600;
  }

  /* Ensure bold text stays bold on hover */
  .fc-event:hover .fc-event-title,
  .fc-event:hover .fc-event-time,
  .fc-daygrid-event:hover .fc-event-title,
  .fc-daygrid-event:hover .fc-event-time {
      font-weight: inherit !important; /* Keep existing font weight */
  }

/* Specifically preserve bold text */
.fc-event.fc-event-past:hover .fc-event-title.fc-event-title-strict,
.fc-event.fc-event-start:hover .fc-event-title.fc-event-title-strict,
.fc-event.fc-event-end:hover .fc-event-title.fc-event-title-strict,
.fc-daygrid-event-harness:hover .fc-event-title {
  font-weight: bold !important;
}

/* Ensure active/bold elements stay bold */
.fc-event:hover b,
.fc-event:hover strong,
.fc-event-title:hover b,
.fc-event-title:hover strong,
.fc-event-time:hover b,
.fc-event-time:hover strong {
  font-weight: bold !important;
}

/* Override any hover styles that might be reducing font weight */
.fc-event:hover,
.fc-daygrid-event:hover,
.fc-daygrid-dot-event:hover,
.fc-v-event:hover {
  font-weight: inherit !important;
}

  /* Keep font properties except for effects we want */
  .fc-event:hover * {
      font: inherit;
      font-weight: inherit !important;
  }

/* Force bold for types of events that should be bold */
.fc .fc-daygrid-event.fc-daygrid-dot-event:hover .fc-event-title,
.fc .fc-event-start:hover .fc-event-title {
  font-weight: bold !important;
}

/* Loading indicator styles */
#loadingIndicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

/* Optimize styles for better rendering performance */
.fc-daygrid-event {
  will-change: transform;
}
[data-bs-theme="ieu-dark"] .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right] {
    background-color: #121212 !important;
}
[data-bs-theme="ieu-dark"] .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left] {
    background-color: #121212 !important;
}
[data-bs-theme="ieu-dark"] .swal2-popup.swal2-toast .swal2-success .swal2-success-fix {
    background-color: #121212 !important;
}
[data-bs-theme="ieu-dark"] .swal2-popup.swal2-toast.swal2-show {
    background-color: #121212 !important;
}
[data-bs-theme="ieu-dark"] div:where(.swal2-container).swal2-top-end > .swal2-popup, div:where(.swal2-container).swal2-top-right > .swal2-popup {
    background-color: #121212 !important;
}
[data-bs-theme="ieu-dark"] div:where(.swal2-container).swal2-top-start>.swal2-popup {
    background-color: #121212 !important;
}

[data-bs-theme="ieu-dark"] div:where(.swal2-container) .swal2-html-container {
  color: #e9ecef !important;
}

[data-bs-theme="dark"] .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right] {
    background-color: #1e2024 !important;
}

[data-bs-theme="dark"] .swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left] {
    background-color: #1e2024 !important;
}

[data-bs-theme="dark"] .swal2-popup.swal2-toast .swal2-success .swal2-success-fix {
    background-color: #1e2024 !important;
}

[data-bs-theme="dark"] .swal2-popup.swal2-toast.swal2-show {
    background-color: #1e2024 !important;
}
[data-bs-theme="dark"] div:where(.swal2-container).swal2-top-end > .swal2-popup, div:where(.swal2-container).swal2-top-right > .swal2-popup {
    background-color: #1e2024 !important;
}

[data-bs-theme="dark"] div:where(.swal2-container) .swal2-html-container {
    color: #e9ecef !important;
}

[data-bs-theme="dark"] div:where(.swal2-container) div:where(.swal2-popup) {
  color: #e9ecef !important;
}
[data-bs-theme="ieu-dark"] div:where(.swal2-container) div:where(.swal2-popup) {
  color: #e9ecef !important;
}
[data-bs-theme="dark"] option {
    background-color: #1e2024 !important;
    color:#e9ecef !important;
}
[data-bs-theme="ieu-dark"] option {
    background-color: #121212 !important;
    color:#e9ecef !important;
}

[data-bs-theme="dark"] optgroup {
  background-color: #121212 !important;
  color:#e9ecef !important;
}
[data-bs-theme="ieu-dark"] optgroup {
  background-color: #1e2024 !important;
  color:#e9ecef !important;
}


[data-bs-theme="ieu-dark"] .flatpickr-day{
  color:#e9ecef !important;
}
[data-bs-theme="dark"] .flatpickr-day{
  color:#e9ecef !important;
}

[data-bs-theme="ieu-dark"] .flatpickr-day.nextMonthDay{
  color: #343a40 !important;
}
[data-bs-theme="dark"] .flatpickr-day.nextMonthDay{
  color: #343a40 !important;
}

[data-bs-theme="ieu-dark"] .flatpickr-day.prevMonthDay{
  color: #343a40 !important;
}
[data-bs-theme="dark"] .flatpickr-day.prevMonthDay{
  color: #343a40 !important;
}

[data-bs-theme="ieu-dark"] .flatpickr-innerContainer{
  background-color: #121212 !important;
}
[data-bs-theme="dark"] .flatpickr-innerContainer{
  background-color: #1e2024 !important;
}

[data-bs-theme="ieu-dark"] span.flatpickr-weekday{
  background: #ff6a00 !important;
  color: #e9ecef !important;
}
[data-bs-theme="ieu-dark"] .flatpickr-months .flatpickr-month {
  background: #ff6a00 !important;
}
[data-bs-theme="ieu-dark"] .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #ff6a00 !important;
    color: #e9ecef !important;
}
[data-bs-theme="ieu-dark"] .flatpickr-weekdays{
  background: #ff6a00 !important;
  color: #e9ecef !important;
}
[data-bs-theme="ieu-dark"] .flatpickr-day.selected{
  background: #ff6a00 !important;
  border-color: #ffb077 !important;
}
[data-bs-theme="ieu-dark"] .flatpickr-day:hover{
  background: #ffb077 !important;
  border-color: #ff6a00 !important;
}
[data-bs-theme="ieu-dark"] .flatpickr-day.inRange{
  background: #ffb077 !important;
  border-color: #ffb077 !important;
  -webkit-box-shadow: -5px 0 0 #ffb077, 5px 0 0 #ffb077 !important;
  box-shadow: -5px 0 0 #ffb077, 5px 0 0 #ffb077 !important;
}

[data-bs-theme="dark"] .flatpickr-day:hover{
  background: #495057 !important;
  border-color: #495057 !important;
}
[data-bs-theme="dark"] .flatpickr-day.inRange{
  background: #495057 !important;
  border-color: #495057 !important;
  -webkit-box-shadow: -5px 0 0 #495057, 5px 0 0 #495057 !important;
  box-shadow: -5px 0 0 #495057, 5px 0 0 #495057 !important;
}
[data-bs-theme="dark"] .flatpickr-calendar.noCalendar.hasTime .flatpickr-time{
  background-color: #1e2024 !important;
}
[data-bs-theme="dark"] .flatpickr-calendar.hasTime .flatpickr-time{
  background-color: #1e2024 !important;
}

[data-bs-theme="ieu-dark"] .flatpickr-calendar.noCalendar.hasTime .flatpickr-time{
  background-color: #121212 !important;
}
[data-bs-theme="ieu-dark"] .flatpickr-calendar.hasTime .flatpickr-time{
  background-color: #121212 !important;
}


[data-bs-theme="ieu-dark"] .ui-datepicker-header{
  background: #ff6a00 !important;
  color: #e9ecef !important;

}
[data-bs-theme="ieu-dark"] .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus{
  background: #ffb077 !important;
  color: #e9ecef !important;
}
[data-bs-theme="ieu-dark"] .ui-datepicker table{
  background: #121212 !important;
  color: #e9ecef !important;
}
[data-bs-theme="ieu-dark"].ui-state-default, .ui-widget-content .ui-state-default{
  border: 1px solid #d3d3d3;
  background: #222222 !important;
  font-weight: normal;
  color: #e9ecef !important;
}
[data-bs-theme="ieu-dark"] .ui-datepicker select.ui-datepicker-month{
  background: #ff6a00 !important;
  color: #e9ecef !important;
}


[data-bs-theme="dark"] .ui-datepicker-header{
  background: #4e73df;
        color: white;
        border-radius: 6px 6px 0 0;
}
[data-bs-theme="dark"] .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus{
  background: #495057 !important;
  color: #e9ecef !important;
}
[data-bs-theme="dark"] .ui-datepicker table{
  background: #212529 !important;
  color: #e9ecef !important;
}
[data-bs-theme="dark"].ui-state-default, .ui-widget-content .ui-state-default{
  border: 1px solid #d3d3d3;
  background: #222222 !important;
  font-weight: normal;
  color: #e9ecef !important;
}
[data-bs-theme="dark"] .ui-datepicker select.ui-datepicker-month{
  background: #ff6a00 !important;
  color: #e9ecef !important;
}

/* Responsive calendar styles */
#calendar-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

#calendar {
  width: 100%;
}

/* Make calendar header responsive */
.fc-header-toolbar {
  flex-wrap: wrap;
}

/* Stack filters on mobile */
@media screen and (max-width: 767px) {
  .filter-row {
      flex-direction: column;
  }
  
  .filter-row .col-2,
  .filter-row .col-4 {
      width: 100%;
      margin-bottom: 8px;
  }
  
  .fc .fc-toolbar {
      flex-direction: column;
      gap: 10px;
  }
  
  .fc-header-toolbar.fc-toolbar {
      display: flex;
      flex-direction: column;
  }
  
  .fc-toolbar-chunk {
      display: flex;
      justify-content: center;
      margin-bottom: 8px;
  }
  
  /* Smaller font for event content on mobile */
  .fc-event-title, .fc-event-time {
      font-size: 0.8em;
  }
}

@media screen and (max-width: 480px) {
  /* Simplified view for very small screens */
  .fc-event-title {
      max-width: 120px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
  }
  
  .fc-button {
      padding: 0.2em 0.4em !important;
      font-size: 0.9em !important;
  }
}

[data-bs-theme="dark"] .fc-theme-standard .fc-popover{
  background: #495057 !important;
}

[data-bs-theme="ieu-dark"] .fc-theme-standard .fc-popover{
  background: #1a1a1a !important;
}

/* Media query for component dropdown on small screens */
@media (max-width: 576px) {
  .component-dropdown {
      width: 100% !important;
  }
}

/* Other responsive styles can be added here */
@media (max-width: 768px) {
  .feature-icon {
      width: 2.5rem;
      height: 2.5rem;
      font-size: 1.25rem;
  }
  
  .display-5 {
      font-size: 1.75rem;
  }
  
  /* FullCalendar mobile optimization */
  .fc .fc-toolbar-title {
      font-size: 1.25rem;
  }
  
  .fc .fc-button {
      padding: 0.25em 0.5em;
      font-size: 0.9em;
  }
  
  .fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
      margin-left: 0.25em;
  }
  
  .swal2-popup {
      padding: 0.5em !important;
  }
  
  .swal2-popup .input-group-text {
      font-size: 0.85rem;
      padding: 0.25rem 0.5rem;
  }
}

/* FullCalendar Theme Integration */
.fc-theme-standard a {
  color: inherit;
}

/* Make sure popovers and tooltips stay on top */
.fc-popover {
  z-index: 1030 !important;
}

/* Improve event rendering on dark themes */
[data-bs-theme="dark"] .fc,
[data-bs-theme="ieu-dark"] .fc {
  color: inherit;
}

[data-bs-theme="dark"] .fc-daygrid-day-number,
[data-bs-theme="ieu-dark"] .fc-daygrid-day-number {
  color: inherit;
}

[data-bs-theme="dark"] .fc-col-header-cell-cushion,
[data-bs-theme="ieu-dark"] .fc-col-header-cell-cushion {
  color: inherit;
}
