:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #17382f;
  background: #f3f7f4;
}

* { box-sizing: border-box; }
body { display: grid; place-items: center; min-height: 100vh; margin: 0; padding: 28px; }
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 940px);
  min-height: 540px;
  overflow: hidden;
  border: 1px solid #dee8e2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 60px #17382f14;
}

.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 42px;
  color: #f2fff8;
  background: #104e41;
}

.intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 85% 85%, #287360 0, transparent 64%);
  content: "";
}

.brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; }
.intro-content { max-width: 320px; margin-top: 76px; }
.eyebrow { margin: 0 0 10px; color: #abe8cd; font-size: 13px; letter-spacing: .12em; }
h1 { margin: 0; font-size: clamp(30px, 4vw, 40px); line-height: 1.24; }
.intro-content p:last-child { margin-top: 17px; color: #d0e8de; font-size: 15px; line-height: 1.75; }

.warehouse { position: absolute; right: 40px; bottom: 39px; width: 212px; height: 127px; z-index: -1; }
.crate {
  position: absolute;
  width: 66px;
  height: 66px;
  border: 1px solid #a8e4ca83;
  border-radius: 8px;
  background: #9de8ca1f;
  transform: rotate(-17deg) skew(12deg);
}
.crate::after { content: ""; position: absolute; inset: 0 39%; background: #a8e4ca44; }
.crate-a { right: 8px; bottom: 6px; }
.crate-b { right: 82px; bottom: 1px; }
.crate-c { right: 54px; bottom: 64px; }

.sign-in { display: grid; place-items: center; padding: 42px; }
form { width: min(100%, 330px); }
h2 { margin: 0 0 9px; font-size: 27px; }
.hint { margin: 0 0 30px; color: #61746b; font-size: 14px; }
label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 650; }
input, button { font: inherit; }
input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #cbd8d0;
  border-radius: 9px;
  background: #fbfdfb;
  color: #17382f;
}
input:focus { outline: 2px solid #128575; outline-offset: 1px; }
input::placeholder { color: #718078; }
.password-field { position: relative; }
.password-field input { padding-right: 64px; }
.password-field button {
  position: absolute;
  right: 8px;
  top: 7px;
  height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #116b5b;
  font-size: 13px;
  cursor: pointer;
}
.remember-login {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #36584c;
  font-weight: 500;
  cursor: pointer;
}
.remember-login input { width: 16px; height: 16px; margin: 0; accent-color: #116b5b; }
.error { min-height: 20px; margin: 10px 0 6px; color: #a82d28; font-size: 13px; }
.submit {
  width: 100%;
  min-height: 47px;
  border: 0;
  border-radius: 9px;
  background: #116b5b;
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.submit:hover { background: #0c5548; }
.submit:disabled { opacity: .65; cursor: wait; }

@media (max-width: 680px) {
  body { padding: 16px; }
  .login { grid-template-columns: 1fr; min-height: auto; }
  .intro, .sign-in { padding: 24px; }
  .intro-content { margin-top: 22px; }
  .intro-content p:last-child { margin-bottom: 0; }
  .warehouse { display: none; }
}
