/* Styles for the custom popups */
.custom-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: zoomIn 0.5s both; /* Apply zoom in animation */
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5); /* Start with 50% scale */
    }
    to {
        opacity: 1;
        transform: scale(1); /* End with 100% scale */
    }
}

.custom-popup.hidden {
    animation: zoomOut 0.5s both; /* Apply zoom out animation */
}

@keyframes zoomOut {
    from {
        opacity: 1;
        transform: scale(1); /* Start with 100% scale */
    }
    to {
        opacity: 0;
        transform: scale(0.5); /* End with 50% scale */
    }
}

.custom-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Width of 80% of screen width */
    
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.custom-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
}
