:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: #0f1419;
  color: #e7ecf2;
  font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: grid;
  place-items: center;
  padding: 24px;
}
form {
  width: min(340px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: #171d25;
  border: 1px solid #2c3644;
  border-radius: 16px;
}
img { align-self: center; }
h1 { margin: 4px 0 12px; font-size: 20px; text-align: center; }
label { font-size: 13px; color: #93a0b0; }
input {
  height: 46px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #2c3644;
  background: #0f1419;
  color: inherit;
  font: inherit;
}
input:focus { outline: none; border-color: #4fd1b5; }
button {
  height: 46px;
  margin-top: 6px;
  border: 0;
  border-radius: 10px;
  background: #4fd1b5;
  color: #06231d;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button:focus-visible { outline: 2px solid #e7ecf2; outline-offset: 2px; }
.note { margin: 0; font-size: 12px; color: #93a0b0; }
.error { min-height: 1.4em; margin: 0; font-size: 14px; color: #ff7b7b; }
