:root {
  --bg1: #0b1324;
  --bg2: #13294a;
  --card: rgba(255, 255, 255, 0.95);
  --text: #0f172a;
  --muted: #64748b;
  --brand: #0ea5e9;
  --brand2: #22c55e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #e5e7eb;
  background:
    radial-gradient(1200px 800px at 15% 20%, #1d4ed8 0%, transparent 60%),
    radial-gradient(1000px 700px at 85% 80%, #0891b2 0%, transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
}
.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}
.brand h1 { font-size: 42px; margin: 10px 0 16px; line-height: 1.12; }
.brand p { color: #cbd5e1; font-size: 16px; }
.brand ul { margin: 18px 0 24px; padding-left: 18px; color: #dbeafe; }
.brand li { margin: 8px 0; }
.badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
.login-btn {
  display: inline-block;
  text-decoration: none;
  color: #031525;
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
}
.card {
  background: var(--card);
  color: var(--text);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35);
}
.card h2 { margin-top: 0; }
label {
  display: block;
  margin: 12px 0 8px;
  color: #0f172a;
  font-weight: 600;
}
input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
}
input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.user-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.user-row span {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
button {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  color: white;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  cursor: pointer;
}
button:disabled { opacity: .7; cursor: wait; }
.msg { min-height: 24px; margin-top: 14px; font-size: 14px; }
.msg.err { color: #dc2626; }
.msg.ok { color: #15803d; }
.msg a { color: #0369a1; font-weight: 700; }

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .brand h1 { font-size: 32px; }
}
