@backfill-typeIcon-size: 22px;

.user-help-container {
  .ant-drawer-body {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: hidden;
    background: white;
  }

  .adm-tabs-tab {
    color: rgba(0, 0, 0, 0.7);
  }

  .adm-tabs-tab-active {
    font-weight: 600;
    text-align: center;
    color: rgba(0, 0, 0, 0.86);
  }

  .adm-tabs-content {
    background: #f6f7f8;
    overflow-y: scroll;
    height: calc(100vh - 100px);
  }

  .adm-list-body {
    background: #f6f7f8;
  }

  .adm-list-item {
    margin-bottom: 10px;
  }

  .adm-list {
    --border-top: none;
    --border-bottom: none;
  }

  .adm-checkbox {
    width: 95vw;
  }

  .render-item {
    border-radius: 6px;
    background: white;
  }

  .type-title {
    color: rgba(0, 0, 0, 0.86);
    line-height: 30px;
    font-size: 14px;
  }

  .type-icon {
    width: @backfill-typeIcon-size;
    height: @backfill-typeIcon-size;
    margin: 4px 5px 0 0;
    font-size: 20px !important;
  }

  .user-row-name {
    width: calc(100vw - 115px);
    font-size: 14px;
    margin-left: 4vw;
    line-height: 22px;
  }

  .user-desc {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4);
    line-height: 16px;
  }
}

.node-btn {
  flex: 1;
  color: rgba(0, 0, 0, 0.4);

  img {
    vertical-align: bottom;
  }
}

.tag-container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
  flex-wrap: wrap;

  .ant-tag {
    position: relative;
    display: flex;
    align-items: center;
    border: none;
    background-color: #f5f5f5;
    padding: 1px 6px 1px 8px;
    margin: 0;
    color: rgba(0, 0, 0, 0.86);
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    white-space: normal;
    word-break: break-all;
    text-align: left;
  }

  .ant-tag-close-icon {
    margin-left: 6px;
    line-height: 1;

    .anticon {
      font-size: 16px !important;
    }
  }

  .placeholder {
    width: 100%;
    font-size: var(--font-size-base);
    color: rgba(0, 0, 0, 0.4);
    text-align: left;
    min-height: 22px;
  }
}
