
/* Cookie Consent (EU/UK) – LITE (necessary-only) */
:root {
  --cc-bg: #ffffff;
  --cc-text: #1f2937;
  --cc-muted: #6b7280;
  --cc-accent: #4E99C7;
  --cc-border: #e5e7eb;
  --cc-radius: 14px;
  --cc-ff: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.cc-hidden { display: none !important; }
.cc-banner, .cc-modal { font-family: var(--cc-ff); color: var(--cc-text); z-index: 2147483647; }

.cc-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--cc-bg);
  border-top: 1px solid var(--cc-border);
  padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.cc-banner .cc-inner {
  max-width: 1100px; margin: 0 auto; display: grid; gap: 12px;
  grid-template-columns: 1fr auto; align-items: center;
}
.cc-banner p { margin: 0; font-size: 14px; line-height: 1.5; }
.cc-links { font-size: 13px; color: var(--cc-muted); }
.cc-links a { color: var(--cc-accent); text-decoration: underline; }

.cc-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: end; }
.cc-btn {
  border-radius: 999px; padding: 10px 14px; border: 2px solid var(--cc-accent);
  background: #fff; color: var(--cc-accent); font-weight: 600; cursor: pointer;
}
.cc-btn.primary { background: var(--cc-accent); color: #fff; }
.cc-btn.danger { border-color: #9ca3af; color: #374151; background: #f9fafb; }

/* Modal */
.cc-modal {
  position: fixed; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.5);
}
.cc-modal .cc-panel {
  width: min(700px, 92vw); background: var(--cc-bg); border-radius: var(--cc-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.12); overflow: hidden;
}
.cc-panel header {
  padding: 18px 20px; border-bottom: 1px solid var(--cc-border);
  display: flex; justify-content: space-between; align-items: center;
}
.cc-panel header h2 { margin: 0; font-size: 18px; }
.cc-close { background: transparent; border: none; font-size: 22px; cursor: pointer; line-height: 1; }
.cc-body { padding: 16px 20px; display: grid; gap: 14px; }
.cc-body p { margin: 0; font-size: 14px; color: var(--cc-muted); }
.cc-footer { padding: 14px 20px; border-top: 1px solid var(--cc-border); display: flex; gap: 8px; justify-content: end; }

@media (max-width: 720px) {
  .cc-banner .cc-inner { grid-template-columns: 1fr; }
  .cc-actions { justify-content: start; }
}
