/* ==========================================================================
   Inspectors page (InspectorList.aspx) — page-specific overrides layered on
   top of grid.css.
   ----------------------------------------------------------------------------
   Scoped via `body.page-inspectors`. Shared chrome (card, filters, search,
   grid, pager, primary CTA pill) comes from grid.css via the additional
   `body.page-grid` class.

   Grid columns on this page are DB-driven (tblGridColumn / GridViewID), so
   per-column nth-child width locks are unreliable — users can reorder/hide
   columns. If column widths ever need a default here, tailor them to the
   page's default column set and re-apply after any tblGridColumn change.
   ========================================================================== */

/* CTA label — the shared grid.css rule styles the teal pill AND hides the
   inner <img>; this `::before` renders the label text in the same position
   as Inspections' `lbNewInspection::before`. */
body.page-inspectors a[id$='_lnkNewInspector']::before {
    content: 'New Inspector';
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Edit-column header blank caption — the Edit column is server-pinned as
   the last column via `AlwaysLastColumn="edit"` on GridCustomColumns, so
   `:last-child` targets it robustly even though this grid is DB-driven
   and column order is otherwise user-adjustable. Mirrors the
   inspections.css approach (nth-child(10)) but survives reordering. */
body.page-inspectors td.dxgvHeader:last-child,
body.page-inspectors th.dxgvHeader:last-child,
body.page-inspectors td.dxgvHeader:last-child *,
body.page-inspectors th.dxgvHeader:last-child * {
    font-size: 0 !important;
    color: transparent !important;
}

/* InspectorDetail delete confirm dialog is NOT on this list page — it renders only
 * inside the "Edit Inspector" LoadControl iframe (Blank.Master), so its modDelete
 * chrome lives in inspector-detail-popup.css under body.popup-inspector-detail
 * (registered in Blank.Master.cs), not here. */
