/* GİRİŞ VE KAYIT — bölünmüş ekran
 *
 * NEDEN BÖLÜNMÜŞ:
 * Form tek başına geniş bir sayfada asılı kalıyordu: 780px genişlikte
 * 440px'lik bir form, altında 300px boşluk. Görsel çapa yoktu ve sayfa
 * "yarım kalmış" duruyordu.
 *
 * Sağdaki koyu panel bu boşluğu doldurmakla kalmaz, iki iş daha yapar:
 *   · Kayıt olmadan önce KARARI destekler (ne alacağını hatırlatır)
 *   · Tanıtım sayfasının koyu bölüm dilini sürdürür, ürün tek parça durur
 *
 * Dar ekranda panel GİZLENİR. Mobilde form üstte, tanıtım altta olsaydı
 * kullanıcı klavyeyi açtığında sayfa zıplardı; kayıt akışında bu ölümcül.
 */

.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
}

/* ─────────────────────────────────────────────────────── SOL: FORM */

.auth-form {
  display: flex; flex-direction: column;
  padding: 28px 40px 40px;
  background: var(--bg);
}
.auth-brand { margin-bottom: auto; }

/* Form dikeyde ortalanır ama üstten biraz yukarıda durur: tam ortada
 * duran bir form, uzun kayıt formunda ekranın altına taşar. */
.auth-box {
  width: 100%; max-width: 420px;
  margin: 0 auto auto;
  padding: 48px 0 24px;
}
.auth-foot { margin-top: auto; padding-top: 32px; }

.auth-box h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.auth-box .lead-sm {
  font-size: 15.5px; line-height: 1.5; color: var(--muted);
  margin-bottom: 30px;
}

/* Alternatif eylem — "Hesabınız yok mu?" */
.auth-alt {
  margin-top: 26px; padding-top: 22px;
  border-top: .8px solid var(--line);
  font-size: 15px; color: var(--muted); text-align: center;
}
.auth-alt a { color: var(--accent); font-weight: 500; }

/* ──────────────────────────────────────────────── SAĞ: DEĞER PANELİ */

.auth-yan {
  background: var(--dark); color: #fff;
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}

/* Köşedeki yumuşak ışık — düz siyah bir dikdörtgen ucuz durur */
.auth-yan::before {
  content: ''; position: absolute;
  right: -180px; top: -140px; width: 520px; height: 520px;
  border-radius: 50%; background: var(--accent); opacity: .16;
  filter: blur(20px);
}
.auth-yan > * { position: relative; }

.auth-yan h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.18; letter-spacing: -0.012em;
  color: #fff; max-width: 16ch;
}
.auth-yan h2 .dim { color: rgba(255,255,255,.42); }

.auth-liste { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.auth-liste li { display: flex; gap: 14px; align-items: flex-start; }
.auth-liste b {
  display: block; font-family: var(--font-display);
  font-weight: 500; font-size: 16px; color: #fff; margin-bottom: 3px;
}
.auth-liste span { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.62); }
.auth-liste .no {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255,255,255,.09); border: .8px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 500; color: #B9C8FA;
  font-variant-numeric: tabular-nums;
}

.auth-not {
  margin-top: 36px; padding-top: 22px;
  border-top: .8px solid rgba(255,255,255,.1);
  font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.55);
}

/* ───────────────────────────────────────────── ADIM GÖSTERGESİ */

.auth-adimlar { display: flex; gap: 8px; margin-bottom: 26px; }
.auth-adim {
  height: 3px; flex: 1; border-radius: 2px;
  background: var(--line); transition: background .25s ease;
}
.auth-adim.on { background: var(--accent); }

/* ─────────────────────────────────────────────────── DAR EKRAN */

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; min-height: 100dvh; }
  /* Panel gizlenir: mobilde form ile arasında kaydırma yapmak,
     klavye açıkken sayfayı zıplatır ve kayıt akışını bozar. */
  .auth-yan { display: none; }
  .auth-form { padding: 24px 20px 40px; }
  .auth-box { padding-top: 28px; }
}
