/* General styles */
body {
  overflow-x: hidden;
}

/* Sidebar styles */
#sidebar {
  height: 100vh;
  background: #ffffff; /* Set sidebar background to white */
  color: black; /* Adjust text color for contrast */
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  transition: all 0.3s;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2); /* Add border shadow */
}

#sidebar ul {
  padding: 10px;
  list-style: none;
  margin-top: 100px;
  
  
}

#sidebar ul li {
  width: 100%;
}

#sidebar ul li a {
  color: black; /* Adjust text color for white background */
  text-decoration: none;
  display: block;
  padding: 12px;
  width: 100%;
  transition: background 0.3s ease;
  
}

#sidebar ul li a:hover {
  background: #e9ecef; /* Subtle hover effect for light background */
  width: 100%;
}

/* Active link styling */
#sidebar ul li.active a {
  background-color: #dcb560; /* Blue background for active link */
  color: #fff; /* White text color for active link */
  border-radius: 5px;
}

/* Ensure color and background apply when active */
#sidebar ul li.active a:hover {
  background-color: #1e1936; /* Ensure the hover state for active link remains blue */
  color: #fff; /* Ensure text remains white on hover */
}

#sidebar ul li a i {
  margin-right: 8px; /* Add space between the icon and the text */
}

/* Content styling */
#content {
  margin-left: 250px;
  padding: 20px;
  transition: all 0.3s;
}

/* Hide sidebar for mobile by default */
@media (max-width: 768px) {
  #sidebar {
    left: -250px;
  }
  #content {
    margin-left: 0;
  }
}

/* Sidebar hidden class */
#sidebar.hidden {
  left: -250px;
}

/* Content margin adjustment */
#content.hidden {
  margin-left: 0;
}

/* Navbar styling */
.navbar {
  background: #ffffff !important; /* Set navbar background to white */
  color: black;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.navbar-brand,
.navbar-nav .nav-link {
  color: black !important; /* Adjust navbar link colors */
}

.toggle-btn {
  cursor: pointer;
  color: black; /* Adjust toggle button color */
}

.notification-icon {
  position: relative;
  margin-right: 20px;
  cursor: pointer;
}

.notification-icon i {
  font-size: 24px;
  position: relative;
}

/* Badge on notification icon */
.notification-icon .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 3px 6px;
  font-size: 12px;
}

.profile-section {
  display: flex;
  align-items: center;
}

.profile-section img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 10px;
}

.profile-name {
  font-size: 16px;
  margin-right: 10px;
  cursor: pointer;
}

.dropdown-menu {
  min-width: 250px;
}

/* Notification dropdown */
.notification-dropdown {
  width: 300px;
}

.notification-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item i {
  font-size: 18px;
  margin-right: 10px;
}

.notification-content {
  flex: 1;
}

.notification-time {
  font-size: 12px;
  color: #6c757d;
}

.notification-item.unread {
  background-color: #f8f9fa;
}


.navbar-brand img {
            height: 65px; /* Adjust height as needed */
            width: auto; /* Maintain aspect ratio */
        }