.auth-page{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(34, 193, 195, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(124, 58, 237, 0.12), transparent 26%),
    var(--bg);
}

.auth-wrap{
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.auth-hero{
  padding: 42px;
  border-radius: 28px;
  color: white;
  background: linear-gradient(135deg, #22c1c3, #2563eb 55%, #7c3aed);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
}

.auth-hero-badge{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 700;
}

.auth-hero h1{
  margin: 18px 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.auth-hero p{
  margin: 0;
  max-width: 48ch;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-size: 1.05rem;
}

.auth-features{
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.auth-feature{
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
}

.auth-feature strong{
  display: block;
  margin-bottom: 4px;
}

.auth-card{
  padding: 34px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-card h2{
  margin: 0 0 10px;
  font-size: 2rem;
}

.auth-card p{
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form{
  display: grid;
  gap: 16px;
}

.auth-submit{
  margin-top: 6px;
  width: 100%;
}

.auth-help{
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 980px){
  .auth-wrap{
    grid-template-columns: 1fr;
  }

  .auth-hero{
    min-height: auto;
  }
}