.create-test-paper-modal-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  .create-test-paper-modal-body-label {
    display: flex;
    padding: 5px 0;
    align-items: center;
    gap: 4px;

    .create-test-paper-modal-body-label-placeholder {
      width: 8px;
    }

    .create-test-paper-modal-body-label-text {
      color: #37393D;
      font-family: "PingFang SC";
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 22px;
    }
  }

  .create-test-paper-modal-body-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    .create-test-paper-modal-body-list-item {
      position: relative;
      display: flex;
      width: 360px;
      padding: 16px 32px;
      align-items: center;
      gap: 24px;
      border-radius: 4px;
      border: 1px solid #E5E6EB;
      cursor: pointer;

      .create-test-paper-modal-body-list-item-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;

        .create-test-paper-modal-body-list-item-content-title {
          display: flex;
          align-items: center;
          gap: 8px;

          .create-test-paper-modal-body-list-item-content-title-icon {
            width: 18px;
            height: 18px;
          }

          .list-active-image {
            display: none;
          }

          .create-test-paper-modal-body-list-item-content-title-text {
            color: #37393D;
            text-align: center;
            font-family: "PingFang SC";
            font-size: 16px;
            font-style: normal;
            font-weight: 500;
            line-height: 22px;
          }
        }

        .create-test-paper-modal-body-list-item-content-description {
          color: #919399;
          font-family: "PingFang SC";
          font-size: 14px;
          font-style: normal;
          font-weight: 400;
          line-height: 22px;
        }
      }

      .create-test-paper-modal-body-list-item-checked {
        display: none;
        position: absolute;
        top: -1px;
        right: -1px;
        width: 40px;
        height: 40px;
      }

      &.active {
        border: 1px solid @brand-primary;
        background: rgba(70, 195, 123, 0.02);

        .create-test-paper-modal-body-list-item-content-title-text, .create-test-paper-modal-body-list-item-content-description {
          color: @brand-primary !important;
        }

        .list-image {
          display: none;
        }

        .list-active-image {
          display: inline-block !important;
        }

        .create-test-paper-modal-body-list-item-checked {
          display: block;
        }
      }
    }
  }

  .test-paper-save-form-item {
    display: flex;
    align-items: center;
    gap: 16px;

    .test-paper-save-form-item-label {
      display: flex;
      width: 68px;
      padding: 5px 0;
      align-items: center;
      justify-content: flex-end;
      gap: 4px;

      .test-paper-save-form-item-label-required {
        color: #F53F3F;
        text-align: right;
        font-family: "PingFang SC";
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
      }

      .test-paper-save-form-item-label-text {
        color: #37393D;
        font-family: "PingFang SC";
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
      }
    }

    .ant-form-item {
      flex: 1 0 0;
      margin-bottom: 0;

      .ant-form-item-control {
        line-height: normal;

        .ant-input {
          height: 32px;
          padding: 6px 54px 6px 12px;
          border-radius: 2px;
          border: 1px solid #E5E6EB;
          background: #FFF;

          overflow: hidden;
          color: #37393D;
          text-overflow: ellipsis;
          font-family: "PingFang SC";
          font-size: 14px;
          font-style: normal;
          font-weight: 400;
          line-height: 20px;
        }
      }

      .max-num {
        position: absolute;
        right: 10px;
        top: -1px;
        color: #C0C0C2;
        font-family: "PingFang SC";
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
      }
    }
  }
}

.create-test-paper-modal-body.flex-col {
  align-items: unset;
}

.create-test-paper-modal {
  .ant-modal-footer {
    padding: 10px 24px;
  }
}
