/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-oot8oearmd] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-oot8oearmd] {
    flex: 1;
}

.sidebar[b-oot8oearmd] {
    background: var(--pns-primary);
}

.top-row[b-oot8oearmd] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.supplier-context-select[b-oot8oearmd] {
    width: auto;
    min-width: 8rem;
}

.supplier-context-overlay[b-oot8oearmd] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 65%);
}

    .top-row[b-oot8oearmd]  a, .top-row[b-oot8oearmd]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-oot8oearmd]  a:hover, .top-row[b-oot8oearmd]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-oot8oearmd]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-oot8oearmd] {
        justify-content: space-between;
    }

    .top-row[b-oot8oearmd]  a, .top-row[b-oot8oearmd]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-oot8oearmd] {
        flex-direction: row;
    }

    .sidebar[b-oot8oearmd] {
        min-width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-oot8oearmd] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-oot8oearmd]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-oot8oearmd], article[b-oot8oearmd] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-oot8oearmd] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-oot8oearmd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-u8czvego48] {
    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-u8czvego48] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-u8czvego48] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-u8czvego48] {
    font-size: 1.1rem;
}

.bi[b-u8czvego48] {
    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-u8czvego48] {
    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-u8czvego48] {
    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-u8czvego48] {
    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-u8czvego48] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-u8czvego48] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-u8czvego48] {
        padding-bottom: 1rem;
    }

    .nav-item[b-u8czvego48]  .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-u8czvego48]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-u8czvego48]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-u8czvego48] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-u8czvego48] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-u8czvego48] {
        display: none;
    }

    .nav-scrollable[b-u8czvego48] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

.navbar-logo[b-u8czvego48] {
    max-height: 100%;   /* never taller than the row */
    max-width: 100%;    /* never wider than the container */
    width: auto;
    height: auto;
    object-fit: contain; /* preserve aspect ratio */
    display: block;
}

/* ensure the row clips overflow and vertically centers content */
.top-row[b-u8czvego48] {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.navbar-brand[b-u8czvego48] {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
}
/* /Components/LegendTooltip.razor.rz.scp.css */
.status-legend[b-0my7jvsigj] {
    position: relative;
    display: inline-block;
    margin-left: 0.25rem;
    color: #6c757d;
    cursor: help;
}

.status-legend-popup[b-0my7jvsigj] {
    display: none;
    position: absolute;
    top: 100%;
    left: 100%;
    z-index: 1050;
    width: max-content;
    max-width: min(320px, 80vw);
    margin: 0.25rem;
    padding: 0.5rem;
    white-space: pre-line;
    color: #212529;
    font-weight: normal;
    text-align: left;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.status-legend:hover .status-legend-popup[b-0my7jvsigj],
.status-legend:focus .status-legend-popup[b-0my7jvsigj],
.status-legend:focus-within .status-legend-popup[b-0my7jvsigj] {
    display: block;
}

.status-legend-popup-image[b-0my7jvsigj] {
    left: auto;
    right: 0;
    padding: 0.25rem;
}

.status-legend-popup img[b-0my7jvsigj] {
    display: block;
    max-width: 100%;
    width: 320px;
    height: auto;
}
/* /Components/Pages/AdminFormDefinition.razor.rz.scp.css */
.definition-editor-layout[b-z2qeyq3ywe] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
}

.definition-preview[b-z2qeyq3ywe],
.definition-attributes[b-z2qeyq3ywe] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.definition-attributes[b-z2qeyq3ywe] {
    position: sticky;
    top: calc(var(--app-header-height, 5rem) + 1rem);
    max-height: calc(100vh - var(--app-header-height, 5rem) - 2rem);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.definition-group > .card-header[b-z2qeyq3ywe] {
    padding: 0.75rem 1rem;
}

.definition-group > .card-body[b-z2qeyq3ywe] {
    padding: 1rem;
}

.definition-field[b-z2qeyq3ywe] {
    min-width: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0.25rem;
}

.definition-control-preview[b-z2qeyq3ywe] {
    pointer-events: none;
}

.definition-selected[b-z2qeyq3ywe] {
    outline: 2px solid var(--bs-primary, #0d6efd);
    outline-offset: -2px;
    background-color: #edf6ff;
}

.is-editing [draggable="true"][b-z2qeyq3ywe] {
    cursor: grab;
}

.is-editing .definition-field:hover[b-z2qeyq3ywe],
.is-editing .card-header:hover[b-z2qeyq3ywe] {
    box-shadow: inset 0 0 0 1px #6c757d;
}

.definition-field-end[b-z2qeyq3ywe],
.definition-group-end[b-z2qeyq3ywe] {
    min-height: 2.5rem;
    border: 2px dashed transparent;
    border-radius: 0.25rem;
}

.dragging-field .definition-field.definition-drop-target[b-z2qeyq3ywe],
.dragging-field .definition-field-end.definition-drop-target[b-z2qeyq3ywe],
.dragging-group .card-header.definition-drop-target[b-z2qeyq3ywe],
.dragging-group .definition-group-end.definition-drop-target[b-z2qeyq3ywe] {
    box-shadow: inset 4px 0 var(--bs-primary, #0d6efd);
    background-color: #edf6ff;
}

.dragging-field .definition-field-end[b-z2qeyq3ywe],
.dragging-group .definition-group-end[b-z2qeyq3ywe] {
    border-color: #6c757d;
}

.dragging-field .definition-field-end.definition-drop-target[b-z2qeyq3ywe],
.dragging-group .definition-group-end.definition-drop-target[b-z2qeyq3ywe] {
    background: #edf6ff;
    border-color: var(--bs-primary, #0d6efd);
}

@media (max-width: 1100px) {
    .definition-editor-layout[b-z2qeyq3ywe] {
        grid-template-columns: minmax(0, 1fr);
    }

    .definition-attributes[b-z2qeyq3ywe] {
        position: static;
        max-height: none;
        border-left: 0 !important;
        border-top: 1px solid #dee2e6;
        padding: 1rem 0 0 !important;
    }
}
/* /Components/Pages/ItemInputForm.razor.rz.scp.css */
.image-thumbnail-button[b-zgqt0l0e5x] { border: 0; background: transparent; padding: 0; display: block; margin-top: .5rem; }
.image-thumbnail[b-zgqt0l0e5x] { max-width: 120px; max-height: 120px; object-fit: contain; border: 1px solid var(--pns-primary); }
.image-preview-overlay[b-zgqt0l0e5x] { position: fixed; inset: 0; z-index: 11000; background: rgb(0 0 0 / 90%); display: flex; align-items: center; justify-content: center; overflow: auto; }
.image-preview-overlay img[b-zgqt0l0e5x] { max-width: 100%; max-height: 100%; object-fit: contain; }
.image-preview-close[b-zgqt0l0e5x] { position: fixed; top: 20px; right: 20px; z-index: 11001; }
.task-tab-disabled[b-zgqt0l0e5x] {
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.55;
}
.task-tab-hidden[b-zgqt0l0e5x] {
    display: none;
}
.form-selection-dropdown[b-zgqt0l0e5x] {
    display: none;
}
.btn-hidden[b-zgqt0l0e5x] {
    display: none;
}

/* Full-height flex layout: the page fills the content area below the fixed top header so the
   browser/body does not scroll. Only the form field area scrolls internally when needed. */
.item-input-page[b-zgqt0l0e5x] {
    height: calc(100vh - var(--app-header-height, 5rem));
    min-height: 0;
    overflow: hidden;
}

.item-input-title[b-zgqt0l0e5x],
.item-input-tabs[b-zgqt0l0e5x] {
    flex: 0 0 auto;
}

.workflow-progress[b-zgqt0l0e5x] {
    display: flex;
    align-items: center;
    width: 100%;
    /* overflow-x: auto; */
}

.workflow-progress-step[b-zgqt0l0e5x] {
    flex: 1 0 7rem;
    padding: 0.55rem 0.75rem;
    text-align: center;
    font-weight: 600;
    border-radius: 0.25rem;
    white-space: nowrap;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.workflow-progress-arrow[b-zgqt0l0e5x] {
    flex: 0 0 auto;
    padding: 0 0.75rem;
    color: #6c757d;
    font-size: 1.25rem;
}

.item-input-tab-content[b-zgqt0l0e5x] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* Active pane becomes a column flex container so its fields scroll and actions stay pinned.
   Higher specificity than Bootstrap's `.tab-content > .tab-pane` / `.active` rules. */
.item-input-tab-content > .item-input-tab-pane.active[b-zgqt0l0e5x] {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.item-input-pane-body[b-zgqt0l0e5x] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0.75rem;
}

.item-input-group-nav[b-zgqt0l0e5x] {
    display: flex;
    flex-direction: column;
    flex: 0 0 13rem;
    max-width: 35%;
    min-height: 0;
    border-right: 1px solid #dee2e6;
    padding-right: 0.75rem;
}

.item-input-group-nav.collapsed[b-zgqt0l0e5x] {
    flex-basis: 2.5rem;
    padding-right: 0.25rem;
}

.item-input-group-nav-heading[b-zgqt0l0e5x] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
    padding-bottom: 0.5rem;
}

.item-input-group-nav-list[b-zgqt0l0e5x] {
    min-height: 0;
    overflow-y: auto;
}

.item-input-group-link[b-zgqt0l0e5x] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0.4rem 0.25rem;
    overflow-wrap: anywhere;
}

.item-input-group-link:hover[b-zgqt0l0e5x],
.item-input-error-link:hover[b-zgqt0l0e5x] {
    text-decoration: underline;
}

.item-input-form-scroll[b-zgqt0l0e5x] {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow: auto;
}

.item-input-error-summary[b-zgqt0l0e5x] {
    flex: 0 1 auto;
    min-height: 100px;
    max-height: 25vh;
    overflow-y: auto;
}

.item-input-error-link[b-zgqt0l0e5x] {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.item-input-pane-actions[b-zgqt0l0e5x] {
    flex: 0 0 auto;
    margin-top: 0.75rem;
}

/* Field style overrides for the input form. */
[id$="field.english_brand_name"][b-zgqt0l0e5x] {
    width: 50%;
}
[id$="field.uda_789"][b-zgqt0l0e5x] {
    width: 100%;
}

/* Overrides for disabled MudBlazor input fields */
[b-zgqt0l0e5x] .mud-input.mud-disabled {
    background-color: #e9ecef /* Change background */
}

[b-zgqt0l0e5x] .mud-input-control.margin-dense {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

[b-zgqt0l0e5x] .mud-input-control.mud-input-control-margin-dense { 
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
/* /Components/Pages/ItemList.razor.rz.scp.css */
.btn-hidden[b-bek7767i3l] {
    display: none;
}

.item-step-badge[b-bek7767i3l] {
    margin-right: 0.25rem;
}

.item-list-table[b-bek7767i3l] {
    width: 1400px;
    min-width: 100%;
    table-layout: fixed;
}

.item-list-col-select[b-bek7767i3l] { width: 50px; }
.item-list-col-request-id[b-bek7767i3l] { width: 110px; }
.item-list-col-id[b-bek7767i3l] { width: 110px; }
.item-list-col-brand[b-bek7767i3l] { width: 160px; }
.item-list-col-description[b-bek7767i3l] { width: 250px; }
.item-list-col-type[b-bek7767i3l] { width: 100px; }
.item-list-col-status[b-bek7767i3l] { width: 220px; }
.item-list-col-current-step[b-bek7767i3l] { width: 230px; }
.item-list-col-supplier[b-bek7767i3l] { width: 120px; }
.item-list-col-updated[b-bek7767i3l] { width: 160px; }

.item-list-table th[b-bek7767i3l],
.item-list-table td[b-bek7767i3l] {
    overflow: hidden;
}

.item-list-table th:nth-child(4)[b-bek7767i3l],
.item-list-table td:nth-child(4)[b-bek7767i3l],
.item-list-table th:nth-child(7)[b-bek7767i3l],
.item-list-table td:nth-child(7)[b-bek7767i3l] {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-list-table th:has(.status-legend:hover)[b-bek7767i3l],
.item-list-table th:has(.status-legend:focus-within)[b-bek7767i3l],
.table-responsive:has(.status-legend:hover)[b-bek7767i3l],
.table-responsive:has(.status-legend:focus-within)[b-bek7767i3l] {
    overflow: visible;
}

