.form-btns {
  text-align: center;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
}

.components-list {
  padding: 8px;
  box-sizing: border-box;
  height: 100%;
}
.components-list .components-item {
  display: inline-block;
  width: 48%;
  margin: 1%;
  transition: transform 0ms !important;
}

.components-draggable {
  padding-bottom: 20px;
}

.components-title {
  font-size: 14px;
  color: #222;
  margin: 6px 2px;
}
.components-title .svg-icon {
  color: #666;
  font-size: 18px;
}

.components-body {
  padding: 8px 10px;
  background: #f6f7ff;
  font-size: 12px;
  cursor: move;
  border: 1px dashed #f6f7ff;
  border-radius: 3px;
}
.components-body .svg-icon {
  color: #777;
  font-size: 15px;
}
.components-body:hover {
  border: 1px dashed #787be8;
  color: #787be8;
}
.components-body:hover .svg-icon {
  color: #787be8;
}

.left-board {
  width: 260px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
}

.left-scrollbar {
  height: calc(100% - 42px);
  overflow: hidden;
}

.center-scrollbar {
  height: calc(100% - 42px);
  overflow: hidden;
  border-left: 1px solid #f1e8e8;
  border-right: 1px solid #f1e8e8;
  box-sizing: border-box;
}

.center-board {
  height: 100%;
  width: auto;
  margin: 0 350px 0 260px;
  box-sizing: border-box;
}

.empty-info {
  position: absolute;
  top: 46%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 18px;
  color: #ccb1ea;
  letter-spacing: 4px;
}

.action-bar {
  position: relative;
  height: 42px;
  text-align: right;
  padding: 0 15px;
  box-sizing: border-box;
  border: 1px solid #f1e8e8;
  border-top: none;
  border-left: none;
}
.action-bar .delete-btn {
  color: #f56c6c;
}

.logo-wrapper {
  position: relative;
  height: 42px;
  background: #fff;
  border-bottom: 1px solid #f1e8e8;
  box-sizing: border-box;
}

.logo {
  position: absolute;
  left: 12px;
  top: 6px;
  line-height: 30px;
  color: #00afff;
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
}
.logo > img {
  width: 30px;
  height: 30px;
  vertical-align: top;
}
.logo .github {
  display: inline-block;
  vertical-align: sub;
  margin-left: 15px;
}
.logo .github > img {
  height: 22px;
}

.center-board-row {
  padding: 12px 12px 15px 12px;
  box-sizing: border-box;
}
.center-board-row > .el-form {
  height: calc(100vh - 69px);
}

.drawing-board {
  height: 100%;
  position: relative;
}
.drawing-board .components-body {
  padding: 0;
  margin: 0;
  font-size: 0;
}
.drawing-board .sortable-ghost {
  position: relative;
  display: block;
  overflow: hidden;
}
.drawing-board .sortable-ghost::before {
  content: " ";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgb(89, 89, 223);
  z-index: 2;
}
.drawing-board .components-item.sortable-ghost {
  width: 100%;
  height: 60px;
  background-color: #f6f7ff;
}
.drawing-board .active-from-item > .el-form-item {
  background: #f6f7ff;
  border-radius: 6px;
}
.drawing-board .active-from-item > .drawing-item-copy, .drawing-board .active-from-item > .drawing-item-delete {
  display: initial;
}
.drawing-board .active-from-item > .component-name {
  color: #409eff;
}
.drawing-board .el-form-item {
  margin-bottom: 15px;
}

.drawing-item {
  position: relative;
  cursor: move;
}
.drawing-item.unfocus-bordered:not(.active-from-item) > div:first-child {
  border: 1px dashed #ccc;
}
.drawing-item .el-form-item {
  padding: 12px 10px;
}

.drag-wrapper {
  min-height: 80px;
  width: 100%;
}

.drawing-row-item {
  position: relative;
  cursor: move;
  box-sizing: border-box;
  border: 1px dashed #ccc;
  border-radius: 3px;
  padding: 0 2px;
  margin-bottom: 15px;
}
.drawing-row-item .drawing-row-item {
  margin-bottom: 2px;
}
.drawing-row-item .el-col {
  margin-top: 22px;
}
.drawing-row-item .el-form-item {
  margin-bottom: 0;
}
.drawing-row-item .drag-wrapper {
  min-height: 80px;
  width: 100%;
}
.drawing-row-item.active-from-item {
  border: 1px dashed #409eff;
}
.drawing-row-item .component-name {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  color: #bbb;
  display: inline-block;
  padding: 0 6px;
}

.drawing-item:hover > .el-form-item,
.drawing-row-item:hover > .el-form-item {
  background: #f6f7ff;
  border-radius: 6px;
}
.drawing-item:hover > .drawing-item-copy, .drawing-item:hover > .drawing-item-delete,
.drawing-row-item:hover > .drawing-item-copy,
.drawing-row-item:hover > .drawing-item-delete {
  display: initial;
}
.drawing-item > .drawing-item-copy, .drawing-item > .drawing-item-delete,
.drawing-row-item > .drawing-item-copy,
.drawing-row-item > .drawing-item-delete {
  display: none;
  position: absolute;
  top: -10px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
  border: 1px solid;
  cursor: pointer;
  z-index: 1;
}
.drawing-item > .drawing-item-copy,
.drawing-row-item > .drawing-item-copy {
  right: 56px;
  border-color: #409eff;
  color: #409eff;
  background: #fff;
}
.drawing-item > .drawing-item-copy:hover,
.drawing-row-item > .drawing-item-copy:hover {
  background: #409eff;
  color: #fff;
}
.drawing-item > .drawing-item-delete,
.drawing-row-item > .drawing-item-delete {
  right: 24px;
  border-color: #f56c6c;
  color: #f56c6c;
  background: #fff;
}
.drawing-item > .drawing-item-delete:hover,
.drawing-row-item > .drawing-item-delete:hover {
  background: #f56c6c;
  color: #fff;
}

body, html {
  margin: 0;
  padding: 0;
  background: #fff;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}

input, textarea {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}

.editor-tabs {
  background: #121315;
}
.editor-tabs .el-tabs__header {
  margin: 0;
  border-bottom-color: #121315;
}
.editor-tabs .el-tabs__header .el-tabs__nav {
  border-color: #121315;
}
.editor-tabs .el-tabs__item {
  height: 32px;
  line-height: 32px;
  color: #888a8e;
  border-left: 1px solid #121315 !important;
  background: #363636;
  margin-right: 5px;
  user-select: none;
}
.editor-tabs .el-tabs__item.is-active {
  background: #1e1e1e;
  border-bottom-color: #1e1e1e !important;
  color: #fff;
}
.editor-tabs .el-icon-edit {
  color: #f1fa8c;
}
.editor-tabs .el-icon-document {
  color: #a95812;
}
.editor-tabs :focus.is-active.is-focus:not(:active) {
  box-shadow: none;
  border-radius: 0;
}

.right-scrollbar .el-scrollbar__view {
  padding: 12px 18px 15px 15px;
}

.el-scrollbar__wrap {
  box-sizing: border-box;
  overflow-x: hidden !important;
  margin-bottom: 0 !important;
}

.center-tabs .el-tabs__header {
  margin-bottom: 0 !important;
}
.center-tabs .el-tabs__item {
  width: 50%;
  text-align: center;
}
.center-tabs .el-tabs__nav {
  width: 100%;
}

.reg-item {
  padding: 12px 6px;
  background: #f8f8f8;
  position: relative;
  border-radius: 4px;
}
.reg-item .close-btn {
  position: absolute;
  right: -6px;
  top: -6px;
  display: block;
  width: 16px;
  height: 16px;
  line-height: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  color: #fff;
  text-align: center;
  z-index: 1;
  cursor: pointer;
  font-size: 12px;
}
.reg-item .close-btn:hover {
  background: rgba(210, 23, 23, 0.5);
}
.reg-item + .reg-item {
  margin-top: 18px;
}

.action-bar .el-button + .el-button {
  margin-left: 15px;
}
.action-bar i {
  font-size: 20px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.custom-tree-node {
  width: 100%;
  font-size: 14px;
}
.custom-tree-node .node-operation {
  float: right;
}
.custom-tree-node i[class*=el-icon] + i[class*=el-icon] {
  margin-left: 6px;
}
.custom-tree-node .el-icon-plus {
  color: #409EFF;
}
.custom-tree-node .el-icon-delete {
  color: #157a0c;
}

.el-scrollbar__view {
  overflow-x: hidden;
}

.el-rate {
  display: inline-block;
  vertical-align: text-top;
}

.el-upload__tip {
  line-height: 1.2;
}

.action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.action-bar .toolbar {
  margin-right: 16px;
}

.mobile,
.pad {
  margin: auto;
  background: #fafafa;
  -webkit-box-shadow: #ebedf0 0 4px 12px;
  box-shadow: 0 4px 12px #ebedf0;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
}

.mobile {
  width: 375px;
}

.pad {
  width: 768px;
}

.icon {
  cursor: pointer;
  width: 20px;
  height: 28px;
  line-height: 28px;
}

.icon-search {
  font-size: 12px;
}

.search {
  display: flex;
}
.search .type {
  width: 100px;
  margin-right: 10px;
}
.search .name {
  width: 130px;
}

.group-search {
  padding-right: 20px;
}
.right-board {
  width: 350px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  padding-top: 3px;
}
.right-board .field-box {
  position: relative;
  height: calc(100% - 42px);
  box-sizing: border-box;
  overflow-y: auto;
}
.right-board .el-scrollbar {
  height: 100%;
}

.select-item {
  display: flex;
  border: 1px dashed #fff;
  box-sizing: border-box;
}
.select-item .close-btn {
  cursor: pointer;
  color: #f56c6c;
}
.select-item .el-input + .el-input {
  margin-left: 4px;
}

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

.select-item.sortable-chosen {
  border: 1px dashed #409eff;
}

.select-line-icon {
  line-height: 32px;
  font-size: 22px;
  padding: 0 4px;
  color: #777;
}

.option-drag {
  cursor: move;
}

.time-range .el-date-editor {
  width: 227px;
}
.time-range ::v-deep(.el-icon-time) {
  display: none;
}

.document-link {
  position: absolute;
  display: block;
  width: 26px;
  height: 26px;
  top: 0;
  left: 0;
  cursor: pointer;
  background: #409eff;
  z-index: 1;
  border-radius: 0 0 6px 0;
  text-align: center;
  line-height: 26px;
  color: #fff;
  font-size: 18px;
}

.node-label {
  font-size: 14px;
}

.node-icon {
  color: #bebfc3;
}

.center-board .el-form-item__content {
  min-width: 32px;
}

.svg-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.svg-external-icon {
  background-color: currentColor;
  mask-size: cover !important;
  display: inline-block;
}

.select-item {
  display: flex;
  border: 1px dashed #fff;
  box-sizing: border-box;
}
.select-item .close-btn {
  cursor: pointer;
  color: #f56c6c;
}
.select-item .el-input + .el-input {
  margin-left: 4px;
}

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

.select-item.sortable-chosen {
  border: 1px dashed #409eff;
}

.select-line-icon {
  line-height: 32px;
  font-size: 22px;
  padding: 0 4px;
  color: #777;
}

.option-drag {
  cursor: move;
}

.cascader-data {
  width: 100%;
}

.form-custom-com {
  height: 32px;
  line-height: 32px;
  display: flex;
}

.form-custom-com {
  height: 32px;
  line-height: 32px;
  display: flex;
}

.cascader-data {
  width: 100%;
}

.fg-button {
  display: flex;
  align-items: center;
}
.fg-button .iconfont {
  cursor: pointer;
  color: #3471F6;
  margin-right: 10px;
}