table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])) {
    --bs-table-bg: transparent;
    --bs-table-color: var(--portal-ink, #142c46);
    --bs-table-striped-bg: transparent;
    --bs-table-striped-color: var(--portal-ink, #142c46);
    --bs-table-hover-bg: transparent;
    --bs-table-hover-color: var(--portal-ink, #142c46);
    --bs-table-active-bg: var(--portal-surface, #f4f7fc);
    --bs-table-active-color: var(--portal-ink, #142c46);
    width: 100%;
    margin-bottom: 1.5rem;
    border: 1px solid var(--portal-border, #dbe5f1);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    background: var(--portal-white, #fff);
    color: var(--portal-ink, #142c46);
    font-size: var(--portal-text-base, 1rem);
    line-height: 1.55;
    box-shadow: 0 2px 4px rgba(20, 44, 70, .03);
}

table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])) > :is(thead, tbody, tfoot) > tr > :is(th, td) {
    padding: 16px 20px;
    border: 0;
    border-bottom: 1px solid var(--portal-border, #dbe5f1);
    vertical-align: top;
    overflow-wrap: anywhere;
}

table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])) > :is(thead, tbody, tfoot) > tr > th {
    color: var(--portal-muted, #52657a);
    font-weight: 600;
    text-align: left;
}

table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])) > :is(tbody, tfoot):last-child > tr:last-child > :is(th, td) {
    border-bottom: 0;
}

table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])) > caption {
    padding: 10px 0;
    color: var(--portal-muted, #52657a);
    font-size: var(--portal-text-sm, .875rem);
    line-height: 1.5;
    text-align: left;
}

table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])) > :is(thead, tbody, tfoot) > tr > :is(th, td) > span:not(.tag, .badge) {
    font-size: inherit;
    line-height: inherit;
}

table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])) .text-primary:not(a, .btn, .tag, .badge) {
    color: inherit !important;
}

table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])):has(> tbody > tr > th + td):not(:has(> thead, > tbody > tr > th ~ th)) > tbody > tr > th {
    width: 34% !important;
}

@media (max-width: 575.98px) {
    table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])) > :is(thead, tbody, tfoot) > tr > :is(th, td) {
        padding: 12px;
    }

    table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])):has(> tbody > tr > th + td):not(:has(> thead, > tbody > tr > th ~ th)) > tbody > tr > :is(th, td) {
        display: block;
        width: 100% !important;
        padding: 8px 16px;
    }

    table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])):has(> tbody > tr > th + td):not(:has(> thead, > tbody > tr > th ~ th)) > tbody > tr > th {
        padding-top: 16px;
        padding-bottom: 0;
        border-bottom: 0;
    }

    table.table:where(:not(.dataTable, .dt-container table, .dataTables_wrapper table, .dt-scroll table, [role="presentation"])):has(> tbody > tr > th + td):not(:has(> thead, > tbody > tr > th ~ th)) > tbody > tr > td {
        padding-bottom: 16px;
    }
}
