.open-popup-video,
.open-popup-video .elementor-icon {
    cursor: pointer;
}

.zr-video-popup {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .8);
}

.zr-video-popup[hidden] {
    display: none;
}

.zr-video-popup__dialog {
    position: relative;
    width: min(100%, 500px, 85vh);
    display: flex;
    flex-direction: column;
    white-space: normal;
    line-height: 0;
}

.zr-video-popup__frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
}

.zr-video-popup__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.zr-video-popup .zr-video-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #006c74;
    box-shadow: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.zr-video-popup .zr-video-popup__close svg {
    display: block;
    margin: auto;
    pointer-events: none;
}

.zr-video-popup .zr-video-popup__close,
.zr-video-popup .zr-video-popup__close:hover,
.zr-video-popup .zr-video-popup__close:focus,
.zr-video-popup .zr-video-popup__close:active {
    background: #006c74 !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    outline: 0;
}

.zr-video-popup .zr-video-popup__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.zr-video-popup .zr-video-popup__close svg path {
    stroke: #fff !important;
}

/* theme paints button::before/::after as full-size background layers; disable for this button */
.zr-video-popup .zr-video-popup__close::before,
.zr-video-popup .zr-video-popup__close::after {
    content: none !important;
    display: none !important;
}

body.zr-video-popup-open {
    overflow: hidden;
}
