:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #1c1f23;
  --muted: #5b6470;
  --accent: #2f6fed;
  --error: #c0392b;
  --border: #d7dce3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.card {
  width: 100%;
  max-width: 380px;
  background: var(--card);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

h1 { font-size: 20px; margin: 0 0 20px; }
h2 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.error { color: var(--error); }

label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--muted);
}

input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
}

input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

button {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

button:disabled { opacity: 0.6; cursor: default; }

[hidden] { display: none !important; }
