.login-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  z-index: -2;
}
.login-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 23, 40, 0.75), rgba(14, 24, 36, 0.03) 88%),
    linear-gradient(0deg, rgba(9, 20, 31, 0.35), transparent 70%);
}
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 940px;
  margin: 10vh auto;
  padding: 1rem;
  gap: 2.5rem;
  align-items: stretch;
}
.login-photo {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 2rem;
  background: var(--navy);
  color: white;
}
.login select {
  width: 100%;
}
@media (max-width: 680px) {
  .login {
      margin: 1.2rem auto;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  .login-photo {
      min-height: 155px;
    }
}
