/* ESM Popup V2 Module frontend v1.3.0 */

.esm-popup-v2,
.esm-popup-v2 *,
.esm-popup-v2 *::before,
.esm-popup-v2 *::after{box-sizing:border-box;}

.esm-popup-v2{
  position:fixed;
  z-index:999990;
  left:16px;
  right:16px;
  font-family:inherit;
  display:none;
}

.esm-popup-v2.is-visible{display:block;}

.esm-popup-v2-top{top:16px;}
.esm-popup-v2-bottom{bottom:16px;}

.esm-popup-v2-center{
  top:50%;
  left:50%;
  right:auto;
  width:min(92vw,520px);
  transform:translate(-50%,-50%);
}

.esm-popup-v2-inner{
  position:relative;
  max-width:720px;
  margin:0 auto;
  padding:18px 46px 18px 18px;
  border-radius:18px;
  background:#ffffff;
  color:#101828;
  border:1px solid #d0d5dd;
  box-shadow:0 16px 42px rgba(16,24,40,.22);
}

.esm-popup-v2-title{
  font-size:17px;
  font-weight:900;
  line-height:1.35;
  margin-bottom:7px;
  color:#101828;
}

.esm-popup-v2-content{
  font-size:14px;
  line-height:1.6;
  color:#344054;
  font-weight:600;
}

.esm-popup-v2-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}

.esm-popup-v2-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 14px;
  border-radius:10px;
  background:#1d4ed8;
  color:#ffffff !important;
  text-decoration:none !important;
  font-weight:900;
}

.esm-popup-v2-button-secondary{
  background:#ffffff;
  color:#1d4ed8 !important;
  border:1px solid #1d4ed8;
}

.esm-popup-v2-close{
  position:absolute;
  top:10px;
  right:10px;
  width:28px;
  height:28px;
  border-radius:999px;
  border:0;
  background:#f2f4f7;
  color:#344054;
  font-size:20px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.esm-popup-v2-overlay{
  position:fixed;
  inset:0;
  z-index:999980;
  background:rgba(16,24,40,.42);
  display:none;
}

.esm-popup-v2-overlay.is-visible{display:block;}

.esm-popup-v2.is-hidden,
.esm-popup-v2-overlay.is-hidden{display:none !important;}

.esm-popup-v2-anim-fade.is-visible{animation:esmPopupFade .22s ease-out;}
.esm-popup-v2-anim-slide.is-visible{animation:esmPopupSlide .24s ease-out;}

@keyframes esmPopupFade{
  from{opacity:0;}
  to{opacity:1;}
}

@keyframes esmPopupSlide{
  from{opacity:0; transform:translateY(14px);}
  to{opacity:1; transform:translateY(0);}
}

.esm-popup-v2-center.esm-popup-v2-anim-slide.is-visible{
  animation:esmPopupCenterSlide .24s ease-out;
}

@keyframes esmPopupCenterSlide{
  from{opacity:0; transform:translate(-50%,-46%);}
  to{opacity:1; transform:translate(-50%,-50%);}
}

@media (max-width:640px){
  .esm-popup-v2{
    left:10px;
    right:10px;
  }

  .esm-popup-v2-top{top:10px;}
  .esm-popup-v2-bottom{bottom:10px;}

  .esm-popup-v2-inner{
    padding:15px 42px 15px 15px;
    border-radius:15px;
  }

  .esm-popup-v2-title{font-size:15px;}
  .esm-popup-v2-content{font-size:13px;}

  .esm-popup-v2-actions{display:block;}
  .esm-popup-v2-button{width:100%; margin-top:7px;}
}
