.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid #d5dbe6;
  background: #fff;
  color: #0c1830;
  box-shadow: 0 -8px 30px rgb(12 24 48 / 12%);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cookie-banner-text {
  margin: 0;
  max-width: 46rem;
}

.cookie-banner a {
  color: #2763ec;
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  flex: 1 1 18rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Oba wybory mają tę samą wagę: ten sam rozmiar, obrys i kolor. Nic nie jest z góry zaznaczone. */
.consent-choice {
  flex: 1 1 12rem;
  margin: 0;
  border: 2px solid #0c1830;
  border-radius: 0.5rem;
  background: #0c1830;
  color: #fff;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.consent-choice:hover,
.consent-choice:focus-visible {
  background: #16305f;
}

.consent-choice:focus-visible,
.cookie-banner a:focus-visible {
  outline: 2px solid #2763ec;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-banner-actions {
    flex-basis: 100%;
  }
}
