/* SCRN Popup Builder Frontend Runtime Styles (extracted from editor.css — W8 OPT-05) */
.scrn-popup-wrap{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999999;display:flex;box-sizing:border-box;font-family:var(--scrn-font,'Inter',sans-serif)}
.scrn-popup-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(15,23,42,.75);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:1}
.scrn-popup-container{position:relative;z-index:2;background:var(--scrn-popup-bg,#0f172a);color:var(--scrn-popup-ink,#f8fafc);border-radius:12px;border:1px solid rgba(15,23,42,.12);box-shadow:0 25px 50px -12px rgba(15,23,42,.45);box-sizing:border-box;overflow:hidden;animation-fill-mode:both}
.scrn-popup-close-pos-outside-top-right .scrn-popup-container{overflow:visible}
.scrn-popup-close-btn{position:absolute;top:12px;right:12px;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:50%;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;transition:background .15s ease,transform .15s ease,border-color .15s ease}
.scrn-popup-close-btn,.scrn-popup-close-btn:focus,.scrn-popup-close-btn:active{background:rgba(24,24,27,.82);color:#ffffff;border:1px solid rgba(255,255,255,.24)}
.scrn-popup-close-btn:hover{background:rgba(24,24,27,.96);color:#ffffff;border-color:rgba(255,255,255,.5);transform:rotate(90deg)}
.scrn-popup-close-btn:focus-visible{outline:2px solid var(--scrn-color-primary,#2563eb);outline-offset:2px}
.scrn-popup-container .scrn-container[style*="flex-direction: row"] > .scrn-widget:not([style*="width:"]),.scrn-popup-container .scrn-container[style*="flex-direction:row"] > .scrn-widget:not([style*="width:"]){flex:0 1 auto;width:auto}
.scrn-popup-skin-classic,.scrn-popup-skin-modal,.scrn-popup-layout-modal,.scrn-popup-skin-bordering{align-items:center;justify-content:center;padding:20px}
.scrn-popup-skin-classic .scrn-popup-container,.scrn-popup-skin-modal .scrn-popup-container,.scrn-popup-layout-modal .scrn-popup-container,.scrn-popup-skin-bordering .scrn-popup-container{max-width:600px;width:100%;max-height:90vh;overflow-y:auto}
.scrn-popup-skin-bordering .scrn-popup-container{border:2px solid var(--scrn-accent,#2563eb);box-shadow:0 0 40px rgba(37,99,235,.35),0 25px 50px -12px rgba(0,0,0,.8)}
.scrn-popup-skin-full_view,.scrn-popup-skin-fullscreen,.scrn-popup-layout-fullscreen,.scrn-popup-layout-fullscreen_video{align-items:center;justify-content:center}
.scrn-popup-skin-full_view .scrn-popup-container,.scrn-popup-skin-fullscreen .scrn-popup-container,.scrn-popup-layout-fullscreen .scrn-popup-container,.scrn-popup-layout-fullscreen_video .scrn-popup-container{width:100vw;height:100vh;max-width:100vw!important;max-height:100vh!important;border-radius:0;border:none;display:flex;align-items:center;justify-content:center}
.scrn-popup-skin-slide_in,.scrn-popup-skin-corner_box,.scrn-popup-layout-slide_in_bottom_right{align-items:flex-end;justify-content:flex-end;padding:24px;pointer-events:none}
.scrn-popup-layout-slide_in_bottom_left{align-items:flex-end;justify-content:flex-start;padding:24px;pointer-events:none}
.scrn-popup-layout-slide_in_top_right{align-items:flex-start;justify-content:flex-end;padding:24px;pointer-events:none}
.scrn-popup-layout-slide_in_top_left{align-items:flex-start;justify-content:flex-start;padding:24px;pointer-events:none}
.scrn-popup-skin-slide_in .scrn-popup-container,.scrn-popup-skin-corner_box .scrn-popup-container,.scrn-popup-layout-slide_in_bottom_right .scrn-popup-container,.scrn-popup-layout-slide_in_bottom_left .scrn-popup-container,.scrn-popup-layout-slide_in_top_right .scrn-popup-container,.scrn-popup-layout-slide_in_top_left .scrn-popup-container{max-width:420px;width:100%;pointer-events:auto}
.scrn-popup-skin-slide_along{align-items:stretch;justify-content:flex-start;pointer-events:none}
.scrn-popup-skin-slide_along .scrn-popup-container{width:380px;max-width:90vw;height:100%;border-radius:0;pointer-events:auto;box-shadow:var(--scrn-shadow-lg,0 20px 45px rgba(0,0,0,.35))}
.scrn-popup-skin-reveal{align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.82)}
.scrn-popup-skin-reveal .scrn-popup-container{max-width:680px;width:100%;clip-path:inset(0);transition:clip-path .35s ease}
@media (prefers-reduced-motion:reduce){.scrn-popup-wrap,.scrn-popup-container,.scrn-popup-skin-reveal .scrn-popup-container{animation:none!important;transition:none!important}}
.scrn-popup-layout-slide_in_left{align-items:stretch;justify-content:flex-start;pointer-events:none}
.scrn-popup-layout-slide_in_right{align-items:stretch;justify-content:flex-end;pointer-events:none}
.scrn-popup-layout-slide_in_left .scrn-popup-container,.scrn-popup-layout-slide_in_right .scrn-popup-container{width:360px;height:100%;border-radius:0;pointer-events:auto}
.scrn-popup-skin-bar,.scrn-popup-skin-top_banner,.scrn-popup-layout-top_bar{align-items:flex-start;justify-content:center;pointer-events:none}
.scrn-popup-skin-bottom_banner,.scrn-popup-layout-bottom_bar{align-items:flex-end;justify-content:center;pointer-events:none}
.scrn-popup-skin-bar .scrn-popup-container,.scrn-popup-skin-top_banner .scrn-popup-container,.scrn-popup-layout-top_bar .scrn-popup-container{width:100%!important;max-width:100%!important;border-radius:0!important;border-left:none;border-right:none;border-top:none;box-shadow:0 8px 24px rgba(15,23,42,.12);pointer-events:auto}
.scrn-popup-skin-bottom_banner .scrn-popup-container,.scrn-popup-layout-bottom_bar .scrn-popup-container{width:100%!important;max-width:100%!important;border-radius:0!important;border-left:none;border-right:none;border-bottom:none;box-shadow:0 -8px 24px rgba(15,23,42,.12);pointer-events:auto}
.scrn-popup-skin-bar .scrn-popup-close-btn,.scrn-popup-skin-top_banner .scrn-popup-close-btn,.scrn-popup-layout-top_bar .scrn-popup-close-btn,.scrn-popup-skin-bottom_banner .scrn-popup-close-btn,.scrn-popup-layout-bottom_bar .scrn-popup-close-btn{top:50%;right:12px;transform:translateY(-50%)}
.scrn-popup-skin-bar .scrn-popup-close-btn:hover,.scrn-popup-skin-top_banner .scrn-popup-close-btn:hover,.scrn-popup-layout-top_bar .scrn-popup-close-btn:hover,.scrn-popup-skin-bottom_banner .scrn-popup-close-btn:hover,.scrn-popup-layout-bottom_bar .scrn-popup-close-btn:hover{transform:translateY(-50%) rotate(90deg)}
.scrn-popup-container .scrn-text-editor p:first-child{margin-top:0}
.scrn-popup-container .scrn-text-editor p:last-child{margin-bottom:0}
.scrn-popup-container .scrn-form-widget{padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important}
.scrn-popup-container .scrn-fb-choice{align-items:flex-start!important}
.scrn-popup-container .scrn-fb-choice input[type="checkbox"],.scrn-popup-container .scrn-fb-choice input[type="radio"]{margin-top:3px;flex-shrink:0}
.scrn-popup-container .scrn-countdown-widget{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;width:100%}
.scrn-popup-container .scrn-cd-box{min-width:0!important;padding:12px 6px!important;border:1px solid rgba(255,255,255,.14);box-shadow:none!important}
@media (max-width:768px){
.scrn-popup-close-btn{width:44px;height:44px;min-width:44px;min-height:44px;top:8px;right:8px;font-size:22px}
.scrn-popup-skin-bar .scrn-popup-close-btn,.scrn-popup-skin-top_banner .scrn-popup-close-btn,.scrn-popup-layout-top_bar .scrn-popup-close-btn,.scrn-popup-skin-bottom_banner .scrn-popup-close-btn,.scrn-popup-layout-bottom_bar .scrn-popup-close-btn{top:8px;right:8px;transform:none}
.scrn-popup-skin-bar .scrn-popup-close-btn:hover,.scrn-popup-skin-top_banner .scrn-popup-close-btn:hover,.scrn-popup-layout-top_bar .scrn-popup-close-btn:hover,.scrn-popup-skin-bottom_banner .scrn-popup-close-btn:hover,.scrn-popup-layout-bottom_bar .scrn-popup-close-btn:hover{transform:rotate(90deg)}
.scrn-popup-skin-classic,.scrn-popup-skin-modal,.scrn-popup-layout-modal,.scrn-popup-skin-bordering{align-items:flex-end;padding:12px}
.scrn-popup-skin-classic .scrn-popup-container,.scrn-popup-skin-modal .scrn-popup-container,.scrn-popup-layout-modal .scrn-popup-container,.scrn-popup-skin-bordering .scrn-popup-container{max-width:100%;max-height:78vh;border-radius:16px}
.scrn-popup-skin-slide_in,.scrn-popup-skin-corner_box,.scrn-popup-layout-slide_in_bottom_right,.scrn-popup-layout-slide_in_bottom_left{padding:12px;justify-content:center;align-items:flex-end}
.scrn-popup-skin-slide_in .scrn-popup-container,.scrn-popup-skin-corner_box .scrn-popup-container,.scrn-popup-layout-slide_in_bottom_right .scrn-popup-container,.scrn-popup-layout-slide_in_bottom_left .scrn-popup-container{max-width:100%;max-height:78vh;border-radius:14px}
.scrn-popup-skin-top_banner .scrn-popup-container,.scrn-popup-skin-bar .scrn-popup-container,.scrn-popup-skin-bottom_banner .scrn-popup-container,.scrn-popup-layout-top_bar .scrn-popup-container,.scrn-popup-layout-bottom_bar .scrn-popup-container{max-height:30vh;overflow-y:auto}
.scrn-popup-skin-full_view:not([data-allow-mobile-fullscreen="yes"]),.scrn-popup-skin-fullscreen:not([data-allow-mobile-fullscreen="yes"]),.scrn-popup-layout-fullscreen:not([data-allow-mobile-fullscreen="yes"]){align-items:flex-end;padding:12px}
.scrn-popup-skin-full_view:not([data-allow-mobile-fullscreen="yes"]) .scrn-popup-container,.scrn-popup-skin-fullscreen:not([data-allow-mobile-fullscreen="yes"]) .scrn-popup-container,.scrn-popup-layout-fullscreen:not([data-allow-mobile-fullscreen="yes"]) .scrn-popup-container{width:100%!important;height:auto!important;max-height:86vh!important;border-radius:16px;overflow-y:auto}
}
.scrn-popup-close-btn.scrn-close-top-left{left:12px;right:auto}
.scrn-popup-close-btn.scrn-close-outside-top-right{top:-16px;right:-16px}
@keyframes scrnFadeIn{from{opacity:0}to{opacity:1}}
@keyframes scrnFadeOut{from{opacity:1}to{opacity:0}}
@keyframes scrnZoomIn{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}
@keyframes scrnZoomOut{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.85)}}
@keyframes scrnSlideUp{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}
@keyframes scrnSlideUpOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}
@keyframes scrnSlideDown{from{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}
@keyframes scrnSlideDownOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(40px)}}
@keyframes scrnSlideLeft{from{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}
@keyframes scrnSlideLeftOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(50px)}}
@keyframes scrnSlideRight{from{opacity:0;transform:translateX(-50px)}to{opacity:1;transform:translateX(0)}}
@keyframes scrnSlideRightOut{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-50px)}}
@keyframes scrnFlip{from{opacity:0;transform:perspective(400px) rotateX(45deg)}to{opacity:1;transform:perspective(400px) rotateX(0)}}
@keyframes scrnBounce{0%{opacity:0;transform:scale(.3)}50%{opacity:.9;transform:scale(1.05)}70%{transform:scale(.9)}100%{opacity:1;transform:scale(1)}}
.scrn-anim-fade{animation:scrnFadeIn .35s ease forwards}
.scrn-anim-fade-out{animation:scrnFadeOut .3s ease forwards}
.scrn-anim-zoom_in{animation:scrnZoomIn .35s cubic-bezier(.16,1,.3,1) forwards}
.scrn-anim-zoom_in-out{animation:scrnZoomOut .25s ease forwards}
.scrn-anim-slide_up{animation:scrnSlideUp .35s cubic-bezier(.16,1,.3,1) forwards}
.scrn-anim-slide_up-out{animation:scrnSlideUpOut .25s ease forwards}
.scrn-anim-slide_down{animation:scrnSlideDown .35s cubic-bezier(.16,1,.3,1) forwards}
.scrn-anim-slide_down-out{animation:scrnSlideDownOut .25s ease forwards}
.scrn-anim-slide_left{animation:scrnSlideLeft .35s cubic-bezier(.16,1,.3,1) forwards}
.scrn-anim-slide_left-out{animation:scrnSlideLeftOut .25s ease forwards}
.scrn-anim-slide_right{animation:scrnSlideRight .35s cubic-bezier(.16,1,.3,1) forwards}
.scrn-anim-slide_right-out{animation:scrnSlideRightOut .25s ease forwards}
.scrn-anim-flip{animation:scrnFlip .4s ease forwards}
.scrn-anim-bounce{animation:scrnBounce .5s cubic-bezier(.215,.61,.355,1) forwards}
