/* Unified Dark Simplistic Style Framework */

:root {
  --bg: #0a0a0f;
  --surface: #14161b;
  --text: #e2e8f0;
  --muted: #a0aec0;
  --accent: #7dd3fc;
  --border: #2d3748;
  --button: #2d3748;
  --button-hover: #3d4758;
  --button-text: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  background: var(--button);
  color: var(--button-text);
  border: 1px solid #4a5568;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

button:hover {
  background: var(--button-hover);
}

button:active {
  transform: none;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

textarea, input[type="text"], input[type="number"], select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
}

textarea {
  width: 100%;
  resize: vertical;
}

input[type="range"] {
  accent-color: var(--accent);
}

code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
}

.status {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

footer {
  margin-top: 40px;
  padding: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  padding: 4px 8px;
}

footer a:hover {
  text-decoration: underline;
}

.tools-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}