.adm-popover-menu {
  --border-color: var(--ldkj-color-border);
}

.adm-popover-menu.adm-popover {
  --content-padding: 0;
}

.adm-popover-menu-list {
  overflow: hidden;
  min-width: 240px;
}

.adm-popover-menu-list-inner {
  margin-top: -2px;
}

.adm-popover-menu-list-scroll {
  padding-right: 4px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: auto;
}

.adm-popover-menu-list-scroll::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 8px;
}

.adm-popover-menu-list-scroll::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: #ddd;
}

.adm-popover-menu-item {
  display: flex;
  padding-left: 40px;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.adm-popover-menu-item-icon {
  flex: none;
  padding-right: 16px;
  font-size: 40px;
}

.adm-popover-menu-item-text {
  flex: auto;
  padding: 28px 40px 28px 0;
  border-top: solid 2px var(--border-color);
}

.adm-popover-menu-item-disabled {
  cursor: not-allowed;
}

.adm-popover-menu-item-disabled > * {
  opacity: 0.4;
}

.adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled) {
  background-color: var(--border-color);
}

.adm-popover-menu-item:active:not(.adm-popover-menu-item-disabled)::after {
  content: ' ';
  display: block;
  position: absolute;
  width: 100%;
  bottom: -2px;
  left: 0;
  border-bottom: solid 2px var(--border-color);
}

.adm-popover.adm-popover-dark.adm-popover-menu {
  --border-color: var(--ldkj-color-text);
  --background: rgba(0, 0, 0, 0.9);
}