/* Private beta only. Existing form fields, actions and Bootstrap lifecycle are retained. */
body.msj-beta .modal.msj-popup-host{padding:0!important;overscroll-behavior:contain}
body.msj-beta .modal.msj-popup-host.show{display:flex!important;align-items:center;justify-content:center}
body.msj-beta .modal .msj-popup-dialog{width:calc(100% - 40px)!important;max-width:600px!important;min-height:0!important;margin:24px auto!important;pointer-events:none}
body.msj-beta .modal .msj-popup-dialog.msj-popup-wide{max-width:800px!important}
body.msj-beta .modal.show .msj-popup-dialog{transform:none!important}
body.msj-beta .modal .msj-popup-dialog:before{display:none!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-surface{display:flex!important;flex-direction:column!important;width:100%!important;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);min-height:0;background:#fff!important;color:#40585e!important;border:1px solid #d8e6df!important;border-radius:18px!important;box-shadow:0 16px 56px #173b3429!important;overflow:hidden!important;pointer-events:auto;text-align:left!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-form-root{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;max-height:inherit!important;width:100%!important;margin:0!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;flex:0 0 auto!important;padding:20px 24px!important;margin:0!important;background:#fff!important;background-image:none!important;color:#40585e!important;border:0!important;border-bottom:1px solid #e0e9e5!important;border-radius:0!important;text-align:left!important;position:relative}
body.msj-beta .modal .msj-popup-dialog .msj-popup-header .modal-title,body.msj-beta .modal .msj-popup-dialog .msj-popup-title{font-size:23px!important;line-height:1.3!important;font-style:normal!important;font-weight:700!important;color:#40585e!important;margin:0!important;padding:0!important;min-width:0;overflow-wrap:anywhere;text-align:left!important;flex:1}
body.msj-beta .modal .msj-popup-dialog .msj-popup-header .modal-title h1{font-size:23px!important;line-height:1.3!important;color:#40585e!important;margin:0!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-header .modal-title h5{font-size:14px!important;line-height:1.55!important;color:#657b75!important;font-weight:400!important;margin:8px 0 0!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-header .modal-title>i{display:none!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;float:none!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:-5px -7px -5px 0!important;padding:0!important;flex:0 0 44px!important;border:0!important;border-radius:10px!important;background:#eef5f1!important;color:#2a6958!important;opacity:1!important;font-family:Arial,sans-serif!important;font-size:26px!important;font-weight:400!important;line-height:1!important;text-shadow:none!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-close i,body.msj-beta .modal .msj-popup-dialog .msj-popup-close svg{font-size:20px!important;width:20px!important;height:20px!important;color:inherit!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:24px!important;margin:0!important;border-radius:0!important;background:#fff!important;color:#40585e!important;text-align:left!important;scroll-padding:18px}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body p{font-size:15px!important;line-height:1.65!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body h2,body.msj-beta .modal .msj-popup-dialog .msj-popup-body h3,body.msj-beta .modal .msj-popup-dialog .msj-popup-body h4{color:#40585e!important;font-style:normal!important;line-height:1.4!important;overflow-wrap:anywhere}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body .information-popup{padding:0!important;text-align:left!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body .grey-box,body.msj-beta .modal .msj-popup-dialog .msj-popup-body .grey-bg,body.msj-beta .modal .msj-popup-dialog .msj-popup-body .form-info{background:#f0f6f3!important;color:#4f6b61!important;border-radius:10px!important;box-shadow:none!important}
body.msj-beta .modal .msj-popup-dialog .form-control,body.msj-beta .modal .msj-popup-dialog .custom-select{box-sizing:border-box!important;max-width:100%!important;min-width:0;min-height:46px!important;height:auto!important;padding:11px 12px!important;border:1px solid #cddfd6!important;border-radius:9px!important;background-color:#fff!important;color:#40585e!important;font-size:16px!important;line-height:1.45!important}
body.msj-beta .modal .msj-popup-dialog textarea.form-control{min-height:128px!important;resize:vertical}
body.msj-beta .modal .msj-popup-dialog label{font-size:14px;line-height:1.5}
body.msj-beta .modal .msj-popup-dialog .form-control:focus,body.msj-beta .modal .msj-popup-dialog .custom-select:focus{border-color:#21866f!important;box-shadow:0 0 0 3px #21866f20!important;outline:0}
body.msj-beta .modal .msj-popup-dialog .msj-popup-footer{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:10px!important;flex:0 0 auto!important;padding:16px 24px!important;margin:0!important;border:0!important;border-top:1px solid #e0e9e5!important;border-radius:0!important;background:#fff!important;box-shadow:0 -4px 16px #264a3c05;z-index:1}
body.msj-beta .modal .msj-popup-dialog .msj-popup-footer>*{margin:0!important}
body.msj-beta .modal .msj-popup-dialog .btn{font-size:15px!important;line-height:1.45!important;border-radius:9px!important;white-space:normal!important;min-height:44px!important;padding:10px 16px!important;box-shadow:none!important}
body.msj-beta .modal .msj-popup-dialog .btn-primary,body.msj-beta .modal .msj-popup-dialog .btn-success,body.msj-beta .modal .msj-popup-dialog .msj-popup-primary{background:#21866f!important;border-color:#21866f!important;color:#fff!important}
body.msj-beta .modal .msj-popup-dialog .btn-light,body.msj-beta .modal .msj-popup-dialog .btn-white,body.msj-beta .modal .msj-popup-dialog .btn-outline-primary{background:#fff!important;border:1px solid #cddfd6!important;color:#286c5b!important}
body.msj-beta .modal .msj-popup-dialog .btn.msj-popup-primary{background:#21866f!important;border-color:#21866f!important;color:#fff!important}
body.msj-beta .modal .msj-popup-dialog .btn-danger{background:#aa4149!important;border-color:#aa4149!important;color:#fff!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-original-title{display:none!important}
body.msj-beta .modal .msj-popup-dialog .msj-popup-footer .msj-popup-error{flex-basis:100%;font-size:14px;color:#a83d45}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body .nav-pills{display:flex;flex-wrap:wrap;gap:6px;background:#edf5f0;padding:5px;border-radius:10px}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body .nav-pills .nav-link{border-radius:7px;color:#527366;font-size:14px;padding:9px 12px}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body .nav-pills .nav-link.active{background:#d5eadf;color:#1d7861}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body img{max-width:100%;height:auto}
body.msj-beta .modal .msj-popup-dialog .msj-popup-body .input-group img{max-width:none}
body.msj-beta .modal .msj-popup-dialog [aria-invalid=true]{border-color:#ad4049!important}
@media(max-width:767px){
 body.msj-beta .modal.msj-popup-host{top:var(--msj-popup-top,0px)!important;bottom:auto!important;height:var(--msj-popup-height,100dvh)!important;max-height:var(--msj-popup-height,100dvh)!important}
 body.msj-beta .modal .msj-popup-dialog{width:100%!important;max-width:100%!important;margin:0!important;max-height:100%!important}
 body.msj-beta .modal .msj-popup-dialog.msj-popup-form{height:100%!important}
 body.msj-beta .modal .msj-popup-dialog.msj-popup-form .msj-popup-surface{height:100%!important;max-height:100%!important;border:0!important;border-radius:0!important}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-header{padding:14px 16px!important;padding-top:max(14px,env(safe-area-inset-top))!important;min-height:66px!important}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-header .modal-title,body.msj-beta .modal .msj-popup-dialog .msj-popup-title,body.msj-beta .modal .msj-popup-dialog .msj-popup-header .modal-title h1{font-size:21px!important}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-body{padding:20px 16px!important}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-footer{padding:12px 16px!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important;gap:10px!important;flex-wrap:wrap!important}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-footer .btn{width:auto!important;flex:1 1 130px!important;min-height:48px!important;font-size:16px!important}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-body .btn{width:auto!important;max-width:100%}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-body .input-group.w-50{width:100%!important}
 body.msj-beta .modal .msj-popup-dialog.msj-popup-notice{width:calc(100% - 20px)!important;margin:10px!important;max-height:calc(100% - 20px)!important}
 body.msj-beta .modal .msj-popup-dialog.msj-popup-notice .msj-popup-surface{max-height:calc(var(--msj-popup-height,100dvh) - 20px)!important;border-radius:18px!important}
 body.msj-beta .modal.msj-popup-notice-host.show{align-items:flex-end!important}
 body.msj-beta .modal .msj-popup-dialog.msj-popup-notice .msj-popup-header{min-height:60px!important}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-body .row{max-width:calc(100% + 30px)}
 body.msj-beta .modal .msj-popup-dialog .msj-popup-header .modal-title h5{font-size:13px!important;margin-top:6px!important}
}
@media(prefers-reduced-motion:reduce){body.msj-beta .modal .msj-popup-dialog{transition:none!important}}

/* Payment choice retains its existing beta cards inside the scrolling body. */
@media(max-width:767px){
body.msj-beta #payment-option-modal.modal .msj-popup-dialog.msj-popup-form{height:var(--msj-popup-height,100dvh)!important;max-height:var(--msj-popup-height,100dvh)!important;min-height:0!important;margin:0!important}
body.msj-beta #payment-option-modal.modal .msj-popup-surface{height:100%!important;max-height:100%!important}
}

/* Joined value/unit controls; calculated hourly hint is visible only with content. */
body.msj-beta .modal .msj-popup-dialog .input-group>.form-control:not(:last-child){border-top-right-radius:0!important;border-bottom-right-radius:0!important}
body.msj-beta .modal .msj-popup-dialog .input-group>.input-group-append{margin-left:-1px!important}
body.msj-beta .modal .msj-popup-dialog .input-group>.input-group-append>.input-group-text{display:flex!important;align-items:center!important;border-radius:0 9px 9px 0!important;border:1px solid #cddfd6!important;background:#f1f6f3!important;color:#52766c!important;font-size:16px!important;line-height:1.45!important;padding:11px 12px!important}
body.msj-beta .modal .msj-popup-dialog #hourly-price-show:empty{display:none!important}
