:root { --purple: #6600f0; --border: #e2e2e7; --bg: #f7f7fb; --text: #1a1a22; --muted: #6b6b76; --err: #b42318; --err-soft: #fdecea; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: var(--bg); color: var(--text);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px;
  width: 100%; max-width: 360px; box-shadow: 0 10px 40px rgba(20, 10, 50, 0.06);
}
.logo-wrap { text-align: center; margin-bottom: 22px; }
.logo-wrap img { height: 56px; }
h1 { font-size: 16px; margin: 18px 0 2px; text-align: center; font-weight: 650; }
p.sub { margin: 0 0 24px; text-align: center; color: var(--muted); font-size: 13px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field { margin-bottom: 16px; }
input {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px;
  background: #fbfbfd;
}
input:focus { outline: 2px solid #eee3ff; border-color: var(--purple); background: #fff; }
button {
  width: 100%; font: inherit; font-weight: 650; padding: 11px; border-radius: 9px; border: 1px solid var(--purple);
  background: var(--purple); color: #fff; cursor: pointer; margin-top: 4px;
}
button:disabled { opacity: .6; cursor: not-allowed; }
.error {
  background: var(--err-soft); color: var(--err); border-radius: 9px; padding: 9px 12px; font-size: 13px;
  margin-bottom: 16px; display: none;
}
.error.show { display: block; }
