:root {
  --bg: #f7fafc;
  --panel: #fff;
  --text: #1a202c;
  --muted: #718096;
  --border: #e2e8f0;
  --accent: #3182ce;
  --accent-2: #2b6cb0;
  --red: #c53030;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
  -webkit-font-smoothing: antialiased;
}
.login-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  width: 100%;
  max-width: 360px;
  margin: 24px;
}
.login-card h1 { font-size: 20px; margin: 0 0 4px; }
.login-card .subtitle { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  font: inherit;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
button {
  margin-top: 4px;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: not-allowed; }
.status { font-size: 13px; min-height: 1.2em; margin: 4px 0 0; color: var(--red); }
.status.ok { color: #2f855a; }
