:root {
  --g-workflow-port-color-primary: #4d53e8;
  --g-workflow-port-color-secondary: #9197f1;
  --g-workflow-port-color-error: red;
  --g-workflow-port-color-background: #fff;
  --g-workflow-line-color-hidden: transparent;
  --g-workflow-line-color-default: #4d53e8;
  --g-workflow-line-color-drawing: #5dd6e3;
  --g-workflow-line-color-hover: #37d0ff;
  --g-workflow-line-color-selected: #37d0ff;
  --g-workflow-line-color-error: red;
}

.gedit-selector-bounds-background {
  cursor: move;
  display: none !important;
}

.gedit-selector-bounds-foreground {
  cursor: move;
  outline: 1px solid var(--g-playground-selectBox-outline);
  z-index: 33;
  background-color: var(--g-playground-selectBox-background);
  width: 0;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.node-running {
  border-radius: 8px;
  border: 1px dashed #4e40e5 !important;
}

.demo-editor {
  flex-grow: 1;
  height: 100%;
  position: relative;
}

.demo-container {
  flex-direction: column;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.demo-tools {
  justify-content: space-between;
  padding: 10px;
  display: flex;
}

.demo-tools-group > * {
  margin-right: 8px;
}

.mouse-pad-option-icon {
  justify-content: center;
  align-items: center;
  display: flex;
}

.language-sql {
  color: #0074d9;
}

.language-sql .sql-hl-keyword {
  color: #ff851b;
  font-weight: bold;
}

.language-sql .sql-hl-string {
  color: #2ecc40;
}

.language-sql .sql-hl-identifier {
  color: #aaa;
  font-weight: bold;
}

.form-item-type-tag {
  color: inherit;
  vertical-align: middle;
  flex-grow: 0;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 0 2px;
}

.node-status-data-structure-viewer {
  color: #333;
  background: #fafafa;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  margin: 12px;
  padding: 12px 12px 12px 0;
  font-family: Monaco, Menlo, Ubuntu Mono, monospace;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

.tree-node {
  margin: 2px 0;
}

.tree-node-header {
  border-radius: 3px;
  align-items: flex-start;
  gap: 4px;
  min-height: 20px;
  padding: 2px 0;
  transition: background-color .15s;
  display: flex;
}

.tree-node-header:hover {
  background-color: #0000000a;
}

.expand-button {
  cursor: pointer;
  color: #666;
  background: none;
  border: none;
  border-radius: 2px;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  font-size: 10px;
  transition: all .15s;
  display: flex;
}

.expand-button:hover {
  color: #333;
  background-color: #0000001a;
}

.expand-button.expanded {
  transform: rotate(90deg);
}

.expand-button.collapsed {
  transform: rotate(0);
}

.expand-placeholder {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.node-label {
  color: #0969da;
  cursor: pointer;
  -webkit-user-select: auto;
  user-select: auto;
  margin-right: 4px;
  font-weight: 500;
}

.node-label:hover {
  text-decoration: underline;
}

.node-value {
  margin-left: 4px;
}

.primitive-value-quote {
  color: #8f8f8f;
}

.primitive-value {
  cursor: pointer;
  -webkit-user-select: all;
  user-select: all;
  border-radius: 3px;
  padding: 1px 3px;
  transition: background-color .15s;
}

.primitive-value:hover {
  background-color: #0000000d;
}

.primitive-value.string {
  color: #032f62;
  background-color: #032f620d;
}

.primitive-value.number {
  color: #005cc5;
  background-color: #005cc50d;
}

.primitive-value.boolean {
  color: #e36209;
  background-color: #e362090d;
}

.primitive-value.null, .primitive-value.undefined {
  color: #6a737d;
  background-color: #6a737d0d;
  font-style: italic;
}

.tree-node-children {
  margin-left: 8px;
  padding-left: 8px;
  position: relative;
}

.tree-node-children:before {
  content: "";
  background: #e1e4e8;
  width: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.node-status-group {
  color: #333;
  align-items: center;
  padding: 6px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
}

.ui-mouse-pad-selector {
  box-sizing: border-box;
  border: 1px solid #1d1c2314;
  border-radius: 8px;
  align-items: center;
  width: 68px;
  height: 32px;
  padding: 8px 12px;
  display: flex;
  position: relative;
}

.ui-mouse-pad-selector-icon {
  height: 20px;
  margin-right: 12px;
}

.ui-mouse-pad-selector-arrow {
  height: 16px;
  font-size: 12px;
}

.ui-mouse-pad-selector-popover {
  padding: 16px;
}

.ui-mouse-pad-selector-popover-options {
  gap: 12px;
  margin-top: 12px;
  display: flex;
}

.ui-mouse-pad-selector-popover .mouse-pad-option {
  box-sizing: border-box;
  text-align: center;
  background: var(--coz-mg-card, #fff);
  border: 1px solid var(--coz-stroke-plus, #06070926);
  border-radius: var(--default, 8px);
  width: 220px;
  padding-bottom: 20px;
}

.ui-mouse-pad-selector-popover .mouse-pad-option-icon {
  padding-top: 26px;
}

.ui-mouse-pad-selector-popover .mouse-pad-option-title {
  padding-top: 8px;
}

.ui-mouse-pad-selector-popover .mouse-pad-option-subTitle {
  padding: 4px 12px 0;
}

.ui-mouse-pad-selector-popover .mouse-pad-option-icon-selected {
  color: #1300dd;
}

.ui-mouse-pad-selector-popover .mouse-pad-option-title-selected, .ui-mouse-pad-selector-popover .mouse-pad-option-subTitle-selected {
  color: var(--coz-fg-hglt, #4e40e5);
}

.ui-mouse-pad-selector-popover .mouse-pad-option-selected {
  cursor: pointer;
  background-color: var(--coz-mg-hglt, #bac0ff33);
  border: 1px solid var(--coz-stroke-hglt, #4e40e5);
  border-radius: var(--default, 8px);
}

.ui-mouse-pad-selector-popover .mouse-pad-option:hover:not(.ui-mouse-pad-selector-popover .mouse-pad-option-selected) {
  cursor: pointer;
  background-color: var(--coz-mg-card-hovered, #fff);
  border: 1px solid var(--coz-stroke-plus, #06070926);
  border-radius: var(--default, 8px);
  box-shadow: 0 8px 24px #00000029, 0 16px 48px #00000014;
}

.ui-mouse-pad-selector-popover .mouse-pad-option:active:not(.ui-mouse-pad-selector-popover .mouse-pad-option-selected) {
  background-color: #2e2e381f;
}

.ui-mouse-pad-selector-popover .mouse-pad-option:last-of-type {
  padding-top: 13px;
}

.ui-mouse-pad-selector:hover {
  cursor: pointer;
  background-color: #2e2e3814;
  border-color: #4d53e8;
}

.ui-mouse-pad-selector:active, .ui-mouse-pad-selector:focus {
  background-color: #2e2e381f;
  border-color: #4d53e8;
}

.ui-mouse-pad-selector-active {
  border-color: #4d53e8;
}

.node-status-succeed {
  color: #00b23c;
  background-color: #69d18c4d;
}

.node-status-processing {
  color: #3d79f2;
  background-color: #99bbff4d;
}

.node-status-failed {
  color: #e53241;
  background-color: #ffa3ab4d;
}

.line-add-button {
  cursor: pointer;
  width: 24px;
  height: 24px;
  color: inherit;
  position: absolute;
  transform: translate(-50%, -60%);
}

.node-placeholder {
  background-color: #fcfcff;
  border: 1px solid #44538240;
  border-radius: 8px;
  width: 360px;
  box-shadow: 0 4px 12px #00000005, 0 2px 6px #0000000a;
}

.node-placeholder-skeleton {
  background-color: #fcfcff;
  border-radius: 8px;
  width: 100%;
  padding: 12px;
}

.node-placeholder-skeleton .semi-skeleton-avatar {
  background-color: #44538240;
}

.node-placeholder-skeleton .semi-skeleton-title {
  background-color: #52649a21;
  border-radius: 4px;
  height: 16px;
}

.node-placeholder-hd {
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

.node-placeholder-avatar {
  border-radius: 6px;
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.node-placeholder-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  display: flex;
}

.node-placeholder-footer {
  flex-direction: row;
  align-items: center;
  gap: 2.5px;
  display: flex;
}

