/* 
 * Browser Console Warnings Fixes
 * This file contains CSS overrides to fix browser console warnings
 * while maintaining backward compatibility with vendor libraries
 */

/* Fix for non-standard 'zoom' property warnings */
/* Replace zoom:1 with modern alternatives where possible */

/* SweetAlert2 zoom fixes */
.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
  /* Instead of zoom: 1, use transform */
  transform: scale(1);
  -webkit-transform: scale(1);
}

.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left],
.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right],
.swal2-icon.swal2-success .swal2-success-ring,
.swal2-icon.swal2-success .swal2-success-fix {
  /* Instead of zoom: 1, use transform */
  transform: scale(1);
  -webkit-transform: scale(1);
}

/* TinyMCE croprect zoom fix */
.tox .tox-croprect-block {
  /* Instead of zoom: 1, use transform */
  transform: scale(1);
  -webkit-transform: scale(1);
}

/* Owl Carousel zoom fix */
.owl-theme .owl-dots .owl-dot {
  /* Instead of zoom: 1, use transform or display: inline-block (already set) */
  transform: scale(1);
  -webkit-transform: scale(1);
}

/* Leaflet zoom fix for older IE (already using -ms-zoom which is IE specific) */
.leaflet-oldie .leaflet-popup-content-wrapper {
  /* Keep -ms-zoom for IE compatibility, modern browsers ignore this */
  /* No override needed as it's IE-specific */
}

/* Note: The above overrides provide modern alternatives to the 'zoom' property.
 * If any visual regressions occur, these rules can be adjusted or removed.
 * The 'zoom' property itself is non-standard but still supported by browsers.
 */
