@import '_content/FloraConnect.App.UI.Components/FloraConnect.App.UI.Components.pryduwbrlr.bundle.scp.css';
@import '_content/FloraConnect.SessionManagement.UI.Components/FloraConnect.SessionManagement.UI.Components.ky80ox1pii.bundle.scp.css';
@import '_content/FloraConnect.SystemTools.UI.Components/FloraConnect.SystemTools.UI.Components.s1e72vzu83.bundle.scp.css';
@import '_content/FloraConnect.UI.Components/FloraConnect.UI.Components.zw8ei7xt42.bundle.scp.css';
@import '_content/Uniware.Core.UI.Components/Uniware.Core.UI.Components.7aow8bdf9r.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-o80vnwyiyv] {
    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-o80vnwyiyv] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Features/FloraConnectResources/ExplorerResources/FetchDatabaseTable/FetchDatabaseTablePage.razor.rz.scp.css */
/* /Features/FloraConnectResources/ExplorerResources/GetDatabaseTable/GetDatabaseTablePage.razor.rz.scp.css */
/* /Features/FloraConnectResources/ProductionResources/BoxDistributionResources/FetchBoxDistribution/SideSheets/PostBoxDistributionSideSheet/PostBoxDistributionSideSheetBody.razor.rz.scp.css */
.post-box-distribution-side-sheet-body[b-nogdhvb4zd] {
    display: flex;
    
    width: 25rem;

    font-size: var(--md-sys-typescale-body-medium-size);
    line-height: var(--md-sys-typescale-body-medium-line-height);
    letter-spacing: var(--md-sys-typescale-body-medium-tracking);
    font-weight: var(--md-sys-typescale-body-medium-weight);
    font-family: var(--md-sys-typescale-body-medium-font);
}

.post-box-distribution-side-sheet-body[b-nogdhvb4zd]  .table__header-cell,
.post-box-distribution-side-sheet-body[b-nogdhvb4zd]  .table__content-cell {
    width: 50%;
}
/* /Features/FloraConnectResources/SalesResources/InvoicingResources/GetSalesOrder/SideSheets/ReassignSalesOrderSideSheet/ReassignSalesOrderSideSheetBody.razor.rz.scp.css */
.reassign-sales-order-side-sheet-body[b-c9c5zgsdtu] {
    width: 20rem;
}
/* /Features/FloraConnectResources/SalesResources/SalesOrderResources/FetchSalesOrder/SideSheets/PostSalesOrderLineSideSheet/PostSalesOrderLineSideSheetBody.razor.rz.scp.css */
.post-sales-order-line-side-sheet-body[b-uup9unxoml] {
    width: 25rem;

    font-size: var(--md-sys-typescale-body-medium-size);
    line-height: var(--md-sys-typescale-body-medium-line-height);
    letter-spacing: var(--md-sys-typescale-body-medium-tracking);
    font-weight: var(--md-sys-typescale-body-medium-weight);
    font-family: var(--md-sys-typescale-body-medium-font);
}

.assortment-container[b-uup9unxoml] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.amount-chooser[b-uup9unxoml] {
    display: flex;
    align-items: center;
}

.assortment-description[b-uup9unxoml] {
    width: 50%;
    text-wrap: wrap;
}

.order-unit-price[b-uup9unxoml] {
    width: 50%;
   text-align: right;
}

.amount-chooser__subtotal[b-uup9unxoml] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    margin-left: .5rem;

    font-size: var(--md-sys-typescale-label-large-size);
    line-height: var(--md-sys-typescale-label-large-line-height);
    letter-spacing: var(--md-sys-typescale-label-large-tracking);
    font-weight: var(--md-sys-typescale-label-large-weight);
    font-family: var(--md-sys-typescale-label-large-font);
}

.amount-chooser__unit[b-uup9unxoml] {
    margin-right: auto;
}
/* /Features/FloraConnectResources/SalesResources/SalesOrderResources/GetSalesOrder/SideSheets/PostSalesOrderSideSheet/PostSalesOrderSideSheetBody.razor.rz.scp.css */
.post-sales-order-side-sheet-body[b-7rfo1j4jkj] {
    width: 20rem;
}
/* /Features/FloraConnectResources/SalesResources/SalesOrderResources/OrderAssortment/InteractiveGrid/Templates/AssortmentTileTemplate/DataGridAssortmentTileTemplate.razor.rz.scp.css */
.datagrid__body-scrollable[b-jr4e8iy5un] {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    flex-grow: 1;
    flex-basis: 0;
    box-sizing: border-box;
    padding-right: 1rem;
    padding-bottom: 1rem;
}


.container[b-jr4e8iy5un] {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    width: 100%; 
}

.product-marker[b-jr4e8iy5un] {
    position: absolute;
    padding: .5rem;
    color: var(--md-ref-palette-neutral-variant90);
    font-size: var(--md-sys-typescale-label-large-size);
    line-height: var(--md-sys-typescale-label-large-line-height);
    letter-spacing: var(--md-sys-typescale-label-large-tracking);
    font-weight: var(--md-sys-typescale-label-large-weight);
    font-family: var(--md-sys-typescale-label-large-font);
}

.product-marker--special[b-jr4e8iy5un] {
    background-color: var(--md-ref-palette-product-marker-special);
}

.product-marker--new[b-jr4e8iy5un] {
    background-color: var(--md-ref-palette-product-marker-new);
}

.product-marker--offer[b-jr4e8iy5un] {
    background-color: var(--md-ref-palette-product-marker-offer);
}

.product-marker--promotion[b-jr4e8iy5un] {
    background-color: var(--md-ref-palette-product-marker-promotion);
}

.product-marker--custom[b-jr4e8iy5un] {
    background-color: var(--md-ref-palette-product-marker-custom);
}

.card-content[b-jr4e8iy5un] {
    display: flex;
    flex-wrap: wrap;
    padding: 0 .5rem;
}

.card-color[b-jr4e8iy5un]  .color-view {
    width: 100%;
    height: .375rem;
    background-color: var(--md-sys-color-surface-container-high);
    border: 1px solid var(--md-sys-color-surface-container-high);
}

.card-color[b-jr4e8iy5un]  .color__undefined {
    display: none;
}

.card-color[b-jr4e8iy5un]  .color-view__container {
    width: 3rem;
    height: 100%;
    border: none;
    margin-right: auto;
}

.card-properties[b-jr4e8iy5un] {
    display: flex;
    justify-content: space-between;
}

.card-title[b-jr4e8iy5un] {
    --height: calc(2 * var(--md-sys-typescale-title-small-line-height));
    
    display: -webkit-box; /* This enables the line-clamp to work */
    -webkit-line-clamp: 2; /* Limits the text to two lines */
    -webkit-box-orient: vertical; /* Required for multi-line truncation */
    overflow: hidden; /* Hides the overflowing text */
    text-overflow: ellipsis; /* Adds the ellipsis (...) */

    margin-bottom: .25rem;
    min-height:  var(--height);
    max-height: var(--height);
    
    width: 60%;
    font-size: var(--md-sys-typescale-title-small-size);
    line-height: var(--md-sys-typescale-title-small-line-height);
    letter-spacing: var(--md-sys-typescale-title-small-tracking);
    font-weight: var(--md-sys-typescale-title-small-weight-bold);
    font-family: var(--md-sys-typescale-title-small-font);
    
 
}

.card-price[b-jr4e8iy5un] {
    width: 40%;
}

.card-relation[b-jr4e8iy5un] {
    display: -webkit-box;
    width: 50%;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.card-stock[b-jr4e8iy5un] {
    display:flex;
    justify-content: flex-end;
    width: 50%;
}

.card-stock[b-jr4e8iy5un]  .icon-stock {
    margin-left: .25rem;
}

.card-package__code[b-jr4e8iy5un] {
    margin-left: .25rem;
}

.card-price[b-jr4e8iy5un] {
    display: flex;
    justify-content: flex-end;
}

.card-price__original[b-jr4e8iy5un] {
    text-decoration: line-through;

    font-size: var(--md-sys-typescale-body-small-size);
    line-height: var(--md-sys-typescale-body-small-line-height);
    letter-spacing: var(--md-sys-typescale-body-small-tracking);
    font-weight: var(--md-sys-typescale-body-small-weight);
    font-family: var(--md-sys-typescale-body-small-font);
}

.card-properties[b-jr4e8iy5un] {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: .5rem;
    width: 100%;
}

.card-property[b-jr4e8iy5un] {
    overflow: hidden; /* Prevents content from spilling outside */
    white-space: nowrap; /* Ensure content stays on one line */
    text-overflow: ellipsis; /* Adds "..." for overflowing text */
    display: block; /* Ensures text truncation works */
    text-align: left;
}

.card-property:last-child[b-jr4e8iy5un] {
    text-align: right;
}


[b-jr4e8iy5un] .card-property__icon {
    margin-right: 0.25rem;
}

.card-footer[b-jr4e8iy5un] {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: .5rem .5rem .5rem .5rem;
    padding-top: .5rem;
    border-top: 1px solid var(--md-sys-color-outline);
}

.card-product-order-volume[b-jr4e8iy5un] {
    margin-top: auto;
}

.order-volume-grid[b-jr4e8iy5un] {
    display: grid;
    grid-template-columns: auto repeat(3, 1fr); /* Flexible first column, 3 fixed at 3rem */
    gap: 0.5rem; /* Add spacing between elements */
    height: 5rem; /* Fixed height for visualization */
    align-items: center; /* Center items vertically */

    font-size: var(--md-sys-typescale-body-medium-size);
    line-height: var(--md-sys-typescale-body-medium-line-height);
    letter-spacing: var(--md-sys-typescale-body-medium-tracking);
    font-weight: var(--md-sys-typescale-body-medium-weight);
    font-family: var(--md-sys-typescale-body-medium-font);
}

.order-volume-info[b-jr4e8iy5un] {
    display: flex; /* Center content */
    align-items: center;
    justify-content: center;
}

.order-volume-content[b-jr4e8iy5un] {
    display: flex; /* Center content */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 3rem; /* Optional: uniform height for content within the fixed grid height */
}
.order-volume-content__quantity[b-jr4e8iy5un] {
    display: flex;
    justify-content: center;
    width: 2.1875rem;
    height:1.09375rem;
    border-radius: var(--md-sys-shape-corner-extra-small)
}

.order-volume-content__quantity--cancellable[b-jr4e8iy5un] {
    border: 1px solid var(--md-sys-color-outline);
}

.order-volume-content__quantity--not-cancellable[b-jr4e8iy5un] {
    background-color: var(--md-sys-color-error);
    color: var(--md-sys-color-on-error);
}

.order-volume-info[b-jr4e8iy5un] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 3rem;
}

.amount-chooser[b-jr4e8iy5un] {
    display: flex;
    align-items: baseline;
    height: 3.125rem;
}

.amount-chooser[b-jr4e8iy5un]  .number-field {
    width: 8rem;
}

.amount-chooser__subtotal[b-jr4e8iy5un] {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    margin-left: .5rem;

    font-size: var(--md-sys-typescale-label-large-size);
    line-height: var(--md-sys-typescale-label-large-line-height);
    letter-spacing: var(--md-sys-typescale-label-large-tracking);
    font-weight: var(--md-sys-typescale-label-large-weight);
    font-family: var(--md-sys-typescale-label-large-font);
}

.amount-chooser__unit[b-jr4e8iy5un] {
    margin-right: auto;
}

.amount-chooser__actions[b-jr4e8iy5un] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: .5rem;
}

.card-sales-order-lines[b-jr4e8iy5un] {
    display: flex;
    flex-direction: column;

    font-size: var(--md-sys-typescale-body-medium-size);
    line-height: var(--md-sys-typescale-body-medium-line-height);
    letter-spacing: var(--md-sys-typescale-body-medium-tracking);
    font-weight: var(--md-sys-typescale-body-medium-weight);
    font-family: var(--md-sys-typescale-body-medium-font);
}

.sales-order-line__quantity[b-jr4e8iy5un] {
    margin-right: .5rem;
}

.sales-order-line[b-jr4e8iy5un] {
    flex-grow: 1;

    display: grid;
    grid-template-columns: auto auto 1fr 2rem 2rem; /* Define 5 columns */
    align-items: center;
    gap: 0.5rem;
    height: 2rem;
}


.sales-order-line__subtotal[b-jr4e8iy5un] {
    margin-left: auto;
}

.sales-order-line__committed[b-jr4e8iy5un] {
    color: var(--md-sys-color-success)
}

.sales-order-line__committed--failed[b-jr4e8iy5un] {
    color: var(--md-sys-color-error);
}

.sales-order-line--not-cancellable[b-jr4e8iy5un] {
}

 .sales-order-line--not-cancellable[b-jr4e8iy5un]  .icon-lock-open {
    color: var(--md-sys-color-error);
}
 
 [b-jr4e8iy5un] .icon-committed-failed__close {
     opacity: .25;
 }
 
 .sales-order-line__status[b-jr4e8iy5un] {
     display: flex;
     justify-content: center;
     align-items: center;
 }
 
 .card-cancellation-policy[b-jr4e8iy5un] {
     display: flex;
     flex-direction: column;
     height: 2rem;
     margin-top: .5rem;

     font-size: var(--md-sys-typescale-body-medium-size);
     line-height: var(--md-sys-typescale-body-medium-line-height);
     letter-spacing: var(--md-sys-typescale-body-medium-tracking);
     font-weight: var(--md-sys-typescale-body-medium-weight);
     font-family: var(--md-sys-typescale-body-medium-font);
 }
 
 .card-cancellation-policy__remaining-time[b-jr4e8iy5un] {
     margin: .25rem 0;
     text-align: center;
 }
