.login-body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.login-hero {
  padding: 56px 64px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(800px 420px at 0% 0%, rgba(255, 255, 255, 0.16), transparent 52%),
    linear-gradient(160deg, #0e1525 8%, var(--brand-dark) 68%, var(--brand) 100%);
}

.login-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-hero h1 {
  margin: 0;
  max-width: 560px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.login-hero .lead {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.login-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.login-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
}

.login-points i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  flex: none;
}

.fake-window {
  margin-top: 36px;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.fake-top {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.16);
}

.fake-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  display: block;
}

.fake-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 220px;
}

.fake-side { background: rgba(0, 0, 0, 0.18); }
.fake-main { padding: 14px; }

.fake-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.fake-tabs span {
  height: 18px;
  width: 64px;
  border-radius: 6px 6px 0 0;
  background: rgba(255, 255, 255, 0.18);
}
.fake-tabs span.on { background: rgba(255, 255, 255, 0.92); }

.fake-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.fake-cards b {
  display: block;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}
.fake-chart {
  margin-top: 10px;
  height: 86px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.login-card {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  background: transparent;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.login-card h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.login-card .sub {
  margin: 6px 0 18px;
  color: var(--muted);
}

.pwd-wrap { position: relative; }
.pwd-wrap .form-control { padding-right: 40px; }
.pwd-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 16px;
  font-size: 13px;
}

.login-error {
  color: #be123c;
  background: #fff1f2;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 12px;
}

.demo-account {
  margin-top: 14px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
  color: #475569;
  font-size: 13px;
}

.enter-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.enter-link:hover { color: var(--brand); }

.login-copy {
  margin: 18px 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
}

.login-beian {
  margin: 8px 0 0;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
}

.login-beian a { color: #64748b; text-decoration: none; }
.login-beian a:hover { color: var(--brand); }

.shake { animation: shake 0.35s ease; }

@keyframes shake {
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

@media (max-width: 980px) {
  .login-page { grid-template-columns: 1fr; }
  .login-hero { display: none; }
}
