.dd-dropdown-wrapper {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.dd-dropdown-menu {
  position: absolute;
  min-width: 120px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  /* Prevent the hover threshold from failing */
}
.dd-dropdown-menu::after {
  content: "";
  display: block;
  background-color: transparent;
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 20px;
}
.dd-dropdown-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dd-dropdown-menu .dd-menu-item {
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.85);
  transition: background 0.2s;
}
.dd-dropdown-menu .dd-menu-item:hover:not(.disabled) {
  background: #f5f5f5;
}
.dd-dropdown-menu .dd-menu-item.disabled {
  color: rgba(0, 0, 0, 0.25);
  cursor: not-allowed;
}
.dd-dropdown-menu .dd-menu-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}
.dd-dropdown-menu.bottomLeft {
  margin-top: 4px;
}
.dd-dropdown-menu.bottomRight {
  margin-top: 4px;
}
.dd-dropdown-menu.topLeft {
  margin-bottom: 4px;
}
.dd-dropdown-menu.topRight {
  margin-bottom: 4px;
}

.dd-dropdown-wrapper.dd-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.dd-dropdown-wrapper.dd-disabled:hover {
  background: inherit;
}

.dd-menu-item.disabled {
  pointer-events: none;
}
