/* Giriş ekranları (giriş, kayıt, şifre sıfırlama, doğrulama): landing ile aynı
   dil. Sağda form (sayfanın kendisi, kart değil), solda marka indigosu panel:
   sayfanın adres çubuğu ve linkleri. Form öğeleri ortak
   bileşenlerdir (components.css: .ui-form, .btn, .input-affix, .address).
   Giriş ekranları kullanıcının temasını izler (açık/koyu); panel her iki temada
   aynı indigodur. */
.auth-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: start;
  max-width: 1080px; margin: 40px auto 24px;
}
.auth-card { width: 100%; padding: 8px 0 0; }
.auth-card h1 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; color: var(--text); }
.auth-lead { margin: 0 0 28px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.auth-card > .notice, .auth-card > .error { margin-bottom: 20px; }
.auth-links { margin: 24px 0 0; font-size: 15px; color: var(--text-2); }
.auth-links a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.field-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.field-label-row a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.ui-form .password-field input { padding-right: 84px; }

/* Kayıttaki "Kupon kodum var" (details): kapalıyken yalnızca bağlantı gibi görünen özet. */
.coupon-field > summary { width: fit-content; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); }
.coupon-field[open] > summary { margin-bottom: 4px; }
.coupon-field input { text-transform: uppercase; font-family: var(--font-code); }
.legal-consent + .field-hint a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* Marka paneli (solda): süstür (aria-hidden). Beyaz metin indigoda ≥ 4.5:1.
   Sayfanın kendisi gösterilir: adres çubuğu ve altında link hapları. */
.auth-aside {
  order: -1; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 32px; padding: 48px 44px;
  border-radius: 28px; background: #4f46e5; color: #fff; overflow: hidden;
}
.auth-aside-title { margin: 0; max-width: 16ch; font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.auth-aside-page { display: flex; flex-direction: column; gap: 10px; }
.auth-aside-bar {
  display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0 0 6px; padding: 12px 16px;
  border-radius: 14px; background: #fff; color: #171a2e; font-size: 15px; box-shadow: 0 10px 24px rgb(15 13 46 / .25);
}
.auth-aside-bar svg { flex: none; width: 16px; height: 16px; fill: none; stroke: #15803d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.auth-aside-bar .address-host { color: #6b6f86; }
.auth-aside-bar [data-address-preview] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-aside-link {
  display: block; padding: 13px 16px; border-radius: 12px; background: rgb(255 255 255 / .14);
  border: 1px solid rgb(255 255 255 / .22); font-size: 14px; font-weight: 600; text-align: center;
}
.auth-aside-points { display: grid; gap: 10px; margin: 0; padding: 20px 0 0; border-top: 1px solid rgb(255 255 255 / .2); list-style: none; font-size: 15px; }
.auth-aside-points li { position: relative; padding-left: 26px; line-height: 1.45; }
.auth-aside-points li::after {
  content: ""; position: absolute; left: 5px; top: 3px; width: 6px; height: 11px;
  border: solid #ffd43b; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

@media (max-width: 900px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 24px auto; }
  .auth-aside { display: none; }
}
