/* Overlay */
.modal-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

/* Modal Container */
.side-menu-modal {
  position: fixed;
  top: 0;
  left: -350px; /* Hide outside */
  width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: 4px 0 15px rgba(0,0,0,0.2);
  transition: 0.4s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.side-menu-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f5f5f5;
}

.close-menu-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Active States */

.modal-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-menu-modal.active {
  left: 0; /* Slide in */
}
.side-menu-modal-content{
    padding: 0px 15px;
}

/* Modal menu css Start Here */

/* LEFT PANEL */


/* menu items */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  border-bottom: 1px solid #f0f0f0;
}

.menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  text-decoration: none;
  color: #111;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.menu-link:hover {
  background: #f1f5ff;
}

/* Arrow */
.menu-arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

.menu-arrow.rotate {
  transform: rotate(90deg);
}

/* DROPDOWN TREE */
.menu-dropdown {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  background: #fafafa;
}

.menu-dropdown.active {
  max-height: 900px;
  opacity: 1;
  visibility: visible;
}

.menu-dropdown-item .menu-link {
  padding-left: 35px;
}

.menu-subtree .menu-link {
  padding-left: 55px;
}

/* Scrollbar small */


/* Modal menu css End Here */