.qqbot-account-config {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;

  &__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
  }

  &__back {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding-inline: 0;
  }

  &__back-icon {
    width: 16px;
    height: 16px;
  }

  &__title {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    font-size: 16px;
    font-weight: 600;
  }

  &__content {
    flex: 1;
    min-height: 0;
  }

  &__content,
  &__content > .ant-spin-nested-loading,
  &__content > .ant-spin-nested-loading > .ant-spin-container {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    width: 100%;
    min-height: 0;
  }
}

.qqbot-account-config-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;

  &__spin,
  &__spin > .ant-spin-nested-loading,
  &__spin > .ant-spin-nested-loading > .ant-spin-container {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    width: 100%;
    min-height: 0;
  }

  &__table {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    min-height: 0;

    .kt-table__header {
      margin-bottom: 8px;
    }

    .kt-table__main-content {
      padding: 12px;
    }
  }

  &__ellipsis {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
  }

  &__table-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
  }
}
