.jnpf-basic-column-design {
  position: relative;
  width: 100%;
  height: 100%;

  .head-tabs {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: calc(100% - 350px);
    height: 42px;
    padding: 0 10px;
    background: var(--component-background);
    border-bottom: 1px solid var(--border-color-base1);
    border-radius: 8px 8px 0 0;

    .ant-btn {
      padding: 0;
      margin-left: 15px;
    }

    .unActive-btn {
      color: var(--text-color) !important;

      &:hover {
        color: var(--primary-color) !important;
      }
    }
  }

  .column-empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--component-background);

    .empty-img {
      width: 180px;
      height: 120px;
    }

    p {
      padding: 15px 0;
    }
  }

  .column-design-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 42px;

    .main-board {
      width: auto;
      height: 100%;
      padding: 10px;
      margin: 0 350px 0 0;
      overflow: auto;
      background-color: var(--component-background);
      border-radius: 0 0 8px 8px;
    }

    .right-board {
      position: absolute;
      top: 0;
      right: 0;
      width: 340px;
      height: 100%;
      margin-left: 10px;
      overflow: hidden;
      background-color: var(--component-background);
      border-radius: 8px;

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

        .scrollbar__view {
          padding: 10px;
        }

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

          .typeList {
            display: flex;
            flex-wrap: wrap;

            .item:nth-child(3n + 3) {
              margin-right: 0;
            }

            .item {
              width: 100px;
              margin-right: 10px;
              margin-bottom: 15px;
              border-bottom: unset !important;

              &.view-item {
                width: 150px;

                .item-img {
                  height: 100px;
                }
              }

              .item-img {
                position: relative;
                width: 100%;
                height: 70px;
                overflow: hidden;
                cursor: pointer;
                border: 1px solid transparent;
                border-radius: 4px;

                img {
                  z-index: -1;
                  width: 100%;
                  height: 100%;
                }

                &.checked {
                  border: 1px solid var(--primary-color);
                }

                .icon-checked {
                  position: absolute;
                  right: -1px;
                  bottom: -1px;
                  display: block;
                  width: 12px;
                  height: 12px;
                  border: 12px solid var(--primary-color);
                  border-top: 12px solid transparent !important;
                  border-left: 12px solid transparent !important;
                  border-bottom-right-radius: 4px;

                  .anticon-check {
                    position: absolute;
                    top: -1px;
                    left: -1px;
                    font-size: 12px;
                    color: #fff;
                  }
                }
              }

              .item-name {
                margin-top: 10px;
                font-size: 12px;
                color: var(--text-color-secondary);
                text-align: center;
              }
            }
          }

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

          .btnsList {
            width: 100%;

            .btnsList-cell {
              display: flex;
              align-items: flex-start;
              width: 100%;
              margin-bottom: 10px;
            }

            .ant-checkbox-wrapper {
              flex-shrink: 0;
              width: 90px;
              line-height: 32px;
            }

            .btn-upload {
              width: 100%;
              margin-top: 10px;
            }
          }

          .btn-cap {
            margin-bottom: 10px;
            color: var(--text-color-secondary);
          }

          .custom-btns-list {
            .custom-item {
              box-sizing: border-box;
              display: flex;
              align-items: center;
              border: 1px dashed var(--component-background);

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

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

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

              .ant-input-group-addon {
                padding: 0;
                cursor: pointer;

                span {
                  display: inline-block;
                  padding: 0 11px;
                  line-height: 30px;
                }
              }

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

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

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

                &.option-drag {
                  padding-left: 0;
                }

                &.close-btn {
                  padding-right: 0;
                }
              }

              .custom-line-value {
                flex-shrink: 0;
                width: 90px;
                font-size: 14px;
                line-height: 32px;
              }

              .close-btn {
                color: var(--error-color);
                cursor: pointer;
              }
            }

            .add-btn .ant-btn {
              padding: 0;
            }
          }
        }
      }
    }
  }
}
