/* .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 996;
    transition: 0.2s linear;
    width: 240px;
    z-index: 999px;
    padding: 20px;
    height: 100vh;
    margin: 0px;
    min-height: 100%;
    overflow-x: hidden;
    box-shadow: 14px 17px 40px 4px rgba(112, 144, 176, 0.08);
} */
.sidebar-menu {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  font-family: Montserrat, sans-serif;
  z-index: 103;
  background:
    radial-gradient(120% 40% at 0% 0%, rgba(var(--primary-color), 0.35), transparent 60%),
    radial-gradient(100% 30% at 100% 100%, rgba(124, 92, 214, 0.22), transparent 60%),
    linear-gradient(180deg, #1d1c2b 0%, #232227 55%, #1b1a29 100%);
  border-right: 1px solid rgba(var(--white-color), 0.06);
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  width: 240px;
  height: 100%;
  padding: 12px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--white-color), 0.15) transparent;
  box-shadow: 14px 17px 40px 4px rgba(112, 144, 176, 0.08);
  transition: inset-inline-start 450ms ease, width 450ms ease;
}
.sidebar-menu .main-logo {
  height: 2.2rem;
  max-width: 100%;
}
.sidebar-menu .navbar-brand-wrapper {
  /* background: #ffffff; */
  transition: width 0.25s ease, background 0.25s ease;
  -webkit-transition: width 0.25s ease, background 0.25s ease;
  -moz-transition: width 0.25s ease, background 0.25s ease;
  -ms-transition: width 0.25s ease, background 0.25s ease;
  /* width: 235px; */
  height: 30px;
}

@media only screen and (max-width: 991px) {
  .sidebar-menu {
    transition: all 0.3s ease;
    transform: translateX(-15rem);
  }
  .menu-close .sidebar-menu {
    transition: all 0.3s ease;
    transform: translateX(15rem) !important;
  }
  .menu-close .sidebar-close {
    background: rgba(var(--black-color), 0.3);
    height: 100vh;
    width: 100vw;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
  }
}

.menu-close .sidebar-menu {
  left: -15rem;
}

@media only screen and (min-width: 992px) {
  .menu-close .main-panel {
    margin-inline-start: 0;
  }

  .menu-close .navbar .navbar-menu-wrapper {
    padding-left: 1.5rem;
  }
}

/* .menu-close .main-panel {
  width: 100%;
} */

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
  padding-top: 1.5rem;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 10px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(var(--white-color), 0.62);
  padding: 5px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Icon sits in a small rounded square */
.sidebar-nav .nav-link i {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 9px;
  font-size: 16px;
  background: rgba(var(--white-color), 0.06);
  transition: background-color 0.2s ease;
}

.sidebar-nav .nav-link:hover {
  background-color: rgba(var(--white-color), 0.06);
  color: rgb(var(--white-color));
}

.sidebar-nav .nav-link.active {
  color: rgb(var(--white-color));
  background: linear-gradient(135deg, rgba(var(--primary-color), 0.95), rgba(124, 92, 214, 0.85));
  border-color: rgba(var(--white-color), 0.18);
  box-shadow: 0 10px 24px rgba(var(--primary-color), 0.45);
}

.sidebar-nav .nav-link.active i {
  background: rgba(var(--white-color), 0.2);
}

.sidebar-nav .nav-link:focus-visible {
  outline: 2px solid rgba(var(--white-color), 0.7);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sidebar-nav .nav-link,
  .sidebar-nav .nav-link i {
    transition: none;
  }
}
