:root { --brand: #1e88e5; --brand-dark: #0d47a1; --ink: #172238; --muted: #718096; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #eef5fb; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; }
button, input { font: inherit; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(560px, 1.55fr) minmax(410px, .75fr); }
.brand-side {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(46px, 7vw, 104px);
  color: var(--brand-dark);
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.62) 58%, rgba(238,247,255,.18) 100%),
    url("/static/brand/login-construction-bg.png") center bottom / cover no-repeat;
}
.brand-content { position: relative; z-index: 2; width: min(610px, 88%); }
.brand-lockup { display: block; }
.login-brand-lockup { display: block; width: min(460px, 88%); height: auto; mix-blend-mode: multiply; }
.brand-slogan { margin: 32px 0 0; color: #4e5967; font-size: 17px; letter-spacing: .07em; }
.brand-rule { width: 72px; height: 4px; margin: 23px 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); }
.brand-description { max-width: 510px; margin: 0; color: #637286; font-size: 13px; line-height: 2; }
.city-lines { display: none; }
.login-side {
  position: relative;
  display: grid;
  place-items: center;
  padding: 36px clamp(28px, 4vw, 62px);
  background: linear-gradient(180deg, #f7fbff 0%, #eef6fd 100%);
}
.login-side::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, #c7ddf2 20%, #c7ddf2 80%, transparent);
}
.login-card { position: relative; width: min(390px, 100%); padding: 40px 38px; border: 1px solid #d9e6f2; border-radius: 11px; background: rgba(255,255,255,.98); box-shadow: 0 22px 58px rgba(13,71,161,.13); }
.mobile-brand { display: none; }
.login-kicker { margin: 0 0 9px; color: var(--brand); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.login-kicker::before { content: ""; display: inline-block; width: 20px; height: 3px; margin-right: 8px; border-radius: 999px; vertical-align: middle; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); }
.login-card h2 { margin: 0 0 10px; font-size: 29px; }
.login-subtitle { margin: 0 0 28px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.login-message { margin-bottom: 16px; padding: 11px 13px; border: 1px solid #f0c5c8; border-radius: 8px; color: #a52d36; background: #fff1f2; font-size: 11px; }
.login-field { display: block; margin-bottom: 18px; }
.login-field > span { display: block; margin-bottom: 8px; color: #3f4e65; font-size: 11px; font-weight: 800; }
.login-field input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid #cfdbe8; border-radius: 9px; outline: none; color: var(--ink); background: #fff; }
.login-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,136,229,.13); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 60px; }
.password-wrap button { position: absolute; top: 7px; right: 7px; height: 32px; padding: 0 9px; border: 0; border-radius: 7px; color: var(--brand-dark); background: #edf6fe; font-size: 10px; font-weight: 800; cursor: pointer; }
.slider-check { margin: 4px 0 22px; padding: 14px; border: 1px solid #d4e1ee; border-radius: 10px; background: #f6f9fc; }
.slider-check.complete { border-color: #a9ddc7; background: #f0fbf6; }
.slider-title { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 10px; }
.slider-title span { color: #56657b; font-weight: 800; }.slider-title strong { color: #7c899a; }
.slider-check.complete .slider-title strong { color: #16875b; }
#verifySlider { width: 100%; accent-color: var(--brand); cursor: grab; }
#verifySlider:active { cursor: grabbing; }
.slider-track-label { display: flex; justify-content: space-between; margin-top: 5px; color: #91a0b2; font-size: 9px; }
.login-button { width: 100%; height: 47px; border: 0; border-radius: 7px; color: #fff; background: linear-gradient(90deg, var(--brand), #126fca); box-shadow: 0 10px 24px rgba(30,136,229,.24); font-weight: 900; cursor: pointer; }
.login-button:hover:not(:disabled) { background: var(--brand-dark); }
.login-button:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.login-footnote { margin: 18px 0 0; color: #91a0b1; font-size: 9px; text-align: center; }
@media (max-width: 900px) {
  .login-layout { grid-template-columns: 1fr; }
  .brand-side { display: none; }
  .login-side { min-height: 100vh; padding: 22px; background: linear-gradient(145deg, #e5f3ff, #f8fbfe); }
  .mobile-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 27px; color: var(--brand-dark); }
  .mobile-brand img { width: 50px; height: 38px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
}
@media (max-width: 480px) { .login-card { padding: 30px 22px; } }
