.attendees-input {
  display: flex;
  flex-direction: column;
  gap: 5px;

  &__field {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    position: relative;
  }

  &__add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.25rem;
    padding: 0;
    border: 1px solid var(--c--theme--colors--greyscale-200);
    border-radius: 4px;
    background: transparent;
    color: var(--c--theme--colors--greyscale-600);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;

    &:hover {
      background-color: var(--c--theme--colors--greyscale-100);
      color: var(--c--theme--colors--greyscale-900);
      border-color: var(--c--theme--colors--greyscale-400);
    }

    .material-icons {
      font-size: 1.25rem;
    }
  }

  &__suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    background: var(--c--theme--colors--greyscale-000, #fff);
    border: 1px solid var(--c--theme--colors--greyscale-200);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
  }

  &__suggestion {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.1s;

    &:hover,
    &--highlighted {
      background-color: var(--c--theme--colors--greyscale-100);
    }

    &--empty {
      color: var(--c--theme--colors--greyscale-500);
      font-style: italic;
      cursor: default;

      &:hover {
        background-color: transparent;
      }
    }
  }

  &__suggestion-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c--theme--colors--greyscale-900);
  }

  &__suggestion-email {
    font-size: 0.75rem;
    color: var(--c--theme--colors--greyscale-500);
  }

  &__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  &__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: default;

    .material-icons {
      font-size: 14px;
    }
  }

  &__organizer-label {
    font-size: 0.75rem;
    opacity: 0.8;
  }

  &__pill-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 0.125rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    border-radius: 50%;
    transition: opacity 0.15s;

    &:hover {
      opacity: 1;
    }

    .material-icons {
      font-size: 14px;
    }
  }
}
