.law-doc-container table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
    word-wrap: break-word !important;
    display: table !important;
    margin: 15px 0 !important;
}

.law-doc-container table[style*="width:0px"] {
    width: 100% !important;
    max-width: 100% !important;
}

.law-doc-container table[style*="width:0"] {
    width: 100% !important;
    max-width: 100% !important;
}

.law-doc-container table th,
.law-doc-container table td {
    padding: 12px 8px !important;
    border: 1px solid #dee2e6 !important;
    text-align: left !important;
    word-break: break-word !important;
    vertical-align: top !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    min-width: 100px !important;
}

.law-doc-container table th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

.law-doc-container table tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

.law-doc-container table tr:hover {
    background-color: #e9ecef !important;
}

.structure_line table {
    width: 100% !important;
    max-width: 100% !important;
    display: table !important;
    margin: 10px 0 !important;
    overflow-x: auto !important;
    table-layout: auto !important;
}

.structure_line table[style*="width:0px"] {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .law-doc-container table {
        display: block !important;
        overflow-x: auto !important;
    }

    .law-doc-container table th,
    .law-doc-container table td {
        min-width: 150px !important;
        white-space: normal !important;
    }

    .structure_line table {
        min-width: 600px !important;
        display: block !important;
        overflow-x: auto !important;
    }
}
