.px-formbased .modal-inner-wrap{
    overflow: hidden;
}
.px-formbased .modal-content{
    padding: 0 10px;
    height: 100%;
    overflow: hidden !important;
}
.px-formbased .modal-header{
    padding: 20px;
}
.px-formbased .modal-header .action-close {
    padding: 0;
}
.px-formbased #design-modal, .px-formbased #design-modal #design-iframe{
    height: 100%;
}
.modal-slide.px-formbased .modal-inner-wrap .modal-header{
    position: absolute;
    right: 20px;
    top: 10px;
}
.modal-slide.px-formbased .modal-inner-wrap .modal-header .action-close{
    color: #000000;
    top: 4px;
}
.modal-slide.px-formbased .modal-inner-wrap .modal-header  .action-close::before, .modal-slide.px-formbased .modal-inner-wrap .modal-header  .action-close::after{
    height: 20px;
    width: 20px;
}
.modal-slide.px-formbased .modal-inner-wrap .modal-header  .action-close::after{
    top: 11px;
    left: 21px;
}
.modal-slide.px-formbased .modal-inner-wrap .modal-content #design-iframe body{
    margin: 0;
}
@media (max-width: 991px){
    .modal-slide.px-formbased .modal-inner-wrap .modal-header{
        right: 10px;
        top: -2px;
    }
    .modal-slide.px-formbased .modal-inner-wrap .modal-header  .action-close::before, .modal-slide.px-formbased .modal-inner-wrap .modal-header  .action-close::after{
        height: 16px;
        width: 16px;
    }
    .modal-slide.px-formbased .modal-inner-wrap .modal-header  .action-close::after{
        top: 12px;
        left: 19px;
    }
   .px-formbased .modal-inner-wrap {
        max-height: calc(100dvh);
        height: 100%;
    }
    /*.modal-content:has(#design-modal) {
        overflow-y: auto;
        max-height: calc(100dvh - 20px);
        height: 100%;
        padding: 0 10px 10px 10px;
    }*/
     #design-modal, 
     #design-modal iframe{
        height: 100%;
    }
    .modal-slide.px-formbased{
        left: 0;
        z-index: 9999;
    }
    .px-formbased .modal-header{
        padding: 10px;
    }
    .px-formbased .modal-header .action-close{
        padding: 0;
        width: 30px;
        height: 30px;
        opacity: 1;
        top: -7px;
    }
    .px-formbased .modal-content{
        padding: 0;
        height: 100%;
        overflow: hidden;
    }
    
}