/* Just Tumble theme for the self-hosted CookieConsent modals and the footer control.
   This does not target the platform privacy icon. */

:root {
  --cc-font-family: Figtree, ui-sans-serif, sans-serif;
  --cc-bg: oklch(18% 0.035 300);
  --cc-primary-color: oklch(97% 0.01 300);
  --cc-secondary-color: oklch(72% 0.03 300);
  --cc-btn-primary-bg: oklch(87% 0.25 140);
  --cc-btn-primary-color: oklch(15% 0.03 300);
  --cc-btn-primary-border-color: oklch(87% 0.25 140);
  --cc-btn-primary-hover-bg: oklch(92% 0.22 140);
  --cc-btn-primary-hover-color: oklch(15% 0.03 300);
  --cc-btn-primary-hover-border-color: oklch(92% 0.22 140);
  --cc-btn-secondary-bg: oklch(87% 0.25 140);
  --cc-btn-secondary-color: oklch(15% 0.03 300);
  --cc-btn-secondary-border-color: oklch(87% 0.25 140);
  --cc-btn-secondary-hover-bg: oklch(92% 0.22 140);
  --cc-btn-secondary-hover-color: oklch(15% 0.03 300);
  --cc-btn-secondary-hover-border-color: oklch(92% 0.22 140);
  --cc-separator-border-color: oklch(32% 0.05 300);
  --cc-cookie-category-block-bg: oklch(13% 0.02 300);
  --cc-cookie-category-block-border: oklch(32% 0.05 300);
  --cc-cookie-category-block-hover-bg: oklch(22% 0.035 300);
  --cc-cookie-category-block-hover-border: oklch(32% 0.05 300);
  --cc-overlay-bg: oklch(13% 0.02 300 / 0.72);
  --cc-toggle-on-bg: oklch(87% 0.25 140);
  --cc-toggle-off-bg: oklch(32% 0.05 300);
  --cc-toggle-readonly-bg: oklch(55% 0.02 300);
  --cc-link-color: oklch(87% 0.25 140);
  --cc-modal-border-radius: 16px;
  --cc-btn-border-radius: 999px;
  --cc-z-index: 2147483000;
}

#cc-main button {
  min-height: 44px;
  min-width: 44px;
}

#cc-main button:focus-visible {
  outline: 2px solid oklch(87% 0.25 140);
  outline-offset: 3px;
}

.jt-cookie-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  margin: 0.25rem 0 0.25rem 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  vertical-align: middle;
  white-space: nowrap;
}

.jt-cookie-settings:hover {
  color: var(--primary);
}

.jt-cookie-settings:focus {
  outline: none;
}

.jt-cookie-settings:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.jt-cookie-settings-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jt-cookie-settings-status:not(:empty) {
  display: block;
  margin-top: 0.35rem;
}
