/* Shared by the "paste code → transform" Developer Tools (json-formatter,
   json-validator, json-csv-converter, css-minifier, js-minifier): the option
   rows, primary/secondary/copy buttons, and error / inline-code styling these
   five share byte-for-byte. Loaded after css/lang/{lang}.css and before the
   tool's own css/tools/{tool}.css. NOT linked by the other Developer Tools
   (uuid-generator / case-converter / file-hash-generator) — their .btn-copy and
   layout deliberately differ. Each tool's css/tools file keeps only its own
   textareas and unique bits (e.g. js-minifier's .btn-primary:disabled, the
   minifiers' .stat, json-validator's .success-card). */

.indent-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.indent-row label { font-size: 13px; }
.radio-item {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.radio-item input[type=radio] { accent-color: #0078d4; cursor: pointer; }
.indent-note { font-size: 12px; color: #999; }

.btn-primary {
  padding: 10px 18px;
  background: #0078d4;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-secondary {
  padding: 10px 18px;
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-secondary:hover { background: #f5f5f5; color: #e74c3c; border-color: #e74c3c; }

.btn-copy {
  padding: 8px 14px;
  background: #0078d4;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.error-card {
  background: #fdecea;
  border: 1px solid #f5c6c0;
  color: #c0392b;
  font-family: 'Consolas', 'D2Coding', monospace;
  font-size: 13px;
  word-break: break-word;
}

.info-block code {
  font-family: 'Consolas', 'D2Coding', monospace;
  background: #f5f5f5;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}
