/* Ezber - Çerez onay banner'ı ve tercih paneli */
.ezc-banner,
.ezc-panel {
  font-family: "Exo", Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
  box-sizing: border-box;
}

.ezc-banner *,
.ezc-panel * {
  box-sizing: border-box;
}

.ezc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100030;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 8px;
  border-top: 4px solid #ffcc00;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 20px;
}

.ezc-metin {
  flex: 1;
}

.ezc-metin strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.ezc-metin p,
.ezc-panel-aciklama,
.ezc-kategori-bilgi p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.ezc-banner a,
.ezc-panel a {
  color: #d32f2f;
  text-decoration: underline;
}

.ezc-butonlar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ezc-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 5px;
  border: 2px solid #222;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}

/* Kabul ve Reddet aynı görünürlükte olmalıdır (KVKK Çerez Rehberi) */
.ezc-btn-ana {
  background: #222;
  color: #fff;
}

.ezc-btn-ana:hover,
.ezc-btn-ana:focus {
  background: #000;
}

.ezc-btn-ikincil {
  background: #fff;
  color: #222;
}

.ezc-btn-ikincil:hover,
.ezc-btn-ikincil:focus {
  background: #f2f2f2;
}

.ezc-arkaplan {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100040;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.ezc-panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 100%;
  overflow-y: auto;
  padding: 28px 24px 22px;
  border-radius: 8px;
  border-top: 4px solid #ffcc00;
}

.ezc-panel-baslik {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.ezc-panel-aciklama {
  margin-bottom: 16px;
}

.ezc-kategori {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #e5e5e5;
}

.ezc-kategori-bilgi {
  flex: 1;
}

.ezc-kategori-bilgi strong {
  font-size: 15px;
}

.ezc-kategori-bilgi em {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  color: #2e7d32;
}

.ezc-panel .ezc-butonlar {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

.ezc-kapat {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

/* Onay verilmemiş iframe (harita) yerine gösterilen kutu */
.ezc-yer-tutucu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  padding: 20px;
  background: #f2f2f2;
  border: 1px dashed #999;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.ezc-yer-tutucu p {
  margin: 0;
  color: #333;
}

/* Aç/kapa anahtarı */
.ezc-anahtar {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  margin: 0;
  flex-shrink: 0;
}

.ezc-anahtar input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ezc-kaydirici {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #bbb;
  border-radius: 28px;
  transition: background 0.2s;
}

.ezc-kaydirici:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.ezc-anahtar input:checked + .ezc-kaydirici {
  background: #2e7d32;
}

.ezc-anahtar input:checked + .ezc-kaydirici:before {
  transform: translateX(22px);
}

.ezc-anahtar input:disabled + .ezc-kaydirici {
  cursor: not-allowed;
  opacity: 0.6;
}

.ezc-anahtar input:focus-visible + .ezc-kaydirici {
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .ezc-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ezc-metin p {
    font-size: 13px;
  }
  .ezc-butonlar {
    flex-direction: column-reverse;
  }
  .ezc-btn {
    width: 100%;
    white-space: normal;
  }
}
