@import '_content/Forward.RazorClassLibrary/Forward.RazorClassLibrary.mbq2j821mf.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-dug9s2u08t] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-dug9s2u08t] {
    flex: 1;
}

.sidebar[b-dug9s2u08t] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-dug9s2u08t] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-dug9s2u08t]  a, .top-row[b-dug9s2u08t]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-dug9s2u08t]  a:hover, .top-row[b-dug9s2u08t]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-dug9s2u08t]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-dug9s2u08t] {
        justify-content: space-between;
    }

    .top-row[b-dug9s2u08t]  a, .top-row[b-dug9s2u08t]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-dug9s2u08t] {
        flex-direction: row;
    }

    .sidebar[b-dug9s2u08t] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-dug9s2u08t] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-dug9s2u08t]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

/*    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }*/
}

#blazor-error-ui[b-dug9s2u08t] {
    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-dug9s2u08t] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* /Components/Pages/DashGrossProfit.razor.rz.scp.css */
[b-bzzp1g3lut] .mud-table-container > table {
    width: 100%;
    table-layout: fixed;
}
/* /Components/Pages/Purchasing/InventoryEntry.razor.rz.scp.css */
/* Selected-row highlight. The canonical rule lives in the RCL's scoped DynOList.razor.css and
   cannot reach this page's grid, so it is repeated here (same value). */
[b-9ec6q1yq8d] .selected-row {
    background-color: rgba(var(--mud-palette-primary-rgb), 0.15) !important;
}

/* Split screen (tablet + desktop): list on top, entry panel pinned below.
   180px = app bar + breadcrumb row. MainLayout's MudMainContent is not a height-bounded flex
   box and its top padding is dynamic, so there is no chrome-independent value to derive this
   from; dvh keeps mobile browser bars from pushing the panel off screen. Not used on phone. */
.ie-split[b-9ec6q1yq8d] {
    --ie-chrome: 180px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--ie-chrome));
    height: calc(100dvh - var(--ie-chrome));
}

.ie-list[b-9ec6q1yq8d] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.ie-panel[b-9ec6q1yq8d] {
    flex-shrink: 0;
    max-height: 50%;
    overflow-y: auto;
    border-top: 1px solid var(--mud-palette-lines-default, #e0e0e0);
    padding-top: .5rem;
}

/* Phone compact grid (DynOList.razor.css idiom): auto table layout, wrapping cells, tap padding. */
[b-9ec6q1yq8d] .ie-compact .mud-table-root {
    table-layout: auto;
}

[b-9ec6q1yq8d] .ie-compact .mud-table-cell {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 10px 8px;
}

[b-9ec6q1yq8d] .ie-compact th.mud-table-cell {
    white-space: normal;
}

/* Quantity and Entered columns stay as narrow as their content so the name column gets the width. */
[b-9ec6q1yq8d] .ie-compact .ie-col-qty,
[b-9ec6q1yq8d] .ie-compact .ie-col-ok {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

[b-9ec6q1yq8d] .ie-name {
    font-weight: 500;
}

[b-9ec6q1yq8d] .ie-sub {
    color: var(--mud-palette-text-secondary);
}

/* Tablet touch sizing for the bottom panel. */
[b-9ec6q1yq8d] .ie-touch-input .mud-input-slot,
[b-9ec6q1yq8d] .ie-touch-input .mud-input-root {
    font-size: 1.25rem;
}

[b-9ec6q1yq8d] .ie-touch-btn {
    height: 56px;
    font-size: 1.1rem;
}
/* /Components/Pages/Purchasing/InventoryEntryDialog.razor.rz.scp.css */
/* Touch-sized quantity inputs for the phone entry dialog. The wrapper div is authored here
   (so it carries this component's scope attribute); ::deep reaches the MudBlazor input inside. */
.ie-dlg-input[b-0v6qd99x9v]  .mud-input-slot,
.ie-dlg-input[b-0v6qd99x9v]  .mud-input-root {
    font-size: 1.5rem;
}
/* /Components/Pages/QualityAssurance/QCLogDetail.razor.rz.scp.css */
[b-fwfekh1uvc] .e-grid .e-gridcontent .e-content .e-table {
    background-color: #ffdeaf;
}

[b-fwfekh1uvc] .e-grid .e-headercell, .e-grid .e-detailheadercell[b-fwfekh1uvc], .QcLog[b-fwfekh1uvc], .e-grid .e-row:hover .e-rowcell[b-fwfekh1uvc] {
    background-color: #ffdeaf !important;
}
[b-fwfekh1uvc] QcLog {
    background-color: #ffc169 !important;
}


[b-fwfekh1uvc] .QcLogHeader {
    background-color: #ffdeaf !important;
}

/* /Components/Pages/RecipeLotDetailList.razor.rz.scp.css */
[b-idmxsnvsc8] .e-grid .e-gridcontent .e-content .e-table {
    background-color: #f9f1e2;
}

[b-idmxsnvsc8] .e-grid .e-headercell, .e-grid .e-detailheadercell[b-idmxsnvsc8] {
    background-color: #f5e9d3;
}
