:host(limebb-lime-query-response-format-builder) {
  display: block;
  width: 100%;
}

.response-format-builder {
  display: flex;
  flex-direction: column;
}

.builder-label {
  color: rgb(var(--contrast-1100));
  font-size: 1.625rem;
  line-height: 1.25rem;
  font-weight: 300;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.builder-helper-text {
  margin-top: 0px;
  margin-bottom: 0.5rem;
  font-size: var(--limel-theme-default-font-size);
  color: rgb(var(--contrast-1100));
}

.mode-controls {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
}

.visual-mode,
.code-mode {
  display: block;
}

.code-editor-container {
  --code-editor-max-height: 70vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.code-editor-container .validation-errors {
  padding: 0.75rem 1rem;
  color: rgb(var(--color-red-default));
  background-color: rgb(var(--color-red-lighter));
  border-left: 0.25rem solid rgb(var(--color-red-default));
  border-radius: 0.25rem;
  font-size: 0.875rem;
}
.code-editor-container .validation-errors strong {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.code-editor-container .validation-errors ul {
  margin: 0;
  padding-left: 1.5rem;
}
.code-editor-container .validation-errors li {
  margin: 0.25rem 0;
}
.code-editor-container .visual-mode-limitations {
  padding: 0.75rem 1rem;
  color: rgb(var(--color-blue-dark));
  background-color: rgb(var(--color-blue-lighter));
  border-left: 0.25rem solid rgb(var(--color-blue-default));
  border-radius: 0.25rem;
  font-size: 0.875rem;
}
.code-editor-container .visual-mode-limitations strong {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.code-editor-container .visual-mode-limitations ul {
  margin: 0;
  padding-left: 1.5rem;
}
.code-editor-container .visual-mode-limitations li {
  margin: 0.25rem 0;
}