.yash-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

.yash-popup-overlay.active {
    display: flex;
}

.yash-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease-in-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.yash-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #333;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 1;
}

.yash-popup-close:hover {
    background: #555;
}

.yash-popup-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.yash-popup-content img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    display: block;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .yash-popup-container {
        max-width: 95%;
        padding: 15px;
    }
    
    .yash-popup-close {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}
