svg.p-checkbox-icon {
  display: block !important;
  position: static !important;
  margin: auto !important;
}

.p-multiselect-panel .p-checkbox input[type="checkbox"],
.p-multiselect-panel .p-hidden-accessible {
  display: none !important;
  appearance: none !important;
}

/* Nuclear Option: Kill all background images in the checkbox structure */
.p-multiselect-panel .p-multiselect-item .p-checkbox,
.p-multiselect-panel .p-multiselect-item .p-checkbox *,
.p-multiselect-panel .p-multiselect-item.p-highlight .p-checkbox,
.p-multiselect-panel .p-multiselect-item.p-highlight .p-checkbox * {
  background-image: none !important;
  background: none !important;
}

/* Ensure only the SVG is visible in the box */
.p-multiselect-panel .p-checkbox .p-checkbox-box {
  position: relative !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.p-multiselect-panel .p-checkbox .p-checkbox-box>*:not(svg) {
  display: none !important;
}

/* Hide all pseudo-elements just in case */
.p-multiselect-panel .p-multiselect-item::before,
.p-multiselect-panel .p-multiselect-item::after,
.p-multiselect-panel .p-checkbox::before,
.p-multiselect-panel .p-checkbox::after,
.p-multiselect-panel .p-checkbox .p-checkbox-box::before,
.p-multiselect-panel .p-checkbox .p-checkbox-box::after {
  display: none !important;
  content: none !important;
}

.p-checkbox-icon:not(svg) {
  display: none !important;
}

/* Styling for Selected State */
.p-multiselect-panel .p-multiselect-item.p-highlight .p-checkbox .p-checkbox-box {
  background-color: #1554db !important;
  border-color: #fff !important;
}

.p-multiselect-panel .p-multiselect-item.p-highlight .p-checkbox .p-checkbox-icon {
  color: #fff !important;
}

.p-multiselect-panel .p-multiselect-item.p-highlight .p-checkbox .p-checkbox-icon path {
  stroke: #fff !important;
  fill: #fff !important;
}
