.mention-dropdown-container {
  z-index: 1050;
}

.mention-dropdown {
  overflow-y: auto;
  background-color: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  margin: 0;
  max-width: 100%;
  outline: 0;
  position: relative;
  transform: scaleY(0.9);
  opacity: 0;
  transition: all 0.3s;

  &.open {
    transform: scaleY(1);
    opacity: 1;
  }

  &::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }

  &::-webkit-scrollbar-button {
    &:start:decrement,
    &:end:increment {
      display: block;
      height: 0;
      background-color: transparent;
    }
  }

  &::-webkit-scrollbar-track-piece {
    background-color: transparent;
    border-radius: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
  }

  &::-webkit-scrollbar-thumb:vertical {
    height: 50px;
    background-color: #999;
    border-radius: 4px;
  }
}

.mention-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mention-item-container {
  width: 100%;
}

.mention-data-items {
  display: none;
}

.mention-item {
  width: 100%;
  height: 35px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: rgba(0, 0, 0, 0.87);
  padding-left: 16px;
  padding-right: 16px;
  font-size: 1rem;
  font-weight: 400;
  background-color: transparent;
  user-select: none;

  &:hover,
  &:focus,
  &.active {
    background-color: #ddd;
    cursor: pointer;
  }
}

.mention-item-image {
  width: 30px;
  height: 30px;
}

.mention-no-results {
  min-height: 35px;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  align-items: center;
}
