/*!
 * SweetAlert2 v11 fixes for h3n_webapp
 *
 * Metronic's style.bundle.css has v8-era custom overrides under
 *   .swal2-popup .swal2-icon { margin: 2rem 0 0rem 0; }   (specificity 0,2,0)
 * which kill v11's "margin: auto" centering inside the grid popup.
 *
 * Use !important to override Metronic without editing the vendor bundle.
 * Keep this file MINIMAL — only fix layout regressions from the v8→v11 swap.
 */

/* Icon: restore v11's auto-margin centering inside grid popup */
.swal2-popup .swal2-icon {
  margin: 2.5em auto 0.6em !important;
}

/* Title: Metronic sets margin: 2rem 0 0 0 which prevents auto-centering of
   the title text horizontally within its grid cell. v11 uses padding-based
   layout instead — re-apply v11 default. */
.swal2-popup .swal2-title {
  margin: 0 !important;
  padding: 0.8em 1em 0 !important;
}

/* Content/html container: v11 renamed swal2-content → swal2-html-container.
   Metronic's .swal2-popup .swal2-content rule no longer matches, but make
   sure v11's html-container spacing works as intended. */
.swal2-popup .swal2-html-container {
  margin: 1em 1.6em 0.3em !important;
}
