#wrapper {
  overflow-x: hidden;
}

#sidebar-wrapper {
  min-height: 100vh;
  margin-left: -15rem;
  -webkit-transition: margin .25s ease-out;
  -moz-transition: margin .25s ease-out;
  -o-transition: margin .25s ease-out;
  transition: margin .25s ease-out;
  background-color: #25352c;
  color: #fff;
  display: flex;
  flex-direction: column;
}

#sidebar-wrapper .sidebar-heading {
  padding: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

#sidebar-wrapper .list-group {
  width: 15rem;
  flex-grow: 1;
  overflow-y: auto;
}

#sidebar-wrapper .list-group-item {
  background-color: #25352c;
  color: #ccc;
  border: none;
  padding: 1rem 1.5rem;
}

#sidebar-wrapper .list-group-item:hover,
#sidebar-wrapper .list-group-item.active {
  background-color: #092315;
  color: #fff;
}

#sidebar-wrapper .sidebar-footer .dropdown-toggle:focus {
  box-shadow: none;
}

#sidebar-wrapper .sidebar-footer .dropdown-toggle {
  color: #ccc;
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
}

#sidebar-wrapper .sidebar-footer .dropdown-toggle:hover {
  background-color: #2c2c2c;
  color: #fff;
}

#dropdownUser1 {
  color: #ccc;
}

.sidebar-divider {
  margin: 0.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#page-content-wrapper {
  min-width: 100vw;
  background-color: #f8f9fa;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.pexels.com/photos/1024248/pexels-photo-1024248.jpeg") center/cover no-repeat;
  height: 40vh;
  min-height: 300px;
}

.card-header {
  background-color: #3d5d4c;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid #3d5d4c;
}

.news-item {
  transition: background-color 0.2s ease-in-out;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.news-item:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.calendar-table {
  border: none;
}

.calendar-table th {
  border: none;
  font-weight: 400;
  color: #6c757d;
}

.calendar-table td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  transition: background-color 0.2s ease;
}

.calendar-table td:hover {
  background-color: #f8f9fa;
}

.calendar-table td.active {
  background-color: #ff6b6b;
  color: #fff;
  border-radius: 0.25rem;
}

.event-item .badge {
  font-size: 0.75rem;
  padding: 0.5em 0.75em;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: 0;
}

@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
    position: fixed;
    height: 100vh;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
    margin-left: 15rem;
  }

  #wrapper.toggled #sidebar-wrapper {
    margin-left: -15rem;
  }

  #wrapper.toggled #page-content-wrapper {
    margin-left: 0;
  }
}


.notification-dot {
  width: 8px;
  height: 8px;
  font-size: 0;
  border: 2px solid #fff;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  transform: none !important;
}

@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    transform: translateX(10%) !important;
    z-index: 1050 !important;
    min-width: 150px !important;
    max-width: 90vw !important;
    border: 1px solid rgba(0, 0, 0, .15) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  }

  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }
}

@media (max-width: 767.98px) {

  .calendar-table th,
  .calendar-table td {
    font-size: 0.8rem;
    padding: 0.35rem;
  }

  #menu-toggle {
    color: #3d5d4c;
    border: none;
    background: none;
    font-size: 1.5rem;
  }

  #menu-toggle:focus {
    box-shadow: none;
  }
}

@media (min-width: 992px) {
  .task-list .list-group-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .task-list .form-check-label {
    font-size: 1.05rem;
  }
}

.carousel-bg {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.carousel-caption {
  position: relative;
  z-index: 2;
  bottom: auto;
  left: auto;
  right: auto;
  padding: 2rem;
  text-align: center;
}

.carousel-content {
  background: rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-content h5 {
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
}

.carousel-content p {
  color: #e9ecef;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.carousel-indicators {
  bottom: 10px;
}

.carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active {
  background-color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 1rem;
}

.calendar-events-section,
.tasks-section {
  min-height: 450px;
}

.stream-image {
  width: 120px;
  height: 80px;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .stream-item {
    flex-direction: column;
  }

  .stream-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }
}