/*
 * App-level CSS tweaks, registered with Filament via FilamentAsset in
 * AppServiceProvider so both panels (admin + embedded) load it. The app has
 * no Tailwind build for custom markup (Filament's precompiled CSS only), so
 * tiny presentation fixes live here as plain CSS.
 */

/*
 * awcodes/filament-table-repeater, streamlined mode: body cells
 * (td.table-repeater-column) render without any padding — the vendor blade
 * only applies `p-2` when NOT streamlined — so inputs in adjacent columns
 * touch and placeholder values sit flush against the next field. Give each
 * cell horizontal breathing room, keeping the outer edges flush with the
 * container ring.
 */
.table-repeater-component.streamlined .table-repeater-row:not(.table-repeater-empty-row) > .table-repeater-column {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
}

.table-repeater-component.streamlined .table-repeater-row:not(.table-repeater-empty-row) > .table-repeater-column:first-child {
    padding-left: 0;
}

.table-repeater-component.streamlined .table-repeater-row:not(.table-repeater-empty-row) > .table-repeater-column:last-child {
    padding-right: 0;
}

/*
 * awcodes/filament-table-repeater ships header cells with only a dark-mode
 * text color. In some dark/embedded contexts the light header background can
 * win while the dark text color still applies, leaving near-white labels on a
 * near-white header. Pin both sides of the contrast pair here.
 */
.table-repeater-component .table-repeater-header-column {
    background-color: rgb(243 244 246);
    color: rgb(55 65 81);
}

.dark .table-repeater-component .table-repeater-header-column {
    background-color: rgb(31 41 55 / 0.8);
    color: rgb(229 231 235);
}
