nav a {
  text-decoration: none !important;
}

.dashboard-stats-card-body {
  min-height: 180px;
}

.col-auto {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* Default State */
.btn-create {
  background-color: #040066;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 5px;
}

/* Hover State */
.btn-create:hover {
  background-color: #2c3e9c; /* Darker shade for hover */
  color: white;
}

/* Active/Clicked State */
.btn-create:active {
  background-color: #2c3e9c; /* Even darker shade for active */
  box-shadow: 0 5px #666; /* Simulate "pushed down" effect */
  transform: translateY(4px); /* Push the button down a bit */
}

/* Button base styles */
.action-btn {
  transition: all 0.3s ease;
}

/* Hover state */
.action-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Active (click) state */
.action-btn:active {
  transform: scale(0.95);
}

/* Additional styles for specific buttons (optional) */
.view-btn {
  color: #fff;
}

.pause-btn {
  color: #ffc107;
}

.resume-btn {
  color: #17a2b8;
}

.delete-btn {
  color: #dc3545;
}

[class*="col"] {
  padding-bottom: 5px !important;
}

.sidenav-footer {
  background-color: #00000021;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  height: 5rem;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.sidenav-footer-content {
  font-size: 0.9rem;
}
.sidenav-footer-subtitle {
  font-size: 0.75rem;
  color: #69707a;
}
.sidenav-footer-title {
  font-weight: 500;
}

#main-content {
  margin-left: 270px; /* Same width as the sidebar */
  overflow-y: auto; /* Scroll the main content independently */
  height: 100vh; /* Optional: You can adjust or remove this if you want the height to be dynamic */
  transition: margin-left 0.3s; /* Smooth transition for collapsing and expanding */
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}
#main-content.active {
  margin-left: 0px !important; /* Shift the content over when sidebar is active */
}
#sidebar h1 .logo span {
  font-size: 14px;
  color: #44bef1;
  display: block;
}
@media (max-width: 991.98px) {
  #sidebarCollapse span {
    display: none;
  }
}
#sidebar {
  position: fixed; /* Keep sidebar fixed at the side of the screen */
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100; /* Make sure the z-index is higher than the main content */
  /* overflow-y: auto;  */
  background: #040066;
  color: #fff;
  transition: margin-left 0.3s; /* Smooth transition for collapsing and expanding */
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  width: 270px;
}

#sidebar .h6 {
  color: #fff;
}
#sidebar.active {
  margin-left: -270px;
}
#sidebar h1 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 30px;
}
#sidebar h1 .logo {
  color: #fff;
}
#sidebar h1 .logo span {
  font-size: 14px;
  color: #44bef1;
  display: block;
}
#sidebar ul.components {
  padding: 0;
}
#sidebar ul li {
  font-size: 16px;
}
#sidebar ul li > ul {
  margin-left: 10px;
}
#sidebar ul li > ul li {
  font-size: 14px;
}
#sidebar ul li a {
  padding: 15px 0;
  display: block;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#sidebar ul li a span {
  color: #44bef1;
}
#sidebar ul li a:hover {
  color: #fff;
}
#sidebar ul li.active > a {
  background: transparent;
  color: #fff;
}

@media (max-width: 991.98px) {
  #sidebar {
    margin-left: 0;
  } /* This will make the sidebar expanded by default */
  #sidebar.active {
    margin-left: -270px;
  } /* This will collapse the sidebar when the 'active' class is added */
  #main-content {
    margin-left: 0; /* Adjust the main content accordingly */
  }
  #main-content.active {
    margin-left: 270px; /* Shift the content over when sidebar is active */
  }
}

#sidebar .custom-menu {
  display: inline-block;
  position: absolute;
  top: 20px;
  right: 0;
  margin-right: -20px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  #sidebar .custom-menu {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}
#sidebar .custom-menu .btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: relative;
}
#sidebar .custom-menu .btn i {
  margin-right: -40px;
  font-size: 14px;
}
#sidebar .custom-menu .btn.btn-primary {
  background: transparent;
  border-color: transparent;
}
#sidebar .custom-menu .btn.btn-primary:after {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #040066;
  border-radius: 10px;
}
#sidebar .custom-menu .btn.btn-primary:hover,
#sidebar .custom-menu .btn.btn-primary:focus {
  background: transparent !important;
  border-color: transparent !important;
}

.row {
  padding-bottom: 10px !important;
}

.col {
  padding-bottom: 5px !important;
}

#loading-screen {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
}

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #040066;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
