.gedit-m-json-schema-editor-row {
  align-items: center;
  gap: 6px;
  display: flex;
}

.gedit-m-json-schema-editor-collapse-trigger {
  cursor: pointer;
  margin-right: 5px;
}

.gedit-m-json-schema-editor-expand-detail {
  flex-direction: column;
  display: flex;
}

.gedit-m-json-schema-editor-label {
  color: #999;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 400;
}

.gedit-m-json-schema-editor-tree-items {
  grid-template-columns: auto 1fr;
  display: grid;
}

.gedit-m-json-schema-editor-tree-items.shrink {
  margin-top: 10px;
  padding-left: 3px;
}

.gedit-m-json-schema-editor-tree-item-left {
  grid-column: 1;
  width: 16px;
  position: relative;
}

.gedit-m-json-schema-editor-tree-item-left.show-line:before {
  content: "";
  height: var(--line-height, 100%);
  background: #d9d9d9;
  width: 1px;
  display: block;
  position: absolute;
  top: -16px;
  left: -14px;
}

.gedit-m-json-schema-editor-tree-item-left.show-line:after {
  content: "";
  width: var(--line-width, 30px);
  background: #d9d9d9;
  height: 1px;
  display: block;
  position: absolute;
  top: 8px;
  left: -14px;
}

.gedit-m-json-schema-editor-tree-item-left.show-line.is-last:before {
  height: 24px;
}

.gedit-m-json-schema-editor-tree-item-left.show-line.show-collapse:after {
  width: 12px;
}

.gedit-m-json-schema-editor-tree-item-right {
  grid-column: 2;
  margin-bottom: 10px;

  &:last-child {
    margin-bottom: 0;
  }
}

.gedit-m-json-schema-editor-tree-item-main {
  flex-direction: column;
  gap: 10px;
  display: flex;
  position: relative;
}

.gedit-m-json-schema-editor-collapsible {
  display: none;
}

.gedit-m-json-schema-editor-collapsible.collapse {
  display: block;
}

.gedit-m-json-schema-editor-name {
  flex-grow: 1;
}

.gedit-m-json-schema-editor-actions {
  white-space: nowrap;
}

.gedit-m-json-schema-editor-default-value-wrapper {
  margin: 0;
}

.gedit-m-json-schema-editor-constant-input-wrapper {
  flex-grow: 1;

  & .semi-tree-select, & .semi-input-number, & .semi-select {
    width: 100%;
  }
}

