.django_json_schema_editor {
  clear: both;
}

.django_json_schema_editor .je-object__controls {
  margin: 0;
}

.django_json_schema_editor .button {
  margin: 0 0.3rem;
  padding: 5px 10px;
}

.django_json_schema_editor .je-textarea {
  width: 610px;
  height: 100px;
  max-width: 100%;
}

.django_json_schema_editor .form-control {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--hairline-color);
}

.django_json_schema_editor .indented-panel {
  margin: 10px;
}

.django_json_schema_editor [data-schematype="boolean"] .form-control label {
  float: none;
}

.django_json_schema_editor
  [data-schematype="boolean"]
  .form-control
  input[type="checkbox"] {
  margin-right: 0.5rem;
}

/*
 * ARRAYS (TABLES & TABS)
 */

.django_json_schema_editor [data-schematype="array"] .indented-panel {
  margin: 0;
}

.django_json_schema_editor [data-schematype="array"] .je-button-holder {
  display: inline-block;
  padding: 6px;
  margin-left: auto;
}

.django_json_schema_editor [data-schematype="array"] > h3.je-header {
  display: flex;
  background: var(--primary) !important;
  align-items: center;
  padding: 0 10px;
}

.django_json_schema_editor [data-schematype="array"] > h3.je-header label {
  padding: 0;
}

.django_json_schema_editor [data-schematype="array"] > .je-header label {
  color: var(--body-bg);
}

.django_json_schema_editor [data-schematype="array"] > .je-header .button {
  border: 1px solid var(--body-bg);
  margin: 0 0.3rem;
}

/*
 * ARRAYS (TABLES)
 */

.django_json_schema_editor [data-schematype="array"] table {
  width: 100%;
}

.django_json_schema_editor table .je-textarea {
  height: 50px;
  width: 300px;
}

.django_json_schema_editor table .form-control {
  padding: 0;
  border: none;
}

.django_json_schema_editor [data-schematype="string"] input {
  min-width: 95%;
}

/*
 * ARRAYS (TABS)
 */

.django_json_schema_editor .je-tab-holder {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--body-bg);
}

.django_json_schema_editor .je-tab-holder > .je-tabs {
  padding: 10px;
  min-width: 10%;
  background-color: var(--darkened-bg);
}

.django_json_schema_editor .je-tab-holder > .je-content {
  flex-grow: 1;
  padding: 0.5rem;
}

.django_json_schema_editor .je-tab-holder > .je-tabs .je-tab {
  margin: 0;
  padding: 0 0.5rem;
  border-radius: 3px;
}

.django_json_schema_editor .je-tab-holder > .je-tabs .je-tab.active {
  background: var(--primary) !important;
  color: var(--body-bg);
}

.django_json_schema_editor .row {
  display: flex;
  flex-flow: row wrap;
}
