
/* Style for the overlay/backdrop */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black */
    z-index: 1000;
    /* Ensure it's on top */
    display: none;
    /* Hidden by default */
}

/* Style for the modal/dialog */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    /* Ensure it's on top of the overlay */
    display: none;
    /* Hidden by default */
    width: 80%;
    /* Adjust as needed */
    max-width: 600px;
    /* Maximum width */
}

.modal-content {
    padding: 20px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}