:root {
  color-scheme: light;
  --accent: #1f6feb;
  --line: #d7dde8;
  --text: #111827;
  --muted: #667085;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(145deg, #eef4ff 0%, #f7f9fc 60%, #e9eef7 100%);
  color: var(--text);
  font: 14px/1.5 "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.login-card {
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(31, 51, 84, 0.13);
}

.product {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1 { margin: 12px 0 4px; font-size: 28px; }
.subtitle, .setup-hint { color: var(--muted); }
.setup-hint { margin: 20px 0 0; font-size: 12px; }
form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 7px; }
label span { color: #344054; font-weight: 600; }
input {
  width: 100%;
  height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}
input:focus { outline: 2px solid #b9d2ff; border-color: var(--accent); }
button {
  height: 44px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.message { margin-top: 18px; padding: 10px 12px; border-radius: 7px; }
.error { border: 1px solid #f2b8b5; background: #fff0ef; color: #a32620; }
