/* Çerez bildirimi, tercih penceresi ve YouTube izin ekranı (E4). Tema renkleri: genel.css (#44b9cf). */
.cerez-bildirimi {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
  background: #fff; color: #222; border-top: 4px solid #44b9cf;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); padding: 16px;
  font-size: 16px; line-height: 1.5;
}
.cerez-bildirimi[hidden], .yt-izin[hidden] { display: none; }
.cerez-bildirimi-ic { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cerez-bildirimi-metin { flex: 1 1 300px; min-width: 0; margin: 0; }
.cerez-bildirimi-metin h2 { font-size: 18px; margin: 0 0 4px; }
.cerez-bildirimi-metin p { margin: 0; }
.cerez-dugmeler { display: flex; flex-wrap: wrap; gap: 8px; }
.cerez-dugmeler .ui.button { margin: 0; font-size: 16px; }
.cerez-bildirimi a, .cerez-tercihleri a { color: #1a6f80; text-decoration: underline; }
.cerez-bildirimi :focus-visible, .cerez-tercihleri :focus-visible, .yt-izin :focus-visible, .cerez-alt :focus-visible {
  outline: 3px solid #1a6f80; outline-offset: 2px;
}

.cerez-tercihleri {
  border: 0; border-radius: 8px; padding: 24px; max-width: 560px; width: calc(100% - 24px);
  color: #222; font-size: 16px; line-height: 1.5;
}
.cerez-tercihleri::backdrop { background: rgba(0, 0, 0, .5); }
.cerez-tercihleri { max-height: calc(100vh - 24px); overflow-y: auto; }
.cerez-ust { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cerez-tercihleri h2 { font-size: 20px; margin: 0 0 4px; }
.cerez-x { background: none; border: 0; font-size: 30px; line-height: 1; padding: 0 4px; cursor: pointer; color: #444; }
.cerez-giris { margin: 0 0 12px; color: #444; }
.cerez-gruplar, .cerez-hizmetler { list-style: none; margin: 0; padding: 0; }
.cerez-grup { border-top: 1px solid #ddd; padding: 12px 0; }
.cerez-satir { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cerez-satir label { font-weight: bold; cursor: pointer; margin: 0; }
.cerez-soluk { color: #767676; font-size: 14px; }
.cerez-grup-aciklama, .cerez-hizmet p { margin: 4px 0 0 56px; color: #444; }
.cerez-ac { background: none; border: 0; padding: 4px 0; margin: 4px 0 0 56px; color: #1a6f80; text-decoration: none; cursor: pointer; font: inherit; }
.cerez-ac-metin { text-decoration: underline; }
/* Ok ayrı simge: alt çizgi yalnız metinde; açıkken aria-expanded ile yukarı döner. */
.cerez-ok { width: .75em; height: .75em; margin-right: .25em; vertical-align: -.05em; transition: transform .15s ease; }
.cerez-ac[aria-expanded="true"] .cerez-ok { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .cerez-ok { transition: none; } }
.cerez-hizmetler { margin: 8px 0 0 56px; border-left: 3px solid #e3f4f7; padding-left: 12px; }
.cerez-hizmetler[hidden] { display: none; }
.cerez-hizmet { padding: 8px 0; }
.cerez-hizmet .cerez-amac { font-size: 14px; color: #767676; margin-top: 2px; }
.cerez-hepsi { border-top: 2px solid #ccc; padding: 12px 0 16px; }

/* Anahtar görünümlü gerçek checkbox (ara durum: indeterminate). */
.cerez-anahtar {
  -webkit-appearance: none; appearance: none; flex: none; position: relative; margin: 0;
  width: 46px; height: 26px; border-radius: 13px; background: #bbb; cursor: pointer; transition: background .15s;
}
.cerez-anahtar::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: left .15s;
}
.cerez-anahtar:checked { background: #1a8fa3; }
.cerez-anahtar:checked::before { left: 23px; }
.cerez-anahtar:indeterminate { background: linear-gradient(90deg, #1a8fa3 50%, #bbb 50%); }
.cerez-anahtar:indeterminate::before { left: 13px; }
.cerez-anahtar:disabled { cursor: not-allowed; opacity: .6; }

.cerez-alt { text-align: center; padding: 20px 10px 30px; font-size: 15px; }
.cerez-alt a { color: inherit; text-decoration: underline; margin: 0 8px; display: inline-block; padding: 4px 0; }
.cerez-alt button { background: none; border: 0; padding: 4px 0; margin: 0 8px; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* YouTube izin ekranı: oynatıcının yerinde (tema .player 16:9 kutusunu doldurur), küçük resim üzerinde. */
.yt-izin { position: absolute; inset: 0; background: #1b1c1d center / cover no-repeat; border-radius: 6px; overflow: hidden; }
.yt-izin-kutu {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 16px; text-align: center; color: #fff; background: rgba(0, 0, 0, .68);
}
.yt-izin-kutu p { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.45; }
.yt-izin-kutu .ui.button { font-size: 20px; margin: 0; }
.yt-izin-kutu a { color: #fff; text-decoration: underline; font-size: 15px; }
@media (max-width: 600px) {
  /* Dar ekranda metin 16:9 kutuya sığmaz: kutu içeriğe göre uzar. */
  .embedded-video .player:has(.yt-izin) { height: auto; padding-top: 0; }
  .yt-izin { position: relative; }
  .yt-izin-kutu { position: relative; min-height: 220px; }
  .yt-izin-kutu p { font-size: 16px; }
  .yt-izin-kutu .ui.button { font-size: 18px; width: 100%; }
  .cerez-dugmeler, .cerez-dugmeler .ui.button { width: 100%; }
  .cerez-tercihleri { padding: 16px; }
  .cerez-grup-aciklama, .cerez-ac, .cerez-hizmet p { margin-left: 0; }
  .cerez-hizmetler { margin-left: 8px; }
}

/* Çerez Politikası ve KVKK sayfaları */
.yasal-metin { max-width: 900px; margin: 20px auto 10px; padding: 24px; background: #fff; border-radius: 8px; color: #222; font-size: 16px; line-height: 1.6; }
.yasal-metin h1 { font-size: 26px; }
.yasal-metin h2 { font-size: 20px; margin-top: 28px; }
.yasal-metin h3 { font-size: 17px; margin-top: 20px; }
.yasal-metin table { font-size: 15px; }
.yasal-metin a, .yasal-baglanti { color: #1a6f80; text-decoration: underline; }
.yasal-baglanti { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.yasal-sorumlu { list-style: none; padding: 0; }
