/* JSON Validator Styles */
.validator-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#json-validator-input {
  width: 100%;
  min-height: 200px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  resize: vertical;
  transition: border-color 0.2s ease;
}

#json-validator-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.validator-result {
  width: 100%;
  min-height: 100px;
  max-height: 400px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 12px;
  margin: 0;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-x: auto;
  display: none;
  transition: all 0.3s ease;
}

.validator-result.success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 2px solid var(--success-border);
  display: block;
}

.validator-result.error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 2px solid var(--error-border);
  display: block;
}

.validator-result.warning {
  background: var(--warning-bg);
  color: var(--warning-text);
  border: 2px solid var(--warning-border);
  display: block;
}

.json-validator-controls {
  display: flex;
  gap: 12px;
}

.json-validator-controls button {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.json-validator-controls .cta {
  background: var(--brand);
  color: white;
  border: none;
}

.json-validator-controls .cta:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.json-validator-controls .clear-btn {
  background: var(--panel2);
  color: var(--text);
  border: 2px solid var(--border);
}

.json-validator-controls .clear-btn:hover {
  background: var(--panel);
  border-color: var(--text);
  transform: translateY(-1px);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  margin-bottom: 8px;
  color: var(--muted);
}

/* Dark theme adjustments */
[data-theme="dark"] #json-validator-input {
  background: var(--panel2);
  border-color: var(--border);
}

[data-theme="dark"] .validator-result {
  background: var(--panel2);
}
