.MuiTable-root .MuiTableCell-root{border-bottom:1px solid #e0e0e0!important;color:#333!important;font-weight:500!important;padding:12px!important}.MuiTable-root .MuiTableCell-head{background-color:#f5f5f5!important;color:#000!important;font-weight:700!important}.MuiTable-root .MuiTableRow-root:nth-of-type(2n){background-color:#fafafa!important}.MuiTable-root .MuiTableRow-root:hover{background-color:#e3f2fd!important}.MuiTable-root .MuiTableRow-root[data-error=true]{background-color:#ffebee!important}.MuiTable-root .MuiTableRow-root[data-warning=true]{background-color:#fff3e0!important}.MuiChip-root{font-weight:600!important}.MuiTable-root .MuiTextField-root input{background-color:#fff!important;color:#000!important}

/* SCROLLABLE TABS - MAXIMUM PRIORITY */
.MuiTabs-root .MuiTabs-scroller,
div[class*="MuiTabs"] div[class*="scroller"],
[role="tablist"] .MuiTabs-scroller {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #ccc #f1f1f1 !important;
}

.MuiTabs-root .MuiTabs-scroller::-webkit-scrollbar,
div[class*="MuiTabs"] div[class*="scroller"]::-webkit-scrollbar,
[role="tablist"] .MuiTabs-scroller::-webkit-scrollbar {
    height: 8px !important;
}

.MuiTabs-root .MuiTabs-scroller::-webkit-scrollbar-track,
div[class*="MuiTabs"] div[class*="scroller"]::-webkit-scrollbar-track,
[role="tablist"] .MuiTabs-scroller::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 4px !important;
}

.MuiTabs-root .MuiTabs-scroller::-webkit-scrollbar-thumb,
div[class*="MuiTabs"] div[class*="scroller"]::-webkit-scrollbar-thumb,
[role="tablist"] .MuiTabs-scroller::-webkit-scrollbar-thumb {
    background: #ccc !important;
    border-radius: 4px !important;
}

.MuiTabs-root .MuiTabs-scroller::-webkit-scrollbar-thumb:hover,
div[class*="MuiTabs"] div[class*="scroller"]::-webkit-scrollbar-thumb:hover,
[role="tablist"] .MuiTabs-scroller::-webkit-scrollbar-thumb:hover {
    background: #999 !important;
}

.MuiTabs-root .MuiTabs-flexContainer,
div[class*="MuiTabs"] div[class*="flexContainer"],
[role="tablist"] .MuiTabs-flexContainer {
    flex-wrap: nowrap !important;
    min-width: max-content !important;
}

.MuiTab-root,
button[class*="MuiTab"],
[role="tab"] {
    min-width: 140px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* TARGETED TEXT VISIBILITY - NO UNIVERSAL SELECTOR */
.MuiTable-root *,
.MuiTableCell-root *,
.MuiTableRow-root *,
[role="tabpanel"] table *,
[role="tabpanel"] tbody *,
[role="tabpanel"] thead *,
[role="tabpanel"] tr *,
[role="tabpanel"] td *,
[role="tabpanel"] th * {
    color: #000000 !important;
    background-color: transparent !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.MuiTable-root .MuiTableCell-head,
.MuiTable-root .MuiTableCell-head *,
[role="tabpanel"] th,
[role="tabpanel"] th * {
    color: #000000 !important;
    background-color: #f0f0f0 !important;
    font-weight: 700 !important;
}

.MuiTable-root .MuiTableCell-body,
.MuiTable-root .MuiTableCell-body *,
[role="tabpanel"] td,
[role="tabpanel"] td * {
    color: #000000 !important;
    background-color: #ffffff !important;
    font-weight: 500 !important;
}

/* SUCCESS MESSAGES - GREEN */
[class*="success"] *,
[data-success] *,
.success *,
.MuiAlert-success *,
*[class*="complete"] *,
*[class*="Complete"] * {
    color: #2e7d32 !important;
    background-color: #e8f5e8 !important;
}

/* ERROR MESSAGES - RED */
[class*="error"] *,
[data-error] *,
.error *,
.MuiAlert-error *,
*[class*="failed"] *,
*[class*="Failed"] * {
    color: #d32f2f !important;
    background-color: #ffebee !important;
}
