.prozv-cookie[hidden] {
  display: none !important;
}

.prozv-cookie {
  position: fixed;
  z-index: 9999;
  right: 1rem;
  left: 1rem;
  inset-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  max-height: calc(100vh - 2rem - env(safe-area-inset-bottom));
  max-height: calc(100dvh - 2rem - env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
  color: #244a46;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.prozv-cookie__inner {
  width: min(47.5rem, 100%);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #fbfaf4;
  border: 1px solid #cdded8;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(16, 59, 54, 0.18);
}

.prozv-cookie__title {
  margin: 0 0 0.5rem;
  color: #103b36;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.prozv-cookie__inner p:not(.prozv-cookie__title) {
  max-width: 65ch;
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.prozv-cookie__status:empty {
  display: none;
}

.prozv-cookie__status {
  color: #285f30;
  font-weight: 600;
}

.prozv-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.prozv-cookie__button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid #07557a;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}

.prozv-cookie__button--necessary {
  color: #07557a;
  background: #fbfaf4;
}

.prozv-cookie__button--analytics {
  color: #fff;
  background: #07557a;
}

.prozv-cookie__button:hover {
  border-color: #08658e;
  color: #fff;
  background: #08658e;
}

.prozv-cookie__button:focus-visible,
.prozv-cookie-settings:focus-visible {
  outline: 3px solid #6fc9d0;
  outline-offset: 3px;
}

.prozv-cookie-settings {
  min-height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

@media (max-width: 42.5rem) {
  .prozv-cookie__actions {
    flex-direction: column;
  }

  .prozv-cookie__button {
    width: 100%;
  }
}

@media (orientation: landscape) and (max-height: 34rem) {
  .prozv-cookie {
    top: max(0.75rem, env(safe-area-inset-top));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    align-items: flex-end;
  }
}
