:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fa;
  --fg: #333c40;
  --muted: #66787f;
  --border: #dae2e5;
  --accent: #eb6142;
  --accent-fg: #ffffff;
  --accent-hover: #cb3715;
  --error: #cf2e2e;
  --radius: 8px;
  --font-stack: Muli, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  font-family: var(--font-stack);
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg-soft);
}

.card {
  width: 100%;
  max-width: 28rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.login-logo {
  display: block;
  width: min(18rem, 82%);
  height: auto;
  margin: 0 auto 1.5rem;
}

.login-instruction {
  margin: 0 0 1rem;
  color: var(--fg);
  font-size: 0.95rem;
}

form { display: grid; gap: 0.75rem; }

.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;
}

input {
  width: 100%;
  font: inherit;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.15s;
}
input:hover { border-color: var(--muted); }
input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

button {
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-fg);
  cursor: pointer;
  transition: background 0.15s;
}
button:hover { background: var(--accent-hover); }
button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
button[disabled] { opacity: 0.6; cursor: progress; }

#status { min-height: 1.5em; margin: 1rem 0 0; color: var(--muted); font-size: 0.875rem; }
#status.error { color: var(--error); }
