.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex; /* Changed from 'none' to 'flex' when showing */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 1000; /* Ensure it's on top */
    display: none; /* Hidden by default, change to 'flex' to show */
}

.popup-content {
    background: #fafafa;
    padding: 60px 30px;
    border-radius: 5px;
    text-align: center;
    max-width: 350px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    background: antiquewhite;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px; /* Adjusted to be closer to the corner */
    cursor: pointer;
    font-size: 20px;
    color: #333; /* Optional color for the close button */
}

