/* Wydanie 2026-09-25: nowy ETag dla polityki no-store w _headers. */
/* Consent stays reachable on mobile and never covers the entire page. */
.cookie-banner {
  position: fixed;
  width: auto;
  transform: none;
  animation: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  inset: auto 16px 16px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-height: 50vh;
  overflow-y: auto;
  padding: 18px 20px;
  color: #0f172a;
  background: #fff;
  border: 1px solid #64748b;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgb(15 23 42 / 15%);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.cookie-banner button { min-width: 104px; min-height: 44px; }
@media (max-width: 600px) {
  .cookie-banner { inset: auto 10px 10px; flex-direction: column; align-items: stretch; padding: 14px; }
  .cookie-btns button { flex: 1 1 104px; }
}

/* Equal emphasis for both choices and sufficient contrast on every page. */
.cookie-banner #cookieAccept,
.cookie-banner #cookieReject {
  color: #14532d;
  background: #f8fcfa;
  border: 1px solid #557568;
  border-radius: 8px;
  box-shadow: none;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
}
.cookie-banner #cookieAccept:hover,
.cookie-banner #cookieReject:hover { background: #ecfdf5; color: #14532d; }
.cookie-banner button:focus-visible { outline: 3px solid #0f172a; outline-offset: 3px; }
