/* Baner zgód (shared/_consent_banner) w layoutach site, public i kiosk.
   Zwykły CSS, bo layout `site` nie ładuje Tailwinda. Kolory z config/brand.yml.
   Oba przyciski wyglądają tak samo — odmowa ma być równie łatwa jak zgoda. */

.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
  font-family: "Open Sans", sans-serif;
}

.consent[hidden] {
  display: none;
}

.consent-inner {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 48rem;
  padding: 0.875rem 1.25rem;
  pointer-events: auto;
  background: rgba(26, 14, 46, 0.96);
  border: 1px solid rgba(111, 77, 164, 0.5);
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #cbb2ec;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
}

.consent-text {
  flex: 1 1 14rem;
  margin: 0;
}

.consent-text a {
  color: #c9a7f5;
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  flex: 1 1 auto;
  gap: 0.5rem;
  justify-content: flex-end;
}

.consent-btn {
  flex: 1 1 0;
  max-width: 9rem;
  padding: 0.5rem 1rem;
  border: 1px solid #6f4da4;
  border-radius: 0.75rem;
  background: #3d2b5a;
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.consent-btn:hover,
.consent-btn:focus-visible {
  background: #6f4da4;
}

/* „Ustawienia cookies” w stopce i polityce prywatności — wygląda jak link w tekście. */
.consent-open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
