.jnpf-basic-generator {
  .right-board {
    flex-shrink: 0;
    width: 340px;
    background-color: var(--component-background);

    .field-box {
      position: relative;
      box-sizing: border-box;
      height: calc(100% - 42px);
      overflow: hidden;

      & > .scrollbar > .scrollbar__wrap > .scrollbar__view {
        padding: 10px;
      }
    }

    .right-board-form {
      .ant-form-item {
        margin-bottom: 18px;
      }

      .right-radio {
        .ant-radio-button-wrapper {
          padding: 0 11px;
        }
      }

      .data-source-radio {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;

        .ant-radio-button-wrapper {
          flex: 1 1 0;
          min-width: 0;
          padding: 0 12px;
          text-align: center;
          white-space: nowrap;
        }
      }

      .data-source-form-item {
        .ant-form-item-control-input-content {
          width: 100%;
        }
      }

      .btn-config-list {
        .btn-cell {
          display: flex;
          align-items: center;
          margin-bottom: 18px;

          .ant-checkbox-wrapper {
            flex-shrink: 0;
            width: 100px;
          }

          .form-confirm-btn-label {
            display: flex;
            flex: 0 0 100px;
            align-items: center;
          }

          .form-review-btn-label {
            display: flex;
            flex: 0 0 100px;
            align-items: center;
          }

          .ant-checkbox-wrapper.form-confirm-btn-checkbox,
          .ant-checkbox-wrapper.form-review-btn-checkbox {
            width: auto;
            margin-right: 4px;
          }

          .form-confirm-btn-config,
          .form-review-btn-config {
            flex: 0 0 24px;
            width: 24px;
            min-width: 24px;
            margin-right: 4px;
            padding: 0;
          }
        }
      }

      .reg-item {
        position: relative;
        padding: 12px 6px;
        background-color: var(--app-content-background);
        border-radius: 4px;

        .close-btn {
          position: absolute;
          top: -6px;
          right: -6px;
          z-index: 1;
          display: block;
          width: 16px;
          height: 16px;
          font-size: 12px;
          line-height: 16px;
          color: #fff;
          text-align: center;
          cursor: pointer;
          background: rgb(0 0 0 / 20%);
          border-radius: 50%;

          i {
            font-size: 12px;
          }

          &:hover {
            background: var(--error-color);
          }
        }

        & + .reg-item {
          margin-top: 18px;
        }
      }

      .options-list {
        margin-bottom: -10px;

        .scrollbar__wrap {
          margin-bottom: 0 !important;
        }

        .select-item {
          box-sizing: border-box;
          display: flex;
          border: 1px dashed var(--component-background);

          & .ant-input + .ant-input {
            margin-left: 4px;
          }

          .ant-select {
            width: 100%;
          }

          & + .select-item {
            margin-top: 4px;
          }

          &.sortable-chosen {
            border: 1px dashed var(--primary-color);
          }

          .select-line-icon {
            padding: 0 4px;
            font-size: 22px;
            line-height: 31px;
            color: #606266;

            .icon-ym-darg {
              display: inline-block;
              font-size: 20px;
              line-height: 31px;
            }

            .icon-ym-btn-clearn {
              font-size: 18px;
            }
          }

          .close-btn {
            display: flex;
            align-items: center;
            height: 32px;
            color: var(--error-color);
            cursor: pointer;
          }

          .option-drag {
            cursor: move;
          }
        }

        .add-btn {
          padding-left: 27px;
        }

        .jnpf-tree__name {
          width: calc(100% - 60px);
        }
      }
    }
  }
}

.select-item-add {
  text-align: center;

  .ant-btn {
    padding: 4px 12px !important;
  }
}

.ant-select-item-option-content {
  .custom-option-left {
    float: left;
  }

  .custom-option-right {
    float: right;
    margin-left: 20px;
    font-size: 13px;
    color: var(--text-color-secondary);
  }
}
