.reference-tags {
  position: relative;
  z-index: 20;

  .reference-tags-option {
    cursor: pointer;
    font-size: 14px;
    padding: 3px 10px;

    &:hover {
      background: var(--p40);
      border-radius: 12px;
    }
  }

  &:focus-within {
    .reference-tags-results {
      display: flex;
    }
  }

}

.reference-tags-selected-value {
  font-size: 13px;
  margin-top: 10px;
  border-radius: 12px;
  background: var(--p30);
  padding: 3px 10px;
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  line-height: 22px;

  &:hover {
    background: var(--p40);
  }
}

.reference-tags-results {
  display: none;
  flex-direction: column;
  padding: 10px;
  overflow: visible;
  position: absolute;
  border-radius: 12px;
  z-index: 20;
  background: var(--p30);
  //border: 2px solid var(--background-2);
  transition: 600ms;
  flex-grow: 1;
  top: 45px;
  width: 100%;

  .start-typing {
    font-style: italic;
    font-size: 13px;
  }

}