
.swal2-container.anhaes-alert-container{z-index:20000!important;padding:16px!important}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert{
  --al-bg:#f7fbff;--al-ink:#183952;--al-message:#365c76;--al-border:#c8dce9;
  --al-box:#eef7fc;--al-cancel:#edf6fc;--al-accent:#30add2;
  position:relative!important;box-sizing:border-box!important;display:flex!important;
  flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  width:min(610px,calc(100vw - 32px))!important;max-width:min(610px,calc(100vw - 32px))!important;
  min-width:0!important;max-height:calc(100dvh - 32px)!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  padding:0!important;margin:auto!important;gap:0!important;border:1px solid var(--al-border)!important;
  border-radius:20px!important;background:var(--al-bg)!important;color:var(--al-ink)!important;
  box-shadow:0 28px 78px rgba(3,21,40,.33)!important;font-family:'DM Sans',system-ui,sans-serif!important;
}
[data-bs-theme='dark'] .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert{
  --al-bg:#172e44;--al-ink:#f5fbff;--al-message:#e1f0f9;--al-border:#385a71;
  --al-box:#1e3f59;--al-cancel:#25475f;
}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-title,
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert > .swal2-icon{display:none!important}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-html-container{
  display:block!important;order:0!important;position:relative!important;float:none!important;
  flex:0 0 auto!important;min-height:0!important;max-height:none!important;
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;overflow:visible!important;
  text-align:left!important;font-size:inherit!important;line-height:inherit!important;
  color:inherit!important;grid-area:auto!important;
}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .anhaes-alert-head{
  position:relative!important;isolation:isolate;overflow:hidden;display:flex;align-items:center;
  flex-direction:column;justify-content:center;min-height:0!important;
  padding:20px 26px 24px!important;
  background:linear-gradient(112deg,#214f7d 0%,#216f90 55%,#078e96 100%)!important;
  color:#fff!important;
}
.swal2-container.anhaes-alert-container .anhaes-alert-head::before,
.swal2-container.anhaes-alert-container .anhaes-alert-head::after{
  content:'';position:absolute;pointer-events:none;border-radius:50%;background:rgba(255,255,255,.095);z-index:-1;
}
.swal2-container.anhaes-alert-container .anhaes-alert-head::before{width:160px;height:160px;left:-65px;bottom:-70px}
.swal2-container.anhaes-alert-container .anhaes-alert-head::after{width:112px;height:112px;right:-25px;top:-48px}
.swal2-container.anhaes-alert-container .anhaes-alert-brand{
  width:104px;height:86px;display:flex;align-items:center;justify-content:center;margin:0 auto 5px;
}
.swal2-container.anhaes-alert-container .anhaes-alert-brand img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.swal2-container.anhaes-alert-container .anhaes-alert-logo-dark{display:none}
[data-bs-theme='dark'] .swal2-container.anhaes-alert-container .anhaes-alert-logo-light{display:none}
[data-bs-theme='dark'] .swal2-container.anhaes-alert-container .anhaes-alert-logo-dark{display:block}
.swal2-container.anhaes-alert-container .anhaes-alert-kicker{
  display:inline-flex;align-items:center;justify-content:center;margin:0 auto 15px;
  padding:6px 13px;border:1px solid rgba(255,255,255,.28);border-radius:999px;
  background:rgba(255,255,255,.12);color:#fff;font-size:10px;font-weight:800;
  letter-spacing:.09em;text-align:center;
}
.swal2-container.anhaes-alert-container .anhaes-alert-heading{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:100%}
.swal2-container.anhaes-alert-container .anhaes-alert-heading-icon{
  width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.24);border-radius:12px;
  background:rgba(255,255,255,.12);color:#fff;font-size:21px;
}
.swal2-container.anhaes-alert-container .anhaes-alert-heading h2{
  margin:0!important;color:#fff!important;font-size:clamp(17px,2.7vw,21px)!important;
  line-height:1.32!important;font-weight:800!important;text-align:left!important;overflow-wrap:anywhere;
}
.swal2-container.anhaes-alert-container .anhaes-alert-main{display:block!important;padding:27px 27px 0!important;min-height:0!important}
.swal2-container.anhaes-alert-container .anhaes-alert-message{
  display:block!important;height:auto!important;min-height:65px!important;
  position:static!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;
  margin:0!important;padding:19px 21px!important;
  border:1px solid var(--al-border)!important;border-left:4px solid var(--al-accent)!important;
  border-radius:14px!important;background:var(--al-box)!important;color:var(--al-message)!important;
  font-size:14px!important;font-weight:500!important;line-height:1.6!important;text-align:left!important;
  white-space:pre-line;
}
.swal2-container.anhaes-alert-container .anhaes-alert-message>div,
.swal2-container.anhaes-alert-container .anhaes-alert-message>p{max-width:100%;overflow-wrap:anywhere}
.swal2-container.anhaes-alert-container .anhaes-alert-message>:last-child{margin-bottom:0!important}
.swal2-container.anhaes-alert-container .anhaes-alert--warning{--al-accent:#e6a43e}
.swal2-container.anhaes-alert-container .anhaes-alert--danger{--al-accent:#ec6977}
.swal2-container.anhaes-alert-container .anhaes-alert--success{--al-accent:#27c996}
.swal2-container.anhaes-alert-container .anhaes-alert--info{--al-accent:#38c4df}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions.anhaes-alert-actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  order:1!important;position:static!important;inset:auto!important;float:none!important;
  flex:0 0 auto!important;align-self:stretch!important;justify-content:stretch!important;
  align-items:stretch!important;box-sizing:border-box!important;grid-area:auto!important;
  width:calc(100% - 54px)!important;max-width:none!important;min-height:0!important;height:auto!important;
  margin:24px 27px 27px!important;padding:0!important;gap:13px!important;flex-wrap:initial!important;
}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions.anhaes-alert-actions > button{
  align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;position:relative!important;grid-column:auto;grid-row:auto;
  min-width:0!important;width:100%!important;min-height:49px!important;margin:0!important;
  padding:11px 13px!important;border-radius:11px!important;box-shadow:none!important;
  text-align:center!important;font-size:14px!important;font-family:inherit!important;
  font-weight:800!important;line-height:1.3!important;white-space:normal!important;
  transition:transform .15s ease,filter .15s ease,box-shadow .15s ease;
}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions .swal2-confirm,
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions .swal2-confirm[class*='btn']{
  background:linear-gradient(120deg,#059b75,#135d84)!important;border:1px solid #07866f!important;color:#fff!important;
}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions .swal2-cancel{
  background:var(--al-cancel)!important;border:1px solid var(--al-border)!important;color:var(--al-ink)!important;
}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions .swal2-deny{
  background:linear-gradient(120deg,#c84c62,#85394d)!important;border:1px solid #ae475d!important;color:#fff!important;
}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions > button:hover{transform:translateY(-1px);filter:brightness(1.06)}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions > button:focus-visible{
  outline:3px solid #7ad1ed!important;outline-offset:2px!important;
}
/* Un botón o dos botones: el layout depende de la configuración,
   NUNCA de estilos en línea (SweetAlert conserva los botones ocultos). */
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--single .swal2-actions{grid-template-columns:1fr!important}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--two .swal2-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--two .swal2-actions .swal2-cancel{grid-column:1!important;grid-row:1!important}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--two .swal2-actions .swal2-confirm{grid-column:2!important;grid-row:1!important}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--three .swal2-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;
}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--three .swal2-actions .swal2-cancel{grid-row:1!important;grid-column:1!important}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--three .swal2-actions .swal2-deny{grid-row:1!important;grid-column:2!important}
.swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--three .swal2-actions .swal2-confirm{grid-row:1!important;grid-column:3!important}
@keyframes anhaesUnifiedIn{from{opacity:0;transform:translateY(22px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes anhaesUnifiedWarn{0%{opacity:0;transform:translateX(-20px)}65%{transform:translateX(4px)}100%{opacity:1;transform:translateX(0)}}
@keyframes anhaesUnifiedSuccess{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}
@keyframes anhaesUnifiedError{0%{opacity:0;transform:translateX(10px)}65%{transform:translateX(-3px)}100%{opacity:1;transform:translateX(0)}}
@keyframes anhaesUnifiedOut{to{opacity:0;transform:translateY(12px) scale(.98)}}
.swal2-container .anhaes-alert-in{animation:anhaesUnifiedIn .28s cubic-bezier(.2,.8,.2,1) both}
.swal2-container .anhaes-alert-in--warning{animation-name:anhaesUnifiedWarn}
.swal2-container .anhaes-alert-in--success{animation-name:anhaesUnifiedSuccess}
.swal2-container .anhaes-alert-in--danger{animation-name:anhaesUnifiedError}
.swal2-container .anhaes-alert-out{animation:anhaesUnifiedOut .17s ease-in both}
/* V6.4: animaciones de los símbolos, no del modal completo.
   El SVG usa trazos blancos en el encabezado, se dibuja solo una vez por alerta. */
.swal2-container.anhaes-alert-container .anhaes-alert-heading-icon{
  overflow:visible; animation:anhaesIconFramePop .4s cubic-bezier(.18,.85,.3,1.25) .14s both;
}
.swal2-container.anhaes-alert-container .anhaes-alert-symbol{
  display:block;width:31px;height:31px;flex:0 0 31px;
  fill:none;stroke:currentColor;stroke-width:3.6;stroke-linecap:round;stroke-linejoin:round;
  overflow:visible;
}
.swal2-container.anhaes-alert-container .anhaes-alert-symbol .anhaes-icon-outline{
  fill:none;stroke-dasharray:130;stroke-dashoffset:130;
  animation:anhaesIconDraw .58s cubic-bezier(.28,.75,.22,1) .28s forwards;
}
.swal2-container.anhaes-alert-container .anhaes-alert-symbol .anhaes-icon-mark{
  fill:none;stroke-dasharray:48;stroke-dashoffset:48;
  animation:anhaesIconDraw .34s cubic-bezier(.2,.8,.2,1) .72s forwards;
}
.swal2-container.anhaes-alert-container .anhaes-alert-symbol .anhaes-icon-x-second{
  animation-delay:.9s;
}
/* Confirmación pendiente: dibujar la interrogación, nunca mostrar un check.
   El punto aparece después del trazo curvo, con un rebote discreto. */
.swal2-container.anhaes-alert-container .anhaes-alert-symbol--question .anhaes-icon-question-curve{
  stroke-dasharray:75;stroke-dashoffset:75;
  animation:anhaesIconDraw .48s cubic-bezier(.3,.75,.2,1) .71s forwards;
}
.swal2-container.anhaes-alert-container .anhaes-alert-symbol--question .anhaes-icon-question-dot{
  animation-delay:1.13s;
}
.swal2-container.anhaes-alert-container .anhaes-alert-symbol .anhaes-icon-dot{
  fill:currentColor;stroke:none;opacity:0;transform:scale(.2);
  transform-origin:center;transform-box:fill-box;
  animation:anhaesIconDotPop .32s cubic-bezier(.18,.85,.22,1.3) .87s forwards;
}
@keyframes anhaesIconFramePop{
  0%{opacity:0;transform:scale(.65) rotate(-8deg)}
  66%{opacity:1;transform:scale(1.1) rotate(2deg)}
  100%{opacity:1;transform:scale(1) rotate(0)}
}
@keyframes anhaesIconDraw{to{stroke-dashoffset:0}}
@keyframes anhaesIconDotPop{
  0%{opacity:0;transform:scale(.2)}
  70%{opacity:1;transform:scale(1.25)}
  100%{opacity:1;transform:scale(1)}
}
/* Accesibilidad: respetar preferencias de reducción de movimiento. */
@media(prefers-reduced-motion:reduce){
  .swal2-container.anhaes-alert-container .anhaes-alert-heading-icon{animation:none!important}
  .swal2-container.anhaes-alert-container .anhaes-alert-symbol .anhaes-icon-outline,
  .swal2-container.anhaes-alert-container .anhaes-alert-symbol .anhaes-icon-mark{
    stroke-dashoffset:0!important;animation:none!important;
  }
  .swal2-container.anhaes-alert-container .anhaes-alert-symbol .anhaes-icon-dot{
    opacity:1!important;transform:scale(1)!important;animation:none!important;
  }
}
@media(max-width:540px){
  .swal2-container.anhaes-alert-container .anhaes-alert-head{padding:17px 16px 20px!important}
  .swal2-container.anhaes-alert-container .anhaes-alert-brand{height:72px;width:84px}
  .swal2-container.anhaes-alert-container .anhaes-alert-heading{gap:10px}
  .swal2-container.anhaes-alert-container .anhaes-alert-heading-icon{flex-basis:40px;width:40px;height:40px}
  .swal2-container.anhaes-alert-container .anhaes-alert-main{padding:19px 16px 0!important}
  .swal2-container.anhaes-alert-container .anhaes-alert-message{padding:15px!important;font-size:13px!important}
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions.anhaes-alert-actions{width:calc(100% - 32px)!important;margin:18px 16px 19px!important;gap:9px!important}
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert .swal2-actions > button{padding:10px 7px!important;font-size:12px!important}
}
@media(max-width:410px){
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert.anhaes-alert--single .swal2-actions.anhaes-alert-actions,
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert.anhaes-alert--two .swal2-actions.anhaes-alert-actions,
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert.anhaes-alert--three .swal2-actions.anhaes-alert-actions{grid-template-columns:1fr!important}
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--two .swal2-actions .swal2-cancel{grid-column:1!important;grid-row:1!important}
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--two .swal2-actions .swal2-confirm{grid-column:1!important;grid-row:2!important}
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--three .swal2-actions .swal2-cancel{grid-column:1!important;grid-row:1!important}
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--three .swal2-actions .swal2-deny{grid-column:1!important;grid-row:2!important}
  .swal2-container.anhaes-alert-container .swal2-popup.anhaes-alert--three .swal2-actions .swal2-confirm{grid-column:1!important;grid-row:3!important}
}
@media(prefers-reduced-motion:reduce){.swal2-container .anhaes-alert-in,.swal2-container .anhaes-alert-out{animation:none!important}.swal2-container.anhaes-alert-container .swal2-actions > button{transition:none!important}}

.swal2-container.anhaes-alert-container
.swal2-popup.anhaes-alert.anhaes-alert--single
.swal2-actions.anhaes-alert-actions {
  display: grid !important;
  grid-template-columns: minmax(0, min(100%, 280px)) !important;
  justify-content: center !important;
  justify-items: stretch !important;
}

.swal2-container.anhaes-alert-container
.swal2-popup.anhaes-alert.anhaes-alert--single
.swal2-actions.anhaes-alert-actions > .swal2-confirm {
  width: 100% !important;
  max-width: 100% !important;
}
