/* =============================================================================
   Servisilan · Giriş / Kayıt · ikiye bölünmüş ekran
   Header ve footer YOK — dikkat dağıtmadan forma odaklanır.
   ============================================================================= */

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #fff;
}

/* ------------------------------------------------------------- SOL: görsel */
.auth-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #05264E 0%, #0B3A73 55%, #3C65F5 130%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px;
}

/* dekoratif ışık lekeleri */
.auth-visual::before,
.auth-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.auth-visual::before {
  width: 520px; height: 520px;
  top: -180px; right: -200px;
  background: radial-gradient(circle, rgba(60,101,245,.55) 0%, rgba(60,101,245,0) 70%);
}
.auth-visual::after {
  width: 420px; height: 420px;
  bottom: -160px; left: -140px;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 70%);
}

.auth-visual > * { position: relative; z-index: 1; }

/* Koyu panelde logo: renkli sürümün lacivert yazısı okunmadığı için beyaza
   çevriliyor. Yönetimden ayrı bir koyu zemin logosu yüklenmişse
   (`auth-logo--own-dark`) filtre uygulanmaz — o dosya zaten koyu zemine göre
   hazırlanmıştır. Yükseklik başlıktaki `.si-logo` ile aynı ailede: 46px. */
.auth-visual .auth-logo img {
  height: 46px; width: auto; max-width: 260px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.auth-visual .auth-logo--own-dark img { filter: none; }

.auth-visual .auth-copy { max-width: 460px; }
.auth-visual .auth-copy h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: -.5px;
  margin: 0 0 16px;
}
.auth-visual .auth-copy p {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.auth-visual .auth-art {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 28px 0;
}

.auth-visual .auth-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.auth-visual .auth-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.9);
}
.auth-visual .auth-points i {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

/* -------------------------------------------------------------- SAĞ: form */
.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  overflow-y: auto;
}
.auth-form-inner { width: 100%; max-width: 420px; }

/* Mobilde görünen logo (sol panel gizlenince) */
.auth-form-inner .auth-logo-mobile { display: none; text-align: center; margin-bottom: 28px; }
.auth-form-inner .auth-logo-mobile img {
  height: 44px; width: auto; max-width: 240px; object-fit: contain;
}

.auth-form-inner .auth-back {
  display: inline-block;
  font-size: 14px;
  color: #66789c;
  margin-bottom: 22px;
}
.auth-form-inner .auth-back:hover { color: #3C65F5; }

/* Tema .login-register formunu bu kolonda dar tut */
.auth-form-side .login-register { margin-top: 0 !important; }

/* ------------------------------------------------------------------ mobil */
@media (max-width: 991px) {
  .auth-split { grid-template-columns: 1fr; min-height: 100dvh; }
  .auth-visual { display: none; }
  .auth-form-inner .auth-logo-mobile { display: block; }
  .auth-form-side { padding: 32px 20px; align-items: flex-start; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .auth-visual { padding: 40px 36px; }
  .auth-visual .auth-copy h2 { font-size: 28px; }
  .auth-visual .auth-art { max-width: 340px; margin: 20px 0; }
}

/* Yükseklik kısıtlıysa görseli gizleyip metni koru */
@media (min-width: 992px) and (max-height: 760px) {
  .auth-visual .auth-art { max-width: 300px; margin: 14px 0; }
  .auth-visual .auth-copy h2 { font-size: 28px; }
}
