@import url('./inter.css');

:root {
  --bg: #1e1e1e;
  --surface: #2a2a2a;
  --surface-2: #303030;
  --border: #3d3d3d;
  --text: #a0a0a2;
  --muted: #969699;
  --accent: #a88e78;
  --accent-hover: #b89c88;
  --danger: #c06060;
  --warn: #b08040;
  --ok: #6a9a6a;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --text-sm: 0.85rem;
  --text-base: 1rem;
  --text-lg: 1.2rem;
  --text-xl: 1.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

html { font-size: 17px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.5;
}

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

a:hover { opacity: 0.8; }

input, textarea, button {
  font-family: var(--font);
  font-size: var(--text-base);
}

input, textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  outline: none;
  padding: 0.6rem 0.75rem;
  width: 100%;
  transition: border-color 0.15s;
}

input:focus, textarea:focus { border-color: var(--accent); }

button {
  background: var(--accent);
  border: none;
  border-radius: 4px;
  color: #1e1e1e;
  cursor: pointer;
  font-weight: 600;
  padding: 0.65rem 1rem;
  transition: background 0.15s;
}

button:hover:not(:disabled) { background: var(--accent-hover); }
button:disabled { opacity: 0.5; cursor: not-allowed; }

button.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

button.ghost:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

label {
  color: var(--muted);
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 0.35rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}

.muted { color: var(--muted); }
.danger { color: var(--danger); }
.ok { color: var(--ok); }
.accent { color: var(--accent); }

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.field {
  margin-bottom: 1rem;
}
