/* Liste gridleri: orantılı kolon JS yoksa kısa kolonlar daralır, kalan boşluk son kolona gider. */
table.table:not(.js-table-grid-proportional),
.table-responsive > table.table:not(.js-table-grid-proportional) {
    font-size: 14px !important;
    width: 100% !important;
    min-width: 100%;
    max-width: none;
    table-layout: auto !important;
}

table.table.js-table-grid-proportional,
.table-responsive > table.table.js-table-grid-proportional {
    font-size: 14px !important;
    width: 100% !important;
    min-width: 100%;
    max-width: none;
    table-layout: auto;
}

table.table.js-table-grid-proportional.table-grid-cols-sized,
.table-responsive > table.table.js-table-grid-proportional.table-grid-cols-sized {
    table-layout: fixed !important;
}

table.table:not(.js-table-grid-proportional) > :not(caption) > * > th,
table.table:not(.js-table-grid-proportional) > :not(caption) > * > td,
.table-responsive > table.table:not(.js-table-grid-proportional) > :not(caption) > * > th,
.table-responsive > table.table:not(.js-table-grid-proportional) > :not(caption) > * > td {
    font-size: 14px !important;
    width: 1%;
    max-width: none;
}

table.table:not(.js-table-grid-proportional) > :not(caption) > * > th:not(.text-break):not(.text-wrap),
table.table:not(.js-table-grid-proportional) > :not(caption) > * > td:not(.text-break):not(.text-wrap),
.table-responsive > table.table:not(.js-table-grid-proportional) > :not(caption) > * > th:not(.text-break):not(.text-wrap),
.table-responsive > table.table:not(.js-table-grid-proportional) > :not(caption) > * > td:not(.text-break):not(.text-wrap) {
    white-space: nowrap;
}

table.table:not(.js-table-grid-proportional) > thead > tr > th:last-child,
table.table:not(.js-table-grid-proportional) > tbody > tr > td:last-child,
table.table:not(.js-table-grid-proportional) > tfoot > tr > td:last-child,
.table-responsive > table.table:not(.js-table-grid-proportional) > thead > tr > th:last-child,
.table-responsive > table.table:not(.js-table-grid-proportional) > tbody > tr > td:last-child,
.table-responsive > table.table:not(.js-table-grid-proportional) > tfoot > tr > td:last-child {
    width: auto;
}

/* Etiket + kısa sayı kolonları: kalan boşluk ilk kolona gider. */
table.table.table-col-fill-first > thead > tr > th:last-child,
table.table.table-col-fill-first > tbody > tr > td:last-child,
table.table.table-col-fill-first > tfoot > tr > td:last-child,
.table-responsive > table.table-col-fill-first > thead > tr > th:last-child,
.table-responsive > table.table-col-fill-first > tbody > tr > td:last-child,
.table-responsive > table.table-col-fill-first > tfoot > tr > td:last-child {
    width: 1%;
}

table.table.table-col-fill-first > thead > tr > th:first-child,
table.table.table-col-fill-first > tbody > tr > td:first-child,
table.table.table-col-fill-first > tfoot > tr > td:first-child,
.table-responsive > table.table-col-fill-first > thead > tr > th:first-child,
.table-responsive > table.table-col-fill-first > tbody > tr > td:first-child,
.table-responsive > table.table-col-fill-first > tfoot > tr > td:first-child {
    width: auto;
}

table.table > :not(caption) > * > th.text-break,
table.table > :not(caption) > * > td.text-break,
.table-responsive > table > :not(caption) > * > th.text-break,
.table-responsive > table > :not(caption) > * > td.text-break {
    white-space: normal;
    width: auto;
}

table.table .form-control,
table.table .form-select,
table.table .form-control-sm,
table.table .form-select-sm {
    font-size: 14px !important;
}

table.table .table-column-search-row .form-control {
    width: 100%;
    min-width: 5.5rem;
}
