.attendees-input {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  &__field {
    width: 100%;
  }

  &__participants {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  &__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  &__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #6a6a6a;
  }

  &__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.375rem;
    background-color: #6a6a6a;
    color: white;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
  }

  &__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
  }

  &__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: white;
    border-bottom: 1px solid #f0f0f0;

    &:last-child {
      border-bottom: none;
    }

    &:hover {
      background-color: #fafafa;
    }
  }

  &__status-icon {
    font-size: 1.5rem;
    flex-shrink: 0;

    &--accepted {
      color: #4caf50;
    }

    &--pending {
      color: #9e9e9e;
    }
  }

  &__item-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
  }

  &__item-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #161616;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__item-email {
    font-size: 0.875rem;
    color: #6a6a6a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__organizer-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    color: #6a6a6a;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
  }

  &__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6a6a6a;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;

    &:hover:not(:disabled) {
      background-color: #f0f0f0;
      color: #161616;
    }

    &:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }

    &--remove:hover:not(:disabled) {
      background-color: #fef0f0;
      color: #d32f2f;
    }

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