/* The Modal (background) */
.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: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: auto; /* Could be more or less, depending on screen size */
max-width: 500px;
text-align: center;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
color: #4c51bf;
font-size: 1.5rem;
margin-bottom: 1rem;
}

.modal-content ul {
text-align: left;
margin: 1.5rem 0;
padding-left: 1.5rem;
list-style-type: disc;
}

.modal-content p {
font-weight: bold;
color: #ef4444;
margin-top: 1rem;
}

.modal-buttons {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 1.5rem;
}

.modal-btn {
padding: 0.75rem 1.5rem;
font-size: 1rem;
font-weight: bold;
border-radius: 6px;
cursor: pointer;
border: none;
transition: background-color 0.3s ease;
}

.modal-btn.continue {
background-color: #4CAF50;
color: white;
}

.modal-btn.continue:hover {
background-color: #45a049;
}

.modal-btn.cancel {
background-color: #f44336;
color: white;
}

.modal-btn.cancel:hover {
background-color: #da190b;
}
