/* ============================================================
   Çerez Onay Bandı Stilleri
   ============================================================ */

.cerez-bandi {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--gece-mavi);
  color: var(--krem-koyu);
  padding: 20px 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cerez-bandi.gorunur {
  transform: translateY(0);
}

.cerez-bandi__ic {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.cerez-bandi__metin {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.9;
}

.cerez-bandi__metin a {
  color: var(--bakir-acik);
  text-decoration: underline;
}

.cerez-bandi__butonlar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cerez-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cerez-btn:hover {
  transform: translateY(-1px);
}

.cerez-btn--kabul {
  background: var(--bakir);
  color: var(--beyaz);
}

.cerez-btn--kabul:hover {
  background: var(--bakir-koyu);
}

.cerez-btn--reddet {
  background: transparent;
  color: var(--krem-koyu);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cerez-btn--reddet:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.cerez-btn--ayarlar {
  background: transparent;
  color: var(--krem-koyu);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cerez-btn--ayarlar:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

/* Çerez Ayarlar Paneli */
.cerez-ayarlar {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cerez-ayarlar.gorunur {
  display: block;
}

.cerez-ayarlar__grup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cerez-ayarlar__grup:last-of-type {
  border-bottom: none;
}

.cerez-ayarlar__etiket {
  font-size: 0.9rem;
  font-weight: 500;
}

.cerez-ayarlar__aciklama {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 2px;
}

/* Toggle Switch */
.cerez-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cerez-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cerez-toggle__slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  transition: 0.3s;
}

.cerez-toggle__slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--beyaz);
  border-radius: 50%;
  transition: 0.3s;
}

.cerez-toggle input:checked + .cerez-toggle__slider {
  background: var(--bakir);
}

.cerez-toggle input:checked + .cerez-toggle__slider::before {
  transform: translateX(22px);
}

.cerez-toggle input:disabled + .cerez-toggle__slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cerez-ayarlar__kaydet {
  margin-top: 16px;
}

/* Sayfa içi tercih değiştir butonu */
.cerez-tercih-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--orta-mavi);
  color: var(--beyaz);
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s ease;
}

.cerez-tercih-btn:hover {
  background: var(--koyu-mavi);
}

@media (max-width: 768px) {
  .cerez-bandi__butonlar {
    flex-direction: column;
  }

  .cerez-btn {
    text-align: center;
  }
}
