@use "@tencentcloud/uikit-base-component-react/dist/styles/theme/util" as *;
@use "../../../../styles/mixins/scrollbar" as scrollbar;

.conversationCreateUserSelectList {
  &__searchInput {
    margin: 8px 16px;
  }

  &__user {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 8px;
    cursor: pointer;

    @include theme() {
      color: get(text-color-link);
    }

    &:hover {
      @include theme() {
        background-color: get(list-color-hover);
      }
    }

    &Name {
      font-size: 14px;
      overflow: hidden;
      text-overflow: ellipsis;
      word-break: keep-all;

      @include theme() {
        color: get(text-color-primary);
      }

      &--active {
        font-weight: 600;
        font-size: 14px;

        @include theme() {
          color: get(text-color-link);
        }
      }
    }
  }

  &__userCheckbox {
    cursor: pointer;

    @include theme() {
      color: get(text-color-primary);
    }
  }

  &__activeIcon {
    @include theme() {
      color: get(text-color-link);
    }
  }

  &__nextContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px auto 10px;
  }

  &__next {
    cursor: pointer;
    text-align: center;
    border-radius: 31px;
    font-size: 14px;
    padding: 12px 36px;

    @include theme() {
      color: get(text-color-button);
      background-color: get(text-color-link);
    }
  }

  &__container {
    overflow-y: auto;
    flex: 1 1 auto;
    padding: 0 10px;
    @include scrollbar.scrollbar-hidden;
  }

  &__list {
    position: relative;
  }

  &__groupContainer {
    width: 100%;
  }

  &__title {
    font-weight: 600;
    font-size: 14px;
    padding: 10px;

    @include theme() {
      color: get(text-color-primary);
    }
  }
}
