/**
 * @file cookie-consent.css
 * @description Cookie panel (js/ui/cookie-consent.js, FutelloX X-004): a bottom card above every screen, three buttons of
 * equal size, colour and type ("Kabul et", "Reddet", "Tercihler"), group switches in the preferences.
 * @dependencies css/theme-palette.css, css/theme.css tokens
 */

.hf-ck-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  display: flex;
  justify-content: center;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.hf-ck-card {
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 14px 16px 12px;
  border-radius: 16px;
  border: 1px solid rgba(var(--white-rgb), 0.18);
  background: var(--navy-900, var(--bg-app));
  color: var(--text-primary);
  font-family: var(--font-family);
  box-shadow: 0 -6px 30px rgba(var(--black-rgb), 0.5);
  pointer-events: auto;
}

.hf-ck-card h2 { margin: 0 0 4px; font-size: 16px; }
.hf-ck-card p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--text-muted); }
.hf-ck-policy { white-space: nowrap; }

.hf-ck-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
/* Equal size, colour and type: no button is pushed (KVKK cookie guide) */
.hf-ck-btn {
  min-height: 44px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(var(--white-rgb), 0.3);
  background: rgba(var(--white-rgb), 0.08);
  color: var(--text-primary);
  font: 700 14px var(--font-family);
  cursor: pointer;
}
.hf-ck-btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }

.hf-ck-prefs { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.hf-ck-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: rgba(var(--white-rgb), 0.05); cursor: pointer; }
.hf-ck-row.is-fixed { cursor: default; opacity: 0.8; }
.hf-ck-row input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--color-brand); }
.hf-ck-row b { display: block; font-size: 14px; }
.hf-ck-row small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }

/* "Çerez tercihleri" next to İletişim (home page, coming-soon, İletişim page) */
.hf-ck-link { border: none; background: none; padding: 0 10px; min-height: 44px; color: var(--text-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
