.login-page { display: grid; grid-template-rows: auto 1fr; row-gap: 48px; min-height: 100svh; padding-top: 34px; background: radial-gradient(circle at 72% 68%,#cbeaff,transparent 29%),#f7fdff; }
.login-page .register-top { width: min(900px,100%); }
.login-page .register-login { display: inline-flex; align-items: center; gap: 14px; }
.login-page .login-card { width: min(820px,100%); margin: 0 auto; align-self: center; grid-template-columns: 1fr 1.14fr; border: 1px solid #cfe3f5; border-radius: 24px; background: rgba(255,255,255,.82); box-shadow: 0 24px 60px rgba(43,91,133,.10); }
.login-page .login-story { justify-content: flex-start; padding: 50px 38px; border: 0; color: #111d2f; background: linear-gradient(145deg,#e8fbff,#f7fffc); }
.login-page .login-story::after { display: none; }
.login-story-kicker { color: #2265f4; font-size: 14px; font-weight: 800; }
.login-page .login-story h1 { margin: 24px 0; font-size: 38px; font-weight: 700; line-height: 1.4; letter-spacing: -1px; }
.login-page .login-story > p { margin: 0; color: #111d2f; font-size: 16px; line-height: 1.9; }
.login-page .login-card form { gap: 16px; padding: 38px; }
.login-page .login-card form h2 { margin: 0 0 8px; color: #111d2f; font-size: 24px; font-weight: 700; }
.login-field { display: grid; gap: 7px; }
.login-page .login-card label { color: #111d2f; font-size: 13px; font-weight: 700; }
.login-input-wrap { display: flex; align-items: center; min-width: 0; border: 1px solid #cdd9e9; border-radius: 8px; background: #fff; transition: border-color .2s,box-shadow .2s; }
.login-input-wrap:focus-within { border-color: var(--ui-blue); box-shadow: 0 0 0 3px #2465e812; }
.login-page .login-input-wrap .input { flex: 1; min-width: 0; width: 0; height: 38px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; }
.login-page .login-input-wrap .input:focus { box-shadow: none; }
#toggle-password { flex: 0 0 auto; min-height: 38px; padding: 0 13px; border: 0; border-radius: 7px; color: #637c9d; background: transparent; font-size: 11px; }
#toggle-password:hover { color: var(--ui-blue); }
.field-label-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#refresh-captcha { padding: 0; border: 0; color: #4b76b2; background: transparent; font-size: 11px; }
#refresh-captcha:hover { color: var(--ui-blue); }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-row img { width: 150px; height: 48px; flex: 0 0 150px; border: 1px solid #dce5f2; border-radius: 9px; cursor: pointer; background: #f3f7ff; }
.captcha-row .input { min-width: 0; flex: 1; width: 0; }
.captcha-hint { color: #bf3f3b; font-size: 12px; margin: -8px 0 0; }
.login-page .login-card .login-submit { min-height: 39px; margin-top: 18px; padding: 9px 18px; border-radius: 9px; background: #216dea; font-size: 14px; box-shadow: none; }
.login-page .login-card .login-submit:hover { background: #185ed4; }
#login-form [hidden] { display: none !important; }
@media (max-width: 760px) {
  .login-page { display: block; padding: 22px 18px 40px; }
  .login-page .login-card { display: block; width: min(480px,100%); margin-top: 36px; border-radius: 18px; }
  .login-page .login-story { padding: 28px 26px; }
  .login-page .login-story h1 { margin: 16px 0; font-size: 30px; }
  .login-page .login-story > p { font-size: 14px; }
  .login-page .login-card form { padding: 28px 26px; gap: 20px; }
  .captcha-row { gap: 9px; }
  .captcha-row img { flex-basis: 130px; width: 130px; height: 46px; }
}
@media (max-width: 380px) {
  .login-page .login-card form { padding-inline: 20px; }
  .captcha-row { flex-wrap: wrap; }
  .captcha-row .input { flex-basis: 100%; }
  .captcha-row img { flex-basis: 150px; width: 150px; }
}
