[data-elementor-type=popup] .elementor-section-wrap:not(:empty) + #elementor-add-new-section, [data-elementor-type=popup]:not(.elementor-edit-area) {
    display: none
}

.elementor-popup-modal {
    background-color: transparent;
    display: flex;
    pointer-events: none;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    user-select: auto
}

    .elementor-popup-modal .dialog-buttons-wrapper, .elementor-popup-modal .dialog-header {
        display: none
    }

    .elementor-popup-modal .dialog-close-button {
        display: none;
        inset-inline-end: 20px;
        margin-top: 0;
        opacity: 1;
        pointer-events: all;
        top: 20px;
        z-index: 9999
    }

        .elementor-popup-modal .dialog-close-button svg {
            fill: #1f2124;
            height: 1em;
            width: 1em
        }

    .elementor-popup-modal .dialog-widget-content {
        background-color: #fff;
        border-radius: 0;
        box-shadow: none;
        max-height: 100%;
        max-width: 100%;
        overflow: visible;
        pointer-events: all;
        width: auto
    }

    .elementor-popup-modal .dialog-message {
        display: flex;
        max-height: 100vh;
        max-width: 100vw;
        overflow: auto;
        padding: 0;
        width: 640px
    }

    .elementor-popup-modal .elementor {
        width: 100%
    }
