/* 登录页样式；令牌与基础重置见 css/theme.css。 */
:root { --shadow: 0 14px 38px rgba(21, 45, 38, 0.10); }
body {
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 360px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(15, 107, 92, .25);
}
.brand-title { font-size: 15.5px; font-weight: 650; letter-spacing: .2px; }
.brand-sub { font-size: 11.5px; color: var(--muted); margin-top: -2px; }
h1 { font-size: 18px; margin: 0 0 4px; letter-spacing: -.2px; }
.hint { color: var(--muted); font-size: 12.5px; margin: 0 0 18px; }
label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.field {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; margin-bottom: 14px; background: #fbfcfb;
}
.field:focus-within { border-color: #a9d0c5; background: #fff; }
.field input { border: 0; outline: 0; background: transparent; width: 100%; }
.submit {
  width: 100%; border: 0; border-radius: 10px;
  background: var(--accent); color: #fff;
  padding: 10px 14px; font-size: 14px; margin-top: 4px;
  box-shadow: 0 8px 18px rgba(15, 107, 92, .18);
}
.submit:hover { background: #0c5b4f; }
.submit:disabled { opacity: .55; cursor: default; box-shadow: none; }
.error {
  display: none;
  background: #fbeeeb; color: var(--danger);
  border-radius: 9px; padding: 8px 11px; font-size: 12.5px; margin-bottom: 14px;
}
.error.show { display: block; }
.error.ok { background: var(--accent-soft); color: var(--accent-ink); }
.sent { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }
.sent strong { color: var(--ink); font-weight: 600; }
.otp-actions { display: flex; justify-content: space-between; margin-top: 12px; }
.link {
  border: 0; background: none; color: var(--accent-ink);
  font-size: 12.5px; padding: 0; cursor: pointer;
}
.link:hover { text-decoration: underline; }
.dev-code {
  margin: 14px 0 0; padding: 8px 11px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 12px;
}
.foot { margin-top: 18px; text-align: center; color: #9aa4a0; font-size: 11px; }
