.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  background: var(--sidebar);
}

.auth-hero {
  color: #ffffff;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(17, 28, 38, 0.2), rgba(17, 28, 38, 0.88)),
    url("../assets/images/learnlog-hero.svg") center/cover no-repeat;
}

.auth-hero h1 {
  max-width: 680px;
  font-size: 64px;
  line-height: 1;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.auth-hero p {
  max-width: 560px;
  color: #dbeafe;
  font-size: 18px;
}

.auth-panel {
  background: var(--surface);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.12);
}

.auth-panel h2 {
  font-size: 30px;
  margin: 0 0 8px;
}

.auth-panel .muted {
  color: var(--muted);
  margin-bottom: 24px;
}

.auth-switch {
  margin-top: 18px;
  color: var(--muted);
}

.auth-switch a {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 900px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    min-height: 340px;
    padding: 32px;
  }

  .auth-hero h1 {
    font-size: 44px;
  }

  .auth-panel {
    padding: 32px 20px;
  }
}

@media (max-width: 420px) {
  .auth-hero h1 {
    font-size: 36px;
  }
}
