/* Emergency Table Contrast Fix */
/* Fixes dark text on dark backgrounds in tables */

/* Force all tables to have readable contrast */
table, .table, 
.comparison-results, .disclosure-section,
.required-disclosures, .comparison-table {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

/* Force all table cells to have proper contrast */
th, td, 
.table th, .table td,
.comparison-results th, .comparison-results td,
.disclosure-section th, .disclosure-section td {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
}

/* Fix for any dark table classes */
.table-dark, .table-dark th, .table-dark td,
.bg-dark .table, .bg-dark .table th, .bg-dark .table td,
.table.bg-dark, .table.bg-dark th, .table.bg-dark td {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border-color: #e2e8f0 !important;
}

/* Fix for accordion and collapsible content */
.accordion-body, .collapse.show,
.card-body, .modal-body {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

/* Ensure text is always visible */
* {
    text-shadow: none !important;
}

/* High priority fixes for comparison sections */
[class*="comparison"], [class*="disclosure"], [class*="required"] {
    background-color: #ffffff !important;
    color: #1e293b !important;
}

[class*="comparison"] *, [class*="disclosure"] *, [class*="required"] * {
    background-color: inherit !important;
    color: #1e293b !important;
}