/* Only hide cursor when shortcode is present */
.otn-inner-cursor-enabled,
.otn-inner-cursor-enabled * {
  cursor: none !important;
}

/* Allow text cursor in fields (optional but recommended) */
.otn-inner-cursor-enabled input,
.otn-inner-cursor-enabled textarea {
  cursor: text !important;
}

.otn-inner-cursor {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transition: opacity 180ms ease;
}

.otn-inner-cursor.is-visible {
  opacity: 1;
}

.otn-inner-cursor__inner {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  will-change: transform, width, height;
  transition-property: width, height;
  transition-timing-function: cubic-bezier(.2,.8,.2,1);
}

/* Touch devices: do nothing */
@media (hover: none) {
  .otn-inner-cursor {
    display: none !important;
  }

  .otn-inner-cursor-enabled,
  .otn-inner-cursor-enabled * {
    cursor: auto !important;
  }
}
