#typeahead-menu {
  z-index: 999;
  position: fixed !important;
}

.typeahead-popover {
  @apply rounded-md bg-popover text-popover-foreground p-0 shadow-lg border overflow-hidden;
}

.typeahead-popover ul {
  padding: 0;
  list-style: none;
  margin: 0;
  max-height: 320px;
  overflow-y: scroll;
}

.typeahead-popover ul::-webkit-scrollbar {
  display: none;
}

.typeahead-popover ul {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.typeahead-popover ul li {
  margin: 0;
  min-width: 180px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.typeahead-popover ul li.selected {
  background: hsl(var(--secondary));
}

.typeahead-popover li {
  margin: 0 8px 0 8px;
  padding: 8px;
  color: hsl(var(--popover-foreground));
  cursor: pointer;
  line-height: 16px;
  font-size: 15px;
  display: flex;
  align-content: center;
  flex-direction: row;
  flex-shrink: 0;
  background-color: hsl(var(--background));
  border: 0;
  @apply gap-2;
}

.typeahead-popover li.active {
  display: flex;
  width: 20px;
  height: 20px;
  background-size: contain;
}

.typeahead-popover li:hover {
  background-color: hsl(var(--secondary));
}

.typeahead-popover li .text {
  display: flex;
  line-height: 20px;
  flex-grow: 1;
  min-width: 150px;
}

.typeahead-popover li .icon {
  display: flex;
  width: 20px;
  height: 20px;
  user-select: none;
  margin-right: 8px;
  line-height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.component-picker-menu {
  width: 200px;
}
