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

.groupItem {
  display: flex;
  align-items: center;
  padding: 12px 12px 12px 32px;
  gap: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;

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

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


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

  &__avatar {
    display: flex;
    align-items: center;
  }

  &__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
  }

  &__name {
    font-size: 12px;
    line-height: 14px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

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