/**
 * ColorOrigin / ColorShifter effect styles.
 */

html.baqflo-has-colorshifter,
body.baqflo-has-colorshifter {
  background: transparent !important;
}

.baqflo-effect[data-effect="colorshifter"] {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  isolation: isolate;
  background: transparent !important;
}

.baqflo-effect[data-effect="colorshifter"].is-fixed {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  z-index: -1;
}


.baqflo-effect[data-effect="colorshifter"] .baqflo-colororigin-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
}

.baqflo-effect[data-effect="colorshifter"] .baqflo-colororigin-circle {
  position: absolute;
  display: block;
  border-radius: 999999px;
  pointer-events: none;
  transform-origin: center center;
  transform: translateZ(0) scale(0.001);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  contain: layout paint style;
}

@media (prefers-reduced-motion: reduce) {
  
.baqflo-effect[data-effect="colorshifter"] .baqflo-colororigin-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
}

.baqflo-effect[data-effect="colorshifter"] .baqflo-colororigin-circle {
    will-change: auto;
  }
}


.baqflo-colorshifter-target {
  isolation: isolate;
}

.baqflo-colorshifter-target > .baqflo-effect[data-effect="colorshifter"] {
  z-index: 0;
}

.baqflo-colorshifter-target > :not(.baqflo-effect) {
  position: relative;
  z-index: 1;
}
