/* consent-kit overrides of Orejime styles (0.5.0). Loaded after
   orejime-standard.css. Orejime code and its CSS file stay unchanged
   (README 2.6). A site sets its own colours with the variables below,
   e.g. in globals.css: :root { --ck-border: #586875; } */

/* "Orejime" link in the settings window: not required by the BSD-3
   licence (the licence text ships in LICENSE-orejime.txt). */
.orejime-Modal-poweredByLink {
  display: none;
}

/* Frame around the banner and the settings window, so the box stands out
   from the page in both light and dark themes. */
.orejime-Banner-body,
.orejime-Modal {
  border: var(--ck-border-width, 2px) solid var(--ck-border, currentColor);
}

/* Site colours (0.5.0). Orejime variables (set on .orejime-Env) take the site values set with
   --ck-* (e.g. in globals.css); without them Orejime defaults stay.
   Accept and Decline keep one style (equal buttons, README 2.2). */
.orejime-Env {
  --orejime-color-background: var(--ck-bg, #fff);
  --orejime-color-text: var(--ck-text, #222);
  --orejime-color-subdued: var(--ck-subdued, #666);
  --orejime-color-interactive: var(--ck-button, royalblue);
  --orejime-color-on-interactive: var(--ck-on-button, #fff);
  --orejime-font-family: var(--ck-font, sans-serif);
  --orejime-radius: var(--ck-radius, calc(var(--orejime-space-m) / 4));
}
.orejime-Button:not([disabled]):not([aria-disabled=true]) {
  background-image: var(--ck-button-image, none);
  font-weight: var(--ck-button-weight, inherit);
}
