/* banner area inside the modal */
#changeStatusModal #status_modal_table_container #success {
    padding: 10px 12px;
    font-weight: 600;
    margin-bottom: 10px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

/* success look: green background at 70% transparency (30% opacity) */
#changeStatusModal #status_modal_table_container #success.is-success {
    background-color: rgba(0, 128, 0, 0.3); /* green, 70% transparent */
    color: #064b06; /* dark green text */
    border-top-color: #064b06;
    border-bottom-color: #064b06;
}

/* fail look: red background at 30% opacity */
#changeStatusModal #status_modal_table_container #success.is-fail {
    background-color: rgba(255, 0, 0, 0.3); /* red, 70% transparent */
    color: #6b0000; /* dark red text */
    border-top-color: #6b0000;
    border-bottom-color: #6b0000;
}


/* Overlay: ALWAYS centered in the viewport */
#changeStatusModal {
    display: none;
    position: fixed;
    top: 0;
    left:0;
    width:100%;
    height:100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);

    /* Flexbox centering magic */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Modal content box */
#changeStatusModal .mymodal-content {
    background: #fff;
    width: min(500px, 90vw); /* Adjusted width for a cleaner look */
    border-radius: 8px;
    padding: 30px;
    position: relative; /* So the close button can anchor to it */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* Close button */
.closeProfile {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeProfile:hover,
.closeProfile:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
