.elementor-widget.elementor-widget-codicts_popup_widget {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
}

.elementor-widget.elementor-widget-codicts_popup_widget > .elementor-widget-container:first-of-type {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.codicts-popup-container {
    z-index: 998;
    display: none;
    opacity: 0;
    padding: 15px;
    border-radius: 12px;
}

.codicts-popup-content {
    position: relative;
    z-index: 999;
    padding: 0;
    border-radius: 12px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.web_view .codicts-popup-content {
    overflow-y: hidden;
    overflow-x: hidden;
}

.codicts-popup-close {
    position: fixed;
    z-index: 1000;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.iframe-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.iframe-loader::after {
    content: '';
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
    /* Color of the spinner */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}