/* Cookie consent banner — self-hosted, no third-party dependency.
   Uses the site's :root palette (style.css) so it stays on-theme. */
#pi-cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9999;
  background: var(--bg-alt, #111827);
  color: var(--text, #e2e8f0);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  font-family: 'Manrope', system-ui, sans-serif;
  animation: pi-cc-in 0.25s ease-out;
}
@keyframes pi-cc-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.pi-cc-inner {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto; padding: 16px 20px;
}
.pi-cc-text {
  flex: 1 1 340px; font-size: 14px; line-height: 1.55;
  color: var(--text-light, #94a3b8);
}
.pi-cc-text strong { color: var(--text, #e2e8f0); }
.pi-cc-text a {
  color: var(--primary, #0ea5e9);
  text-decoration: underline; text-underline-offset: 2px;
}
.pi-cc-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.pi-cc-btn {
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 8px; border: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.pi-cc-reject {
  background: transparent; color: var(--text, #e2e8f0);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}
.pi-cc-reject:hover {
  box-shadow: inset 0 0 0 1.5px var(--primary, #0ea5e9);
  color: var(--primary, #0ea5e9);
}
.pi-cc-accept { background: var(--primary, #0ea5e9); color: #fff; }
.pi-cc-accept:hover { background: var(--primary-dark, #0284c7); }
@media (max-width: 560px) {
  .pi-cc-actions { width: 100%; }
  .pi-cc-btn { flex: 1; }
}
