:root {
  --brand: #3f92d1;
  --brand-dark: #2372ad;
  --brand-soft: #eaf5fc;
  --brand-line: #b9d9ee;
  --ink: #20242a;
  --muted: #60707a;
  --line: #d8e3ea;
  --page: #f5f9fc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: var(--page);
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.6;
}
.auth-body {
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-shell {
  width: min(460px, 100%);
  margin: 0;
}
.auth-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(34, 96, 142, 0.12);
}
.auth-card h1 {
  margin: 0 0 8px;
  font-size: 30px;
}
.auth-card form {
  display: grid;
  gap: 2px;
  margin-top: 20px;
}
.eyebrow {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #33434e;
  font-weight: 650;
}
.required-label-line {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.required-marker {
  color: #b42318;
  font-size: 0.9em;
  font-weight: 850;
  white-space: nowrap;
}
.field-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
input,
select,
button {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #c7d7e2;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
button {
  justify-content: center;
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.auth-link {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
}
.auth-link a {
  color: var(--brand-dark);
  font-weight: 750;
}
.flash {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.flash.error {
  border-color: #e6c2bf;
  background: #fff0ef;
  color: #93352f;
}
