@font-face { font-family: "Heyou Noto Sans SC"; src: url("/static/noto-sans-sc-400.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --purple: #5e1ad1;
  --ink: #172033;
  --muted: #778198;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Heyou Noto Sans SC", Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f5f3fa;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(430px, 1.05fr) minmax(430px, 0.95fr);
}
.brand-side {
  position: relative;
  padding: 42px 7vw 35px;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, #a56eff66, transparent 27%),
    radial-gradient(circle at 10% 90%, #5e1ad155, transparent 35%),
    linear-gradient(145deg, #160928, #39106d);
}
.brand-side:after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -170px;
  border: 65px solid #ffffff08;
  border-radius: 50%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.brand > b,
.mobile-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #aa7cff, var(--purple));
  box-shadow: 0 12px 30px #7c3aed66;
  font-size: 21px;
}
.brand strong,
.brand span {
  display: block;
}
.brand span {
  margin-top: 4px;
  color: #bbaed0;
  font-size: 10px;
}
.brand-copy {
  position: relative;
  z-index: 1;
  margin: auto 0;
}
.brand-copy > span {
  color: #cdb4f7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.brand-copy h1 {
  margin: 14px 0;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.3;
}
.brand-copy p {
  max-width: 550px;
  margin: 0;
  color: #c9bddb;
  font-size: 14px;
  line-height: 1.9;
}
.features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.features > div {
  padding: 13px;
  display: flex;
  gap: 10px;
  border: 1px solid #ffffff16;
  border-radius: 12px;
  background: #ffffff09;
}
.features i {
  color: #a979ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.features b,
.features em {
  display: block;
}
.features b {
  font-size: 11px;
}
.features em {
  margin-top: 4px;
  color: #9f93b1;
  font-size: 9px;
  font-style: normal;
}
.brand-side > small {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: #81728f;
  font-size: 9px;
}
.form-side {
  display: grid;
  place-items: center;
  padding: 30px;
  background: #faf9fc;
}
.login-card {
  width: min(430px, 100%);
  padding: 34px;
}
.mobile-logo {
  display: none;
  color: #fff;
  margin: auto;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.login-card h2 {
  margin: 0;
  font-size: 28px;
}
.intro {
  margin: 9px 0 27px;
  color: var(--muted);
  font-size: 12px;
}
.login-card label {
  display: block;
  margin-top: 15px;
}
.login-card label > span {
  display: block;
  margin: 0 0 7px;
  color: #566075;
  font-size: 11px;
  font-weight: 800;
}
.login-card input {
  width: 100%;
  padding: 13px;
  border: 1px solid #e0e1e8;
  border-radius: 10px;
  background: #fff;
  outline: none;
}
.login-card input:focus {
  border-color: #9e72e8;
  box-shadow: 0 0 0 4px #7c3aed10;
}
.password-box {
  display: flex;
}
.password-box input {
  border-radius: 10px 0 0 10px;
}
.password-box button {
  width: 62px;
  border: 1px solid #e0e1e8;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  color: var(--purple);
  background: #fff;
  cursor: pointer;
  font-size: 10px;
}
.submit {
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, var(--purple));
  box-shadow: 0 12px 25px #5e1ad130;
  font-weight: 800;
  cursor: pointer;
}
.submit:disabled {
  opacity: 0.55;
}
.error {
  min-height: 18px;
  margin: 9px 0;
  color: #d44545;
  font-size: 10px;
  text-align: center;
}
.security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 9px;
  color: #51705f;
  background: #edf9f2;
  font-size: 9px;
}
.security i {
  font-style: normal;
}
.remembered-panel {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #e3d9f3;
  border-radius: 15px;
  text-align: center;
  background: linear-gradient(145deg, #fff, #f7f2ff);
}
.remembered-panel[hidden],
#credentialPanel[hidden] {
  display: none;
}
.remembered-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #9d70ff, var(--purple));
  font-size: 23px;
  font-weight: 900;
}
.remembered-panel > span,
.remembered-panel > strong,
.remembered-panel > small {
  display: block;
}
.remembered-panel > span {
  color: var(--muted);
  font-size: 10px;
}
.remembered-panel > strong {
  margin-top: 7px;
  font-size: 18px;
}
.remembered-panel > small {
  margin-top: 5px;
  color: var(--purple);
  font-size: 11px;
}
.forget-device {
  margin-top: 13px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}
.login-card > a {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font-size: 10px;
}
@media (max-width: 850px) {
  .login-shell {
    display: block;
  }
  .brand-side {
    display: none;
  }
  .form-side {
    min-height: 100vh;
  }
  .mobile-logo {
    display: grid;
  }
  .eyebrow {
    text-align: center;
    margin-top: 20px;
  }
  .login-card h2,
  .intro {
    text-align: center;
  }
}
