.app-login-page {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 14%, rgba(216, 255, 82, .18), transparent 28%),
    radial-gradient(circle at 82% 88%, rgba(92, 190, 218, .12), transparent 30%),
    var(--paper);
}

.app-login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image: radial-gradient(circle, rgba(23, 22, 18, .16) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 38%, transparent 65%, #000);
  mask-image: linear-gradient(to bottom, #000, transparent 38%, transparent 65%, #000);
}

.app-login {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 24px 24px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(28px, 5vh, 52px);
}

.app-login-stage {
  width: 100%;
  display: grid;
  place-items: center;
}

.app-login-card {
  position: relative;
  width: min(480px, 100%);
  padding: clamp(30px, 5vw, 46px);
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(51, 45, 29, .12);
}

.app-login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--lime), #85d69a 48%, #65bdd7);
}

.app-login-heading {
  display: block;
}

.app-login-heading h1 {
  font-size: clamp(34px, 6vw, 46px);
}

.app-login-card form {
  display: grid;
  gap: 17px;
  margin-top: 26px;
}

.app-login-card label {
  gap: 8px;
  font-size: 13px;
}

.app-login-card input {
  min-height: 52px;
  padding-inline: 15px;
  border-radius: 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.app-login-card input:hover {
  border-color: #bdb6a5;
}

.app-login-card input:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(216, 255, 82, .58);
}

.app-login-card button {
  min-height: 54px;
  margin-top: 5px;
  box-shadow: 0 10px 24px rgba(23, 22, 18, .14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.app-login-card button:hover {
  box-shadow: 0 14px 30px rgba(23, 22, 18, .2);
}

.login-error {
  padding: 12px 14px;
  border-radius: 11px;
  background: #f8dcd7;
  color: var(--red);
}

.svetoak-credit {
  justify-self: center;
}

.svetoak-credit a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.svetoak-credit a:hover {
  background: rgba(255, 254, 249, .72);
  border-color: var(--line);
  transform: translateY(-1px);
}

.svetoak-credit img {
  width: 29px;
  height: 32px;
  object-fit: contain;
}

.svetoak-credit span {
  display: grid;
  line-height: 1.05;
}

.svetoak-credit small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.svetoak-credit strong {
  font-size: 13px;
  letter-spacing: -.01em;
}

@media (max-width: 520px) {
  .app-login {
    padding: 18px 14px 16px;
    gap: 20px;
  }

  .app-login-card {
    border-radius: 16px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .app-login-card input,
  .app-login-card button,
  .svetoak-credit a {
    transition: none;
  }
}
