/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* The shell owns the viewport height and never scrolls itself. Scrolling happens
   inside .content (or inside a fill-mode grid), so a page can never produce both a
   window scrollbar and an inner scrollbar at the same time. */
.page[b-ike7iyfuj2] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

main[b-ike7iyfuj2] {
    flex: 1 1 auto;
    min-width: 0;
    /* min-height:0 lets this shrink below its content so the child scroll area,
       rather than the window, absorbs the overflow. */
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Top navigation bar — always visible, full width */
.top-nav[b-ike7iyfuj2] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
    height: 3rem;
    background-color: #1f4e79;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1050;
    flex-shrink: 0;
}

.top-nav-brand[b-ike7iyfuj2] {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    color: white;
    text-decoration: none;
}

.top-nav-brand:hover[b-ike7iyfuj2] {
    color: #d6eaf8;
}

.top-nav-links[b-ike7iyfuj2] {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.top-nav-links[b-ike7iyfuj2]  a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.top-nav-links[b-ike7iyfuj2]  a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

.top-nav-links[b-ike7iyfuj2]  a.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.25);
}

/* Dropdown menus in top nav (Backlogs, Reports, Scanner) */
.top-nav-links[b-ike7iyfuj2]  .nav-dropdown {
    position: relative;
}

.top-nav-links[b-ike7iyfuj2]  .nav-dropdown-toggle {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
}

.top-nav-links[b-ike7iyfuj2]  .nav-dropdown-toggle:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

.top-nav-links[b-ike7iyfuj2]  .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1f4e79;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.25rem 0;
    min-width: 140px;
    z-index: 1100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.top-nav-links[b-ike7iyfuj2]  .nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
}

.top-nav-links[b-ike7iyfuj2]  .nav-dropdown-menu a {
    padding: 0.35rem 0.75rem;
    border-radius: 0;
}

.top-nav-right[b-ike7iyfuj2] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

/* Alert bell — sits at the end of the nav links, immediately right of "About". */
.top-nav-links[b-ike7iyfuj2]  .alert-bell {
    position: relative;
    background: none;
    border: none;
    padding: 0.35rem 0.5rem;
    font-size: 1rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.top-nav-links[b-ike7iyfuj2]  .alert-bell:hover {
    color: #fff;
}

/* Absolutely positioned so a growing count cannot shift the nav layout. */
.top-nav-links[b-ike7iyfuj2]  .alert-bell-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background-color: #dc3545;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

.top-nav-user[b-ike7iyfuj2] {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* The logout control is a form rather than a link so it can POST. Kept inline and margin-free
   so it sits in the header flex row exactly as the anchor it replaced did. */
.top-nav-logout-form[b-ike7iyfuj2] {
    display: inline;
    margin: 0;
}

.top-nav-version[b-ike7iyfuj2] {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

#blazor-error-ui[b-ike7iyfuj2] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ike7iyfuj2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ---------------------------------------------------------------------------
   Print layout
   ---------------------------------------------------------------------------
   On screen the shell is a fixed-height, clipped flex column: .page is pinned to
   100vh with overflow:hidden and .content owns the only scrollbar. That is exactly
   what a print renderer cannot cope with — a clipped, fixed-height ancestor means
   only the currently visible slice is rasterised, and the inner scrollbar is drawn
   into the output as an image.

   For print we therefore unwind the whole shell: heights become auto, all clipping
   is released, and the document is allowed to flow to its natural length so the
   browser can paginate it normally. These rules must live in this scoped stylesheet
   (rather than app.css) because the screen rules they override are themselves scoped
   and so carry the extra [b-xxxxx] attribute specificity.

   This fixes printing for every page in the app, not just the driver READMEs. */
@media print {
    /* Release the viewport-locked, clipped shell. */
    .page[b-ike7iyfuj2] {
        display: block;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    main[b-ike7iyfuj2] {
        display: block;
        min-height: 0;
        overflow: visible;
    }

    /* The scrolling region becomes a plain, full-length block. */
    .content[b-ike7iyfuj2] {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
        padding: 0 !important;
    }

    /* Navigation chrome and transient alerts are screen-only furniture. */
    .top-nav[b-ike7iyfuj2],
    #blazor-error-ui[b-ike7iyfuj2] {
        display: none !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-2vf40xh5j8] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-2vf40xh5j8] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-2vf40xh5j8] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-2vf40xh5j8] {
    font-size: 1.1rem;
}

.bi[b-2vf40xh5j8] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-2vf40xh5j8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-2vf40xh5j8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-2vf40xh5j8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-2vf40xh5j8] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-2vf40xh5j8] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2vf40xh5j8] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2vf40xh5j8]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-2vf40xh5j8]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-2vf40xh5j8]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-2vf40xh5j8] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-2vf40xh5j8] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2vf40xh5j8] {
        display: none;
    }

    .nav-scrollable[b-2vf40xh5j8] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Drivers/GdlDriverDetail.razor.rz.scp.css */
/* Keep the "Statepins and Commands" title + Export CSV button pinned at the top of the
   viewport (just below the 3rem sticky top-nav) while the long feature list scrolls under it.
   This lets the whole section fill the screen when scrolled to the bottom of the page. */
.feature-section-header[b-cpbaqvra76] {
    position: sticky;
    top: 3rem; /* height of the sticky .top-nav */
    z-index: 1000; /* below the top-nav (1050), above table content */
    background-color: #fff;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* Full-bleed white background so scrolling rows never show through the header edges. */
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
/* /Components/Pages/Product/DocumentReview.razor.rz.scp.css */
/*
    Containment for HTML rendered by Confluence.

    The markup comes from a system we do not control and routinely contains wide tables, large
    images and its own heading sizes. Without these rules a single oversized element pushes the
    three-column review layout out of shape, so everything is clamped to the column width and the
    heading scale is brought back in line with the rest of the dashboard.

    Every child selector uses ::deep. The Confluence body is injected as a MarkupString, so its
    elements never receive this component's scope attribute — Blazor would otherwise rewrite these
    rules to target elements that cannot match, and none of the containment would apply.
*/

.confluence-content[b-vqkun0bslx] {
    overflow-x: auto;
    word-wrap: break-word;
}

/* Images and embedded media never exceed the column. */
.confluence-content[b-vqkun0bslx]  img,
.confluence-content[b-vqkun0bslx]  video,
.confluence-content[b-vqkun0bslx]  iframe {
    max-width: 100%;
    height: auto;
}

/* Confluence tables are exempt from the backlog-table standard: this is foreign, read-only content
   being mirrored rather than a dashboard data grid, and rewriting its markup is not possible. */
.confluence-content[b-vqkun0bslx]  table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.confluence-content[b-vqkun0bslx]  th,
.confluence-content[b-vqkun0bslx]  td {
    border: 1px solid #dee2e6;
    padding: 0.4rem 0.5rem;
    vertical-align: top;
}

.confluence-content[b-vqkun0bslx]  th {
    background-color: #f5f6f8;
    font-weight: 600;
}

/* Confluence headings start at h1; scaled down so a mirrored page does not visually outrank the
   dashboard's own page title. */
.confluence-content[b-vqkun0bslx]  h1 {
    font-size: 1.35rem;
}

.confluence-content[b-vqkun0bslx]  h2 {
    font-size: 1.2rem;
}

.confluence-content[b-vqkun0bslx]  h3 {
    font-size: 1.05rem;
}

.confluence-content[b-vqkun0bslx]  h4,
.confluence-content[b-vqkun0bslx]  h5,
.confluence-content[b-vqkun0bslx]  h6 {
    font-size: 0.95rem;
}

.confluence-content[b-vqkun0bslx]  pre {
    background-color: #f5f6f8;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem;
    overflow-x: auto;
    font-size: 0.8125rem;
}

.confluence-content[b-vqkun0bslx]  blockquote {
    border-left: 3px solid #dee2e6;
    padding-left: 0.75rem;
    color: #6c757d;
}
/* /Components/Pages/Product/FeatureDetail.razor.rz.scp.css */
/* Keeps the feature name pinned to the top of the .content scroll area while the page scrolls.
   .content is the scroll container (the top-nav sits outside it), so top:0 is correct here. */
.feature-sticky-header[b-mq5en7py6c] {
    position: sticky;
    top: 0;
    z-index: 1000; /* below the top-nav (1050), above tables and sticky table headers */
    background-color: #fff;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
/* /Components/UI/UpdatesModal.razor.rz.scp.css */
/* Updates modal ("What's new").
   Sections need clearly defined headers and long sections must scroll rather than truncate, so
   every item is reachable without one section pushing the others off the modal. */

.updates-section[b-fx8mn3iel7] {
    margin-bottom: 1.25rem;
}

.updates-section:last-child[b-fx8mn3iel7] {
    margin-bottom: 0;
}

/* Header sits on a tinted bar with a rule beneath, so sections read as distinct blocks rather
   than as one continuous list of rows. */
.updates-section-header[b-fx8mn3iel7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem;
    background-color: #f1f3f5;
    border-left: 3px solid #0d6efd;
    border-radius: 3px;
    margin-bottom: 0;
}

.updates-section-title[b-fx8mn3iel7] {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #343a40;
}

/* The count is the answer to "how many are there?" — worth showing even when nothing is hidden. */
.updates-section-count[b-fx8mn3iel7] {
    flex: none;
    min-width: 1.5rem;
    padding: 0.05rem 0.4rem;
    background-color: #dee2e6;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
}

.updates-list[b-fx8mn3iel7] {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e9ecef;
    border-top: none;
}

/* Roughly five rows. max-height rather than height so a six-item section is only slightly
   scrollable instead of leaving a large gap. */
.updates-list-scroll[b-fx8mn3iel7] {
    max-height: 260px;
    overflow-y: auto;
}

.updates-item[b-fx8mn3iel7] {
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid #f1f3f5;
}

.updates-item:last-child[b-fx8mn3iel7] {
    border-bottom: none;
}

.updates-item:nth-child(even)[b-fx8mn3iel7] {
    background-color: #fbfcfd;
}

.updates-item-title[b-fx8mn3iel7] {
    font-size: 0.875rem;
    color: #212529;
}

.updates-item-detail[b-fx8mn3iel7] {
    font-size: 0.775rem;
    color: #6c757d;
}

/* Only appears if a safety cap was hit, which is not expected in normal use. */
.updates-section-note[b-fx8mn3iel7] {
    padding: 0.3rem 0.6rem;
    background-color: #fff9e6;
    border: 1px solid #e9ecef;
    border-top: none;
    font-size: 0.75rem;
    color: #6c757d;
}
