/* Basic Table Styling */
table, th, td {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
    table-layout: fixed;
    word-wrap: break-word;
}

th, td {
    background-color: #f4f4f4;
    padding: 8px;
    user-select: none;
    /* Prevent text selection */
    text-align: center;
}

.clickable {
    cursor: pointer;
}

/* Collapsible Sections */
.collapsible-body, .collapsible-row {
    display:none;
}

.collapsible-row.open {
    display: table-row;
}

.collapsible-body.open {
    display:table-row-group;
}

.button {
    padding: 2px 5px !IMPORTANT;
    font-size: 0.9em !IMPORTANT;
    margin: 2px !IMPORTANT;
}
.menfgf_modal {
    display: none;
    max-width: 80%;
    height: 70%;
    margin: auto;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    z-index: 1;
    width: 80%;
    overflow: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.menfgf_modal_content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

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

.menfgf_modal_close:hover,
.menfgf_modal_close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Busy/disabled state for batch action buttons */
.update-batch-button.menfgf-busy,
.update-batch-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}
