.center-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  overflow: hidden;

  .center-container-top {
    display: flex;
    flex: 40px 0 0;
    justify-content: space-between;

    .button-utils {
      display: flex;
      align-items: center;
      height: 100%;
      padding: 0 8px;
      margin-left: 10px;
      background-color: var(--app-content-background);
      border-radius: 20px;
      box-shadow: 0 5px 10px rgb(0 0 0 / 10%);

      button {
        padding: 0 8px;
      }

      i {
        font-size: 20px;
      }

      .primary-color {
        color: var(--primary-color);
      }
    }

    .right-button-utils {
      margin: 0 20px 0 10px;
    }
  }

  .center-container-center {
    flex: 1;
  }

  .scale-slider {
    position: absolute;
    right: 0;
    z-index: 199;
    display: flex;
    align-items: center;

    .num {
      display: inline-block;
      width: 40px;
      font-size: 14px;
      text-align: center;
    }

    .btn {
      display: inline-block;
      padding: 4px;
      margin-right: 10px;
      margin-left: 10px;
      color: var(--text-color-secondary);
      cursor: pointer;
      background: var(--component-background);
      border: 1px solid var(--border-color-base);
      border-radius: 3px;
    }
  }
}

.card-title {
  height: 43px;
  padding: 0 12px;
  overflow: hidden;
  font-weight: 600;
  line-height: 43px;
  border-bottom: 1px solid var(--border-color-base1);
}

.jnpf-basic-process {
  display: flex;
  height: 100%;
}

.tips {
  position: absolute;
  left: 20px;
  z-index: 199;
  text-align: left;

  .tips-item {
    display: inline-block;
    margin-right: 30px;
    font-size: 14px;
    line-height: 20px;

    .icon {
      margin-right: 5px;
      font-size: 20px;
      color: #c6c9ce;

      &.past {
        color: #4ed587;
      }

      &.curr {
        color: #a6def8 !important;
      }

      &.error {
        color: #ed6f6f !important;
      }
    }
  }
}

.jnpf-shortcut-key-popover {
  display: flex;
  padding: 20px;

  .left,
  .right {
    width: 180px;

    .item-contain {
      &:nth-child(n + 2) {
        margin-top: 18px;
      }

      .title {
        margin-bottom: 6px;
        font-size: 12px;
        color: var(--text-color-secondary);
      }

      .items {
        display: flex;
        margin-top: 4px;

        .items-title {
          flex: 1;
          font-size: 13px;
        }

        .items-keys {
          div {
            display: inline-block;
            min-width: 22px;
            padding: 2px 4px;
            margin-left: 4px;
            font-size: 12px;
            text-align: center;
            border: 1px solid #ebecee;
            border-radius: 3px;
          }
        }
      }
    }
  }
}

.formType-radio {
  margin-bottom: 10px;

  .ant-radio-wrapper {
    width: 100%;
    margin-right: 0;
    line-height: 32px;
  }
}

.jnpf-flow-common-popover {
  .ant-popover-inner {
    overflow: hidden;
    border-radius: 8px;

    .ant-popover-inner-content {
      padding: unset !important;
    }
  }
}

.candidate-selected:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color-base1);
}

.transfer-tip {
  font-size: 14px;
  font-weight: bolder;
  line-height: 30px;
  color: var(--text-color-base);
}

.approver-text {
  font-size: 14px;
  color: #7f7f7f;
}

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

    & + .custom-draggable-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: 1;
      flex-shrink: 0;
      font-size: 14px;
      line-height: 32px;
      cursor: pointer;
      user-select: none;
    }

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

    .edit-btn {
      color: var(--primary-color);
      cursor: pointer;
    }
  }

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

.flow-switch-flex {
  display: flex;
  justify-items: center;
}
