/* Mobile Sidebar Menu Styles */
body.menu-active {
  overflow-x: hidden;
}

.mobile-menu-container {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
  overflow-y: auto;
  overflow-x: hidden;
  transition: left 0.3s ease;
}

.mobile-menu-container.active {
  left: 0;
  /* Slide in when active */
}

/* Style for main content and header when menu is active */
#main_wrapper.content-shifted,
#header.content-shifted {
  transform: translateX(300px);
  transition: transform 0.3s ease;
}

/* Add transition to main wrapper for smooth animation */
#main_wrapper {
  transition: transform 0.3s ease;
}

.mobile-menu {
  padding: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 15px;
  /* background-color: #ff2222; */
  background-color: #cbcbcbb8;
  color: #fff;
}

.mobile-menu-header h4 {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.close-menu {
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  border-bottom: 1px solid #eee;
}

.mobile-menu ul li a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s;
}

.mobile-menu ul li a:hover {
  background-color: #f5f5f5;
}

.mobile-menu ul li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* Overlay when menu is active */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.mobile-menu-overlay.active {
  display: block;
}
