:root {
  --primary: #5bb3f1;
  --secondary: #9270ff;
  --bg: #f0f4f8;
  --text: #1e1e1e;
  --font: 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  padding: 2rem;
  color: var(--text);
}
h1, h2 {
  text-align: center;
}
.logo {
  text-align: center;
  margin-bottom: 1rem;
}
.logo img {
  width: 180px;
}
.container {
  max-width: 960px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
}
label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}
input, select, textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}
#map {
  height: 300px;
  margin-top: 1rem;
}
.checkboxes label {
  font-weight: normal;
  display: block;
  cursor: pointer;
}
.checkboxes label:hover {
  text-decoration: underline;
  color: var(--secondary);
}
.checkboxes input {
  margin-right: 0.5rem;
}
button {
  margin-top: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}
button:hover {
  background: var(--secondary);
}
.output {
  margin-top: 2rem;
}
.copy-btn {
  float: right;
  margin-left: 10px;
  font-size: 0.85rem;
  background: #ccc;
  color: #222;
}
.doc-links {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}
.doc-links a {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.param-opcional {
  display: none;
}
.updated-alert {
  color: green;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: bold;
}
.loading {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
textarea#json_output {
  height: 300px;
}
.dark-mode {
  background: #1e1e1e;
  color: #ddd;
}
.dark-mode input, .dark-mode select, .dark-mode textarea {
  background: #2a2a2a;
  color: #ddd;
  border: 1px solid #444;
}
.dark-toggle {
  text-align: right;
  margin-bottom: 1rem;
}
