.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    /* display: flex;  This was causing it to show by default */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 900px;
    text-align: center;
    transform: scale(0.9);
    animation: zoomIn 0.3s forwards;
}

.modal-content p {
    margin-bottom: 25px;
    font-size: 2.8em;
    color: #333;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-buttons button {
    padding: 25px 50px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 2.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.modal-buttons .btn-yes {
    background-color: #4CAF50; /* Green */
    color: white;
}

.modal-buttons .btn-yes:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.modal-buttons .btn-no {
    background-color: #f44336; /* Red */
    color: white;
}

.modal-buttons .btn-no:hover {
    background-color: #da190b;
    transform: translateY(-2px);
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}