.nav-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.brand-logo {
  background: #000 url('nexon-sms-logo.png') center/contain no-repeat !important;
}
.brand-logo img {
  opacity: 0 !important;
  transition: none !important;
}
.sidebar nav {
  gap: 7px;
  padding: 16px 12px 18px;
}
.sidebar nav button {
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  overflow: hidden;
  color: #9eb0c7;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.1px;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.sidebar nav button::before {
  content: '';
  position: absolute;
  inset: 6px auto 6px 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #7cb4ff, #246bfd);
  opacity: 0;
  transform: scaleY(0.35);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.sidebar nav button:hover {
  background: #ffffff0a;
  border-color: #ffffff0c;
  color: #e8f1fc;
  transform: translateX(2px);
  box-shadow: none;
}
.sidebar nav button.active {
  background: linear-gradient(110deg, #294568 0%, #203a5c 72%, #1e3858 100%);
  border-color: #ffffff12;
  color: #fff;
  box-shadow:
    0 9px 22px #020b182e,
    inset 0 1px #ffffff0d;
}
.sidebar nav button.active::before {
  opacity: 1;
  transform: scaleY(1);
}
.nav-icon {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff12;
  border-radius: 9px;
  background: #ffffff07;
  color: #a9bdd4;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.nav-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar nav button:hover .nav-icon {
  border-color: #76aaff35;
  background: #2a4e7529;
  color: #d8e9ff;
  transform: scale(1.03);
}
.sidebar nav button.active .nav-icon {
  border-color: #73a9ff66;
  background: linear-gradient(145deg, #397af1, #2363d7);
  color: #fff;
  box-shadow:
    0 5px 13px #0e4eb44f,
    inset 0 1px #ffffff30;
}
.nav-label {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar nav em {
  position: relative;
  z-index: 1;
  float: none;
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border: 2px solid #203b5d;
  border-radius: 999px !important;
  background: #ef403b !important;
  box-shadow: 0 3px 9px #0004;
  color: #fff !important;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}
.sidebar nav button:not(.active) em {
  border-color: #172943;
}
body.theme-dark .sidebar nav button.active {
  background: linear-gradient(110deg, #162d49, #10243c);
  border-color: #5b8dcb2b;
}
body.theme-dark .sidebar nav button:hover {
  background: #ffffff0b;
}
body.theme-dark .nav-icon {
  background: #ffffff06;
  border-color: #ffffff10;
}
body.theme-dark .sidebar nav button.active .nav-icon {
  background: linear-gradient(145deg, #397af1, #1857c8);
}
@media (max-width: 720px) {
  .sidebar nav {
    padding: 14px 7px;
  }
  .sidebar nav button {
    justify-content: center;
    padding: 0;
  }
  .sidebar nav button:hover {
    transform: none;
  }
  .nav-label {
    display: none;
  }
  .nav-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .nav-icon svg {
    width: 18px;
    height: 18px;
  }
  .sidebar nav button.active::before {
    inset: 7px auto 7px 0;
  }
  .sidebar nav em {
    display: none;
  }
}
