/* Tema base reutilizavel */
#main-wrapper .left-sidebar > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#main-wrapper .left-sidebar .sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

#main-wrapper .brand-logo .logo-img {
  margin: 0;
}

.layout-base-enabled .nav-small-cap {
  list-style: none;
}

.layout-base-enabled .hide-menu {
  display: inline-block;
}

.layout-base-enabled .layout-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(41, 214, 255, 0.24);
  border-radius: 12px;
  background: rgba(9, 19, 34, 0.88);
  color: #b8f4ff;
  transition: 0.2s ease;
}

.layout-base-enabled .layout-sidebar-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.layout-base-enabled .layout-sidebar-toggle:hover {
  border-color: rgba(41, 214, 255, 0.44);
}

.layout-base-enabled .sidebar-nav-list {
  padding-left: 0;
  list-style: none;
}

.layout-base-enabled .sidebar-item {
  list-style: none;
}

@media (max-width: 1100px) {
  .layout-base-enabled .layout-sidebar-toggle {
    display: inline-flex;
  }

  .layout-base-enabled .app-layout.page-wrapper {
    grid-template-columns: 1fr;
  }

  .layout-base-enabled .left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 85vw);
    height: 100vh;
    margin: 0;
    border-radius: 0 20px 20px 0;
    transform: translateX(-110%);
    transition: transform 0.26s ease;
    z-index: 160;
  }

  .layout-base-enabled.sidebar-open .left-sidebar {
    transform: translateX(0);
  }

  .layout-base-enabled.sidebar-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(5, 11, 20, 0.55);
    backdrop-filter: blur(2px);
  }

  .layout-base-enabled .content {
    padding-left: 18px;
    padding-right: 18px;
  }
}
