.kpc-cookie-notice {
  position: fixed;
  z-index: 10000;
  inset-inline-start: 1rem;
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  box-sizing: border-box;
  inline-size: min(35rem, calc(100% - 2rem));
  max-block-size: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1rem 1.125rem;
  color: #0a2942;
  background: #fbf8f2;
  border: 1px solid #a6b3ba;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 1.25rem #0a294233;
}

.kpc-cookie-notice[hidden] {
  display: none;
}

.kpc-cookie-notice h2 {
  margin: 0 0 0.35rem;
  color: inherit;
  font-size: 1.15rem;
}

.kpc-cookie-notice p {
  margin: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.45;
}

.kpc-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0.5rem;
}

.kpc-cookie-actions button {
  flex: 1 1 12rem;
  min-block-size: 2.75rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #0a2942;
  border-radius: 0.5rem;
  background: #fff;
  color: #0a2942;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.kpc-cookie-actions button:hover,
.kpc-cookie-actions button[aria-pressed="true"] {
  background: #e6eff0;
}

.kpc-cookie-notice a {
  color: inherit;
  text-decoration: underline;
}

button.kpc-cookie-footer {
  display: block;
  margin: 0.25rem auto 0;
  padding: 0.55rem 0.75rem;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 0.9375rem;
  text-decoration: underline;
  cursor: pointer;
}

.kpc-cookie-notice :focus-visible,
.kpc-cookie-footer:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 620px) {
  .kpc-cookie-notice {
    inset-inline-start: 0.75rem;
    inline-size: calc(100% - 1.5rem);
  }
}
