.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.login-layout {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.login-layout.single-card {
  grid-template-columns: minmax(320px, 520px);
  justify-content: center;
}

.login-hero,
.login-card {
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.login-hero {
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at top left, rgba(0, 184, 217, 0.28), transparent 36%),
    linear-gradient(145deg, rgba(10, 27, 51, 0.98), rgba(17, 85, 204, 0.94));
  color: #fff;
}

.login-hero h1,
.login-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.login-card h2 {
  font-size: 2rem;
}

.login-hero .brand-kicker,
.login-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.stack-form {
  display: grid;
  gap: 1rem;
}

.stack-form label {
  display: grid;
  gap: 0.45rem;
}

.stack-form span {
  font-size: 0.9rem;
  color: var(--muted);
}

.stack-form input,
.stack-form textarea,
.stack-form select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-alt);
}

.stack-form textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 820px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
}
