/**
 * CFMS v0.86 - Task 1: Web Form List Width Fix (FORCE WIDE)
 * 
 * Forces ALL containers to be as wide as possible
 * Removes ALL width constraints
 * 
 * Author: ET Group / Claude
 * Date: 2025-11-02
 */

/* Force outermost container to be wide */
body[data-path*="data-management/list"] .container,
body[data-path*="data-management/list"] main .container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Force web-list-container to be full width */
.web-list-container {
    max-width: none !important;
    width: 100% !important;
}

/* Force table wrapper to be full width */
.web-list-table {
    width: 100% !important;
    max-width: none !important;
}

/* Force table itself to be as wide as content needs */
.web-list-table table {
    width: max-content !important;  /* Grow to fit all content */
    min-width: 100% !important;
    table-layout: auto !important;
}

/* Don't wrap text in cells */
.web-list-table table th,
.web-list-table table td {
    white-space: nowrap !important;
}

/* Remove any scroll on the table div */
.web-list-table {
    overflow-x: visible !important;
    overflow-y: visible !important;
}
