/**
 * Content Shield - Frontend CSS (v1.0.5)
 * Disables FancyTree checkboxes while keeping tree interactive
 */

/* Disable text selection on protected pages */
body {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Disabled checkbox class - comprehensive blocking */
.content-shield-disabled-item {
  cursor: not-allowed !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-touch-callout: none !important;
  touch-action: none !important;
  display: inline-block !important;
}

/* Disable interactions on checkbox element itself */
.content-shield-disabled-item:hover,
.content-shield-disabled-item:focus,
.content-shield-disabled-item:active {
  pointer-events: none !important;
  cursor: not-allowed !important;
  outline: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Block all children of disabled checkbox */
.content-shield-disabled-item * {
  pointer-events: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
  touch-action: none !important;
}

/* Make sure checkbox inside disabled item cannot receive clicks */
li.content-shield-disabled-item {
  pointer-events: none !important;
  cursor: not-allowed !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Checkbox role attribute disabling */
.content-shield-disabled-item[role="checkbox"] {
  pointer-events: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}
