/* Local SweetAlert2 8 compatibility theme for PEWAG. */
body.swal2-height-auto { height: auto !important; }
body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) { overflow-y: hidden; }
.swal2-container {
  position: fixed;
  z-index: 20000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 28, 51, .46);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.swal2-container.swal2-no-backdrop { background: transparent; pointer-events: none; }
.swal2-container.swal2-top { align-items: flex-start; }
.swal2-container.swal2-bottom { align-items: flex-end; }
.swal2-popup {
  position: relative;
  width: 34em;
  max-width: 100%;
  padding: 22px;
  display: none;
  flex-direction: column;
  align-items: center;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #243746;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  box-shadow: 0 18px 55px rgba(0, 39, 70, .24);
  pointer-events: auto;
}
.swal2-popup.swal2-show { display: flex; animation: pewag-swal-in .18s ease-out; }
.swal2-popup.swal2-hide { animation: pewag-swal-out .14s ease-in forwards; }
.swal2-header { width: 100%; display: flex; flex-direction: column; align-items: center; }
.swal2-title { margin: 8px 0 4px; color: #003863; font-size: 22px; font-weight: 700; line-height: 1.3; text-align: center; }
.swal2-content { width: 100%; color: #506575; font-size: 15px; line-height: 1.5; text-align: center; }
.swal2-actions { margin: 18px 0 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.swal2-styled { min-width: 96px; min-height: 40px; margin: 0; padding: 8px 16px; border: 0; border-radius: 7px; font-size: 14px; font-weight: 700; cursor: pointer; }
.swal2-styled:focus { outline: 3px solid rgba(0, 56, 99, .18); outline-offset: 2px; }
.swal2-confirm { background: #003863; color: #fff; }
.swal2-cancel { background: #e7ecef; color: #344b5a; }
.swal2-close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; background: transparent; color: #718491; font-size: 28px; line-height: 1; cursor: pointer; }
.swal2-input, .swal2-file, .swal2-textarea, .swal2-select {
  width: 100%;
  min-height: 42px;
  margin: 13px 0 0;
  padding: 8px 10px;
  border: 1px solid #cfd9df;
  border-radius: 7px;
  background: #fff;
  color: #243746;
  font-size: 14px;
}
.swal2-textarea { min-height: 110px; resize: vertical; }
.swal2-validation-message { width: 100%; margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: #fde1e5; color: #a4162a; font-size: 13px; }
.swal2-icon { position: relative; width: 64px; height: 64px; margin: 2px auto 8px; border: 4px solid transparent; border-radius: 50%; box-sizing: content-box; }
.swal2-icon.swal2-success { border-color: #49b894; }
.swal2-icon.swal2-success::before { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #168361; font-size: 38px; font-weight: 700; }
.swal2-icon.swal2-error { border-color: #df6675; }
.swal2-icon.swal2-error::before { content: "×"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c33146; font-size: 48px; line-height: 1; }
.swal2-icon.swal2-warning { border-color: #e8b746; }
.swal2-icon.swal2-warning::before { content: "!"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b27d00; font-size: 42px; font-weight: 700; }
.swal2-icon.swal2-info, .swal2-icon.swal2-question { border-color: #5b9ccc; }
.swal2-icon.swal2-info::before, .swal2-icon.swal2-question::before { content: "i"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #246d9f; font-size: 38px; font-weight: 700; }
.swal2-loading .swal2-confirm { color: transparent !important; position: relative; }
.swal2-loading .swal2-confirm::after { content: ""; position: absolute; width: 18px; height: 18px; top: 50%; left: 50%; margin: -9px 0 0 -9px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: pewag-swal-spin .65s linear infinite; }
.swal2-container.swal2-toast-shown { align-items: flex-start; justify-content: flex-end; background: transparent; pointer-events: none; }
.swal2-popup.swal2-toast { width: 360px; max-width: calc(100vw - 24px); padding: 12px 14px; display: flex; flex-direction: row; align-items: center; gap: 10px; pointer-events: auto; }
.swal2-toast .swal2-icon { width: 28px; height: 28px; margin: 0; border-width: 2px; }
.swal2-toast .swal2-title { margin: 0; font-size: 14px; text-align: left; }
@keyframes pewag-swal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pewag-swal-out { to { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes pewag-swal-spin { to { transform: rotate(360deg); } }
@media (max-width: 575px) {
  .swal2-container { padding: 8px; }
  .swal2-popup { width: 100%; padding: 18px 14px; border-radius: 10px; }
  .swal2-title { font-size: 19px; }
  .swal2-actions { width: 100%; }
  .swal2-styled { flex: 1 1 auto; }
}
