﻿/* Override fixed header from main.min..orig.css */

/* ── Preview lightbox (above product overlay) ── */
.preview-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2100;
    display: flex;
    justify-content: center;
    align-items: center;
}
.preview-lightbox-panel {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    padding: 16px;
}
.preview-lightbox-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
}

/* ── Lightbox zoom (touch/hold, ≤1024px) ── */
.lightbox-zoom-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    touch-action: none;
}
.lightbox-zoom-wrapper img,
.lightbox-zoom-wrapper canvas {
    display: block;
    width: 100%;
    transition: transform 0.15s ease;
    transform-origin: center center;
}
.lightbox-zoom-wrapper.zoomed {
    cursor: zoom-in;
}


@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 90%!important;
    }
    .container{
    margin: auto!important;;
    }
}

@media (min-width: 1900px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1690px!important;
    }
    .container{
    margin: auto!important;;
    }
}

.m-page-wrap {
   width:100%!important;
}
.site-wrapper header {
    position: relative;
}
.nav-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 50px;
}
.m-country-dropdown__current {
    text-align:  right;
    height:60px;
}
.site-wrapper main {
    padding-top: 0;
}
footer {
    height: 3em;
    position: relative;
    bottom: auto;
    width: 100%;
}
.o-footer {
    height:5px!important;
    bottom: screen.height - 50px;
   margin-bottom:2px;
}
.footer-copyright {
 height:18px;
}
/* Override link color reset from main.min..orig.css (a { color: inherit }) */
.login_container--desktop{
    height: calc(100vh*0.7);
}
.GridPager a {
    color: #0d6efd;
}

.gridTable a {
    color: #0d6efd;
}
.o-header-top, .wrap-white, .m-page-wrap  {
    background-color: white;
}

/* .o-header-top__inner-wrap {
    margin-bottom: -12px;
} */
.o-header-bottom {
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 1rem;
    padding-bottom: 1em;

}
/* Colour, padding and the arrow circle for .a-btn live in site.css */
.a-btn{
    font-weight: 500;
    text-transform:none
}
.o-download-center-accordion{
    padding-left:10px;
    max-width: 350px!important;
    display: flex;
    align-items: center;
}
.o-download-center__header{
    padding-top: 10px;
    padding-left: 10px;
    margin-bottom: -5px;
    font-size: 0.8rem;
}
.m-download-header__title .a-icon--extension {
    position: absolute;
        left: -40px!important;
}

/* ── Primary navigation (org CSS overrides) ── */

/* Header bar layout */
.nav-header {
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #fff;

}
.plaintext_underline {
   text-decoration: none;
   color:#003DA5

    }
.m-country-dropdown {
    top:28px;
}
.nav-header__brand {
    display: flex;
    padding-left: 0;
    align-items: center;
    margin-right: 20px;
    white-space: nowrap;
}

.nav-header__nav {
    flex: 1;
}

.nav-header__client-logo {
    display: none;
    /* padding-right: 1rem; */
}

.client-logo-header {
    max-height: 45px;
    max-width: 150px;
    object-fit: contain;
}

.m-primary-navigation__item .full-width{

    width:100%!important;
}
/* Override org CSS: make hamburger-dropdown visible on desktop */
.hamburger-dropdown {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    display: block !important;
    background: transparent;
    flex: 1;
}

/* Wrapper for left + right nav groups */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Primary nav: horizontal on desktop */
.m-primary-navigation {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 15px;
}

.m-primary-navigation > li {
    padding: 0 10px;
    position: relative;
}

.m-primary-navigation__item {
    position: relative;
    cursor: pointer;
}

.m-primary-navigation__item full-width {
    width:100%!important;
}

.m-primary-navigation__item > a {
    display: block;
    /* padding: 8px 0; */
    text-decoration: none;
    color: #333;
}

.m-primary-navigation__item > a:hover {
    color: #003DA5;
}

/* Mega menu: hidden by default, shown on hover/active */
.o-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 15px 0;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}


/* Desktop: show mega menu on hover */
@media (min-width: 1024px) {
    .m-primary-navigation > li:hover > .m-primary-navigation__item > .o-mega-menu,
    .m-primary-navigation__item--active > .o-mega-menu {
        display: block;
    }
    .m-page-wrap--user {
        width:250px !important;
    }

    .o-mega-menu--user {
        display: flex !important;
        justify-content: space-between;
        width: 300px !important;
    }
    .o-mega-menu__column--user {
        display: flex !important;
        width: 300px !important;
        justify-content: space-between;

    }
    .o-mega-menu__open-close {
        display: none;
    }
    .nav-header__client-logo {
        display: flex;
        align-items: center;
        margin-left: auto;

    }
    /* Shrinks to its content; showPreviewLightbox (site.js) sets a PDF canvas to a fixed 908px width. */
    .preview-lightbox-panel {
        max-width: none;
        max-height: 90vh;
        width: auto;
        height: auto;
    }

}

/* Right-aligned nav group */
.m-primary-navigation--right .o-mega-menu {
    left: auto;
    right: 0;
}

.o-mega-menu .m-page-wrap {
    padding: 0;
}

.o-mega-menu__column {
    list-style: none;
    padding: 0;
    margin: 0;
}

.o-mega-menu__column--user > li:first-child {
    flex: 1;
    width: 33%;
    border-left: 1px solid #333;
}

.o-mega-menu__column--user > li:last-child {
    flex: 2;
    width: 66%;
}

.m-mega-menu-list-item {
    padding: 0;
}

.m-mega-menu-list-item__anchor {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
}

.m-mega-menu-list-item__anchor:hover {
    color: #003DA5;
    background: #f5f7fa;
}

/* Menu entries that trigger an overlay (feedback, guided tour) are buttons, styled as the links */
.m-mega-menu-list-item__button {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
}

/* Hamburger toggle button: hidden on desktop */
.hamburger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.hamburger-toggle__label {
    display: none;
}

/* Mobile: stack navigation vertically */
@media (max-width: 1023px) {

    .hamburger-toggle {
        display: block;
    }

    .hamburger-dropdown {
        display: none !important;
        position: absolute;
        /* top: 100%; */
        top: 63px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #eaeaea;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
        /* max-height: calc(100vh - 60px); */
    }

    .hamburger-dropdown.hamburger-dropdown--active {
        display: block !important;
    }

    .o-header-bottom {
        padding-bottom: 0;
    }

    .o-header-bottom__col {
        padding: 5px;
    }

    .nav-header {
        position: relative;
        flex-wrap: wrap;
        height: auto;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .nav-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0 0;
    }

    .m-primary-navigation {
        flex-direction: column;
    }

    .m-primary-navigation > li {
        width:100%!important;
        height: 52px !important;
        padding: 0 0;
        /* padding: 7px 20px; */
        border:1px solid #eaeaea;
        text-align: center;
    }
    .m-primary-navigation__item {
        min-height: 52px !important;
        height: auto !important;
    }

    .m-primary-navigation__item > a {
        width: 100% !important;
        padding: 7px 0; 
    }

    .o-mega-menu {
        position: static;
        border: none;
        box-shadow: none;
        background: #f5f5f5;
        min-width: auto;
    }

    .m-primary-navigation__item--active > .o-mega-menu {
        display: block;
    }

    .o-mega-menu__open-close {
        all: unset;
        position: absolute;
        right: 10px;
        top: 6px;
        width: 34px;
        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1;
    }

    .o-mega-menu__open-close svg {
        stroke: #003DA5;
        fill: none;
        stroke-width: 2;
    }

    .m-mega-menu-list-item{
        width: 100%;
        text-align: center;
    }

    .container, .container-lg, .container-md, .container-sm {
        max-width: 100%!important;
    }

    .preview-lightbox-panel {
        max-width: 90vw;
        height:auto;        
    }
}



/* ── Product detail overlay ── */
.product-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.product-overlay.active {
    display: flex;
}
.product-overlay-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
.product-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.product-overlay-header h2,
.product-overlay-header h3 {
    margin: 0;
    font-size: 0.9rem;
}

/* Stock strip in the card header (overlay and Products list pane): a small horizontal
   table pushed to the right edge of the header. Desktop only — the header has no room
   for it on tablets/phones, and the grid already shows the same figures there. */
.product-stock {
    margin-left: auto;
    margin-right: 0;
}

/* In the overlay the strip sits right before the close button, which keeps the far right. */
.product-overlay-header .product-stock {
    margin-right: 1rem;
}

.product-stock__table {
    border-collapse: collapse;
    font-size: 12px;
    line-height: 1.2;
}

.product-stock__table th,
.product-stock__table td {
    padding: 0 8px;
    text-align: right;
    white-space: nowrap;
}

.product-stock__table th {
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
}

.product-stock__table td {
    font-variant-numeric: tabular-nums;
    color: #222;
}

@media (max-width: 768px) {
    .product-stock {
        display: none;
    }
}
.overlay-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0 4px;
    line-height: 1;
}
.overlay-close:hover {
    color: #000;
}
.product-overlay-body {
    padding: 16px 20px;
    overflow-y: auto;
}
.overlay-table {
    width: 100%;
    border-collapse: collapse;
}
.overlay-table tr:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}
.overlay-table td {
    padding: 3px 6px;
    vertical-align: top;
}
.overlay-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #555;
    white-space: nowrap;
    padding-right: 16px;
    width: 1%;
}
.overlay-value {
    font-size: 0.95rem;
}
.overlay-value > a{
    margin-left:20px;
}
.overlay-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}
/* Card footer: order this product (filled, only for ordering users) / show its orders */
.overlay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
/* One .overlay-pdf-group per kind (drawings, printings, pallet image). Groups share a
   row while they fit; a product built from several components has one drawing per
   component, and a group too wide for the line takes a row of its own and wraps
   inside it, so the kinds never mix. 
   If you'd rather always have each kind on its own row regardless of width, it's a 
   one-line change (flex-direction: column on the section instead of flex-wrap: wrap). */
.overlay-pdf-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.overlay-pdf-group {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.overlay-pdf-item {
    flex: 1 1 150px;
    text-align: center;
}
.overlay-pdf-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
}
.overlay-pdf-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.overlay-pdf-link:hover {
    opacity: 0.8;
}
/* Thumbnail button: no button chrome, the image is the whole target */
button.overlay-preview-trigger {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.overlay-pdf-thumb {
    max-width: 200px;
    width: 100%;
    /* img is display:block globally, so auto margins keep the thumbnail
       centered under its label — also when the product has only one thumbnail */
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.overlay-img-thumb {
    max-width: 500px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.overlay-pdf-download {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #0066cc;
}



.o-footer {
    font-size: 11px;
    max-height: 6px!important;
    padding: 0px 0px 0px 0px!important;
    background-position: top center;
    padding: 95px 0 40px;
  /*
        background-repeat: no-repeat;
        background-image: url(/-/m/images/shared-assets/footer/footer-background-image.jpg?t=a-s&arw=12&arh=5&arm=focuspoint&w=768&hash=946557E781720980884C6A6638034FFE)
        */
        background-color: var(--color-primary);
}

..m-download-header {
    display: flex;
    font-size: 17px;
    padding: 20px 0;
    border-bottom: 1px solid #EBEBEB;
    text-align: left;
}
.m-download-header__title {
   height: 40px!important;
   width: 350px!important; 
   padding-left: 0px!important;  
}
.m-tab-content--desktop.theme-light.m-tab-content--active {
    width: auto;
    min-height: 40px!important;
    padding: 0 0;
}
.m-tab-content m-tab-content--desktop theme-light m-tab-content--active {
    height: auto;
}
th {
    background-color: white;
}
.main-subdiv{
    min-height: 800px!important;
}
.container {
    width: 100%;
}
.login-container{
    align-items: center;

}

.login-form {
    max-width:1000px!important;
    padding-left: calc((100vw-1000)/2);

}
.o-header-top {
    max-height: 40px !important;
        display: flex;
        flex-direction: row;
    }
.wrap-white .m-page-wrap {
    max-height: 40px !important;

}
@media (max-width: 450px) {
    .product-overlay-body {
        padding: 16px 5px;
    }
    .review-overlay-column{
        padding: 10px 2px;
    }
}
/* ── App-like menu for narrow screens ── */
@media (max-width: 500px) {
    .site-wrapper header {
        height:50px;
    }
    .o-header-bottom {
        width:100%;
        margin-bottom: 0;
    }
    .site-container {
        padding-top: 40px;
    }
    .m-page-wrap {
        margin: 0 0;
        width:100%;
    }
    .o-header-top, .nav-header__brand {
        display: none;
    }
    .hamburger_svg_mobile {
        display: none;
        color: var(--color-brand-text);/*#333; */
    }
    .menu-expand-indicator {
        transform: scale(1.5, 0.5);
    }
    .hamburger-toggle {
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: center;
        gap: 0;
        width: 100%;
        padding: 12px 8px;
        /* background: #003DA5; */
        color: #fff;
        border: none;
        font-size: 1rem;
        font-weight: 500;
    }
    .nav-header {
        position: relative;
    }
    .nav-header__gradient-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        background: none;
        border: none;
        overflow: visible;
        z-index: 1;
        cursor: pointer;
        display:none;
    }
    .nav-header__gradient-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            linear-gradient(to top right, transparent calc(50% - 1px), #08b2ff 50%, transparent calc(50% + 1px)) left bottom / 50% 100% no-repeat,
            linear-gradient(to top left, transparent calc(50% - 1px), #08b2ff 50%, transparent calc(50% + 1px)) right bottom / 50% 100% no-repeat;
    }
    .nav-header:has(.hamburger-dropdown--active) .nav-header__gradient-bar::before {
        background:
            linear-gradient(to bottom right, transparent calc(50% - 1px), #08b2ff 50%, transparent calc(50% + 1px)) left top / 50% 100% no-repeat,
            linear-gradient(to bottom left, transparent calc(50% - 1px), #08b2ff 50%, transparent calc(50% + 1px)) right top / 50% 100% no-repeat;
        pointer-events: none;
    }
    .hamburger-toggle > svg {
        /* display: none; */
        /* color:#66ccfb; */
        /* color:#666; */
        color: var(--color-brand-text);
        /* transform: scaleX(2); */
    }
    .hamburger-toggle__div {
        width:40%;
        align-content:center;
    }
    .hamburger-toggle__label {
        color: #333;
        display: block;
        text-align: center;
        padding: 0;
        margin: 0;
        position: relative;
        z-index: 2;
        pointer-events: none;
    }

    .hamburger-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
    }
    
    .o-download-center__header{
    font-size: 1.1em;
    }
}


/* Lock scroll behind fullscreen menu */
html.menu-open,
html.menu-open body {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ── Expand indicator as its own column ─────────────────── */
.expand-indicator-col {
    width: 1px;          /* shrink to content */
    padding-right: 0;
    white-space: nowrap;
}
.salesorder-col {
    padding-left: 2px;
}

/* ── Column settings overlay ─────────────────────────────── */
#colSettingsOverlay {
    z-index: 10000;
}

.col-settings-panel {
    max-width: 480px;
    width: 95%;
}

.col-settings-footer {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: .75rem 1rem;
    border-top: 1px solid #dee2e6;
}

.col-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .4rem .75rem;
    border-bottom: 1px solid #f0f0f0;
}

.col-setting-row:last-child {
    border-bottom: none;
}

.col-setting-label {
    flex: 1;
    font-size: .9rem;
    padding-right: .75rem;
}

.col-setting-row .col-setting-select {
    width: 10rem;
    flex-shrink: 0;
}

/* ── User agreement (blocking, sits above every other overlay) ── */
.user-agreement-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vh 2vw;
}
.user-agreement-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 1000px;
    height: 96vh;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
}
.user-agreement-title {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
}
.user-agreement-frame {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #f4f4f4;
}
.user-agreement-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding-top: 1rem;
}
.user-agreement-error {
    color: #b00020;
    margin-right: auto;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .user-agreement-overlay { padding: 0; }
    .user-agreement-panel {
        height: 100%;
        max-width: none;
        border-radius: 0;
    }
}

/* ── Admin broadcast notices (planned downtime etc.) ──
   Modal sits below the user agreement (z-index 3000): an unaccepted agreement
   has to be dealt with first. */
.admin-notification-overlay {
    position: fixed;
    inset: 0;
    z-index: 2900;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2vh 2vw;
}
.admin-notification-panel {
    position: relative;
    background: #fff;
    border-radius: 8px;
    border-top: 5px solid #0d6efd;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 560px;
    padding: 1.25rem 1.5rem 1.25rem;
}
.admin-notification-title {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
    padding-right: 1.5rem;
}
.admin-notification-message {
    /* The message is plain text; honour the line breaks the admin typed */
    white-space: pre-wrap;
    font-size: 0.95rem;
    line-height: 1.5;
    max-height: 55vh;
    overflow-y: auto;
}
.admin-notification-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 1.25rem;
}
.admin-notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

/* Banner: normal flow under the header, below the impersonation bar when both show */
.admin-notification-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 8px 16px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    background: #e7f1ff;
    color: #084298;
}
.admin-notification-banner-text {
    flex: 1 1 auto;
}
.admin-notification-banner-message {
    margin-left: 0.5rem;
}
.admin-notification-banner-close {
    flex: 0 0 auto;
    background: none;
    border: 0;
    font-size: 1.35rem;
    line-height: 1;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
}
.admin-notification-banner-close:hover {
    opacity: 1;
}

/* Severity — colour only, no behaviour rides on these */
.admin-notification-panel.admin-notification--warning  { border-top-color: #ff9800; }
.admin-notification-panel.admin-notification--critical { border-top-color: #b00020; }

.admin-notification-banner.admin-notification--warning {
    background: #fff3cd;
    color: #664d03;
}
.admin-notification-banner.admin-notification--critical {
    background: #f8d7da;
    color: #842029;
}

@media (max-width: 768px) {
    .admin-notification-panel {
        max-width: none;
        border-radius: 0;
    }
    .admin-notification-banner {
        align-items: flex-start;
    }
    .admin-notification-banner-message {
        display: block;
        margin-left: 0;
    }
}

/* ── Admin page for broadcast notices ── */
.admin-notif-form {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    background: #fbfbfb;
}
.admin-notif-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.admin-notif-form-row > div {
    flex: 1 1 12rem;
    min-width: 0;
}
.admin-notif-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.admin-notif-actions {
    display: flex;
    gap: 0.5rem;
    white-space: nowrap;
}
.admin-notif-delete-form {
    display: inline;
    margin: 0;
}

/* --- Mega-menu trigger (WCAG 2.1.1: a real <button> that opens the menu at every width) --- */
.nav-menu-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px 0;
    margin: 0;
    font: inherit;
    color: #333;
    cursor: pointer;
    text-align: left;
}
.nav-menu-trigger:hover,
.nav-menu-trigger[aria-expanded="true"] {
    color: #003DA5;
}
.nav-menu-trigger .o-mega-menu__open-close {
    display: inline-flex !important;
    pointer-events: none;
}
/* A closed menu is out of the Tab order. On desktop the theme hides it with opacity only
   (and .o-mega-menu--user is display:flex !important), so its links stayed tabbable while
   invisible. site.js (setMenu) keeps aria-hidden in step with the open state for click,
   Enter/Space, hover and Esc, and closes the menu when focus leaves it. */
.o-mega-menu[aria-hidden="true"] {
    visibility: hidden;
}

/* Notification bell / mark-as-read / settings are now <button>s, not <a> — reset UA button chrome */
.nav-icon-btn,
.link-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    color: inherit;
}
.link-button {
    text-decoration: underline;
    color: #0d6efd;
}

/* Mobile: the trigger button fills the row like the plain nav links do, and the
   decorative arrow icon sits inline (it used to be a separate absolutely-positioned
   button overlaying the link; it is now aria-hidden markup inside the real button). */
@media (max-width: 1023px) {
    .nav-menu-trigger {
        width: 100%;
        justify-content: center;
        padding: 7px 0;
    }
    .nav-menu-trigger .o-mega-menu__open-close {
        position: static;
        width: auto;
        height: auto;
    }
}
