:root {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #172033;
  background: #f3f5fa;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 12%, rgba(66, 99, 235, .14), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(18, 166, 106, .09), transparent 32%),
    #f3f5fa;
}
button, input { font: inherit; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.login-card {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  border: 1px solid rgba(222, 226, 237, .9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(21, 33, 61, .14);
}
.brand-panel {
  min-height: 540px;
  padding: 50px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(66, 99, 235, .23), transparent 48%),
    linear-gradient(160deg, #101728 0%, #18233b 65%, #1b2949 100%);
}
.logo-card {
  width: 188px;
  height: 78px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
.logo-card img { width: 100%; max-height: 54px; object-fit: contain; display: block; }
.eyebrow { color: #8eabff; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.brand-copy h1 { margin: 11px 0 14px; font-size: 45px; letter-spacing: -.045em; line-height: 1.08; }
.brand-copy p { max-width: 410px; margin: 0; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.8; }
.form-panel { padding: 58px 54px 34px; display: flex; flex-direction: column; justify-content: center; }
.form-heading h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.03em; }
.form-heading p { margin: 0 0 31px; color: #737b8e; font-size: 14px; line-height: 1.7; }
form { display: flex; flex-direction: column; gap: 19px; }
label { display: flex; flex-direction: column; gap: 8px; }
label > span { color: #525c71; font-size: 13px; font-weight: 650; }
input {
  width: 100%;
  height: 52px;
  border: 1px solid #dfe3ed;
  border-radius: 11px;
  padding: 0 14px;
  background: #fbfcfe;
  color: #172033;
  font-size: 16px;
  outline: 0;
  transition: .18s ease;
}
input:focus { border-color: #9eaff5; background: #fff; box-shadow: 0 0 0 4px rgba(66, 99, 235, .09); }
.password-field { position: relative; }
.password-field input { padding-right: 70px; }
.password-field button {
  position: absolute;
  right: 7px;
  top: 7px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: #eef1f8;
  color: #566179;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}
.login-error {
  padding: 11px 13px;
  border: 1px solid #ffd2d7;
  border-radius: 9px;
  background: #fff0f2;
  color: #c33f4d;
  font-size: 13px;
  line-height: 1.5;
}
.login-button {
  height: 52px;
  margin-top: 3px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #4769ef, #3555d8);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(66, 99, 235, .24);
}
.login-button:disabled { cursor: wait; opacity: .7; }
.form-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 14px; color: #9097a7; font-size: 11.5px; line-height: 1.5; }
.form-note span::before { content: "•"; margin-right: 5px; color: #b4bac8; }
footer { grid-column: 1 / -1; padding: 14px 24px; border-top: 1px solid #eceef4; color: #9ba2b1; text-align: center; font-size: 10.5px; }
@media (max-width: 720px) {
  .login-shell { padding: 14px; align-items: start; }
  .login-card { display: block; border-radius: 18px; }
  .brand-panel { min-height: 0; padding: 22px 22px 25px; gap: 22px; }
  .logo-card { width: 142px; height: 58px; padding: 8px 11px; }
  .logo-card img { max-height: 40px; }
  .brand-copy h1 { margin: 7px 0 0; font-size: 28px; }
  .brand-copy p { font-size: 12px; line-height: 1.65; }
  .form-panel { padding: 27px 22px 22px; }
  .form-heading h2 { font-size: 23px; }
  .form-heading p { margin-bottom: 22px; font-size: 13px; }
  form { gap: 15px; }
  footer { padding: 13px 16px; font-size: 9.5px; }
}
