:root {
  --bg: #f4f6f8;
  --panel: #fff;
  --ink: #102a43;
  --muted: #627d98;
  --line: #d9e2ec;
  --blue: #1366d6;
}
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
.auth-wrap {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.auth-card h1 {
  margin: 0 0 4px;
  font-size: 20px;
}
.auth-card .sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
label .opt { font-weight: 400; opacity: .7; }
input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 102, 214, .12);
}
.btn {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: #0f59b8; }
.hint { font-size: 11px; color: var(--muted); margin: -4px 0 12px; }
.foot {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.foot a { color: var(--blue); text-decoration: none; font-weight: 600; }
.foot a:hover { text-decoration: underline; }
.notice {
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 12px;
  margin-bottom: 14px;
}
.notice-ok { background: #ebfbee; color: #2b8a3e; border: 1px solid #b2f2bb; }
.notice-err { background: #fff5f5; color: #c92a2a; border: 1px solid #ffc9c9; }
