.kg-strategy-config-modal {
  top: 20px;
  max-width: calc(100vw - 40px);
  padding-bottom: 20px;

  .hide {
    display: none;
  }

  .ant-modal-content {
    min-width: 1326px;
    min-height: 600px;
    height: calc(100vh - 40px);
  }

  .ant-modal-body {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .m-title {
    height: 56px;
    padding: 0 24px;
    color: var(--kw-heading-color);
    font-size: 16px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 600;
    line-height: 56px;
    border-bottom: 1px solid var(--kw-line-color);
  }

  .m-body {
    width: 100%;
    height: 100%;
  }

  .m-content {
    width: 100%;
    height: calc(100% - 56px);

    .flex-wrap {
      display: flex;
      width: 100%;
      height: 100%;
    }

    .flex-left {
      flex-shrink: 0;
      width: 496px;

      .ant-tabs-nav {
        margin: 0 20px;

        .ant-tabs-tab {
          min-width: 100px;
          padding: 12px 0;

          .ant-tabs-tab-btn {
            height: 24px;
            width: 100%;
            line-height: 24px;
            font-size: 16px;
            text-align: center;
          }
        }

        .ant-tabs-tab + .ant-tabs-tab {
          margin-left: 48px;
        }
      }

      .ant-tabs,
      .ant-tabs-content-holder,
      .ant-tabs-content,
      .ant-tabs-tabpane {
        height: 100%;
      }
    }

    .flex-right {
      position: relative;
      flex: 1;
      min-width: 0;

      .config-btn {
        position: absolute;
        left: 50%;
        bottom: 32px;
        transform: translateX(-50%);

        button {
          min-width: 134px;
          height: 48px;
          margin: 0 12px;
        }
      }
    }
  }

  // tabPane内部样式
  .pane-box {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 72px;

    .tool-box {
      padding: 20px;

      .search-input {
        width: 100%;
      }
    }

    .list-th {
      display: flex;
      align-items: center;
      height: 54px;
      margin: 0 20px;
      background-color: #fafafa;
      border-top: 1px solid var(--kw-line-color);
      border-bottom: 1px solid var(--kw-line-color);
      color: var(--kw-heading-color);

      .th1 {
        flex: 1;

        .th-text {
          margin-left: 8px;
        }
      }

      .th2,
      .th3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100px;

        .ant-switch {
          margin: 2px 0;
        }
      }
    }

    .scroll-wrap {
      height: calc(100% - 72px - 54px); // 100% - 搜索框 - 表头
      padding-right: 4px;
    }

    .list-box {
      padding: 0 16px 0 20px;

      .list-item {
        display: flex;
        align-items: center;
        min-height: 48px;
        border-bottom: 1px solid var(--kw-line-color);

        .row-check {
          margin: 0 8px;
          transform: translateY(1px);
        }

        .row-icon {
          display: inline-block;
          width: 14px;
          height: 3px;
          border-radius: 1px;
          margin: 8px;
          user-select: none;
          cursor: default;

          &.circle {
            width: 14px;
            height: 14px;
            border: 1px solid #e5e5e5;
            border-radius: 50%;
          }
        }

        .show-name {
          flex: 1;
          display: inline-block;
          min-width: 0;
        }

        .edge-info {
          flex: 1;
          min-width: 0;
          margin: 9px 0;

          .e-name {
            height: 20px;
            line-height: 20px;
          }

          .sub-name {
            height: 20px;
            line-height: 20px;
            font-size: 12px;
            color: var(--kw-text-color-secondary);
          }
        }

        .switch-span {
          display: inline-block;
          width: 100px;
          text-align: center;
        }
      }

      .no-data {
        margin-top: 100px;
        text-align: center;

        img {
          width: 144px;
          height: auto;
        }

        .no-des {
          margin-top: 10px;
          line-height: 22px;
          color: var(--kw-text-color-secondary);
        }
      }
    }

    .footer-pagination {
      position: absolute;
      left: 0;
      bottom: 0;
      height: 72px;
      width: 100%;
      padding: 20px;
      border-top: 1px solid var(--kw-line-color);
      text-align: right;
    }
  }

  .flex-right .view-tool {
    bottom: 114px;
  }
}
