.rrd-cookie-banner[hidden],
.rrd-cookie-banner [hidden] {
  display: none;
}

.rrd-cookie-banner {
  position: fixed;
  z-index: 100;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 1.5rem), 48rem);
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  box-sizing: border-box;
  padding: 1rem;
  color: #182637;
  background: #fff;
  border: 1px solid #8d9db1;
  border-radius: 0.75rem;
  box-shadow: 0 4px 24px #082c6733;
  font: 0.875rem/1.45 system-ui, sans-serif;
}

.rrd-cookie-banner h2 {
  margin: 0 0 0.375rem;
  font: 700 1.125rem/1.3 system-ui, sans-serif;
}

.rrd-cookie-banner p {
  margin: 0 0 0.625rem;
}

.rrd-cookie-banner a {
  color: #94252b;
  text-decoration: underline;
}

.rrd-cookie-banner fieldset {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.rrd-cookie-banner legend {
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 700;
}

.rrd-cookie-banner label {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.25rem 0;
  cursor: pointer;
}

.rrd-cookie-banner input {
  flex: none;
  accent-color: #082c67;
}

.rrd-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rrd-cookie-actions button {
  min-height: 2.75rem;
  padding: 0.375rem 0.75rem;
  color: #082c67;
  background: #fff;
  border: 1px solid #082c67;
  border-radius: 0.375rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.rrd-cookie-actions button:hover {
  background: #edf3fa;
}

.rrd-cookie-banner :focus-visible,
[data-cookie-settings]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

footer [data-cookie-settings] {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.rrd-cookie-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
