/* Admin styles for DPP meta box */
.dpp-metabox {
  margin-top: 4px;
}

.dpp-metabox #dpp_json {
  width: 100%;
  min-height: 260px;
  font-family: Menlo, Consolas, Monaco, monospace;
}

/* CodeMirror wrapper when WP code editor is enabled */
.dpp-metabox .CodeMirror {
  border: 1px solid #dcdcde;
  border-radius: 2px;
  min-height: 260px;
}

.dpp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.dpp-json-validation-note {
  font-size: 12px;
  color: #646970; /* neutral by default; JS will flip green/red */
}

#dpp_json_format_btn.button {
  margin-left: auto; /* push to the right */
}

/* Make the secondary button stand out a bit in context */
#dpp_json_format_btn.button.button-secondary {
  background: #f6f7f7;
  border-color: #dcdcde;
}

#dpp_json_format_btn.button.button-secondary:hover {
  background: #f0f0f1;
  border-color: #c3c4c7;
}

