.popup-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
}

.popup-modal-backdrop.hidden {
    display: none;
}

.popup-modal-backdrop .overflow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
}

.popup-modal-backdrop .overflow .center-vertical {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding-block: 5%;
    width: 100%;
}

.popup-modal-backdrop .modal {
    position: relative;
    max-width: 90%;
    height: auto;
    color: #000;
}

.popup-modal-backdrop .modal .close {
    position: absolute;
    top: 2.125rem;
    inset-inline-end: 1.5rem;
    line-height: 1;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background-color: transparent;
    cursor: pointer;
}

.popup-modal-backdrop .modal .close .close-icon {
    line-height: 1;
    pointer-events: none;
}

.popup-modal-backdrop .modal .close .close-icon svg {
    width: 1rem;
    height: 1rem;
}

.popup-modal-backdrop .modal .close .icon:before {
    background-color: #000;
    height: 0.0625rem;
    content: "";
    opacity: 0.8;
    width: 1.875rem;
    position: relative;
    display: block;
    color: #040b29;
    transform: rotate(45deg);
}

.popup-modal-backdrop .modal .close .icon:after {
    background-color: #000;
    height: 0.0625rem;
    content: "";
    opacity: 0.8;
    width: 1.875rem;
    position: relative;
    display: block;
    color: #040b29;
    transform: rotate(-45deg);
}

.popup-modal-backdrop .modal .close .icon {
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
    width: 1.875rem;
}

.popup-modal-backdrop .modal .close:hover {
    background-color: transparent;
}

.popup-modal-backdrop .modal .modal-content {
    background: #fff;
    box-shadow: 0 0.063rem 0.313rem 0.125rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.popup-modal-backdrop .modal iframe {
    border: none;
}

@media screen and (min-width: 64rem) {
    .popup-modal-backdrop .overflow .center-vertical {
        padding-block: 3%;
    }
}

@media screen and (min-width: 96rem) {
    .popup-modal-backdrop .overflow .center-vertical {
        padding-block: 2%;
    }
}
