body.modal-open #content {
    filter: blur(8px);
    pointer-events: none;
}

body.modal-open {
    overflow: hidden;
}

#affiliate-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    pointer-events: all;
}

#affiliate-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

#affiliate-popup .modal-body-content {
    position: relative;
}

#affiliate-popup .affiliate-image {
    width: 35vw;
    height: auto;
    max-height: 90vh;
    border-radius: 15px;
    display: block;
}

#affiliate-popup .close-button {
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    font-size: 30px;
    line-height: 1;
    z-index: 1002;
}
