:root {
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #1e293b;
  background: #f4f7fb;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-size: 16px;
  background: #f4f7fb;
}
.login-card {
  width: min(420px, 100%);
  padding: 44px 36px;
  background: #fff;
  border: 1px solid #dce5f0;
  border-radius: 20px;
  box-shadow: 0 20px 64px #24416b0c;
}
.lock {
  height: 46px;
  width: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 30px;
}
h1 { font-size: 28px; margin: 24px 0 12px; letter-spacing: .02em; }
p { color: #64748b; line-height: 1.7; }
label { display: block; margin: 28px 0 10px; font-size: 14px; color: #475569; }
input {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #1e293b;
  outline: none;
}
input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px #3b82f61a; }
button {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  font: inherit;
  font-weight: 600;
  background: #2563eb;
  border: 0;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
}
button:hover { background: #1d4ed8; }
button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
button:disabled { opacity: .6; cursor: wait; }
small {
  display: block;
  border-top: 1px solid #e2e8f0;
  margin-top: 20px;
  padding-top: 22px;
  color: #64748b;
  font-size: 13px;
}
#message { font-size: 14px; color: #b42318; min-height: 24px; margin-bottom: 0; }
