/* Part-y çerez onayı. Renkler sayfanın tasarım değişkenlerinden gelir (--ds-*), yoksa varsayılanlar kullanılır. */
.pc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ds-surface, #ffffff);
  color: var(--ds-ink, #111827);
  border: 1px solid var(--ds-border, #DCE1EC);
  border-radius: var(--ds-radius-md, 20px);
  box-shadow: 0 24px 56px -14px rgba(0, 16, 156, .38);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.pc-banner[hidden] { display: none; }

.pc-inner { padding: 22px; }

.pc-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}

.pc-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-muted, #525A76);
  margin: 0 0 16px;
}

.pc-policy {
  color: var(--ds-blue, #374CFF);
  font-weight: 600;
  text-decoration: underline;
}

.pc-prefs { margin: 0 0 16px; border-top: 1px solid var(--ds-border, #DCE1EC); }
.pc-prefs[hidden] { display: none; }

.pc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ds-border, #DCE1EC);
  cursor: pointer;
}

.pc-row-title { display: block; font-size: 14px; font-weight: 600; margin: 0; }
.pc-row-desc { display: block; font-size: 13px; line-height: 1.45; color: var(--ds-muted, #525A76); margin: 2px 0 0; }
.pc-always { font-size: 12px; font-weight: 600; color: var(--ds-ok-text, #007D00); white-space: nowrap; }

.pc-switch {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--ds-blue, #374CFF);
  cursor: pointer;
}

.pc-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.pc-btn {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--ds-blue, #374CFF);
}

.pc-btn[hidden] { display: none; }

/* Kabul et ve Reddet aynı görünür (KVKK: eşit seçenek). */
.pc-btn-main { background: var(--ds-blue, #374CFF); color: #ffffff; }
.pc-btn-main:hover { background: var(--ds-blue-dark, #00109C); border-color: var(--ds-blue-dark, #00109C); }

.pc-btn-ghost { flex-basis: 100%; background: transparent; color: var(--ds-blue, #374CFF); }
.pc-btn-ghost:hover { background: var(--ds-blue-soft, #EEEDFF); }

.pc-btn:focus-visible, .pc-switch:focus-visible, .pc-policy:focus-visible, .consent-link:focus-visible {
  outline: 3px solid var(--ds-blue, #374CFF);
  outline-offset: 2px;
}

/* Alt bilgideki "Çerez tercihleri": yanındaki linkler gibi görünür. */
.consent-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}

.consent-link:hover { color: #ffffff; }
