body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.json-tool {
  font-family: Arial, sans-serif;
  color: #140101;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}


.json-tool>:is(.left-column, .right-column) {
  flex: 2 1 0;
  font-size: var(--fs-12-18);
  flex-basis: 30em;
}

.json-tool>.center-column {
  flex-basis: 10em;
  font-size: var(--fs-12-16);
  flex-grow: 1;
  overflow-x: clip;
}

.editor-panel {
  margin-bottom: 10px;
}

.editor-header {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.editor {
  border: 1px solid #ccc;
}

.ace_editor {
  min-height: calc(30 * var(--fs-12-16)) !important;

}

.left-column .ace_editor {
  min-height: calc((30 * var(--fs-12-16)) + 26px + 35px) !important
}

.controls button,
.controls select {
  margin: 10px 0;
  padding: 10px;
  font-weight: bold;
  background: #DE9406;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

#jsonOutput {
  display: none;
  height: 300px;
  background: #fff;
  color: black;
  overflow: auto;
  border: 1px solid #ccc;
  margin-top: 10px;
}

/* Layout Columns */
.column {
  padding: 10px;
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto;

}


.json-viewer {
  display: none;
  height: 300px;
  background: #fff;
  color: black;
  overflow: auto;
  border: 1px solid #ccc;
  margin-top: 10px;
}


.controls button,
.controls select {
  margin: 5px;
  padding: 10px;
  font-weight: bold;
  background: #DE9406;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

.view-toggle {
  margin-top: 10px;
}

#jsonOutput {
  display: none;
  height: 300px;
  background: #fff;
  color: black;
  overflow: auto;
  border: 1px solid #ccc;
  margin-top: 10px;
}

.editor-header {
  background-color: #1e1e1e;
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px 6px 0 0;
  border: 1px solid #ccc;
  border-bottom: none;
  font-size: 14px;
}

.editor-header svg {
  transition: transform 0.2s ease;
}

.editor-header svg:hover {
  transform: scale(1.2);
  fill: #ff3333;
}

header {
  width: 100%;
  text-align: center;
  padding: 15px 0;
  font-size: 24px;
  font-weight: bold;
  top: 0;
  z-index: 1000;
}

#copyMessage {
  transition: opacity 0.5s;
  color: green;
  font-size: 15px;
  text-align: center;
  padding: 6px;

}