:root {
  --blue: #2469ee;
  --navy: #0d2f6e;
  --muted: #61718e;
  --line: #d8e0ec;
  --white: #fff;
  --shadow: 0 22px 55px rgba(52, 105, 184, .13);
}

* {
  box-sizing: border-box;
  font-family: "Microsoft YaHei" !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--navy);
  background:
    radial-gradient(circle at 16% 11%, #f8fbff 0 9%, transparent 30%),
    linear-gradient(135deg, #edf5ff 0%, #f7fbff 48%, #eaf3ff 100%);
}

button,
input {
  font: inherit;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 132px;
  height: 132px;
  top: -28px;
  left: 27%;
  border-radius: 50%;
  background: rgba(112, 163, 239, .1);
}

body::after {
  left: -5vw;
  bottom: -210px;
  width: 110vw;
  height: 500px;
  border-radius: 50%;
  transform: rotate(6deg);
  background: #dceaff;
}

.decor,
.wave {
  display: none;
}

.shell {
  position: relative;
  z-index: 3;
  width: min(1220px, calc(100vw - 64px));
  min-height: min(620px, calc(100vh - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(360px, 44%);
  background: rgba(255, 255, 255, .97);
  border-radius: 31px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  min-width: 0;
  padding: clamp(42px, 6vh, 64px) clamp(36px, 4vw, 68px) 28px clamp(52px, 6vw, 86px);
}

.hero__copy h1 {
  margin: 0;
  color: #0d2e6c;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.18;
  letter-spacing: .02em;
  font-weight: 800;
  text-wrap: balance;
}

.hero__copy p {
  margin: 14px 0 20px;
  color: #425b83;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.6;
  letter-spacing: .01em;
}

.hero__image {
  display: block;
  width: 100%;
  height: clamp(300px, 42vh, 410px);
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  mix-blend-mode: multiply;
}

.login-panel {
  align-self: center;
  min-width: 0;
  padding: clamp(32px, 5vh, 44px) clamp(42px, 5vw, 72px) clamp(30px, 4vh, 40px) clamp(36px, 4vw, 52px);
  border-left: 1px solid #e2e8f0;
}

.login-panel h2 {
  margin: 0 0 15px;
  font-size: clamp(25px, 2vw, 30px);
  line-height: 1.25;
  letter-spacing: .04em;
}

.title-line {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #4d7ef5;
}

.field {
  height: clamp(56px, 6vh, 62px);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  border: 1.5px solid #d6e0ef;
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.field--password {
  margin-bottom: 0;
}

.field:hover {
  border-color: #b9c9e2;
}

.field:focus-within {
  border-color: #4f83f6;
  background: #fbfdff;
  box-shadow: 0 0 0 4px rgba(72, 125, 242, .1);
}

.field__icon {
  width: 62px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #8398bb;
  transition: color .2s;
}

.field:focus-within .field__icon {
  color: #3472e9;
}

.field__icon svg,
.eye svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #1d2c49;
  background: transparent;
  font-size: clamp(16px, 1.2vw, 18px);
}

.field input::placeholder {
  color: #9ba8bf;
}

.eye {
  width: 55px;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: #8796b3;
  cursor: pointer;
  transition: color .2s;
}

.eye:hover,
.eye:focus-visible {
  color: #3472e9;
  outline: 0;
}

.eye__hide {
  display: none;
}

.eye.is-visible .eye__show {
  display: none;
}

.eye.is-visible .eye__hide {
  display: block;
}

.options {
  margin: 24px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #687690;
  font-size: 16px;
  line-height: 1.5;
}

.options input {
  width: 20px;
  height: 20px;
  vertical-align: -4px;
  accent-color: var(--blue);
}

.link {
  border: 0;
  padding: 0;
  background: none;
  color: #1265ee;
  cursor: pointer;
}

.submit {
  width: 100%;
  height: clamp(54px, 5.5vh, 58px);
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2571f0, #1d5be5);
  font-size: clamp(18px, 1.35vw, 20px);
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(35, 104, 235, .18);
}

.submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.message {
  min-height: 22px;
  color: #e34848;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#password::-ms-reveal,
#password::-ms-clear {
  display: none;
}

#password::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
}

@media (max-width: 1150px) {
  .shell {
    width: min(920px, calc(100vw - 48px));
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 58px 0;
    text-align: center;
  }

  .hero__image {
    height: clamp(320px, 42vh, 410px);
  }

  .login-panel {
    border-left: 0;
    border-top: 1px solid #e5eaf1;
    padding: 46px 12% 42px;
  }
}

@media (max-width: 620px) {
  body {
    min-height: 100svh;
    padding: 14px;
  }

  .shell {
    width: calc(100vw - 28px);
    margin: 0 auto;
    border-radius: 22px;
  }

  .hero {
    padding: 34px 20px 0;
  }

  .hero__copy h1 {
    font-size: clamp(29px, 9vw, 35px);
    line-height: 1.22;
    letter-spacing: 0;
  }

  .hero__copy p {
    margin: 12px 0 18px;
    font-size: 18px;
    line-height: 1.55;
  }

  .hero__image {
    height: clamp(220px, 65vw, 285px);
  }

  .login-panel {
    padding: 36px 22px 38px;
  }

  .login-panel h2 {
    font-size: 27px;
  }

  .title-line {
    margin-bottom: 28px;
  }

  .field {
    height: 58px;
    margin-bottom: 18px;
  }

  .field__icon {
    width: 52px;
  }

  .field input {
    font-size: 17px;
  }

  .eye {
    width: 50px;
  }

  .options {
    margin: 23px 0;
    font-size: 15px;
  }

  .submit {
    height: 56px;
  }
}

@media (max-width: 390px) {
  .login-panel {
    padding-inline: 16px;
  }

  .options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
