/* fluvia — çerez onayı banner'ı
   Konum: /static/Css/Fluvia/Consent.css
   Renkleri Fluvia Design System değişkenlerine bağlamak için --fc-* değerlerini değiştirin. */
.fc-banner {
  --fc-bg: #ffffff;
  --fc-text: #0f172a;
  --fc-muted: #475569;
  --fc-border: #e2e8f0;
  --fc-btn-bg: #ffffff;
  --fc-btn-text: #0f172a;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
[data-theme="dark"] .fc-banner {
  --fc-bg: #0f172a;
  --fc-text: #f1f5f9;
  --fc-muted: #94a3b8;
  --fc-border: #1e293b;
  --fc-btn-bg: #1e293b;
  --fc-btn-text: #f1f5f9;
}
.fc-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  background: var(--fc-bg);
  color: var(--fc-text);
  border: 1px solid var(--fc-border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  padding: 20px 22px;
  /* With "Tercihler" open on a short landscape phone the sheet would run past
     the top edge; it scrolls inside itself instead. */
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.fc-title { margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.fc-body { margin: 0 0 14px; color: var(--fc-muted); }
.fc-link { color: inherit; text-decoration: underline; }
.fc-prefs { border-top: 1px solid var(--fc-border); padding-top: 12px; margin-bottom: 14px; }
.fc-prefs[hidden] { display: none; }
.fc-row { margin-bottom: 10px; }
.fc-label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.fc-label input { width: 16px; height: 16px; }
.fc-desc { margin: 2px 0 0 24px; color: var(--fc-muted); font-size: 13px; }
.fc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
/* KVKK: "Reddet" ve "Kabul et" eşit görünürlükte — üç buton aynı stil */
.fc-btn {
  font: inherit;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--fc-border);
  background: var(--fc-btn-bg);
  color: var(--fc-btn-text);
  cursor: pointer;
}
.fc-btn:focus-visible { outline: 2px solid var(--fc-muted); outline-offset: 2px; }

/* ═══ RESPONSIVE — §8.1 ölçeği, büyükten küçüğe ═══ */

/* xxs ≤ 34.9375rem (559px) — edge to edge, the three choices stacked at
   equal weight (KVKK: refuse is as easy to hit as accept). */
@media (max-width: 34.9375rem) {
  .fc-banner { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .fc-inner { padding: 16px; max-height: calc(100dvh - 16px - env(safe-area-inset-bottom, 0px)); }
  .fc-actions { justify-content: stretch; }
  .fc-btn { flex: 1 1 100%; }
}

@media (pointer: coarse) {
  .fc-btn { min-height: 44px; }
  .fc-label { min-height: 44px; }
  .fc-label input { width: 20px; height: 20px; }
}

@media (hover: hover) and (pointer: fine) {
  .fc-btn:hover { border-color: var(--fc-muted); }
}
