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

.c2c-chat-setting {
  display: flex;
  flex-direction: column;
  background-color: transparent;

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

  &__info-section {
    display: flex;
    flex-direction: column;
    background-color: transparent;
  }

  &__item {
    display: flex;
    flex-direction: column;
    padding: 14px 20px 11px;
    gap: 4px;
  }

  &__label {
    font-size: 14px;

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

  &__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  &__value {
    flex: 1;
    font-size: 14px;
    word-break: break-word;
    white-space: pre-wrap;

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

  &__copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;

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

      &:hover {
        background-color: get(button-color-secondary-hover);
      }

      &:active {
        background-color: get(button-color-secondary-active);
      }
    }
  }

  &__remark-section {
    display: flex;
    flex-direction: column;
    background-color: transparent;
  }

  &__settings-section {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  &__danger-actions {
    display: flex;
    flex-direction: column;
  }

  &__danger-button {
    width: 100%;
    box-sizing: border-box;
    height: auto !important;
    padding: 12px 0 !important;
  }
}
