.wppm-popup::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.wppm-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    overflow-y: auto;
    justify-content: center;
    align-items: center;
}

.wppm-popup[style*="display: block"] {
  display: flex !important;
}


.wppm-popup-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.wppm-popup-content {
    position: relative;
    z-index: 2;
    max-width: 96%;
    width: auto;
    min-width: 300px;
    max-height: 90%;
    overflow: auto;
    margin: 5% auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    display: inline-block;
    /* background: rgba(255, 255, 255, .3); */
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(209, 213, 219, 0.3);
}

.wppm-popup-content p, .wppm-popup-content a {
    color: #0e0e0e;
}


.wppm-popup-content div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
}

.wppm-popup-content iframe {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.wppm-popup-close {
    color: #ffffff;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    z-index: 10;
    text-shadow: 1px 2px 5px #00000091;
}

.wppm-popup-close:hover {
    opacity: .7;
}

.wppm-popup-content.has-iframe {
    padding: 0 !important;

}


.wppm-popup-content.has-iframe .wppm-popup-close {
    color: #0f0f0f;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    z-index: 10;
}

span.wppm-popup-close {
    background: #fff;
    padding: 2px 6px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.wppm-popup[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.not-format-btn {
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

.elementor-default .wppm-popup-content {
    padding: 60px;
}

.elementor-default button.wppm-popup-close {
    background-color: transparent;
    color: initial;
    border: 0px !important;
    box-shadow: 0px 1px 2px 0px rgb(0 0 0 / 0%);
}