/* =========================================================
   GME – Checkbox Click / Z-Index Fix
   Ensures task checkboxes are clickable
   ========================================================= */

/* Ensure raid card establishes stacking context */
.gme-raid-card {
  position: relative;
}

/* Background hover/glow must stay behind content */
.gme-raid-card::before {
  z-index: 0 !important;
  pointer-events: none !important;
}

/* All direct children above background */
.gme-raid-card > * {
  position: relative;
  z-index: 1;
}

/* Tasks container must be fully interactive */
.gme-raid-tasks {
  position: relative;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.gme-tasks-list {
  position: relative;
  z-index: 11 !important;
  pointer-events: auto !important;
}

/* Individual task items */
.gme-task-item {
  position: relative;
  z-index: 15 !important;
  pointer-events: auto !important;
}

/* Checkbox itself */
.gme-task-checkbox {
  position: relative;
  z-index: 20 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Checkbox label/text */
.gme-task-checkbox + .gme-task-text,
.gme-task-text {
  position: relative;
  z-index: 20 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Prevent hover overlays from blocking clicks */
.gme-raid-card:hover::before {
  z-index: -1 !important;
}

/* Ensure other UI layers do not overlap tasks */
.gme-raid-status,
.gme-deposit-info-inline,
.gme-progress-bar {
  position: relative;
  z-index: 2;
}
