.sifency-auto-popup-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.sifency-auto-popup-wrapper.is-active {
    display: flex !important;
}

/* Dark Overlay */
.sifency-auto-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    cursor: pointer;
}

/* The Box */
.sifency-auto-popup-container {
    position: relative;
    background: #fff;
    width: 600px;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: sifencyPopupSlideUp 0.4s ease-out;
}

/* Content Area */
.sifency-auto-popup-content {
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 20px; 
}

.sifency-auto-popup-content img {
    max-width: 100%;
    height: auto;
}

.sifency-auto-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    line-height: 1;
    color: #333;
    transition: transform 0.2s;
}

.sifency-auto-popup-close:hover {
    transform: rotate(90deg);
}
body.sifency-noscroll {
    overflow: hidden !important;
}
@keyframes sifencyPopupSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}