.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.7); /* Dark background with higher opacity */
}

.modal-content {
    background-color: #ffffff; /* White background for the modal */
    margin: 10% auto; /* Center modal */
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    width: 90%; /* Responsive width */
    max-width: 600px; /* Maximum width */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #f00; /* Change color on hover */
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h5 {
    margin: 0; /* Remove default margin */
    font-size: 18px; /* Header font size */
}

.modal-body {
    margin-top: 10px; /* Space between header and body */
}

.modal-footer {
    margin-top: 20px; /* Space between body and footer */
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
}

.modal-footer button {
    padding: 10px 20px; /* Button padding */
    border: none;
    border-radius: 4px; /* Rounded button corners */
    background-color: #007bff; /* Button background color */
    color: white; /* Button text color */
    cursor: pointer;
}

.modal-footer button:hover {
    background-color: #0056b3; /* Darker button color on hover */
}
