/* nongqiandao.cn company login: brand on the left, the WeChat scan login on the right. */
:root { --brand: #1f6feb; --ink: #1d2633; --muted: #667489; --line: #e3e8ef; --bg: #f3f6fa; font: 15px/1.6 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--bg); }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
.page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, 1fr); }

.brand-side { position: relative; display: flex; flex-direction: column; padding: 44px 56px; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 110% 110%, rgba(76, 196, 124, .35), transparent 60%), radial-gradient(900px 500px at -10% -20%, rgba(120, 170, 255, .45), transparent 60%), linear-gradient(140deg, #1a56c8, #1f6feb 55%, #2d8f6a); }
.brand-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); font-size: 19px; }
.brand-copy { margin: auto 0; max-width: 560px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; letter-spacing: 6px; font-size: 13px; opacity: .75; }
h1 { margin: 0 0 18px; font-size: 38px; line-height: 1.3; font-weight: 700; }
.lead { margin: 0 0 30px; font-size: 16px; opacity: .9; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { display: flex; flex-direction: column; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.points b { font-size: 15.5px; }
.points span { font-size: 13.5px; opacity: .85; }
.brand-foot { margin: 0; font-size: 13px; opacity: .7; position: relative; z-index: 1; }

.login-side { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; }
.card { width: min(400px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 30px; box-shadow: 0 20px 50px rgba(20, 40, 80, .08); text-align: center; }
.card h2 { margin: 0 0 6px; font-size: 22px; }
.hint { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.qr-box { width: 240px; height: 240px; margin: 6px auto 10px; border-radius: 16px; border: 1px solid var(--line); display: grid; place-items: center; background: #fafbfd; }
.qr-box img { width: 220px; height: 220px; border-radius: 10px; }
.qr-box img.expired { opacity: .2; filter: grayscale(1); }
.qr-wait { color: var(--muted); font-size: 14px; }
.status { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.status.ok { color: #1d8a4a; font-weight: 600; }
.status.bad { color: #c2352b; }
button { font: inherit; cursor: pointer; border-radius: 10px; padding: 9px 18px; }
button.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
button.secondary:hover { border-color: #b6c2d3; }
button:disabled { opacity: .5; cursor: wait; }
details { margin-top: 18px; text-align: left; }
summary { cursor: pointer; color: var(--brand); font-size: 14px; }
.code { margin-top: 10px; text-align: center; font-size: 30px; font-weight: 700; letter-spacing: 6px; font-variant-numeric: tabular-nums; }
.spaces { display: grid; gap: 10px; margin: 6px 0 18px; text-align: left; }
.spaces a { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, background .15s; }
.spaces a:hover { border-color: var(--brand); background: #f5f9ff; }
.spaces b { font-size: 15.5px; }
.spaces span { font-size: 13px; color: var(--muted); }
.foot { margin-top: 26px; display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .page { grid-template-columns: minmax(0, 1fr); }
  .brand-side { padding: 28px 22px 30px; }
  .brand-copy { margin: 26px 0 8px; }
  h1 { font-size: 26px; }
  .points { display: none; }
  .brand-foot { display: none; }
  .login-side { padding: 24px 16px 30px; }
}
