.json-editor {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}

.editor-toolbar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.editor-toolbar button {
  padding: 0.375rem 0.75rem;
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.editor-toolbar button:hover {
  background: #e8f4ff;
  border-color: #0052d9;
  color: #0052d9;
}

.editor-textarea {
  flex: 1;
  padding: 1rem;
  border: none;
  outline: none;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  resize: none;
  background: #fafafa;
  color: #333;
}

.editor-textarea.error {
  background: #fff5f5;
  border-left: 3px solid #e34d59;
}

.editor-error {
  padding: 0.75rem;
  background: #fff5f5;
  border-top: 1px solid #ffcdd2;
  color: #e34d59;
  font-size: 0.875rem;
}

.editor-info {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  font-size: 0.75rem;
  color: #666;
}
