.isdm-popup-root{position:fixed;inset:0;z-index:2147482000;display:none;color:#1f2937}
.isdm-popup-root.isdm-popup-open{display:block}
.isdm-popup-overlay{position:absolute;inset:0;background:rgba(15,23,42,.62)}
.isdm-popup-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;background:#fff;border-radius:8px;box-shadow:0 24px 80px rgba(15,23,42,.28);outline:0}
.isdm-popup-content{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(280px,1.1fr);gap:0}
.isdm-popup-copy{padding:28px;background:linear-gradient(145deg,#fff 0,#f8fbff 58%,#fdf2f8 100%);border-right:1px solid #eef2ff}
.isdm-popup-badge{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:4px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:0}
.isdm-popup-image{margin:0 0 16px;overflow:hidden;border-radius:6px;background:#eef2ff}
.isdm-popup-image img{display:block;width:100%;height:auto;min-height:120px;max-height:220px}
.isdm-popup-image figcaption{font-size:12px;color:#64748b;padding:8px 10px;background:#fff}
.isdm-popup-copy h2{margin:14px 0 10px;color:#24133f;font-size:30px;line-height:1.12;font-weight:800;letter-spacing:0}
.isdm-popup-subheading{color:#be185d;font-weight:800}
.isdm-popup-copy p{font-size:14px;line-height:1.55}
.isdm-popup-benefits{display:grid;gap:7px;margin:14px 0 0;padding:0;list-style:none;font-size:13px}
.isdm-popup-benefits li{position:relative;padding-left:18px}
.isdm-popup-benefits li:before{content:"";position:absolute;left:0;top:.58em;width:7px;height:7px;border-radius:999px;background:#d9328b}
.isdm-popup-form{padding:28px}
.isdm-popup-form .form-label{font-size:12px;margin-bottom:6px}
.isdm-popup-form .form-control,.isdm-popup-form .form-select{border-radius:4px;min-height:42px;font-size:14px}
.isdm-popup-disclaimer{font-size:11px;line-height:1.4;color:#64748b;margin:0 0 12px}
.isdm-popup-submit{position:relative;overflow:hidden;width:100%;border:0;border-radius:4px;background:linear-gradient(135deg,#d9328b,#512da8,#2563eb);color:#fff;font-size:14px;font-weight:800;padding:13px 18px;box-shadow:0 12px 28px rgba(81,45,168,.22);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.isdm-popup-submit:hover,.isdm-popup-actions .isdm-popup-next:hover,.isdm-popup-reopen:hover{transform:translateY(-2px);filter:saturate(1.08);box-shadow:0 16px 34px rgba(81,45,168,.28)}
.isdm-popup-submit:active,.isdm-popup-actions .isdm-popup-next:active,.isdm-popup-reopen:active{transform:translateY(0);box-shadow:0 10px 22px rgba(81,45,168,.2)}
.isdm-popup-close{position:absolute;right:12px;top:10px;z-index:3;width:36px;height:36px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#111827;font-size:24px;line-height:1;display:grid;place-items:center}
.isdm-popup-close.is-left{right:auto;left:12px}
.isdm-popup-close-text{width:auto;min-width:36px;padding:0 12px;font-size:13px;font-weight:800;border-radius:4px}
.isdm-popup-close:focus,.isdm-popup-submit:focus,.isdm-popup-reopen:focus{outline:3px solid rgba(37,99,235,.35);outline-offset:2px}
.isdm-popup-progress{height:4px;background:#edf2f7;border-radius:999px;overflow:hidden;margin-bottom:18px}
.isdm-popup-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#d9328b,#512da8,#2563eb);transition:width .18s ease-out}
.isdm-popup-step-title{font-size:16px;line-height:1.25;margin:0 0 14px;color:#24133f;font-weight:800}
.isdm-popup-step-copy{font-size:14px;line-height:1.55;color:#334155;margin:0 0 14px}
.isdm-popup-step{display:none}.isdm-popup-step.is-active{display:block}
.isdm-popup-actions{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;margin-top:12px}
.isdm-popup-actions button{min-height:44px;border-radius:4px;padding:10px 14px;font-weight:800;border:1px solid #dbe3ef;background:#fff;color:#1f2937}
.isdm-popup-actions .isdm-popup-next,.isdm-popup-actions .isdm-popup-submit{grid-column:2;border-color:#24133f;background:#24133f;color:#fff;box-shadow:0 12px 28px rgba(36,19,63,.22);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.isdm-popup-actions button:not([hidden]),.isdm-popup-submit:not([hidden]),.isdm-popup-reopen{display:inline-flex;align-items:center;justify-content:center;opacity:1;visibility:visible}
.isdm-popup-actions button[hidden],.isdm-popup-submit[hidden]{display:none!important}
.isdm-popup-actions .isdm-popup-submit:disabled{opacity:.68;cursor:wait}
.isdm-popup-success{padding:30px;text-align:center}
.isdm-popup-success h2{font-size:28px;color:#24133f}
.isdm-popup-success-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px}
.isdm-popup-success-actions a,.isdm-popup-success-actions button{border-radius:4px;padding:11px 14px;text-decoration:none;font-weight:800;border:1px solid #dbe3ef;background:#fff;color:#1f2937}
.isdm-popup-success-actions .primary{background:#512da8;color:#fff;border-color:#512da8}
.isdm-popup-error{border-radius:4px;background:#fef2f2;color:#991b1b;padding:10px 12px;margin-bottom:12px;font-size:13px}
.isdm-popup-reopen{position:fixed;right:18px;bottom:84px;z-index:2147481999;border:0;border-radius:999px;background:#24133f;color:#fff;padding:12px 16px;font-weight:800;box-shadow:0 14px 34px rgba(15,23,42,.22);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.isdm-popup-bottom_right .isdm-popup-dialog,.isdm-popup-floating_card .isdm-popup-dialog{left:auto;right:18px;bottom:18px;top:auto;transform:none;width:min(420px,calc(100vw - 28px))}
.isdm-popup-bottom_left .isdm-popup-dialog{left:18px;right:auto;bottom:18px;top:auto;transform:none;width:min(420px,calc(100vw - 28px))}
.isdm-popup-slide_in_right .isdm-popup-dialog{left:auto;right:0;top:0;bottom:0;transform:none;width:min(460px,100vw);max-height:100vh;border-radius:0}
.isdm-popup-slide_in_left .isdm-popup-dialog{left:0;top:0;bottom:0;transform:none;width:min(460px,100vw);max-height:100vh;border-radius:0}
.isdm-popup-full_screen .isdm-popup-dialog{inset:18px;left:18px;top:18px;right:18px;bottom:18px;transform:none;width:auto;max-height:none}
.isdm-popup-force-fullscreen .isdm-popup-dialog{inset:0;left:0;top:0;right:0;bottom:0;transform:none;width:100%;max-width:none;max-height:100vh;border-radius:0}
.isdm-popup-system-default .isdm-popup-dialog,.isdm-popup-responsive-default .isdm-popup-dialog{left:50%;top:50%;bottom:auto;right:auto;transform:translate(-50%,-50%);width:fit-content;max-width:calc(100vw - 28px);height:auto;max-height:calc(100vh - 28px);border-radius:8px}
.isdm-popup-system-default .isdm-popup-content,.isdm-popup-responsive-default .isdm-popup-content{min-height:0}
.isdm-popup-system-default .isdm-popup-copy,.isdm-popup-system-default .isdm-popup-form,.isdm-popup-responsive-default .isdm-popup-copy,.isdm-popup-responsive-default .isdm-popup-form{overflow:auto}
.isdm-popup-scroll-inside{overflow:auto}
.isdm-popup-top_bar .isdm-popup-dialog,.isdm-popup-bottom_bar .isdm-popup-dialog{left:0;right:0;width:100%;max-width:none;border-radius:0;transform:none}
.isdm-popup-top_bar .isdm-popup-dialog{top:0}.isdm-popup-bottom_bar .isdm-popup-dialog{top:auto;bottom:0}
.isdm-popup-top_bar .isdm-popup-content,.isdm-popup-bottom_bar .isdm-popup-content{grid-template-columns:1fr 1.3fr}
@media (max-width:767px){
    .isdm-popup-dialog{inset:0;left:0;top:0;right:0;bottom:0;transform:none;width:100%;max-height:100vh;border-radius:0}
    .isdm-popup-system-default .isdm-popup-dialog,.isdm-popup-responsive-default .isdm-popup-dialog{inset:auto;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:auto;max-height:calc(100vh - 24px);border-radius:8px}
    .isdm-popup-content{display:block}
    .isdm-popup-copy{padding:22px;border-right:0;border-bottom:1px solid #eef2ff}
    .isdm-popup-copy h2{font-size:25px}
    .isdm-popup-form{padding:22px}
    .isdm-popup-reopen{right:12px;bottom:76px}
}
@media (prefers-reduced-motion:no-preference){
    .isdm-popup-root.isdm-popup-open .isdm-popup-dialog{animation:isdmPopupIn .18s ease-out}
    .isdm-popup-submit,.isdm-popup-actions .isdm-popup-next,.isdm-popup-reopen{animation:isdmCtaPulse 2.4s ease-in-out infinite}
    .isdm-popup-submit:hover,.isdm-popup-actions .isdm-popup-next:hover,.isdm-popup-reopen:hover{animation-play-state:paused}
    @keyframes isdmPopupIn{from{opacity:0;transform:translate(-50%,-46%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
    @keyframes isdmCtaPulse{0%,100%{box-shadow:0 12px 28px rgba(81,45,168,.22)}50%{box-shadow:0 18px 42px rgba(217,50,139,.34)}}
    @media (max-width:767px){@keyframes isdmPopupIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}
}
