/* Modal Background */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    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 */
.modal-content {
    top: 15rem; /* set the modal window position */
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    margin-top: 2rem;
    padding: 1.5rem;
    padding-top: 2rem;
    border: 1px solid #888;
    width: 15rem; /* Could be more or less, depending on screen size */
    height: 10rem;
    text-align: center;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* Modal Background */
.cust-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    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 */
}

.cust-modal-content {
    position:relative;
    top: 9rem; /* set the modal window position */
    background-color: #fefefe;
    margin: 10% auto; /* 15% from the top and centered */
    margin-top: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    border: 1px solid #888;
    width: 22rem; /* Could be more or less, depending on screen size */
    height: 13rem;
    text-align: center;
    overflow-y: auto;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: var(--bs-modal-border-radius);
        /* position: relative;
        display: flex;
        flex-direction: column;
        color: var(--bs-modal-color);
        pointer-events: auto;
        background-color: var(--bs-modal-bg);
        background-clip: padding-box; */
        
}

/* Close Button */
.close {
    position: absolute;
    top: 0px;
    right: 1rem;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    color: black;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Container for the buttons */
.button-container {
    display: flex;
    gap: 10px; /* Space between buttons */
    margin-top: 1px; /* Space from the message */
    justify-content: center; /* Center align buttons horizontally */
    width: 100%; /* Ensure full width of the modal-content */
}

button {
    margin: 5px;
    /* padding: 10px 20px; */
    padding: 5px 10px;
}