﻿.popup-overlay {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* The popup content */
.popup-content {
    position: relative;
    background-color: #fff;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    max-width: 650px;
    width: 90%;
    animation: fadeIn 0.3s ease;
}

/* Popup image */
.popup-content img {
    display: block;
    width: 100%;
    height: auto;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    color: white;
    background-color: rgba(0,0,0,0.6);
    border: none;
    font-size: 20px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.close-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
