.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  background: #fbfcf8;
}
.wellsite {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(28px, 4.6vw, 78px);
  color: #fff;
  background: linear-gradient(180deg, #102e2799, transparent 33%, transparent 56%, #0b241de6),
    url('./login-wellsite.jpg') 45% center / cover, var(--deep);
}
.wellsite-caption p {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 650;
  letter-spacing: 0.025em;
  line-height: 1.25;
}
.wellsite-caption ol {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #e2ebdf;
  font-size: 0.91rem;
}
.wellsite-caption li + li::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 0.8em;
  vertical-align: middle;
  background: #b6c6b1;
}
.login-panel {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 48px clamp(30px, 5vw, 100px);
}
.login-content {
  width: min(100%, 384px);
}
.login-content h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(1.9rem, 2.6vw, 2.75rem);
  line-height: 1.25;
}
.login-intro {
  margin: 12px 0 34px;
  font-size: 0.94rem;
  color: var(--muted);
}
.login-form, .login-field {
  display: grid;
}
.login-form {
  gap: 22px;
}
.login-field {
  gap: 7px;
}
.login-field label {
  font-size: 0.92rem;
  font-weight: 650;
}
.login-field input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #9fb5a9;
  border-radius: 7px;
}
.password-box {
  position: relative;
}
.password-box input {
  padding-right: 80px;
}
.password-box button {
  position: absolute;
  top: 4px;
  right: 4px;
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--forest);
  font-size: 0.82rem;
}
.password-box button:hover {
  background: var(--pale);
}
.login-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  margin-top: 6px;
}
.login-submit span {
  font-size: 1.28rem;
}
.login-error {
  margin: -4px 0;
  color: #903225;
  font-size: 0.9rem;
}
@media (max-width: 660px) {
  .login-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .wellsite {
    min-height: 180px;
    gap: 24px;
    padding: 20px 26px;
    background-image: linear-gradient(95deg, #0d3028cf, #132c24a3 55%, #213a2c36),
      url('./login-wellsite.jpg');
    background-position: center, 46% 50%;
  }
  .wellsite-caption p {
    font-size: 1.65rem;
  }
  .wellsite-caption ol {
    margin-top: 5px;
    font-size: 0.8rem;
  }
  .login-panel {
    align-items: start;
    padding: 40px 26px;
  }
  .login-intro {
    margin-bottom: 25px;
  }
}
