@import '_content/FreshCorner.StaffUi/FreshCorner.StaffUi.cl4crs63sy.bundle.scp.css';
@import '_content/FreshCorner.Ui/FreshCorner.Ui.4sqzni0i7k.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Shared/OrderDetail.razor.rz.scp.css */
/* The item editor stacks into labelled cards whenever its card is too narrow for six columns
   (phones, tablets, and desktop layouts where the summary column takes space). */
.order-detail-card[b-cwfvgi0ubf] { container-type: inline-size; }

@container (max-width: 760px) {
    .order-items-table thead[b-cwfvgi0ubf] { display: none; }

    .order-items-table[b-cwfvgi0ubf],
    .order-items-table tbody[b-cwfvgi0ubf],
    .order-items-table tr[b-cwfvgi0ubf],
    .order-items-table td[b-cwfvgi0ubf] { display: block; width: 100%; }

    .order-items-table tr[b-cwfvgi0ubf] {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
        gap: .5rem .75rem;
        padding: .75rem 1rem;
        border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    }

    .order-items-table td[b-cwfvgi0ubf] { padding: 0; border: 0; }
    .order-items-table td:first-child[b-cwfvgi0ubf] { grid-column: 1 / -1; }

    .order-items-table td:not(:first-child)[b-cwfvgi0ubf]::before {
        content: attr(data-label);
        display: block;
        font-size: .75rem;
        font-weight: 600;
        color: var(--fc-text-muted, #6c757d);
    }

    .order-items-table .form-control[b-cwfvgi0ubf],
    .order-items-table .form-select[b-cwfvgi0ubf] { min-width: 0; width: 100%; }
}

[hidden][b-cwfvgi0ubf] { display:none!important; }
/* /Layout/MainLayout.razor.rz.scp.css */
/* /Layout/NavMenu.razor.rz.scp.css */
/* /Pages/MaterialManagement.razor.rz.scp.css */
.catalog-summary[b-zy55kaekdz] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.catalog-stat[b-zy55kaekdz] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: .75rem 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    background: var(--bs-body-bg);
    text-align: left;
}

.catalog-stat strong[b-zy55kaekdz] { font-size: 1.35rem; line-height: 1.2; }
.catalog-stat span[b-zy55kaekdz] { font-size: .8rem; color: var(--bs-secondary-color); }
.catalog-stat:hover[b-zy55kaekdz] { border-color: var(--bs-primary-border-subtle); }
.catalog-stat.active[b-zy55kaekdz] { border-color: var(--bs-primary); box-shadow: inset 0 0 0 1px var(--bs-primary); }

.catalog-toolbar[b-zy55kaekdz] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.catalog-toolbar .form-select[b-zy55kaekdz] { width: auto; max-width: 13rem; }
.catalog-search[b-zy55kaekdz] { flex: 1 1 14rem; max-width: 22rem; }

[b-zy55kaekdz] .catalog-table { margin-bottom: 0; }
[b-zy55kaekdz] .catalog-table th { white-space: nowrap; }
[b-zy55kaekdz] .catalog-photo-col { width: 60px; }

.catalog-thumb[b-zy55kaekdz] {
    width: 44px;
    height: 44px;
    border-radius: .5rem;
    object-fit: cover;
    background: var(--bs-tertiary-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-thumb-empty[b-zy55kaekdz] { color: var(--bs-secondary-color); }
.catalog-name[b-zy55kaekdz] { font-weight: 600; text-decoration: none; }
.catalog-sub[b-zy55kaekdz] { max-width: 22rem; }

.catalog-pager[b-zy55kaekdz] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-top: 1px solid var(--bs-border-color);
}

.catalog-photo[b-zy55kaekdz] {
    aspect-ratio: 1;
    border-radius: .75rem;
    background: var(--bs-tertiary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.catalog-photo img[b-zy55kaekdz] { width: 100%; height: 100%; object-fit: cover; }

.catalog-visibility[b-zy55kaekdz] {
    padding: .75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
}

.catalog-sap dt[b-zy55kaekdz] { font-weight: 600; }
.catalog-sap dd[b-zy55kaekdz] { color: var(--bs-secondary-color); }

.catalog-section[b-zy55kaekdz] {
    margin: 1.25rem 0 .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

.catalog-section:first-child[b-zy55kaekdz] { margin-top: 0; }
.catalog-currency[b-zy55kaekdz] { max-width: 4.5rem; }

@media (max-width: 767.98px) {
    .catalog-summary[b-zy55kaekdz] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-toolbar .form-select[b-zy55kaekdz] { max-width: none; flex: 1 1 45%; }
    .catalog-search[b-zy55kaekdz] { max-width: none; }
}
/* /Pages/OrderManagement.razor.rz.scp.css */
.ops-page-heading[b-r2i5na4uza] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.4rem 0 1rem;
}

.ops-page-heading h1[b-r2i5na4uza] {
    margin: .2rem 0 .25rem;
    color: var(--fc-green-950);
    font-size: clamp(1.75rem, 2.4vw, 2.4rem);
    letter-spacing: -.03em;
}

.ops-page-heading p[b-r2i5na4uza] { margin: 0; color: var(--fc-text-muted); }
.order-workspace[b-r2i5na4uza] { overflow: hidden; }

.ops-card-header[b-r2i5na4uza] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--fc-border);
    background: #fff;
}

.ops-card-header h2[b-r2i5na4uza] { margin: 0; color: var(--fc-green-950); font-size: 1.05rem; }
.ops-card-header p[b-r2i5na4uza] { margin: .2rem 0 0; color: var(--fc-text-muted); font-size: .78rem; }
.order-filter-bar[b-r2i5na4uza] { display: grid; grid-template-columns: minmax(260px, 1.5fr) minmax(210px, .8fr) minmax(190px, .65fr); gap: .8rem; padding: 1rem 1.15rem; background: #f8faf8; border-bottom: 1px solid var(--fc-border); }
.order-filter[b-r2i5na4uza] { min-width: 0; }
.order-filter label[b-r2i5na4uza] { display: block; margin-bottom: .35rem; color: var(--fc-text); font-size: .75rem; font-weight: 750; }
.order-filter small[b-r2i5na4uza] { display: block; margin-top: .3rem; color: var(--fc-text-muted); }
/* QuickGrid renders the <table>, so reach it through this page's wrapper with ::deep. */
.order-workspace[b-r2i5na4uza]  .order-table { min-width: 0; margin: 0; }
.order-workspace[b-r2i5na4uza]  .order-table tbody tr:hover { background: var(--fc-green-50); }
/* One line; very long legacy numbers (ORD-$6388…) are truncated, full value in the title tooltip. */
.order-number-link[b-r2i5na4uza] { display: block; max-width: 13rem; overflow: hidden; color: var(--fc-green-800); font-size: .9rem; font-weight: 780; text-decoration: none; white-space: nowrap; text-overflow: ellipsis; }
.order-number-link:hover[b-r2i5na4uza] { text-decoration: underline; }
.order-number-link + small[b-r2i5na4uza], .order-date + small[b-r2i5na4uza] { display: block; margin-top: .2rem; color: var(--fc-text-muted); }
.order-date[b-r2i5na4uza], .order-money[b-r2i5na4uza], .order-branch[b-r2i5na4uza] { color: var(--fc-text); font-weight: 650; }
.order-date[b-r2i5na4uza] { white-space: nowrap; }
.order-money[b-r2i5na4uza] { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Stacked so a long assignment label doesn't double the column width. */
.order-actions[b-r2i5na4uza] { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; }
.order-actions .btn[b-r2i5na4uza] { min-width: 0; white-space: normal; line-height: 1.2; }
.order-customer[b-r2i5na4uza] { display: block; max-width: 12rem; overflow-wrap: anywhere; }
/* Long staff labels ("Branch assigned — picker needed") may wrap inside the chip. */
.order-workspace[b-r2i5na4uza]  .order-table .fc-status-chip { min-width: 0; max-width: 13rem; white-space: normal; text-align: left; }
.order-workspace[b-r2i5na4uza]  .order-table :is(td, th) { vertical-align: middle; }
.order-empty-state[b-r2i5na4uza] { display: grid; justify-items: center; gap: .35rem; padding: 3.5rem 1rem; color: var(--fc-text-muted); text-align: center; }
.order-empty-state i[b-r2i5na4uza] { color: var(--fc-green-600); font-size: 2rem; }
.order-empty-state strong[b-r2i5na4uza] { color: var(--fc-green-950); }
.page-summary[b-r2i5na4uza] { padding: .5rem .85rem; color: var(--fc-text-muted); font-size: .8rem; font-weight: 700; }

@media (max-width: 920px) {
    .order-filter-bar[b-r2i5na4uza] { grid-template-columns: 1fr 1fr; }
    .order-filter-search[b-r2i5na4uza] { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .ops-page-heading[b-r2i5na4uza] { padding-top: 1rem; }
    .ops-card-header[b-r2i5na4uza] { align-items: flex-start; }
    .order-filter-bar[b-r2i5na4uza] { grid-template-columns: 1fr; }
    .order-filter-search[b-r2i5na4uza] { grid-column: auto; }
}
/* /Pages/OrderReview.razor.rz.scp.css */
/* The item editor stacks into labelled cards whenever its card is too narrow for six columns
   (phones, tablets, and desktop layouts where the summary column takes space). */
.order-detail-card[b-m9nrlqoh5z] { container-type: inline-size; }

@container (max-width: 760px) {
    .order-items-table thead[b-m9nrlqoh5z] { display: none; }

    .order-items-table[b-m9nrlqoh5z],
    .order-items-table tbody[b-m9nrlqoh5z],
    .order-items-table tr[b-m9nrlqoh5z],
    .order-items-table td[b-m9nrlqoh5z] { display: block; width: 100%; }

    .order-items-table tr[b-m9nrlqoh5z] {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
        gap: .5rem .75rem;
        padding: .75rem 1rem;
        border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    }

    .order-items-table td[b-m9nrlqoh5z] { padding: 0; border: 0; }
    .order-items-table td:first-child[b-m9nrlqoh5z] { grid-column: 1 / -1; }

    .order-items-table td:not(:first-child)[b-m9nrlqoh5z]::before {
        content: attr(data-label);
        display: block;
        font-size: .75rem;
        font-weight: 600;
        color: var(--fc-text-muted, #6c757d);
    }

    .order-items-table .form-control[b-m9nrlqoh5z],
    .order-items-table .form-select[b-m9nrlqoh5z] { min-width: 0; width: 100%; }
}
/* /Pages/StoreManagement.razor.rz.scp.css */
.store-summary[b-ycu45zsm66] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.store-stat[b-ycu45zsm66] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: .75rem 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    background: var(--bs-body-bg);
    text-align: left;
}

.store-stat strong[b-ycu45zsm66] { font-size: 1.35rem; line-height: 1.2; }
.store-stat span[b-ycu45zsm66] { font-size: .8rem; color: var(--bs-secondary-color); }
.store-stat:hover[b-ycu45zsm66] { border-color: var(--bs-primary-border-subtle); }
.store-stat.active[b-ycu45zsm66] { border-color: var(--bs-primary); box-shadow: inset 0 0 0 1px var(--bs-primary); }

.store-toolbar[b-ycu45zsm66] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.store-toolbar .form-select[b-ycu45zsm66] { width: auto; max-width: 13rem; }
.store-search[b-ycu45zsm66] { flex: 1 1 14rem; max-width: 22rem; }

[b-ycu45zsm66] .store-table { margin-bottom: 0; }
[b-ycu45zsm66] .store-table th { white-space: nowrap; }
.store-name[b-ycu45zsm66] { font-weight: 600; text-decoration: none; }

.store-facts[b-ycu45zsm66] {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.store-facts div[b-ycu45zsm66] { display: flex; flex-direction: column; }
.store-facts strong[b-ycu45zsm66] { font-size: 1.25rem; line-height: 1.2; }
.store-facts span[b-ycu45zsm66] { font-size: .8rem; color: var(--bs-secondary-color); }

.store-status[b-ycu45zsm66] {
    padding: .75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
}

.store-section[b-ycu45zsm66] {
    margin: 1.25rem 0 .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}

@media (max-width: 767.98px) {
    .store-summary[b-ycu45zsm66] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .store-toolbar .form-select[b-ycu45zsm66] { max-width: none; flex: 1 1 45%; }
    .store-search[b-ycu45zsm66] { max-width: none; }
}
