/* OtoVento listelerinde başlık ve sayfalama çubuğunu satır kaydırmasından ayır. */
.ov-catalog-filter-panel { flex: 0 0 auto; }

.ov-filter-badges { display:flex; flex-wrap:wrap; gap:6px; padding:0 14px 10px; }
.ov-filter-badge { display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border:1px solid var(--nui-border); background:var(--nui-raised); color:var(--nui-text); cursor:pointer; }
.ov-filter-badge:hover { background:var(--nui-raised-hover); border-color:var(--nui-info); }
.ov-catalog-filters { grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); padding-top:0; }
.ov-grid-scroll-wrapper { overflow:hidden; }
.ov-grid-rows-scroll { overscroll-behavior:contain; scrollbar-gutter:stable; }
.ov-catalog .ov-grid-rows-scroll > .nui-table,
.ov-pool-grid-scroll > .nui-table { border-collapse:separate; border-spacing:0; }
.ov-catalog .ov-grid-rows-scroll tbody td,
.ov-pool-grid-scroll tbody td { transition:background-color .12s ease; }
.ov-catalog .ov-grid-rows-scroll tbody tr:hover > td,
.ov-pool-grid-scroll tbody tr:hover > td { background-color:var(--nui-raised-hover); }
.ov-grid-checkbox-hit { display:inline-flex; width:34px; height:24px; align-items:center; justify-content:center; vertical-align:middle; cursor:pointer; border-radius:6px; }
.ov-grid-checkbox-hit:hover { background:var(--nui-raised-hover); }
.ov-grid-checkbox-hit input { width:16px; height:16px; margin:0; cursor:pointer; }

.ov-pool-grid-scroll thead { position:relative; }
.ov-table-scroll { max-height:min(62vh,720px); overflow:auto; overscroll-behavior-x:contain; }
.ov-suppliers-list-grid { max-height:min(62vh,720px); }
/* Checkbox'un bulunduğu hücrenin tamamı seçim hedefidir; native input klavye odağını korur. */
.ov-checkbox-cell { cursor: pointer; }
.ov-checkbox-cell:hover { background: var(--nui-raised-hover) !important; }
.ov-checkbox-cell .ov-grid-checkbox-hit { min-width: 34px; min-height: 24px; }
/* Tüm uygulama tablolarının ortak kaydırma yüzeyi; pager dışarıda kalır. */
.ov-grid-surface { min-width: 0; max-width: 100%; overflow: auto; overscroll-behavior: contain; }
.ov-grid-surface:has(> .nui-table tbody tr:nth-child(n+12)) { max-height: min(62vh, 720px); }
.ov-grid-surface > .nui-table { border-collapse:separate; border-spacing:0; width:100%; }
/* Sayfalama satır viewport'unun dışında aynı alt yüzeyi kullanır; veri olmayan rapora pager eklenmez. */
.ov-grid-pager, .ov-sticky-pager, .ov-pager-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; flex:0 0 auto; gap:10px; padding:10px 16px; margin:0; border-top:1px solid var(--nui-border); background:var(--nui-panel); color:var(--nui-text-muted); font-size:var(--nui-font-size-sm); box-shadow:none; }

.ov-grid-pager .nui-button { align-self:center; }
.ov-catalog .ov-grid-rows-scroll.ov-grid-surface:has(> .nui-table), .ov-pool-grid-scroll.ov-grid-surface:has(> .nui-table tbody tr:nth-child(n+12)) { max-height: none; }
@media (min-width: 761px) {
  .ov-pool-page { height: 100%; min-height: 0; overflow: hidden; box-sizing: border-box; }
  .ov-pool-page > :not(.ov-pool-layout) { flex-shrink: 0; }
  .ov-pool-page > .ov-pool-layout { flex: 1; height: auto; min-height: 0; }
}
