.modal {
    margin: 0px auto;
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    display: flex; /* Flexbox to center */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
//    -webkit-text-size-adjust: 100% !important;
}

.modal-content {
    background-color: #fefefe;
    margin: 0px auto;
    padding: 0px;
    border-radius: 20px;
    width: 95%; /* Full width */
    height: 100%; /* Full height */
    max-width: 100%;
    overflow: auto; /* Scrollable content */
}

.modal-confirmation {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.modal-confirmation.show {
    display: flex;
}

.modal-confirmation-content {
    background: #fff;
    padding: 1em;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    margin: 0 auto;
    font-size: 20px;
}


.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #aaa;
    font-size: 50px;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
}

.close {
    position: absolute;
    top: 0px;
    right: 50px;
    color: #aaa;
    font-size: 50px;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-table {
    width: 96%;
    margin: 0px auto;
    border-collapse: collapse;
}

.modal-table th, .modal-table td {
    padding: 4px;
    border: 0.25px solid #ddd;
    text-align: center;
    background-color: white;
    font-size: 12px;
}

.collapsed {
    height: 0 !important;
    visibility: hidden;
    padding: 0 !important;
    border: none !important;
}