/* =====================================================================
   İSAR yeni tema — ÜYELİK ekranları (P3, 08.10.2026): giriş/kayıt ekleri, şifre sıfırlama, Hesabım, bağış takip
   sonucu. Tasarımın kendi parçaları bagis.css'te (.uye, .takip); burada yalnız panelde olup tasarımda olmayanlar.
   Renk ve ölçüler tasarımın değişkenleriyle (site.css :root).
   ===================================================================== */

/* ---------- Ortak: form sonuç yazısı (site.js uyeSonuc) ---------- */
.form-not--uye { margin-top: 8px; text-align: center; font-size: 12px; line-height: 16px; font-weight: 700; color: #118a3e; overflow-wrap: anywhere; }
.form-not--uye.form-not--hata { color: var(--kirmizi); }
.form-not--uye[hidden] { display: none; }
.takip__kutu .form-not--uye { max-width: 325px; }

/* ---------- Giriş / kayıt / şifremi unuttum / telefon ---------- */
.uye [hidden] { display: none !important; }
.uye__ikili--sifre { margin-top: 10px; }
.uye__sosyal a { position: relative; display: flex; align-items: center; justify-content: center; height: 36px; padding-left: 40px; border-radius: 21px; font-size: 14px; line-height: 17px; font-weight: 500; white-space: nowrap; }
.uye__sosyal a img { position: absolute; top: 7px; left: 24px; }
.uye__sosyal a:hover { filter: brightness(.97); }
.uye__telefon { padding-left: 0 !important; background: #fff; border: 2px solid var(--gri-cizgi-2); color: var(--yazi); }
.uye__form--sifre { width: 320px; }
.uye__baslik { font-size: 16px; line-height: 20px; font-weight: 800; color: var(--lacivert); text-align: center; }
.uye__aciklama { margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--yazi-2); text-align: center; }
.uye__aciklama strong { color: var(--lacivert); }
.uye__geri { display: block; width: max-content; margin: 18px auto 0; padding: 8px 6px; font-size: 12px; line-height: 15px; font-weight: 700; color: var(--mavi); text-decoration: underline; }
.uye__geri:hover { color: var(--lacivert); }
.uye__yazi-dugme { display: block; margin: 10px auto 0; padding: 8px 6px; font-size: 12px; line-height: 15px; font-weight: 700; color: var(--mavi); text-decoration: underline; }
.uye__yazi-dugme:disabled { opacity: .55; cursor: default; text-decoration: none; }
.uye__kod { letter-spacing: .4em; text-align: center; font-size: 18px; font-weight: 700; }
.uye__ana-dugme--bag { display: grid; place-items: center; }
.uye__ana-dugme:disabled { opacity: .6; cursor: default; filter: none; }
.uye--sifre .uye__govde { min-height: 0; padding-bottom: 24px; }
.uye__form .uye__onaylar { margin-top: 14px; }

/* ---------- Bağış takip sonucu ---------- */
.takip-sonuc { width: 760px; max-width: 100%; margin: 20px auto 0; padding: 28px 30px 30px; background: var(--gri-zemin); border-radius: 12px; }
.takip-sonuc__baslik { font-size: 18px; line-height: 22px; font-weight: 800; color: var(--lacivert); text-align: center; }
.takip-sonuc__kayit { margin-top: 16px; padding: 18px; background: #fff; border: 2px solid var(--gri-cizgi-2); border-radius: 12px; }
.takip-sonuc__kim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--gri-cizgi-2); }
.takip-sonuc__kim dt, .hesabim__bilgiler dt { font-size: 12px; line-height: 15px; font-weight: 800; color: var(--lacivert); }
.takip-sonuc__kim dd, .hesabim__bilgiler dd { margin: 2px 0 0; font-size: 14px; line-height: 18px; font-weight: 600; overflow-wrap: anywhere; }
.takip-sonuc__kalem { padding-top: 14px; }
.takip-sonuc__kalem + .takip-sonuc__kalem { margin-top: 14px; border-top: 1px dashed var(--gri-cizgi); }
.takip-sonuc__ust { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 14px; align-items: center; }
.takip-sonuc__ad strong, .hesabim__bagis-ad strong { display: block; font-size: 15px; line-height: 19px; font-weight: 800; color: var(--lacivert); overflow-wrap: anywhere; }
.takip-sonuc__ad span, .hesabim__bagis-ad span { display: block; margin-top: 2px; font-size: 12px; line-height: 15px; color: var(--yazi-2); overflow-wrap: anywhere; }
.takip-sonuc__tutar, .hesabim__tutar { font-size: 15px; line-height: 19px; font-weight: 800; color: var(--mavi); white-space: nowrap; }
.takip-adim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.takip-adim__oge { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 10px; border-radius: 10px; background: var(--gri-zemin-2); font-size: 13px; line-height: 16px; font-weight: 700; color: var(--yazi-2); }
.takip-adim__oge i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--gri-cizgi); font-style: normal; font-size: 12px; line-height: 1; font-weight: 800; }
.takip-adim__oge--bitti { background: #e3f6ec; color: #0b7a45; }
.takip-adim__oge--bitti i { background: var(--yesil); border-color: var(--yesil); color: #fff; }
.takip-adim__oge--simdi { background: #e5effd; color: var(--mavi); }
.takip-adim__oge--simdi i { border-color: var(--mavi); color: var(--mavi); }
.takip-sonuc__aciklama { margin-top: 10px; font-size: 13px; line-height: 18px; }
.takip-sonuc__gizlilik { margin-top: 14px; font-size: 12px; line-height: 16px; color: var(--yazi-2); text-align: center; }
.takip-sonuc__yeni { margin: 16px auto 0; }
.takip__uyelik--tek { grid-template-columns: 225px; }

/* ---------- Rozet (Hesabım + takip) ---------- */
.hesabim__rozet { display: inline-grid; place-items: center; justify-self: center; min-height: 26px; padding: 4px 12px; border-radius: 13px; font-size: 12px; line-height: 15px; font-weight: 700; text-align: center; white-space: nowrap; }
.hesabim__rozet--yesil { background: #e3f6ec; color: #0b7a45; }
.hesabim__rozet--kirmizi { background: #fde8e8; color: #a40000; }
.hesabim__rozet--sari { background: #fff4d6; color: #6e4d00; }
.hesabim__rozet--mavi { background: #e5effd; color: #0646a8; }
.hesabim__rozet--gri { background: var(--gri-zemin-2); color: var(--yazi-2); }

/* ---------- Hesabım ---------- */
.hesabim-sayfa { padding: 16px 0 96px; }
.hesabim__bant { height: 150px; }
.hesabim__kutu { margin-top: 20px; padding: 24px 30px; background: var(--gri-zemin); border-radius: 12px; }
.hesabim__uye { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 20px; border-top: 4px solid #fcb813; }
.hesabim__kim { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hesabim__harf { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lacivert); color: #fff; font-size: 18px; line-height: 1; font-weight: 800; }
.hesabim__kim h2 { font-size: 18px; line-height: 22px; font-weight: 800; color: var(--lacivert); overflow-wrap: anywhere; }
.hesabim__kim p { margin-top: 2px; font-size: 13px; line-height: 16px; color: var(--yazi-2); }
.hesabim__cikis { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 22px; border: 2px solid var(--kirmizi); border-radius: 21px; color: var(--kirmizi); font-size: 14px; line-height: 17px; font-weight: 800; white-space: nowrap; }
.hesabim__cikis:hover { background: var(--kirmizi); color: #fff; }
.hesabim__bilgiler { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.hesabim__bilgiler > div { padding: 12px 16px; background: #fff; border: 2px solid var(--gri-cizgi-2); border-radius: 12px; }
.hesabim__baslik { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.hesabim__baslik h2, .hesabim__sil h2 { font-size: 20px; line-height: 24px; font-weight: 800; color: var(--lacivert); }
.hesabim__not { margin-top: 8px; max-width: 860px; font-size: 13px; line-height: 18px; color: var(--yazi-2); }
.hesabim__not strong { color: var(--yazi); }
.hesabim__not a { color: var(--mavi); font-weight: 700; text-decoration: underline; }
.hesabim__liste { display: grid; gap: 10px; margin-top: 16px; }
.hesabim__bagis { display: grid; grid-template-columns: minmax(0, 1fr) 150px 160px 90px; align-items: center; gap: 12px 16px; padding: 14px 18px; background: #fff; border: 2px solid var(--gri-cizgi-2); border-radius: 12px; }
.hesabim__tutar { text-align: right; }
.hesabim__tarih { font-size: 13px; line-height: 16px; color: var(--yazi-2); text-align: right; }
.hesabim__videolar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; border-top: 1px solid var(--gri-cizgi-2); }
.hesabim__videolar-baslik { width: 100%; font-size: 12px; line-height: 15px; font-weight: 800; color: var(--lacivert); }
.hesabim__video { position: relative; display: flex; flex-direction: column; width: 160px; text-align: left; }
.hesabim__video img { width: 160px; height: 90px; border-radius: 10px; object-fit: cover; background: var(--lacivert); }
.hesabim__oynat { display: block; width: 160px; height: 90px; border-radius: 10px; background: var(--lacivert); }
.hesabim__video img + .hesabim__oynat { position: absolute; top: 0; left: 0; background: rgba(0, 32, 90, .35); }
.hesabim__oynat::before { content: ""; position: absolute; top: 45px; left: 80px; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; }
.hesabim__oynat::after { content: ""; position: absolute; top: 45px; left: 80px; margin: -8px 0 0 -4px; border-left: 14px solid var(--kirmizi); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.hesabim__video:hover .hesabim__oynat::before { background: #ffe7e7; }
.hesabim__video-ad { margin-top: 6px; font-size: 12px; line-height: 15px; font-weight: 600; color: var(--yazi); overflow-wrap: anywhere; }
.hesabim__bos { display: grid; justify-items: center; gap: 14px; margin-top: 16px; padding: 28px 16px; background: #fff; border: 2px dashed var(--gri-cizgi); border-radius: 12px; font-size: 14px; line-height: 18px; font-weight: 600; text-align: center; }
.hesabim__dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 22px; border-radius: 21px; font-size: 14px; line-height: 17px; font-weight: 800; white-space: nowrap; }
.hesabim__dugme:disabled { opacity: .6; cursor: default; }
.hesabim__dugme--kirmizi { background: var(--kirmizi); color: #fff; }
.hesabim__dugme--mavi { background: var(--mavi); color: #fff; }
.hesabim__dugme--gri { background: #fff; border: 2px solid var(--gri-cizgi); color: var(--yazi); }
.hesabim__dugme--cizgi { border: 2px solid var(--kirmizi); color: var(--kirmizi); }
.hesabim__dugme--kirmizi:hover, .hesabim__dugme--mavi:hover { filter: brightness(1.12); }
.hesabim__dugme--cizgi:hover { background: var(--kirmizi); color: #fff; }
.hesabim__sil h2 { font-size: 16px; line-height: 20px; }
.hesabim__sil p { max-width: 860px; margin: 6px 0 14px; font-size: 13px; line-height: 18px; color: var(--yazi-2); }

/* Pencereler (hesap silme, video) */
html.pencere-acik { overflow: hidden; }
.hesabim-pencere { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0, 20, 60, .6); }
.hesabim-pencere[hidden] { display: none; }
.hesabim-pencere__kutu { position: relative; width: 420px; max-width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 24px; background: #fff; border-top: 4px solid #fcb813; border-radius: 12px; }
.hesabim-pencere__kutu h2 { padding-right: 36px; font-size: 16px; line-height: 20px; font-weight: 800; color: var(--lacivert); overflow-wrap: anywhere; }
.hesabim-pencere__kutu > p { margin-top: 6px; font-size: 13px; line-height: 18px; color: var(--yazi-2); }
.hesabim-pencere__kutu form { margin-top: 14px; }
.hesabim-pencere__kutu form .bagis-girdi { width: 100%; margin-top: 4px; }
.hesabim-pencere__dugmeler { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.hesabim-pencere__kutu--video { width: 820px; }
.hesabim-pencere__kutu video { display: block; width: 100%; max-height: 68vh; margin-top: 12px; border-radius: 8px; background: #000; }
.hesabim-pencere__kutu [data-video-indir] { margin-top: 12px; }
.hesabim-pencere__kapat { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--yazi); }
.hesabim-pencere__kapat:hover { background: var(--gri-zemin-2); }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .hesabim__bagis { grid-template-columns: minmax(0, 1fr) 130px 150px 84px; padding: 12px 14px; }
  .hesabim__bant p br, .takip-sonuc p br { display: none; }
}

/* ---------- Telefon ---------- */
@media (max-width: 767px) {
  .uye__sosyal a { height: 42px; }
  .uye__sosyal a img { top: 10px; }
  .uye__form--sifre { width: 100%; max-width: 320px; }
  .takip-sonuc { padding: 16px; }
  .takip-sonuc__kayit { padding: 14px; }
  .takip-sonuc__kim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .takip-sonuc__ust { grid-template-columns: minmax(0, 1fr) auto; }
  .takip-sonuc__ad { grid-column: 1 / -1; }
  .takip-sonuc__ust .hesabim__rozet { justify-self: end; }
  .takip-adim { grid-template-columns: 1fr; }
  .takip__uyelik--tek { grid-template-columns: minmax(0, 1fr); }
  .hesabim-sayfa { padding-bottom: 64px; }
  .hesabim__bant p br { display: none; }
  .hesabim__kutu { padding: 16px; }
  .hesabim__uye { grid-template-columns: 1fr; }
  .hesabim__cikis { justify-self: start; }
  .hesabim__bilgiler { grid-template-columns: 1fr; }
  .hesabim__bagis { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .hesabim__bagis-ad { grid-column: 1 / -1; }
  .hesabim__tutar { text-align: left; }
  .hesabim__bagis .hesabim__rozet { justify-self: end; }
  .hesabim__tarih { grid-column: 1 / -1; text-align: left; }
  .hesabim__video { width: calc(50% - 5px); }
  .hesabim__video img, .hesabim__oynat { width: 100%; }
  .hesabim__oynat::before, .hesabim__oynat::after { left: 50%; }
  .hesabim-pencere__dugmeler { flex-wrap: wrap; }
  .hesabim-pencere__dugmeler .hesabim__dugme { flex: 1 1 auto; }
}
