/*
 * chrome-hidpi-border-fix.css
 *
 * Chrome 149 changed subpixel border rounding on HiDPI (Retina) displays.
 * Previously, 1px CSS borders on a 2x DPR screen were rounded up to 2 physical
 * pixels and appeared normal. Chrome 149 now renders them at 1 physical pixel
 * (hairline-thin). This file overrides the affected selectors to 2px on any
 * display with device-pixel-ratio >= 2, restoring the previous appearance.
 *
 * Scope: applies only on Retina/HiDPI screens — no change on standard displays.
 */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {

    /* ── List / data tables (bookingcenter.css, mypms.css) ─────────────────── */
    .listtbl {
        border-bottom-width: 2px;
    }
    .listtbl thead tr td,
    .cnszlisttbl thead tr td {
        border-bottom-width: 2px;
    }
    .listtbl tfoot tr td {
        border-top-width: 2px;
    }

    /* ── Generic table row dividers (tbl.css) ──────────────────────────────── */
    .tbl-row-border,
    .formtbl tbody tr td[style*="border-bottom"],
    table.borderCollapse td {
        border-width: 2px;
    }

    /* ── YUI TabView content area (tabview.css) ────────────────────────────── */
    .yui-skin-sam .yui-navset .yui-content,
    .yui-skin-sam .yui-navset .yui-navset-top .yui-content,
    .yui-skin-sam .yui-navset-left .yui-content,
    .yui-skin-sam .yui-navset-bottom .yui-content {
        border-width: 2px;
    }

    /* Tab anchor borders */
    .yui-skin-sam .yui-navset .yui-nav a,
    .yui-skin-sam .yui-navset .yui-navset-top .yui-nav a {
        border-width: 0 2px;
    }
    .yui-skin-sam .yui-navset .yui-nav a em,
    .yui-skin-sam .yui-navset .yui-navset-top .yui-nav a em {
        border-width: 2px 0 0;
    }

    /* ── Box widget borders (boxes.css, bookingcenter.css, mypms.css) ──────── */
    .blue .box_content,
    .white .box_content,
    .grayblue .box_content,
    .allblue .box_content {
        border-left-width: 2px;
        border-right-width: 2px;
    }
    .peach .box_content {
        border-left-width: 2px;
        border-right-width: 2px;
    }
    .gray .box_content {
        border-left-width: 2px;
        border-right-width: 2px;
        border-bottom-width: 2px;
    }
    .allblue .box_header_pop {
        border-top-width: 2px;
        border-left-width: 2px;
        border-right-width: 2px;
    }
    .allblue .modal_box_content {
        border-width: 2px;
    }

    /* ── Cell borders (mypms.css: .cell-border, td.whiter, td.cell-border-r) ─ */
    .cell-border,
    td.whiter,
    td.cell-border-r {
        border-right-width: 2px;
        border-bottom-width: 2px;
    }
    .table-border {
        border-width: 2px;
    }

    /* ── Nav dropdown menus (bookingcenter.css, mypms.css) ─────────────────── */
    .ddmenu {
        border-width: 2px;
    }
    .ddmenucont .bd .ddmenu .ddmenuitem {
        border-bottom-width: 2px;
    }
    #subnavbar li.subnavbaritem a,
    #subnavbar li.cursubnavbaritem a,
    #subnavbar li.oversubnavbaritem a {
        border-width: 2px;
    }
    #subnavbar li.cursubnavbaritem .ddmenucont .bd .ddmenu,
    #subnavbar li.subnavbaritem .ddmenucont .bd .ddmenu {
        border-width: 2px;
    }
    #subnavbar li.cursubnavbaritem .ddmenucont .bd .ddmenu .ddmenuitem,
    #subnavbar li.subnavbaritem .ddmenucont .bd .ddmenu .ddmenuitem {
        border-bottom-width: 2px;
    }

    /* ── Form error/status boxes (custom_bkgtabs.css, branding) ────────────── */
    .formErrBox {
        border-width: 2px;
    }

}
