.nav-popup-item-wrapper {
  width: 100%;
}
.nav-popup-item {
  display: flex;
  align-items: center;
  height: var(--nav-submenu-item-height, 36px);
  padding: 0 12px;
  cursor: pointer;
  font-size: var(--nav-submenu-font-size, 12px);
  color: var(--nav-side-text-color, #ffffff);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.nav-popup-item__link {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  user-select: none;
}
.nav-popup-item__link:hover, .nav-popup-item__link:focus, .nav-popup-item__link:active {
  color: inherit;
  text-decoration: none;
}
.nav-popup-item:hover {
  background: var(--nav-active-bg-color, var(--nav-active-bg-color, rgba(24, 144, 255, 0.1)));
}
.nav-popup-item--active {
  color: var(--nav-active-color, var(--nav-active-color, #1890ff));
  font-weight: 500;
  background: var(--nav-active-bg-color, var(--nav-active-bg-color, rgba(24, 144, 255, 0.1)));
}
.nav-popup-item__icon {
  width: var(--nav-submenu-icon-size, 20px);
  height: var(--nav-submenu-icon-size, 20px);
  margin-right: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-popup-item__icon-img {
  width: var(--nav-submenu-icon-size, 20px);
  height: var(--nav-submenu-icon-size, 20px);
  object-fit: contain;
  display: block;
}
.nav-popup-item__title-wrapper {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
}
.nav-popup-item__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-popup-item__badge {
  flex-shrink: 0;
  position: relative;
  top: -6px;
  margin-left: 2px;
}
.nav-popup-item__badge--dot {
  width: 6px;
  height: 6px;
  background-color: #f5222d;
  border-radius: 50%;
}
.nav-popup-item__badge--count {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background-color: #f5222d;
  border-radius: 8px;
}
.nav-popup-item__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-menu-arrow-size, 12px);
  height: var(--nav-menu-arrow-size, 12px);
  margin-left: 8px;
  opacity: 0.7;
  transition: transform 0.3s ease-in-out;
}
.nav-popup-item__arrow--expanded {
  transform: rotate(180deg);
}
.nav-popup-item__arrow-icon {
  width: var(--nav-menu-arrow-size, 12px);
  height: var(--nav-menu-arrow-size, 12px);
  object-fit: contain;
  display: block;
}
.nav-popup-submenu-enter-active,
.nav-popup-submenu-leave-active {
  transition: all 0.2s ease;
  overflow: hidden;
}
.nav-popup-submenu-enter-from,
.nav-popup-submenu-leave-to {
  opacity: 0;
  max-height: 0;
}
.nav-popup-submenu-enter-to,
.nav-popup-submenu-leave-from {
  opacity: 1;
  max-height: 300px;
}