/* Modal background */
.modal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Ensure modal is on top */
    justify-content: center;
    align-items: center;
}

/* Modal dialog (container) */
.modal-dialog {
    max-width: 80%; /* Adjust this width to your liking */
    width: 600px;  /* Fixed width for the modal */
}

/* Modal content */
.modal-content {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Modal header (Title and Close button) */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    /* background-color: #007bff; */
    /* color: white; */
}

.modal-title {
    margin: 0;
    font-size: 1.6rem;
}

.close {
    font-size: 30px;
    cursor: pointer;
}

.close:hover {
    color: #f8f9fa;
}

/* Modal body (Scrollable content) */
.modal-body {
    padding: 20px;
    max-height: 60vh; /* Limit the height of the body */
    overflow-y: auto; /* Enable vertical scroll */
    background-color: #f8f9fa;
}

/* Optional: If you want a more rounded modal */
.modal-content {
    border-radius: 10px;
}
