/* GA4 Analytics consent banner. Restyle with the custom properties below; class names use the rp-ga4 prefix. */
.rp-ga4-banner,
.rp-ga4-manage {
  --rp-ga4-bg: #16100d;
  --rp-ga4-fg: #ffffff;
  --rp-ga4-btn-bg: #ffffff;
  --rp-ga4-btn-fg: #16100d;
  --rp-ga4-focus: #ffb38a;
  background: var(--rp-ga4-bg);
  color: var(--rp-ga4-fg);
  font: inherit;
  line-height: 1.5;
}
.rp-ga4-banner[hidden],
.rp-ga4-manage[hidden] { display: none; }
.rp-ga4-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 40rem;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: .75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.rp-ga4-text { margin: 0; }
.rp-ga4-banner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rp-ga4-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.rp-ga4-btn {
  min-height: 44px;
  min-width: 7rem;
  padding: .5rem 1rem;
  border: 2px solid var(--rp-ga4-btn-bg);
  border-radius: .5rem;
  background: var(--rp-ga4-btn-bg);
  color: var(--rp-ga4-btn-fg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.rp-ga4-manage { display: block; margin: 0; padding: .25rem 1rem; text-align: center; }
.rp-ga4-manage button {
  min-height: 44px;
  padding: .5rem .75rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  text-decoration: underline;
  cursor: pointer;
}
.rp-ga4-banner a:focus-visible,
.rp-ga4-btn:focus-visible,
.rp-ga4-manage button:focus-visible { outline: 3px solid var(--rp-ga4-focus); outline-offset: 2px; }
@media (forced-colors: active) {
  .rp-ga4-banner { border-color: CanvasText; }
  .rp-ga4-btn { border-color: ButtonText; }
}
