/* V0.8.1.1 Sidebar UI Fix */

.erp-sidebar {
  width: 292px;
  background: linear-gradient(180deg, #172b46 0%, #13253d 100%);
  padding: 18px 10px;
}

.erp-sidebar-group {
  margin-bottom: 10px;
}

.erp-sidebar-toggle {
  height: 40px;
  padding: 8px 14px;
  margin: 0 0 4px;
  color: rgba(255,255,255,.68);
  border-radius: 12px;
}

.erp-sidebar-toggle:hover {
  background: rgba(255,255,255,.06);
  color: #ffffff;
}

.menu-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.menu-icon {
  width: 19px;
  display: inline-flex;
  justify-content: center;
  opacity: .9;
  font-size: 13px;
}

.chev {
  font-size: 11px;
  transition: transform .15s ease;
}

.erp-sidebar-group.collapsed .chev {
  transform: rotate(-90deg);
}

.erp-sidebar-menu {
  padding: 2px 0 6px;
}

.erp-sidebar a {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 6px;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,.88);
}

.erp-sidebar a .nav-icon {
  width: 16px;
  font-size: 7px;
  color: rgba(255,255,255,.35);
  display: inline-flex;
  justify-content: center;
}

.erp-sidebar a:hover {
  background: rgba(255,255,255,.10);
  transform: translateX(2px);
}

.erp-sidebar a.active {
  background: #40516b;
  color: #ffffff;
  box-shadow: inset 4px 0 0 #ffffff;
}

.erp-sidebar a.active .nav-icon {
  color: #ffffff;
}

.erp-sidebar-group.collapsed .erp-sidebar-menu {
  display: none;
}

.erp-sidebar-menu a span:last-child {
  line-height: 1.25;
}

@media (max-width: 1000px) {
  .erp-sidebar {
    width: 100%;
  }
}
