/* _content/Sunflower.WebUi.Components/SharedComponents/BarcodeScanner.razor.rz.scp.css */
.scanner-capture[b-ai3vsriygw] {
    min-height: calc(1.5em + .75rem + 2px);
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    user-select: none;
    outline: none;
    cursor: default;
}

.scanner-capture:focus[b-ai3vsriygw] {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, 0.15);
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Cards/EntityCardGrid.razor.rz.scp.css */
/* ============================================================================
   EntityCardGrid - Responsive CSS Grid Container

   Purpose:
   - Display items in a responsive grid with configurable columns
   - Automatically responds to viewport size with media queries
   - Uses CSS variables (--cols, --colGap, --rowGap) for dynamic sizing
   - Supports two layout modes: entity-grid (multi-column) and entity-wide (1-column)

   Layout Modes:
   - .entity-grid: Multi-column grid (default 4 cols on desktop)
   - .entity-wide: Single-column wide card layout (full-width cards for readability)

   Responsive Breakpoints (for entity-grid only):
   - >= 1200px:   4 columns (Columns parameter default)
   - 1200px-992px: 3 columns (tablet landscape)
   - 992px-576px:  2 columns (tablet portrait) 
   - < 576px:      1 column (mobile)

   Note: Inline styles with inline grid-template-columns override media queries
   This is used when ≤3 items or WideCardLayout=true to force single-column layout
   ============================================================================ */

/* ============================================================================
   ENTITY-GRID: Multi-column responsive grid (default mode)
   ============================================================================ */
.entity-grid[b-4cvl26fq1c] {
    display: grid;
    /* Uses --cols from inline style, falls back to 4 if not set */
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    /* Use individual gap variables for fine control */
    column-gap: var(--colGap, 12px);
    row-gap: var(--rowGap, 12px);
}

/* ============================================================================
   RESPONSIVE: Tablet Landscape (3 columns)
   Media query applies if no inline grid-template-columns override
   ============================================================================ */
@media (max-width: 1200px) {
    .entity-grid[b-4cvl26fq1c] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .entity-row-separators.entity-grid[b-4cvl26fq1c]  > .entity-card-root::after {
        content: none;
    }

    .entity-row-separators.entity-grid[b-4cvl26fq1c]  > .entity-card-root:nth-child(3n)::after {
        content: "";
        position: absolute;
        left: calc(-200% - (var(--colGap, 12px) * 2));
        right: 0;
        bottom: calc((var(--rowGap, 12px) / -2) - 1px);
        border-bottom: 1px solid rgba(148, 163, 184, 0.35);
        pointer-events: none;
    }
}

/* ============================================================================
   RESPONSIVE: Tablet Portrait (2 columns)
   ============================================================================ */
@media (max-width: 992px) {
    .entity-grid[b-4cvl26fq1c] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .entity-row-separators.entity-grid[b-4cvl26fq1c]  > .entity-card-root::after {
        content: none;
    }

    .entity-row-separators.entity-grid[b-4cvl26fq1c]  > .entity-card-root:nth-child(2n)::after {
        content: "";
        position: absolute;
        left: calc(-100% - var(--colGap, 12px));
        right: 0;
        bottom: calc((var(--rowGap, 12px) / -2) - 1px);
        border-bottom: 1px solid rgba(148, 163, 184, 0.35);
        pointer-events: none;
    }
}

/* ============================================================================
   RESPONSIVE: Mobile (1 column)
   ============================================================================ */
@media (max-width: 576px) {
    .entity-grid[b-4cvl26fq1c] {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .entity-row-separators.entity-grid[b-4cvl26fq1c]  > .entity-card-root::after {
        content: none;
    }

    .entity-row-separators.entity-grid[b-4cvl26fq1c]  > .entity-card-root::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc((var(--rowGap, 12px) / -2) - 1px);
        border-bottom: 1px solid rgba(148, 163, 184, 0.35);
        pointer-events: none;
    }
}

/* ============================================================================
   ENTITY-WIDE: Single-column layout for full-width cards

   Used when:
   - WideCardLayout="true" parameter is set, OR
   - ≤3 items are being rendered (auto behavior)

   Benefits:
   - Full-width cards for detailed content viewing
   - Better readability for sparse lists
   - Side-by-side image + details layout in EntityCards

   Note: entity-wide does NOT use media queries
         It stays 1 column across all screen sizes
   ============================================================================ */
.entity-wide[b-4cvl26fq1c] {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    column-gap: var(--colGap, 12px);
    row-gap: var(--rowGap, 12px);
}

/* ============================================================================
   ROW SEPARATORS

   Draws one continuous line per visual row. The line is attached to the last
   card in each row and spans back across the row, so individual cards do not
   each get their own underline.
   ============================================================================ */
.entity-row-separators[b-4cvl26fq1c] {
    row-gap: calc(var(--rowGap, 12px) + 1px);
}

.entity-row-separators[b-4cvl26fq1c]  > .entity-card-root {
    position: relative;
}

.entity-row-separators.entity-grid.entity-cols-2[b-4cvl26fq1c]  > .entity-card-root:nth-child(2n)::after,
.entity-row-separators.entity-grid.entity-cols-3[b-4cvl26fq1c]  > .entity-card-root:nth-child(3n)::after,
.entity-row-separators.entity-grid.entity-cols-4[b-4cvl26fq1c]  > .entity-card-root:nth-child(4n)::after,
.entity-row-separators.entity-grid.entity-cols-5[b-4cvl26fq1c]  > .entity-card-root:nth-child(5n)::after,
.entity-row-separators.entity-grid.entity-cols-6[b-4cvl26fq1c]  > .entity-card-root:nth-child(6n)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: calc((var(--rowGap, 12px) / -2) - 1px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    pointer-events: none;
}

.entity-row-separators.entity-grid.entity-cols-2[b-4cvl26fq1c]  > .entity-card-root:nth-child(2n)::after {
    left: calc(-100% - var(--colGap, 12px));
}

.entity-row-separators.entity-grid.entity-cols-3[b-4cvl26fq1c]  > .entity-card-root:nth-child(3n)::after {
    left: calc(-200% - (var(--colGap, 12px) * 2));
}

.entity-row-separators.entity-grid.entity-cols-4[b-4cvl26fq1c]  > .entity-card-root:nth-child(4n)::after {
    left: calc(-300% - (var(--colGap, 12px) * 3));
}

.entity-row-separators.entity-grid.entity-cols-5[b-4cvl26fq1c]  > .entity-card-root:nth-child(5n)::after {
    left: calc(-400% - (var(--colGap, 12px) * 4));
}

.entity-row-separators.entity-grid.entity-cols-6[b-4cvl26fq1c]  > .entity-card-root:nth-child(6n)::after {
    left: calc(-500% - (var(--colGap, 12px) * 5));
}

.entity-row-separators.entity-wide[b-4cvl26fq1c]  > .entity-card-root::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc((var(--rowGap, 12px) / -2) - 1px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    pointer-events: none;
}


/* _content/Sunflower.WebUi.Components/SharedComponents/Cards/EntityCards.razor.rz.scp.css */
/* ============================================================================
   EntityCards - Individual Card Styling

   Purpose:
   - Style individual cards within the grid
   - Support tile design mode (compact 4-per-row) and wide mode (≤3 items)
   - Image holders, empty states, and card containers

   Note: Grid layout is handled by EntityCardGrid.razor.css
          Do NOT duplicate .entity-grid rules here
   ============================================================================ */

.entity-title[b-79d9p8wir5] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Small screens: display no more than two lines */
@media (max-width: 575.98px) {
    .entity-title[b-79d9p8wir5] {
        font-size: 1rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

/*.entity-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}*/

.image-holder[b-79d9p8wir5] {
    display: flex;
    align-items: center;
    justify-content: center;

    width: var(--entity-image-width, 10rem);
    height: var(--entity-image-height, 10rem);

    padding: 6px;
    background-color: #f8f9fa;
    border: 0px solid #e0e0e0;
    border-radius: 12px;
    border-top-left-radius: 0;
    overflow: hidden;
}

.entity-image[b-79d9p8wir5] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.empty-image-holder[b-79d9p8wir5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--entity-empty-image-width, 8rem);
    height: var(--entity-empty-image-height, 8rem);
    padding: 6px;
    background-color: #f8f9fa;
    border: 0px solid #e0e0e0;
    border-radius: 12px;
    border-top-left-radius: 0;
    overflow: hidden;
}

.empty-image-link[b-79d9p8wir5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

    .empty-image-link i[b-79d9p8wir5] {
        display: block;
        margin: 0;
        line-height: 1;
    }

.entity-card-root[b-79d9p8wir5] {
    cursor: pointer;
}

.entity-tile[b-79d9p8wir5] {
    border-radius: 1rem;
    position: relative;
}

.entity-wide .card-header[b-79d9p8wir5] {
    background: transparent;
}

.entity-wide[b-79d9p8wir5] {
    position: relative;
}

.entity-offer-banner[b-79d9p8wir5] {
    position: absolute;
    top: -0.5rem;
    left: 0.45rem;
    z-index: 3;
    max-width: calc(100% - 0.9rem);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: #198754;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



/* _content/Sunflower.WebUi.Components/SharedComponents/Cards/InvoiceCard.razor.rz.scp.css */
/* ---------------------------------------------------------
   Premium Invoice / Lookup Card UI
   Matches your invoice-card design
   --------------------------------------------------------- */
:root[b-mat8qwvag0],
.invoice-card[b-mat8qwvag0] {
    --invoice-primary: #2563eb;
    --invoice-primary-dark: #1d4ed8;
    --invoice-soft: #eff6ff;
    --invoice-bg: #ffffff;
    --invoice-field-bg: #f8fafc;
    --invoice-border: rgba(148, 163, 184, .22);
    --invoice-text: #0f172a;
    --invoice-muted: #64748b;
    --invoice-radius: .65rem;
    --invoice-control-height: 3.7rem;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*[b-mat8qwvag0] {
    box-sizing: border-box;
}

body[b-mat8qwvag0] {
    margin: 0;
    background: #f8fafc;
    color: var(--invoice-text);
}

button[b-mat8qwvag0], input[b-mat8qwvag0], select[b-mat8qwvag0] {
    font: inherit;
}

.preview-shell[b-mat8qwvag0] {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 16px 42px;
}

.preview-title[b-mat8qwvag0] {
    margin: 0 0 .25rem;
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: -.025em;
}

.preview-subtitle[b-mat8qwvag0] {
    margin: 0 0 1rem;
    color: var(--invoice-muted);
    font-size: .92rem;
}

.invoice-page-layout[b-mat8qwvag0] {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 1rem;
    align-items: start;
}

/* Existing invoice card classes retained */
.invoice-card[b-mat8qwvag0] {
    background: var(--invoice-bg);
    border: 1px solid var(--invoice-border);
    border-radius: var(--invoice-radius);
    box-shadow: none;
    overflow: hidden;
}

.invoice-card-head[b-mat8qwvag0] {
    padding: .75rem .9rem;
    background: #fff;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    box-shadow: none;
}

    .invoice-card-head .title[b-mat8qwvag0] {
        color: var(--invoice-text);
        font-size: 1rem;
        font-weight: 850;
        letter-spacing: -.015em;
    }

.invoice-card-body[b-mat8qwvag0] {
    padding: .9rem;
    background: #fff;
    box-shadow: none;
}

.invoice-card-footer[b-mat8qwvag0] {
    padding: .65rem .9rem;
    background: #f8fafc;
    border-top: 1px solid rgba(148, 163, 184, .16);
    box-shadow: none;
}

.status-pill[b-mat8qwvag0] {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .32rem .6rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 850;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: none;
}

.d-flex[b-mat8qwvag0] {
    display: flex;
}

.align-items-center[b-mat8qwvag0] {
    align-items: center;
}

.gap-2[b-mat8qwvag0] {
    gap: .5rem;
}

.flex-wrap[b-mat8qwvag0] {
    flex-wrap: wrap;
}

.ms-auto[b-mat8qwvag0] {
    margin-left: auto;
}

.mt-2[b-mat8qwvag0] {
    margin-top: .5rem;
}

.small[b-mat8qwvag0] {
    font-size: .82rem;
}

.text-muted[b-mat8qwvag0] {
    color: var(--invoice-muted);
}

.fw-semibold[b-mat8qwvag0] {
    font-weight: 700;
}

.fw-bold[b-mat8qwvag0] {
    font-weight: 900;
}

.row[b-mat8qwvag0] {
    display: flex;
    flex-wrap: wrap;
    margin: -.25rem;
}

    .row > [class*="col-"][b-mat8qwvag0] {
        padding: .25rem;
    }

.col-12[b-mat8qwvag0] {
    width: 100%;
}

.col-md-4[b-mat8qwvag0] {
    width: 33.3333%;
}

.col-lg-5[b-mat8qwvag0] {
    width: 41.6667%;
}

.col-lg-7[b-mat8qwvag0] {
    width: 58.3333%;
}

.col-sm-4[b-mat8qwvag0] {
    width: 33.3333%;
}

.col-sm-6[b-mat8qwvag0] {
    width: 50%;
}

.control-label[b-mat8qwvag0] {
    display: block;
    margin-bottom: .25rem;
    color: var(--invoice-muted);
    font-size: .7rem;
    font-weight: 700;
}

.form-control[b-mat8qwvag0],
.form-select[b-mat8qwvag0] {
    width: 100%;
    height: var(--invoice-control-height);
    border: 1px solid rgba(148,163,184,.38);
    border-radius: .25rem;
    padding: .5rem .7rem;
    background: #fff;
    color: var(--invoice-text);
    font-weight: 650;
    outline: none;
    box-shadow: none;
}

    .form-control:focus[b-mat8qwvag0],
    .form-select:focus[b-mat8qwvag0] {
        border-color: rgba(37,99,235,.55);
        box-shadow: none;
    }

.input-group[b-mat8qwvag0] {
    display: flex;
    height: var(--invoice-control-height);
}

    .input-group .form-control[b-mat8qwvag0] {
        min-width: 0;
        flex: 1 1 auto;
        border-radius: .25rem 0 0 .25rem;
    }

.input-group-text[b-mat8qwvag0] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    border: 1px solid rgba(148,163,184,.35);
    border-left: 0;
    border-radius: 0 .25rem .25rem 0;
    background: #f1f5f9;
    color: #475569;
    font-weight: 800;
    padding: 0 .65rem;
}

.invoice-card input[readonly][b-mat8qwvag0] {
    background: var(--invoice-field-bg);
    color: var(--invoice-text);
    font-weight: 750;
}

.invoice-card input.fw-bold[readonly][b-mat8qwvag0] {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 900 !important;
}

.pricing-adjustment-panel[b-mat8qwvag0] {
    min-height: var(--invoice-control-height);
    border: 0;
    border-radius: .45rem;
    background: var(--invoice-field-bg);
    padding: .5rem .6rem;
}

.pricing-adjustment-title[b-mat8qwvag0] {
    color: var(--invoice-muted);
    font-size: .75rem;
    font-weight: 750;
    margin-bottom: .25rem;
}

.badge[b-mat8qwvag0] {
    display: inline-block;
    padding: .3rem .48rem;
    border-radius: .35rem;
    font-size: .72rem;
    font-weight: 800;
    margin: .1rem .15rem .1rem 0;
    border: 0;
    box-shadow: none;
}

.bg-primary-subtle[b-mat8qwvag0] {
    background: #eff6ff;
    color: #1d4ed8;
}

.bg-success-subtle[b-mat8qwvag0] {
    background: #ecfdf5;
    color: #166534;
}

.bg-warning-subtle[b-mat8qwvag0] {
    background: #fff7ed;
    color: #92400e;
}

.bg-secondary-subtle[b-mat8qwvag0] {
    background: #f1f5f9;
    color: #475569;
}

.footer-line[b-mat8qwvag0] {
    display: flex;
    align-items: center;
    gap: .7rem;
    overflow: auto;
    white-space: nowrap;
}

/* New classes only for the new right-side invoice summary */
.invoice-summary-card[b-mat8qwvag0] {
    background: #fff;
    border: 1px solid var(--invoice-border);
    border-radius: var(--invoice-radius);
    padding: .9rem;
    box-shadow: none;
}

.invoice-summary-head[b-mat8qwvag0] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid rgba(148,163,184,.16);
}

.invoice-summary-kicker[b-mat8qwvag0] {
    color: var(--invoice-muted);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.invoice-summary-number[b-mat8qwvag0] {
    margin-top: .08rem;
    font-size: 1rem;
    font-weight: 880;
    letter-spacing: -.015em;
}

.payment-status[b-mat8qwvag0] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 30px;
    padding: .32rem .6rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: .74rem;
    font-weight: 850;
    white-space: nowrap;
}

.payment-status-dot[b-mat8qwvag0] {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: currentColor;
}

.invoice-balance-panel[b-mat8qwvag0] {
    margin-top: .7rem;
    padding: .85rem .9rem;
    border-radius: .55rem;
    background: #f8fafc;
}

.invoice-balance-label[b-mat8qwvag0] {
    color: var(--invoice-muted);
    font-size: .76rem;
    font-weight: 750;
}

.invoice-balance-value[b-mat8qwvag0] {
    margin-top: .04rem;
    font-size: clamp(1.7rem, 4vw, 2.15rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.045em;
}

.invoice-balance-note[b-mat8qwvag0] {
    margin-top: .2rem;
    color: var(--invoice-muted);
    font-size: .78rem;
}

.invoice-payment-grid[b-mat8qwvag0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
    margin-top: .65rem;
}

.invoice-payment-metric[b-mat8qwvag0] {
    padding: .65rem .7rem;
    border-radius: .45rem;
    background: #f8fafc;
}

.invoice-payment-label[b-mat8qwvag0] {
    color: var(--invoice-muted);
    font-size: .7rem;
    font-weight: 700;
}

.invoice-payment-value[b-mat8qwvag0] {
    margin-top: .12rem;
    font-size: .96rem;
    font-weight: 850;
}

.invoice-summary-facts[b-mat8qwvag0] {
    margin-top: .75rem;
}

.invoice-summary-row[b-mat8qwvag0] {
    display: grid;
    grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr);
    gap: .6rem;
    align-items: center;
    padding: .55rem .15rem;
    border-bottom: 1px solid rgba(148,163,184,.16);
}

    .invoice-summary-row:last-child[b-mat8qwvag0] {
        border-bottom: 0;
    }

.invoice-summary-label[b-mat8qwvag0] {
    color: var(--invoice-muted);
    font-size: .76rem;
    font-weight: 700;
}

.invoice-summary-value[b-mat8qwvag0] {
    text-align: right;
    font-size: .82rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.invoice-summary-note[b-mat8qwvag0] {
    margin-top: .7rem;
    padding: .65rem .7rem;
    border-radius: .45rem;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: .78rem;
    line-height: 1.4;
}

@media (max-width: 1020px) {
    .invoice-page-layout[b-mat8qwvag0] {
        grid-template-columns: 1fr;
    }

    .invoice-summary-card[b-mat8qwvag0] {
        order: 2;
    }
}

@media (max-width: 900px) {
    .col-lg-5[b-mat8qwvag0], .col-lg-7[b-mat8qwvag0] {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .col-md-4[b-mat8qwvag0], .col-sm-4[b-mat8qwvag0], .col-sm-6[b-mat8qwvag0] {
        width: 100%;
    }

    .invoice-card-head[b-mat8qwvag0],
    .invoice-card-body[b-mat8qwvag0],
    .invoice-card-footer[b-mat8qwvag0] {
        padding-left: .7rem;
        padding-right: .7rem;
    }
}

@media (max-width: 430px) {
    .invoice-payment-grid[b-mat8qwvag0] {
        grid-template-columns: 1fr;
    }

    .invoice-summary-row[b-mat8qwvag0] {
        grid-template-columns: 1fr;
        gap: .12rem;
    }

    .invoice-summary-value[b-mat8qwvag0] {
        text-align: left;
    }
}

/* ---------------------------------------------------------
   Fix Bootstrap input-group joining inside invoice-card
   --------------------------------------------------------- */

.invoice-card .input-group[b-mat8qwvag0] {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

    .invoice-card .input-group > .form-control[b-mat8qwvag0] {
        min-width: 0;
        flex: 1 1 auto;
    }

        /* Input is the first item */
        .invoice-card .input-group > .form-control:not(:last-child)[b-mat8qwvag0] {
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }

    /* T / $ addon is attached to the input */
    .invoice-card .input-group > .input-group-text[b-mat8qwvag0] {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: -1px;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: var(--lookup-control-radius) !important;
        border-bottom-right-radius: var(--lookup-control-radius) !important;
        white-space: nowrap;
    }

/*:root {
    --lookup-primary: #2563eb;
    --lookup-primary-dark: #1d4ed8;
    --lookup-soft: #eff6ff;
    --lookup-card-bg: rgba(255, 255, 255, .94);
    --lookup-border: rgba(148, 163, 184, .35);
    --lookup-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    --lookup-radius: 1.15rem;
    --lookup-text: #0f172a;
    --lookup-muted: #64748b;
}

.invoice-card {
    --invoice-control-height: 3.7rem;
}*/

/* Form controls inside card */
/*.invoice-card .form-control,
.invoice-card .form-select {
    height: var(--invoice-control-height);
    min-height: var(--invoice-control-height);
    border-radius: .2rem !important;
    border: 1px solid rgba(148, 163, 184, .38);
    background-color: rgba(255, 255, 255, .92);
    color: var(--lookup-text);
    font-weight: 650;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .045);
}

    .invoice-card .form-control:focus,
    .invoice-card .form-select:focus {
        border-color: rgba(37, 99, 235, .55);
        box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .12), 0 10px 24px rgba(15, 23, 42, .07);
    }*/

/* Floating labels */
/*.invoice-card .form-floating > label {
    color: var(--lookup-muted);
    font-weight: 700;
    font-size: .82rem;
}

.invoice-card .form-floating > .form-control:focus ~ label,
.invoice-card .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--lookup-primary);
}*/

/* Input groups */
/*.invoice-card .input-group {
    min-height: var(--invoice-control-height);
    border-radius: .9rem;
}

    .invoice-card .input-group .form-control {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .invoice-card .input-group-text,
    .invoice-card .input-group .btn {
        height: var(--invoice-control-height);
        min-height: var(--invoice-control-height);
        min-width: 3.25rem;
        justify-content: center;
        border-radius: 0 .25rem .25rem 0 !important;
        border: 1px solid rgba(148, 163, 184, .38);
        border-left: 0;
        background: linear-gradient(135deg, #f8fafc, #eff6ff);
        color: var(--lookup-primary-dark);
        font-weight: 900;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .045);
    }*/

/* Primary search button */
/*.lookup-search-group .btn-primary {
    color: #fff;
    border-color: rgba(37, 99, 235, .65);
    background: linear-gradient(135deg, var(--lookup-primary), var(--lookup-primary-dark));
}

    .lookup-search-group .btn-primary:hover {
        color: #fff;
        border-color: var(--lookup-primary-dark);
        background: linear-gradient(135deg, var(--lookup-primary-dark), #1e40af);
    }*/

/* Readonly fields */
/*.invoice-card input[readonly],
.invoice-card .form-control[readonly] {
    background: linear-gradient(135deg, rgba(248, 250, 252, .96), rgba(239, 246, 255, .78));
    color: var(--lookup-text);
    cursor: default;
}*/

/* Better spacing */
/*.invoice-card .row.g-2 {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
}*/

/* ---------------------------------------------------------
   Lookup dropdown
   --------------------------------------------------------- */

/*.invoice-card .dropdown {
    position: relative;
}

.party-lookup-menu,
.vendor-dropdown,
.product-dropdown {
    width: 100%;
    max-height: 430px;
    overflow: auto;
    z-index: 1055 !important;
    margin-top: .6rem !important;
    padding: .55rem;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(18px);
}

    .party-lookup-menu .table-responsive,
    .vendor-dropdown .table-responsive,
    .product-dropdown .table-responsive {
        overflow: visible;
    }*/

/* Action footer inside dropdown */
/*.lookup-action-footer {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: .85rem;
    padding: .65rem;
    margin-bottom: .55rem;
}

    .lookup-action-footer .btn {
        border-radius: 999px;
        font-weight: 800;
        padding: .4rem .8rem;
    }*/

/* Lookup table */
/*.lookup-table-wrap {
    border-radius: .85rem;
}

.lookup-results-table {
    border-collapse: separate;
    border-spacing: 0 .35rem;
}

    .lookup-results-table thead th {
        font-size: .72rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--lookup-muted);
        border: 0;
        background: transparent;
        padding: .4rem .75rem;
    }

    .lookup-results-table tbody tr {
        cursor: pointer;
        transition: all .15s ease;
    }

    .lookup-results-table tbody td {
        border: 0;
        background: #f8fafc;
        padding: .9rem .75rem;
        vertical-align: middle;
    }

    .lookup-results-table tbody tr td:first-child {
        border-radius: .8rem 0 0 .8rem;
    }

    .lookup-results-table tbody tr td:last-child {
        border-radius: 0 .8rem .8rem 0;
    }

    .lookup-results-table tbody tr:hover td {
        background: #eff6ff;
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(37, 99, 235, .10);
    }

.lookup-name {
    font-weight: 800;
    color: var(--lookup-text);
}

.lookup-mini-pill {
    min-height: auto;
    padding: .3rem .65rem;
    font-size: .78rem;
    box-shadow: none;
}

.truncate {
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}*/

/* Empty state */
/*.lookup-empty {
    padding: 1.25rem;
    text-align: center;
    color: var(--lookup-muted);
}

    .lookup-empty i {
        display: block;
        font-size: 1.75rem;
        color: #94a3b8;
        margin-bottom: .35rem;
    }*/

/* Disabled state */
/*.invoice-card .form-control:disabled,
.invoice-card .form-select:disabled,
.invoice-card .btn:disabled {
    opacity: .72;
    background: #f1f5f9;
    cursor: not-allowed;
}*/

/* _content/Sunflower.WebUi.Components/SharedComponents/Carousel/ProductionRSCarousel.razor.rz.scp.css */
body[b-x3v3inlo7z] {
}
.w-80[b-x3v3inlo7z] {
    width: 80% !important;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/CartPreviewer.razor.rz.scp.css */
body[b-xjnicbx19x] {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrolling of the whole page */
}

.page[b-xjnicbx19x] {
    margin: 0;
}

@page {
    margin: 0;
}

table[b-xjnicbx19x] {
    border-spacing: 0;
}

td[b-xjnicbx19x] {
    padding: 0;
}

img[b-xjnicbx19x] {
    border: 0;
}

.fontstylesvalue[b-xjnicbx19x] {
    font-size: 12px;
    font-weight: bold;
}

.textstart[b-xjnicbx19x] {
    text-align: start;
    padding: 1px;
    padding-left: 10px;
}

.textcenter[b-xjnicbx19x] {
    text-align: end;
    padding: 1px;
}

.textend[b-xjnicbx19x] {
    text-align: end;
    padding: 1px;
    padding-right: 10px;
}

.wrapper[b-xjnicbx19x] {
    width: 100%;
    table-layout: fixed;
    background-color: #dad5d5;
    padding-bottom: 10px;
    padding-top: 10px;
}

.main[b-xjnicbx19x] {
    background-color: #ffffff;
    margin: 0 auto;
    width: 100%;
    max-width: 290px;
    border-spacing: 0;
    font-family: sans-serif;
    color: #171a1b;
    overflow: hidden; /* Ensure the receipt height adjusts to content */
    page-break-inside: avoid;
    height: 50vh;
}

@media print {
    .main[b-xjnicbx19x] {
        margin-top: 0;
    }
}


.two-columns[b-xjnicbx19x] {
    text-align: center;
    font-size: 0;
}

    .two-columns .column[b-xjnicbx19x] {
        width: 100;
        max-width: auto;
        display: inline-block;
        vertical-align: top;
    }

.button[b-xjnicbx19x] {
    background-color: blue;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 0px;
    font-weight: bold;
}

.print-container[b-xjnicbx19x] {
    height: 80vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    width: 50vw;
}

@media (max-width: 576px) {
    .print-container[b-xjnicbx19x] {
        width: 90%; /* 90% of the screen width */
        min-width: 300px; /* Minimum width for small screens */
        margin: 0 auto;
    }

    .print-container[b-xjnicbx19x] {
        height: 80vh; /* Minimum height for modal content */
    }
}

.print-header[b-xjnicbx19x] {
    /* Keeps the header at the top */
    top: 0;
    left: 0;
    width: 100%;
    /*background-color: #007bff;*/
    background-color: white;
    color: white;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.print-body[b-xjnicbx19x] {
    flex: 1;
    margin-top: 5px; /* Prevent content overlap with fixed header */
    overflow-y: auto; /* Enables vertical scrolling for content */
    padding: 5px;
    background-color: #f4f4f4;
}

.print-preview[b-xjnicbx19x] {
    background-color: white;
    padding: 20px;
    margin: auto;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 2200px;
    height: 100%;
}

.print-header a[b-xjnicbx19x] {
    color: white;
    text-decoration: none;
}

.print-header .bi[b-xjnicbx19x] {
    font-size: 2rem;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/CategoryWizardPanel.razor.rz.scp.css */
/*
    Category Wizard workspace styles moved to:
    Sunflower.WebUi.Components/wwwroot/css/shared-component-foundations.css

    The shared stylesheet is loaded by Payroll and the other hosts through
    _content/Sunflower.WebUi.Components/css/shared-component-foundations.css.
*/

/* _content/Sunflower.WebUi.Components/SharedComponents/Charts/RSCharts.razor.rz.scp.css */
.rs-charts-container[b-z7dxmmaf1m] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.rs-charts-header[b-z7dxmmaf1m] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.rs-charts-header h5[b-z7dxmmaf1m] {
    margin: 0;
    font-weight: 600;
    color: #1f2937;
}

.chart-controls[b-z7dxmmaf1m] {
    display: flex;
    gap: 0.5rem;
    grid-column: 2;
    justify-self: center;
}

.chart-controls .btn-group[b-z7dxmmaf1m] {
    display: flex;
    gap: 0;
}

.chart-controls .btn[b-z7dxmmaf1m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1;
    transition: all 0.2s ease-in-out;
}

.chart-type-label[b-z7dxmmaf1m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    line-height: 1;
}

.chart-type-label i[b-z7dxmmaf1m] {
    line-height: 1;
}

.chart-controls .btn-outline-primary[b-z7dxmmaf1m] {
    border-color: #6366f1;
    color: #6366f1;
}

.chart-controls .btn-outline-primary:hover[b-z7dxmmaf1m] {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.chart-controls .btn-check:checked + .btn-outline-primary[b-z7dxmmaf1m] {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.rs-charts-body[b-z7dxmmaf1m] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 0.25rem;
    padding: 1rem;
}

.chart-wrapper[b-z7dxmmaf1m] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-wrapper canvas[b-z7dxmmaf1m] {
    max-width: 100%;
    height: auto;
}

.rs-charts-footer[b-z7dxmmaf1m] {
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.rs-charts-footer small[b-z7dxmmaf1m] {
    display: block;
    margin: 0.25rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .rs-charts-container[b-z7dxmmaf1m] {
        padding: 0.75rem;
    }

    .rs-charts-header[b-z7dxmmaf1m] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .chart-controls[b-z7dxmmaf1m] {
        grid-column: 1;
        justify-self: stretch;
        width: 100%;
    }

    .chart-controls .btn-group[b-z7dxmmaf1m] {
        width: 100%;
    }

    .chart-controls .btn[b-z7dxmmaf1m] {
        flex: 1;
    }

    .rs-charts-footer[b-z7dxmmaf1m] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .rs-charts-footer .col-md-6:last-child[b-z7dxmmaf1m] {
        text-align: left !important;
    }
}

@media (max-width: 576px) {
    .chart-controls .btn[b-z7dxmmaf1m] {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .chart-controls .btn i[b-z7dxmmaf1m] {
        display: none;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/CustomerWizardPanel.razor.rz.scp.css */
/*
    CustomerWizardPanel.razor.css
    Commercial Customer wizard redesign using the isolated ctw-* namespace.

    This file is component-scoped. Keep it beside CustomerWizardPanel.razor.
    The ::deep selectors are intentional because InputText, InputSelect,
    ValidationMessage, and EditForm render child component markup.
*/

.ctw-customer-workspace[b-td305csl7i] {
    --ctw-primary: #2563eb;
    --ctw-primary-dark: #1d4ed8;
    --ctw-primary-soft: #eff6ff;
    --ctw-success: #15803d;
    --ctw-danger: #b91c1c;
    --ctw-text: #0f172a;
    --ctw-text-soft: #334155;
    --ctw-muted: #64748b;
    --ctw-border: #dbe3ef;
    --ctw-border-soft: #e8edf4;
    --ctw-surface: #ffffff;
    --ctw-surface-soft: #f8fafc;
    --ctw-radius: .25rem;
    --ctw-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    --ctw-control-height: 3.65rem;
    --ctw-validation-height: 1.1rem;
    position: relative;
    min-height: 100%;
    overflow: visible;
    color: var(--ctw-text);
    background: transparent;
}

    .ctw-host-offcanvas[b-td305csl7i] {
        width: 100%;
        max-width: 100%;
    }

    .ctw-customer-workspace[b-td305csl7i]  * {
        box-sizing: border-box;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-workspace {
        /*container-type: inline-size;*/
        width: min(1280px, 100%);
        margin-inline: auto;
        padding: 1rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-workspace {
        width: 100%;
        max-width: 100%;
        padding: .35rem;
        container-type: inline-size;
    }

    /* ==========================================================================
   PAGE HEADER
   ========================================================================== */

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1rem;
        align-items: end;
        padding: .15rem 0 1rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-heading {
        min-width: 0;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-kicker {
        display: flex;
        align-items: center;
        gap: .5rem;
        color: var(--ctw-primary);
        font-size: .66rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-page-kicker::before {
            content: "";
            width: 1.6rem;
            height: 2px;
            background: var(--ctw-primary);
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-title {
        margin: .35rem 0 .25rem;
        color: var(--ctw-text);
        font-size: clamp(1.7rem, 3vw, 2.25rem);
        font-weight: 700;
        line-height: 1.06;
        letter-spacing: -.04em;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-description {
        max-width: 46rem;
        margin: 0;
        color: var(--ctw-muted);
        font-size: .82rem;
        line-height: 1.6;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-meta {
        display: flex;
        align-items: center;
        gap: .6rem;
        padding-bottom: .15rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-mode-pill {
        display: inline-flex;
        align-items: center;
        gap: .42rem;
        padding: .48rem .68rem;
        border: 1px solid #bfdbfe;
        border-radius: var(--ctw-radius);
        background: rgba(239, 246, 255, .9);
        color: var(--ctw-primary-dark);
        font-size: .7rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-mode-dot {
        width: .45rem;
        height: .45rem;
        border-radius: 50%;
        background: currentColor;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-progress {
        color: var(--ctw-muted);
        font-size: .68rem;
        white-space: nowrap;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-page-progress strong {
            color: var(--ctw-text);
        }

    /* ==========================================================================
   FRAME + STEPPER
   ========================================================================== */

    .ctw-customer-workspace[b-td305csl7i]  .ctw-frame {
        display: block;
        overflow: hidden;
        border: 1px solid rgba(203, 213, 225, .9);
        border-radius: var(--ctw-radius);
        background: var(--ctw-surface);
        /*box-shadow: var(--ctw-shadow);*/
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-stepper {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-bottom: 1px solid var(--ctw-border);
        background: #fbfdff;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step {
        position: relative;
        display: grid;
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: .7rem;
        align-items: center;
        min-width: 0;
        min-height: 4.6rem;
        padding: .85rem 1rem;
        border-right: 1px solid var(--ctw-border-soft);
        color: var(--ctw-muted);
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-step:last-child {
            border-right: 0;
        }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-step::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            height: 2px;
            background: transparent;
        }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-step.is-active {
            background: #fff;
            color: var(--ctw-text);
        }

            .ctw-customer-workspace[b-td305csl7i]  .ctw-step.is-active::after {
                background: var(--ctw-primary);
            }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-step.is-done {
            color: var(--ctw-success);
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step-number {
        display: grid;
        place-items: center;
        width: 2rem;
        height: 2rem;
        border: 1px solid var(--ctw-border);
        border-radius: var(--ctw-radius);
        background: #fff;
        font-size: .72rem;
        font-weight: 800;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step.is-active .ctw-step-number {
        border-color: var(--ctw-primary);
        background: var(--ctw-primary);
        color: #fff;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step.is-done .ctw-step-number {
        border-color: rgba(21, 128, 61, .35);
        background: #f0fdf4;
        color: var(--ctw-success);
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step-copy {
        min-width: 0;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step-title {
        overflow: hidden;
        font-size: .77rem;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step-text {
        overflow: hidden;
        margin-top: .1rem;
        color: var(--ctw-muted);
        font-size: .64rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

    .ctw-customer-workspace[b-td305csl7i]  .ctw-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 19rem;
        min-height: 34rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-form-area {
        min-width: 0;
        padding: 1.5rem 1.6rem 1.2rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-section-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 1.15rem;
        border-bottom: 1px solid var(--ctw-border-soft);
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-section-index {
        display: inline-flex;
        align-items: center;
        color: var(--ctw-primary);
        font-size: .65rem;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-section-title {
        margin: .45rem 0 .25rem;
        color: var(--ctw-text);
        font-size: 1.28rem;
        font-weight: 700;
        letter-spacing: -.025em;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-section-text {
        max-width: 42rem;
        margin: 0;
        color: var(--ctw-muted);
        font-size: .75rem;
        line-height: 1.55;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-required-note {
        flex: 0 0 auto;
        color: var(--ctw-muted);
        font-size: .65rem;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-required-note strong {
            color: var(--ctw-danger);
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step-content {
        padding-top: 1.25rem;
    }

    /* ==========================================================================
   FORM GRID + CONTROLS
   ========================================================================== */

    .ctw-customer-workspace[b-td305csl7i]  .ctw-form-grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: .9rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-field {
        display: block;
        width: auto;
        min-width: 0;
        height: auto;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-12 {
        grid-column: span 12;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-8 {
        grid-column: span 8;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-7 {
        grid-column: span 7;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-6 {
        grid-column: span 6;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-5 {
        grid-column: span 5;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-4 {
        grid-column: span 4;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-label {
        display: block;
        margin-bottom: .38rem;
        color: var(--ctw-text-soft);
        font-size: .7rem;
        font-weight: 750;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-control {
        display: block;
        width: 100%;
        min-width: 0;
        min-height: var(--ctw-control-height);
        padding: .8rem .9rem;
        border: 1px solid var(--ctw-border);
        border-inline-start: .28rem solid rgba(37, 99, 235, .32);
        border-radius: var(--ctw-radius);
        background: #fff;
        color: var(--ctw-text);
        outline: 0;
        box-shadow: none;
        transition: border-color .16s ease, border-inline-start-color .16s ease, box-shadow .16s ease, background-color .16s ease;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-control:hover {
            border-color: #cbd5e1;
            border-inline-start-color: rgba(37, 99, 235, .5);
        }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-control:focus {
            border-color: var(--ctw-primary);
            border-inline-start-color: var(--ctw-primary);
            box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .1);
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-control-readonly {
        background: #f8fafc;
        color: #475569;
        cursor: default;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-select {
        cursor: pointer;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-validation-slot {
        min-height: var(--ctw-validation-height);
        margin-top: .28rem;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-validation-slot .validation-message,
        .ctw-customer-workspace[b-td305csl7i]  .ctw-validation-slot .text-danger {
            display: block;
            min-height: 0;
            margin: 0;
            color: var(--ctw-danger);
            font-size: .63rem;
            line-height: 1.35;
        }

    /* Status control */

    .ctw-customer-workspace[b-td305csl7i]  .ctw-status-control {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        min-height: var(--ctw-control-height);
        padding: .7rem .8rem;
        border: 1px solid var(--ctw-border);
        border-inline-start: .28rem solid #cbd5e1;
        border-radius: var(--ctw-radius);
        background: #fff;
        color: var(--ctw-text-soft);
        text-align: left;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-status-control:hover {
            border-color: #cbd5e1;
            background: #f8fafc;
        }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-status-control.is-active {
            border-color: rgba(21, 128, 61, .35);
            border-inline-start-color: var(--ctw-success);
            background: #f7fff9;
            color: var(--ctw-success);
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-status-eyebrow {
        display: block;
        color: var(--ctw-muted);
        font-size: .6rem;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-status-value {
        display: block;
        margin-top: .15rem;
        font-size: .72rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-toggle {
        position: relative;
        flex: 0 0 2.75rem;
        width: 2.75rem;
        height: 1.5rem;
        border-radius: 999px;
        background: #cbd5e1;
        transition: background-color .18s ease;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-toggle.on {
            background: var(--ctw-success);
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-toggle-knob {
        position: absolute;
        top: .18rem;
        left: .18rem;
        width: 1.14rem;
        height: 1.14rem;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 3px rgba(15, 23, 42, .22);
        transition: transform .18s ease;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-toggle.on .ctw-toggle-knob {
        transform: translateX(1.25rem);
    }

    /* Notes and alerts */

    .ctw-customer-workspace[b-td305csl7i]  .ctw-inline-note {
        display: grid;
        grid-template-columns: 1.7rem minmax(0, 1fr);
        gap: .7rem;
        margin-top: 1.15rem;
        padding: .8rem;
        border: 1px solid #dbeafe;
        border-radius: var(--ctw-radius);
        background: linear-gradient(90deg, #f8fbff, #fff);
        color: var(--ctw-muted);
        font-size: .65rem;
        line-height: 1.45;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-inline-note strong {
            display: block;
            margin-bottom: .12rem;
            color: var(--ctw-text);
            font-size: .72rem;
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-note-icon {
        display: grid;
        place-items: center;
        width: 1.7rem;
        height: 1.7rem;
        border-radius: var(--ctw-radius);
        background: #dbeafe;
        color: var(--ctw-primary-dark);
        font-size: .72rem;
        font-weight: 900;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-alert-danger {
        margin-bottom: 1rem;
        padding: .75rem .85rem;
        border: 1px solid #fecaca;
        border-radius: var(--ctw-radius);
        background: #fff7f7;
        color: var(--ctw-danger);
        font-size: .72rem;
        font-weight: 650;
    }

    /* ==========================================================================
   LIVE INSPECTOR
   ========================================================================== */

    .ctw-customer-workspace[b-td305csl7i]  .ctw-inspector {
        border-left: 1px solid var(--ctw-border);
        background: #fbfdff;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-inspector-inner {
        position: sticky;
        top: 1rem;
        padding: 1.2rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-inspector-label {
        color: var(--ctw-muted);
        font-size: .62rem;
        font-weight: 800;
        letter-spacing: .11em;
        text-transform: uppercase;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-record {
        display: grid;
        grid-template-columns: 2.6rem minmax(0, 1fr);
        gap: .75rem;
        align-items: center;
        margin-top: .75rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--ctw-border);
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-record-icon {
        display: grid;
        place-items: center;
        width: 2.6rem;
        height: 2.6rem;
        border-radius: var(--ctw-radius);
        background: var(--ctw-primary-soft);
        color: var(--ctw-primary-dark);
        font-size: 1.05rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-record-copy {
        min-width: 0;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-record-name {
        display: block;
        overflow: hidden;
        color: var(--ctw-text);
        font-size: .8rem;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-record-subtitle {
        display: block;
        margin-top: .15rem;
        color: var(--ctw-muted);
        font-size: .63rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-data-list {
        display: grid;
        margin-top: .4rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-data-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: .68rem 0;
        border-bottom: 1px solid var(--ctw-border-soft);
        font-size: .67rem;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-data-row span {
            color: var(--ctw-muted);
        }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-data-row strong {
            max-width: 10rem;
            overflow: hidden;
            color: var(--ctw-text-soft);
            text-align: right;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-health-card {
        margin-top: 1rem;
        padding: .85rem;
        border: 1px solid #dcfce7;
        border-radius: var(--ctw-radius);
        background: #f7fff9;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-health-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        color: var(--ctw-success);
        font-size: .68rem;
        font-weight: 800;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-progress-track {
        width: 100%;
        height: .35rem;
        margin-top: .65rem;
        overflow: hidden;
        border-radius: var(--ctw-radius);
        background: #dcfce7;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-progress-bar {
        height: 100%;
        background: var(--ctw-success);
        transition: width .2s ease;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-workflow-list {
        display: grid;
        gap: .42rem;
        margin-top: .75rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-workflow-item {
        display: flex;
        align-items: center;
        gap: .45rem;
        color: var(--ctw-muted);
        font-size: .63rem;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-workflow-item.is-active {
            color: var(--ctw-primary-dark);
            font-weight: 700;
        }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-workflow-item.is-done {
            color: var(--ctw-success);
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-workflow-icon {
        display: grid;
        place-items: center;
        width: .95rem;
        height: .95rem;
        border: 1px solid var(--ctw-border);
        border-radius: var(--ctw-radius);
        background: #fff;
        font-size: .55rem;
    }

    /* ==========================================================================
   ACTION BAR
   ========================================================================== */

    .ctw-customer-workspace[b-td305csl7i]  .ctw-actions {
        position: sticky;
        bottom: 0;
        z-index: 4;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 1rem;
        align-items: center;
        min-height: 4.5rem;
        margin: 0;
        padding: .75rem 1rem;
        border-top: 1px solid var(--ctw-border);
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(10px);
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-save-state {
        color: var(--ctw-muted);
        font-size: .64rem;
    }

        .ctw-customer-workspace[b-td305csl7i]  .ctw-save-state strong {
            color: var(--ctw-text);
        }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-actions-group {
        display: flex;
        gap: .5rem;
    }

    /* ==========================================================================
   OFFCANVAS HOST MODE
   Keep the customer wizard usable inside the narrower edit drawer without
   changing the desktop page-hosted layout.
   ========================================================================== */

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-page-header {
        grid-template-columns: 1fr;
        gap: .75rem;
        align-items: start;
        padding-bottom: .75rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-page-description {
        max-width: none;
        font-size: .76rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-page-meta {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-frame {
        display: flex;
        flex-direction: column;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-form-area {
        padding: 1rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-section-text {
        max-width: none;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-inspector {
        display: none;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-actions {
        grid-template-columns: 1fr;
        gap: .75rem;
        min-height: 0;
        padding: .75rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-save-state {
        text-align: left;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-actions-group {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: stretch;
        width: 100%;
    }

        .ctw-host-offcanvas[b-td305csl7i]  .ctw-actions-group > * {
            min-width: 0;
        }

    /* Shared cf-* action button styles are provided globally by app.css. */

    /* ==========================================================================
   ANIMATION
   ========================================================================== */

    .ctw-customer-workspace[b-td305csl7i]  .step-fade {
        animation: ctwCustomerStepFade-b-td305csl7i .22s ease;
    }

@container (max-width: 52rem) {
    .ctw-host-offcanvas[b-td305csl7i]  .ctw-step {
        min-height: 4rem;
        padding: .7rem .75rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-step-title {
        font-size: .72rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-step-text {
        font-size: .6rem;
    }
}

@container (max-width: 42rem) {
    .ctw-host-offcanvas[b-td305csl7i]  .ctw-workspace {
        padding: .2rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-page-meta {
        gap: .45rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-step {
        display: flex;
        justify-content: center;
        min-height: 3.3rem;
        padding: .5rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-step-copy {
        display: none;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-section-header {
        flex-direction: column;
        gap: .65rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-form-area {
        padding: .8rem;
    }
}

@container (max-width: 32rem) {
    .ctw-host-offcanvas[b-td305csl7i]  .ctw-page-title {
        font-size: 1.35rem;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-mode-pill,
    .ctw-host-offcanvas[b-td305csl7i]  .ctw-page-progress {
        width: 100%;
    }

    .ctw-host-offcanvas[b-td305csl7i]  .ctw-actions-group {
        grid-template-columns: 1fr;
    }
}

@keyframes ctwCustomerStepFade-b-td305csl7i {
    from {
        opacity: 0;
        transform: translateY(.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   CONTENT-AWARE RESPONSIVENESS
   The component responds to the space left by MainLayout's sidebar.
   ========================================================================== */

@container (max-width: 60rem) {
    .ctw-customer-workspace[b-td305csl7i]  .ctw-body {
        grid-template-columns: 1fr;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-inspector {
        display: none;
    }
}

@container (max-width: 44rem) {
    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-meta {
        justify-content: space-between;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step {
        display: flex;
        justify-content: center;
        min-height: 3.45rem;
        padding: .55rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step-copy {
        display: none;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-form-area {
        padding: 1rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-section-header {
        flex-direction: column;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-12,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-8,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-7,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-6,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-5,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-4 {
        grid-column: span 12;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-actions {
        grid-template-columns: 1fr;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-save-state {
        display: none;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-actions-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ctw-customer-workspace[b-td305csl7i]  .cf-action-button.primary,
    .ctw-customer-workspace[b-td305csl7i]  .cf-action-button.success {
        grid-column: 1 / -1;
    }
}

/* Viewport fallbacks for browsers without container-query support. */

@media (max-width: 991.98px) {
    .ctw-customer-workspace[b-td305csl7i]  .ctw-body {
        grid-template-columns: 1fr;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-inspector {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .ctw-customer-workspace[b-td305csl7i]  .ctw-workspace {
        padding: .65rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-page-meta {
        justify-content: space-between;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step {
        display: flex;
        justify-content: center;
        min-height: 3.45rem;
        padding: .55rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-step-copy {
        display: none;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-form-area {
        padding: 1rem;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-section-header {
        flex-direction: column;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-12,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-8,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-7,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-6,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-5,
    .ctw-customer-workspace[b-td305csl7i]  .ctw-col-4 {
        grid-column: span 12;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-actions {
        grid-template-columns: 1fr;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-save-state {
        display: none;
    }

    .ctw-customer-workspace[b-td305csl7i]  .ctw-actions-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ctw-customer-workspace[b-td305csl7i]  .cf-action-button.primary,
    .ctw-customer-workspace[b-td305csl7i]  .cf-action-button.success {
        grid-column: 1 / -1;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Dropdown/PartyLookupDropdown.razor.rz.scp.css */
:root[b-n8ab2emesh],
.invoice-card[b-n8ab2emesh] {
    --lookup-primary: #2563eb;
    --lookup-primary-dark: #1d4ed8;
    --lookup-soft: #eff6ff;
    --lookup-card-bg: rgba(255, 255, 255, .94);
    --lookup-border: rgba(148, 163, 184, .35);
    --lookup-radius: .25rem;
    --lookup-control-radius: .25rem;
    --lookup-search-height: 3.7rem;
    --lookup-text: #0f172a;
    --lookup-muted: #64748b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*[b-n8ab2emesh] {
    box-sizing: border-box;
}

body[b-n8ab2emesh] {
    margin: 0;
    background: #f8fafc;
    color: var(--lookup-text);
}

.preview-shell[b-n8ab2emesh] {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

.preview-title[b-n8ab2emesh] {
    font-size: 1.45rem;
    font-weight: 850;
    margin: 0 0 .25rem;
}

.preview-subtitle[b-n8ab2emesh] {
    margin: 0 0 1rem;
    color: var(--lookup-muted);
}

.customer-account-layout[b-n8ab2emesh] {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 1rem;
    align-items: start;
}

.invoice-card[b-n8ab2emesh] {
    background: var(--lookup-card-bg);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: .75rem;
}

.invoice-card-body[b-n8ab2emesh] {
    padding: .9rem;
}

.row[b-n8ab2emesh] {
    display: flex;
    flex-wrap: wrap;
    margin: -.25rem;
}

    .row > [class*="col-"][b-n8ab2emesh] {
        padding: .25rem;
    }

.col-12[b-n8ab2emesh] {
    width: 100%;
}

.col-md-8[b-n8ab2emesh] {
    width: 66.666667%;
}

.col-md-6[b-n8ab2emesh] {
    width: 50%;
}

.col-md-4[b-n8ab2emesh] {
    width: 33.333333%;
}

.customer-tall[b-n8ab2emesh],
.form-control-tall[b-n8ab2emesh],
.form-select.form-control-tall[b-n8ab2emesh],
.btn-tall[b-n8ab2emesh] {
    height: var(--lookup-search-height);
    min-height: var(--lookup-search-height);
}

.lookup-search-shell[b-n8ab2emesh] {
    position: relative;
    border-radius: var(--lookup-control-radius);
    padding: 0;
    background: transparent;
}

    .lookup-search-shell .input-group[b-n8ab2emesh] {
        display: flex;
        height: var(--lookup-search-height);
        min-height: var(--lookup-search-height);
        align-items: stretch;
        border-radius: var(--lookup-control-radius);
        overflow: hidden;
    }

    .lookup-search-shell .form-control[b-n8ab2emesh],
    .lookup-search-shell input.form-control[b-n8ab2emesh] {
        flex: 1 1 auto;
        min-width: 0;
        height: var(--lookup-search-height) !important;
        min-height: var(--lookup-search-height) !important;
        border-radius: var(--lookup-control-radius) 0 0 var(--lookup-control-radius) !important;
        border: 1px solid rgba(148, 163, 184, .38) !important;
        border-right: 0 !important;
        background-color: rgba(255, 255, 255, .96);
        color: var(--lookup-text);
        font-weight: 650;
        padding-left: 1rem;
        outline: none;
    }

        .lookup-search-shell .form-control[b-n8ab2emesh]::placeholder {
            color: #94a3b8;
            font-weight: 600;
        }

        .lookup-search-shell .form-control:focus[b-n8ab2emesh] {
            border-color: rgba(37, 99, 235, .55) !important;
        }

    .lookup-search-shell .btn[b-n8ab2emesh],
    .lookup-search-shell button.btn[b-n8ab2emesh] {
        min-width: 3.75rem;
        height: var(--lookup-search-height) !important;
        min-height: var(--lookup-search-height) !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        line-height: 1;
        border-radius: 0 var(--lookup-control-radius) var(--lookup-control-radius) 0 !important;
        border: 1px solid rgba(37, 99, 235, .65) !important;
        border-left: 0 !important;
        color: #fff;
        background: linear-gradient(135deg, var(--lookup-primary), var(--lookup-primary-dark));
        font-weight: 900;
        cursor: pointer;
    }

.search-icon[b-n8ab2emesh] {
    width: 17px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

    .search-icon[b-n8ab2emesh]::after {
        content: "";
        position: absolute;
        width: 7px;
        height: 2px;
        background: currentColor;
        right: -6px;
        bottom: -3px;
        transform: rotate(45deg);
    }

.customer-search .dropdown[b-n8ab2emesh],
.invoice-section .dropdown[b-n8ab2emesh],
.invoice-card .dropdown[b-n8ab2emesh] {
    position: relative;
    z-index: 1090;
}

.party-lookup-menu[b-n8ab2emesh],
.vendor-dropdown[b-n8ab2emesh],
.product-dropdown[b-n8ab2emesh] {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + .6rem);
    width: 100%;
    min-width: 380px;
    max-height: 430px;
    overflow: auto;
    z-index: 1100 !important;
    margin-top: 0 !important;
    padding: .55rem;
    list-style: none;
    border: 1px solid rgba(148, 163, 184, .32);
    background: rgba(255, 255, 255, .98);
    border-radius: .55rem;
}

    .party-lookup-menu.show[b-n8ab2emesh] {
        display: block;
    }

.lookup-action-bar[b-n8ab2emesh] {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: .2rem;
    padding: .65rem;
    margin-bottom: .55rem;
}

    .lookup-action-bar .btn[b-n8ab2emesh] {
        border-radius: 999px;
        font-weight: 800;
        padding: .4rem .85rem;
        cursor: pointer;
    }

    .lookup-action-bar .btn-outline-primary[b-n8ab2emesh] {
        border: 1px solid rgba(37, 99, 235, .65);
        color: #fff;
        background: linear-gradient(135deg, var(--lookup-primary), var(--lookup-primary-dark));
    }

    .lookup-action-bar .btn-outline-secondary[b-n8ab2emesh] {
        border: 1px solid rgba(148, 163, 184, .45);
        color: #334155;
        background: rgba(255, 255, 255, .8);
    }

.lookup-results-table[b-n8ab2emesh] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 .35rem;
}

    .lookup-results-table thead th[b-n8ab2emesh] {
        font-size: .72rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: var(--lookup-muted);
        border: 0;
        background: transparent;
        padding: .4rem .75rem;
        text-align: left;
    }

    .lookup-results-table tbody tr[b-n8ab2emesh] {
        cursor: pointer;
    }

    .lookup-results-table tbody td[b-n8ab2emesh] {
        border: 0;
        background: #f8fafc;
        padding: .9rem .75rem;
        vertical-align: middle;
    }

    .lookup-results-table tbody tr td:first-child[b-n8ab2emesh] {
        border-radius: .8rem 0 0 .8rem;
    }

    .lookup-results-table tbody tr td:last-child[b-n8ab2emesh] {
        border-radius: 0 .8rem .8rem 0;
    }

    .lookup-results-table tbody tr:hover td[b-n8ab2emesh],
    .lookup-results-table tbody tr.selected td[b-n8ab2emesh] {
        background: #eff6ff;
    }

.lookup-name[b-n8ab2emesh] {
    font-weight: 800;
    color: var(--lookup-text);
}

.lookup-muted[b-n8ab2emesh] {
    font-size: .85rem;
    color: var(--lookup-muted);
}

.truncate[b-n8ab2emesh] {
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lookup-results-table .badge[b-n8ab2emesh] {
    display: inline-block;
    border-radius: .25rem;
    padding: .45rem .75rem;
    font-weight: 800;
    color: var(--lookup-primary-dark) !important;
    background: linear-gradient(135deg, #f8fafc, #eff6ff) !important;
    border: 1px solid rgba(37, 99, 235, .22) !important;
}

/* Existing class name retained — border/shadow removed per your request */
.lookup-detail-card[b-n8ab2emesh] {
    border: 0;
    border-radius: .45rem;
    padding: .5rem .65rem;
    margin-bottom: .35rem;
    min-height: 3.35rem;
    background: rgba(248, 250, 252, .82);
}

.lookup-detail-label[b-n8ab2emesh] {
    font-size: .72rem;
    letter-spacing: .025em;
    color: #7c8ba1;
    font-weight: 700;
    margin-bottom: .18rem;
}

.lookup-detail-value[b-n8ab2emesh] {
    color: var(--lookup-text);
    font-weight: 750;
    line-height: 1.3;
}

.lookup-address-section[b-n8ab2emesh] {
    border: 0 !important;
    border-radius: .6rem;
    background: rgba(255,255,255,.8);
}

.lookup-address-section-title[b-n8ab2emesh] {
    color: var(--lookup-text);
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.2;
    padding-bottom: .5rem;
    margin-bottom: .45rem;
    border-bottom: 1px solid rgba(148,163,184,.18);
}

.billing-shipping-grid[b-n8ab2emesh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin-top: .65rem;
}

.lookup-mini-grid[b-n8ab2emesh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem;
}

/* New classes only for the new account-summary feature */
.account-summary-card[b-n8ab2emesh] {
    background: #fff;
    border: 1px solid rgba(148,163,184,.24);
    border-radius: .75rem;
    padding: .9rem;
}

.account-summary-header[b-n8ab2emesh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .75rem;
}

.account-summary-kicker[b-n8ab2emesh] {
    color: var(--lookup-muted);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.account-summary-number[b-n8ab2emesh] {
    font-weight: 850;
    margin-top: .08rem;
}

.account-status-badge[b-n8ab2emesh] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #166534;
    font-size: .76rem;
    font-weight: 850;
}

.account-status-dot[b-n8ab2emesh] {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: currentColor;
}

.account-status-badge.is-empty[b-n8ab2emesh] {
    background: #f1f5f9;
    color: #475569;
}

.account-status-badge.is-inactive[b-n8ab2emesh] {
    background: #fef2f2;
    color: #991b1b;
}

.account-balance-panel[b-n8ab2emesh] {
    background: #f8fafc;
    border-radius: .6rem;
    padding: .85rem .9rem;
}

.account-balance-label[b-n8ab2emesh] {
    color: var(--lookup-muted);
    font-size: .76rem;
    font-weight: 750;
}

.account-balance-value[b-n8ab2emesh] {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.04em;
    margin-top: .05rem;
}

.account-balance-note[b-n8ab2emesh] {
    color: var(--lookup-muted);
    font-size: .78rem;
    margin-top: .15rem;
}

.account-credit-section[b-n8ab2emesh] {
    padding: .7rem .1rem;
    border-bottom: 1px solid rgba(148,163,184,.18);
}

.account-credit-head[b-n8ab2emesh] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .8rem;
}

.account-credit-title[b-n8ab2emesh] {
    color: var(--lookup-muted);
    font-size: .76rem;
    font-weight: 700;
}

.account-credit-value[b-n8ab2emesh] {
    font-weight: 850;
    margin-top: .1rem;
}

.account-credit-limit[b-n8ab2emesh] {
    color: var(--lookup-muted);
    text-align: right;
    font-size: .76rem;
}

.account-credit-track[b-n8ab2emesh] {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-top: .55rem;
}

.account-credit-fill[b-n8ab2emesh] {
    height: 100%;
    background: var(--lookup-primary);
    width: 0;
}

.account-metric-grid[b-n8ab2emesh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
    margin-top: .65rem;
}

.account-metric[b-n8ab2emesh] {
    background: #f8fafc;
    border-radius: .45rem;
    padding: .65rem .7rem;
}

.account-metric-label[b-n8ab2emesh] {
    color: var(--lookup-muted);
    font-size: .7rem;
    font-weight: 700;
}

.account-metric-value[b-n8ab2emesh] {
    margin-top: .1rem;
    font-weight: 850;
}

.account-facts[b-n8ab2emesh] {
    margin-top: .65rem;
}

.account-fact-row[b-n8ab2emesh] {
    display: grid;
    grid-template-columns: minmax(110px,.8fr) minmax(0,1.2fr);
    gap: .6rem;
    padding: .55rem .15rem;
    border-bottom: 1px solid rgba(148,163,184,.18);
}

    .account-fact-row:last-child[b-n8ab2emesh] {
        border-bottom: 0;
    }

.account-fact-label[b-n8ab2emesh] {
    color: var(--lookup-muted);
    font-size: .76rem;
    font-weight: 700;
}

.account-fact-value[b-n8ab2emesh] {
    text-align: right;
    font-size: .82rem;
    font-weight: 800;
}

.account-note[b-n8ab2emesh] {
    margin-top: .65rem;
    padding: .65rem .7rem;
    border-radius: .45rem;
    background: #fff7ed;
    color: #7c2d12;
    font-size: .78rem;
}

@media (max-width: 980px) {
    .customer-account-layout[b-n8ab2emesh] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .col-md-8[b-n8ab2emesh],
    .col-md-6[b-n8ab2emesh],
    .col-md-4[b-n8ab2emesh] {
        width: 100%;
    }

    .party-lookup-menu[b-n8ab2emesh],
    .vendor-dropdown[b-n8ab2emesh],
    .product-dropdown[b-n8ab2emesh] {
        min-width: 300px;
        width: 90vw;
        max-width: calc(100vw - 1rem);
        max-height: 320px;
    }

    .billing-shipping-grid[b-n8ab2emesh] {
        grid-template-columns: 1fr;
    }

    .lookup-mini-grid[b-n8ab2emesh] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 430px) {
    .lookup-mini-grid[b-n8ab2emesh],
    .account-metric-grid[b-n8ab2emesh] {
        grid-template-columns: 1fr;
    }

    .account-fact-row[b-n8ab2emesh] {
        grid-template-columns: 1fr;
        gap: .15rem;
    }

    .account-fact-value[b-n8ab2emesh] {
        text-align: left;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Dropdown/ProductLookupDropdown.razor.rz.scp.css */
.customer-search[b-nvjy8jww31] {
    position: relative;
    width: 100%;
}

.lookup-anchor[b-nvjy8jww31] {
    width: 100%;
}

.lookup-popover[b-nvjy8jww31] {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    z-index: 5001;
    display: block;
    min-width: clamp(42rem, 72vw, 68rem);
    max-width: min(96vw, 68rem);
    width: max-content;
    max-height: 400px;
    overflow: hidden;
}

    .lookup-popover .popover-body[b-nvjy8jww31] {
        max-height: 400px;
        overflow: auto;
        padding: 0;
    }

    .lookup-popover .table[b-nvjy8jww31] {
        min-width: 40rem;
    }

    .lookup-popover .table-responsive[b-nvjy8jww31] {
        overflow-x: auto;
    }

.lookup-popover-backdrop[b-nvjy8jww31] {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: transparent;
}

.truncate[b-nvjy8jww31] {
    max-width: 24rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Dropdown/RSDropDown.razor.rz.scp.css */
.dropdown-menu[b-s1zshnexli] {
    width: 300px;
    max-height: 400px;
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 5000;
    /* Ensure the dropdown appears on top of other elements */
}

.table th[b-s1zshnexli], .table td[b-s1zshnexli] {
    padding: 8px;
    text-align: left;
}

.product-dropdown[b-s1zshnexli] {
    max-height: 400px;
    overflow: auto;
    z-index: 5000;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Dropdown/StatusSelect.razor.rz.scp.css */
.status-filter-button[b-8251zek8fa] {
    width: 100%;
    min-height: var(--invoice-control-height, 3.5rem);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    /* This drops the display text lower */
    padding: 1.45rem .75rem .45rem .75rem;
    line-height: 1.25;
    z-index: auto;
}

.status-filter-text[b-8251zek8fa] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.label-floating[b-8251zek8fa] {
    --status-filter-menu-min-width: 160px;
    --status-filter-menu-max-width: 380px;
    position: relative;
    display: block;
    /* CHANGED: Let parent column control width */
    width: 100%;
    max-width: var(--status-filter-max-width, 100%);
    min-width: var(--status-filter-min-width, 160px);
    /* CHANGED: Use real Bootstrap floating input height instead of height: 100% */
    height: calc(var(--invoice-control-height, 3.5rem) + calc(var(--bs-border-width, 1px) * 2));
    min-height: calc(var(--invoice-control-height, 3.5rem) + calc(var(--bs-border-width, 1px) * 2));
    box-sizing: border-box;
    /* ✅ ANNOTATION: Create a new stacking context and allow overflow
       WHY: Parent table cells with overflow: hidden will clip the dropdown unless we break the stacking context
       WHEN: StatusSelect is used inside constrained containers like tables
       WHAT: isolation: isolate creates new stacking context; overflow: visible breaks out of parent clipping
       ALTERNATIVES: Could move dropdown to portal/teleport, but isolation is simpler and more performant */
    overflow: visible;
    z-index: 1;
    isolation: isolate;
}

    .label-floating:has(.status-filter-button.show)[b-8251zek8fa],
    .label-floating:has(.status-filter-menu.show)[b-8251zek8fa] {
        z-index: 10000;
    }

.status-filter-menu.show[b-8251zek8fa] {
    z-index: 10001 !important;
}

.status-filter-menu-fixed[b-8251zek8fa] {
    position: fixed !important;
    min-width: 0 !important;
    z-index: 10050 !important;
    margin: 0 !important;
    transform: none !important;
}

.status-filter-dropdown[b-8251zek8fa] {
    position: relative;
    /* CHANGED: Force dropdown wrapper to fill StatusSelect parent */
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
    /* ✅ ANNOTATION: Ensure dropdown menu context is not clipped by overflow ancestors
       WHY: Without overflow: visible, parent containers with overflow: hidden/auto will clip the dropdown
       WHEN: Parent table cells or containers may have overflow constraints
       WHAT: overflow: visible forces dropdown menu to break out and appear on top
       ALTERNATIVES: Could use z-index stacking, but overflow: visible is more reliable for popovers */
    overflow: visible;
}

.status-filter-button[b-8251zek8fa] {
    position: relative;
    /* CHANGED: Fill parent width and height */
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    /*padding: 1.45rem 2rem 0.45rem 0.75rem;*/
    font-size: 1rem;
    line-height: 1.25;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.375rem;
    color: #000;
    background-color: transparent;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

    .status-filter-button:hover[b-8251zek8fa] {
        border-color: rgba(255, 255, 255, 0.5);
        background-color: rgba(255, 255, 255, 0.08);
        color: #000;
    }

    .status-filter-button:focus[b-8251zek8fa] {
        border-color: white;
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
        background-color: rgba(255, 255, 255, 0.08);
        color: #000;
        outline: none;
    }

    .status-filter-button.show[b-8251zek8fa] {
        border-color: white;
        background-color: rgba(255, 255, 255, 0.12);
        color: #000;
    }

    .status-filter-button[b-8251zek8fa]::after {
        content: "▾";
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.8;
    }

.status-label[b-8251zek8fa] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    max-width: calc(100% - 2rem);
    height: 100%;
    padding: 1rem 0.75rem;
    color: rgba(0, 0, 0, 0.6);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    pointer-events: none;
    transform-origin: 0 0;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out, color 0.1s ease-in-out;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-filter-menu[b-8251zek8fa] {
    width: 100%;
    min-width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin: 0.5rem 0 0 0;
    padding: 0.5rem 0;
    border-radius: 0.375rem;
    /* ✅ ANNOTATION: Bootstrap static dropdown positioning + high z-index for modal/table contexts
       WHY: With data-bs-popper="static", dropdown uses fixed/absolute positioning relative to button
            Modal bodies have overflow-y: auto which clips any positioned elements
            High z-index (9999) ensures dropdown appears above modal content and tables
       WHEN: StatusSelect is inside modals (RSModal) or table cells (RESTable) with overflow constraints
       WHAT: z-index: 9999 breaks modal/table overflow clips; position: relative for stacking context
       ALTERNATIVES: Could use portal/teleport pattern, but this is simpler and Bootstrap's intended approach */
    z-index: 1000 !important;
    /*position: relative;*/
}

.status-filter-item[b-8251zek8fa] {
    padding: 0.75rem 1rem;
    color: #000;
    background-color: transparent;
    border: none;
    cursor: pointer;
    min-height: 2.5rem;
    font-size: 0.95rem;
    text-align: left;
    width: 100%;
    transition: all 0.15s ease-in-out;
    margin: 0;
    display: flex;
    align-items: center;
}

    .status-filter-item:hover[b-8251zek8fa] {
        background-color: #e9ecef;
        color: #000;
    }

    .status-filter-item:active[b-8251zek8fa],
    .status-filter-item:focus[b-8251zek8fa] {
        background-color: #0d6efd;
        color: white;
        outline: none;
    }

@media (max-width: 768px) {
    /* CHANGED: Removed custom min-width variable rules */

    .status-filter-button[b-8251zek8fa] {
        /* CHANGED: No fixed mobile height here */
        padding: 1.35rem 1.85rem 0.4rem 0.65rem;
        font-size: 0.9rem;
    }

        .status-filter-button[b-8251zek8fa]::after {
            right: 0.65rem;
        }

    .status-label[b-8251zek8fa] {
        padding: 0.95rem 0.65rem;
        font-size: 0.9rem;
        transform: scale(0.85) translateY(-0.45rem) translateX(0.12rem);
    }

    .status-filter-menu[b-8251zek8fa] {
        max-height: 260px;
        margin-top: 0.35rem;
    }

    .status-filter-item[b-8251zek8fa] {
        min-height: 2.35rem;
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* CHANGED: Removed max-width 380px min-width override because we are not using custom widths anymore */

/* Border Style Variants */
.status-filter-button.border-thin[b-8251zek8fa] {
    border-width: 1px;
}

.status-filter-button.border-medium[b-8251zek8fa] {
    border-width: 2px;
}

.status-filter-button.border-thick[b-8251zek8fa] {
    border-width: 3px;
}

.status-filter-button.border-solid[b-8251zek8fa] {
    border-style: solid;
}

.status-filter-button.border-dashed[b-8251zek8fa] {
    border-style: dashed;
}

.status-filter-button.border-dotted[b-8251zek8fa] {
    border-style: dotted;
}

.status-filter-button.border-rounded[b-8251zek8fa] {
    border-radius: 0.5rem;
}

.status-filter-button.border-pill[b-8251zek8fa] {
    border-radius: 2rem;
}

/* Combined Variants */
.status-filter-button.border-primary[b-8251zek8fa] {
    border-color: #0d6efd;
}

.status-filter-button.border-success[b-8251zek8fa] {
    border-color: #198754;
}

.status-filter-button.border-danger[b-8251zek8fa] {
    border-color: #dc3545;
}

.status-filter-button.border-warning[b-8251zek8fa] {
    border-color: #ffc107;
}

.status-filter-button.border-info[b-8251zek8fa] {
    border-color: #0dcaf0;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/InvoicePrint.razor.rz.scp.css */
body[b-d23wnclven] {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrolling of the whole page */
}

.page[b-d23wnclven] {
    margin: 0;
}

@page {
    margin: 0;
}

table[b-d23wnclven] {
    border-spacing: 0;
}

td[b-d23wnclven] {
    padding: 0;
}

img[b-d23wnclven] {
    border: 0;
}

.fontstylesvalue[b-d23wnclven] {
    font-size: 12px;
    font-weight: bold;
}

.textstart[b-d23wnclven] {
    text-align: start;
    padding: 1px;
    padding-left: 10px;
}

.textcenter[b-d23wnclven] {
    text-align: end;
    padding: 1px;
}

.textend[b-d23wnclven] {
    text-align: end;
    padding: 1px;
    padding-right: 10px;
}

.wrapper[b-d23wnclven] {
    width: 100%;
    table-layout: fixed;
    background-color: #dad5d5;
    padding-bottom: 10px;
    padding-top: 10px;
}

.main[b-d23wnclven] {
    background-color: #ffffff;
    margin: 0 auto;
    width: 100%;
    max-width: 290px;
    border-spacing: 0;
    font-family: sans-serif;
    color: #171a1b;
    overflow: hidden; /* Ensure the receipt height adjusts to content */
    page-break-inside: avoid;
    height: 50vh;
}

@media print {
    .main[b-d23wnclven] {
        margin-top: 0;
    }
}


.two-columns[b-d23wnclven] {
    text-align: center;
    font-size: 0;
}

    .two-columns .column[b-d23wnclven] {
        width: 100;
        max-width: auto;
        display: inline-block;
        vertical-align: top;
    }

.button[b-d23wnclven] {
    background-color: blue;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 0px;
    font-weight: bold;
}

.print-container[b-d23wnclven] {
    height: 80vh; /* Full viewport height */
   /* display: flex;*/
    flex-direction: column;
    /*width: 50vw;*/
}

@media (max-width: 576px) {
    .print-container[b-d23wnclven] {
        width: 90%; /* 90% of the screen width */
        min-width: 300px; /* Minimum width for small screens */
        margin: 0 auto;
    }

    .print-container[b-d23wnclven] {
        height: 80vh; /* Minimum height for modal content */
    }
}

.print-header[b-d23wnclven] {
    /* Keeps the header at the top */
    top: 0;
    left: 0;
    width: 100%;
    /*background-color: #007bff;*/
    background-color: white;
    color: white;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.print-body[b-d23wnclven] {
    flex: 1;
    margin-top: 5px; /* Prevent content overlap with fixed header */
    overflow-y: auto; /* Enables vertical scrolling for content */
    padding: 5px;
    background-color: #f4f4f4;
}

.print-preview[b-d23wnclven] {
    background-color: white;
    padding: 20px;
    margin: auto;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 2200px;
    height: 100%;
}

.print-header a[b-d23wnclven] {
    color: white;
    text-decoration: none;
}

.print-header .bi[b-d23wnclven] {
    font-size: 2rem;
}

/* _content/Sunflower.WebUi.Components/SharedComponents/LazyPageSection.razor.rz.scp.css */
.lazy-page-section[b-cu7ztio5zx] {
    width: 100%;
}

.lazy-page-section__default-placeholder[b-cu7ztio5zx] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.lazy-page-section__skeleton-line[b-cu7ztio5zx] {
    height: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
    background-size: 200% 100%;
    animation: lazy-page-section-shimmer-b-cu7ztio5zx 1.4s ease-in-out infinite;
}

.lazy-page-section__skeleton-line:nth-child(2n)[b-cu7ztio5zx] {
    width: 82%;
}

.lazy-page-section__skeleton-line:nth-child(2n + 1)[b-cu7ztio5zx] {
    width: 100%;
}

@keyframes lazy-page-section-shimmer-b-cu7ztio5zx {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Modals/SelectProductionBatchModal.razor.rz.scp.css */
.batch-modal-backdrop[b-15zo5s75it] {
    position: fixed;
    inset: 0;
    z-index: 1080;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem;

    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(3px);
}

.batch-modal-shell[b-15zo5s75it] {
    width: min(1180px, 100%);
    max-height: calc(100vh - 2rem);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 24px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, .28);
}


/* =========================================================
   HEADER
   ========================================================= */

.batch-modal-header[b-15zo5s75it] {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 1.25rem 1.5rem;

    border-bottom: 1px solid var(--bs-border-color);

    background:
        linear-gradient(
            180deg,
            rgba(var(--bs-primary-rgb), .035),
            transparent
        );
}

.batch-header-icon[b-15zo5s75it] {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    font-size: 1.45rem;

    color: var(--bs-primary);

    background:
        linear-gradient(
            145deg,
            rgba(var(--bs-primary-rgb), .16),
            rgba(var(--bs-primary-rgb), .05)
        );

    border:
        1px solid rgba(var(--bs-primary-rgb), .18);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .06);
}

.batch-close[b-15zo5s75it] {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    background-color: var(--bs-tertiary-bg);
    background-size: 13px;

    opacity: .8;
}


/* =========================================================
   BODY
   ========================================================= */

.batch-modal-body[b-15zo5s75it] {
    flex: 1 1 auto;

    overflow-y: auto;

    padding: 1.15rem 1.5rem 1.35rem;
}


/* =========================================================
   SEARCH
   ========================================================= */

.batch-search[b-15zo5s75it] {
    min-height: 60px;

    position: relative;

    display: flex;
    align-items: center;

    border: 1px solid var(--bs-border-color);
    border-radius: 18px;

    background: var(--bs-body-bg);

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .05);

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.batch-search:focus-within[b-15zo5s75it] {
    border-color:
        rgba(var(--bs-primary-rgb), .65);

    box-shadow:
        0 0 0 4px rgba(var(--bs-primary-rgb), .10),
        0 8px 24px rgba(0, 0, 0, .07);
}

.batch-search .form-control[b-15zo5s75it] {
    min-height: 58px;

    border: 0;
    outline: none;
    box-shadow: none !important;

    padding-left: 3.4rem;
    padding-right: 3.5rem;

    background: transparent;

    font-size: 1.02rem;
}

.batch-search-icon[b-15zo5s75it] {
    position: absolute;
    left: 1.15rem;

    z-index: 1;

    font-size: 1.25rem;

    color: var(--bs-secondary-color);

    pointer-events: none;
}

.batch-search-clear[b-15zo5s75it] {
    position: absolute;
    right: .7rem;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}


/* =========================================================
   LIST PANEL
   ========================================================= */

.batch-list-panel[b-15zo5s75it],
.selected-batch-panel[b-15zo5s75it] {
    height: 100%;

    border: 1px solid var(--bs-border-color);
    border-radius: 20px;

    background: var(--bs-body-bg);
}

.batch-list-panel[b-15zo5s75it] {
    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05);
}

.batch-list-header[b-15zo5s75it] {
    min-height: 72px;

    padding: .9rem 1.1rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    background:
        linear-gradient(
            180deg,
            var(--bs-tertiary-bg),
            var(--bs-body-bg)
        );

    border-bottom:
        1px solid var(--bs-border-color);
}

.batch-count[b-15zo5s75it] {
    min-width: 42px;
    height: 34px;

    padding: 0 .75rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background: var(--bs-secondary-bg);

    font-weight: 800;
}

.batch-list[b-15zo5s75it] {
    max-height: 500px;

    overflow-y: auto;

    padding: .75rem;
}


/* =========================================================
   TOUCH CARD
   ========================================================= */

.batch-touch-card[b-15zo5s75it] {
    width: 100%;
    min-height: 106px;

    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        118px
        28px;

    gap: .8rem;
    align-items: center;

    margin-bottom: .7rem;

    padding: .9rem 1rem;

    text-align: left;

    color: var(--bs-body-color);

    border:
        1px solid var(--bs-border-color);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            var(--bs-body-bg),
            var(--bs-tertiary-bg)
        );

    box-shadow:
        0 4px 13px rgba(0, 0, 0, .045);

    transition:
        transform .12s ease,
        border-color .12s ease,
        box-shadow .12s ease;
}

.batch-touch-card:hover[b-15zo5s75it] {
    border-color:
        rgba(var(--bs-primary-rgb), .48);

    box-shadow:
        0 9px 22px rgba(0, 0, 0, .08);
}

.batch-touch-card:active[b-15zo5s75it] {
    transform: scale(.985);
}

.batch-touch-card.selected[b-15zo5s75it] {
    border:
        2px solid var(--bs-primary);

    background:
        linear-gradient(
            120deg,
            rgba(var(--bs-primary-rgb), .13),
            rgba(var(--bs-primary-rgb), .025)
        );

    box-shadow:
        0 9px 28px
        rgba(var(--bs-primary-rgb), .14);
}


/* =========================================================
   SELECTION CIRCLE
   ========================================================= */

.batch-select-indicator[b-15zo5s75it] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.batch-radio[b-15zo5s75it] {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        2px solid var(--bs-border-color);

    border-radius: 50%;

    background: var(--bs-body-bg);

    font-size: 1.05rem;
}

.batch-radio.selected[b-15zo5s75it] {
    border-color: var(--bs-primary);

    background: var(--bs-primary);

    color: white;

    box-shadow:
        0 5px 14px
        rgba(var(--bs-primary-rgb), .28);
}


/* =========================================================
   BATCH CARD CONTENT
   ========================================================= */

.batch-id[b-15zo5s75it] {
    font-size: 1.06rem;
    font-weight: 800;

    color: var(--bs-primary);
}

.batch-product-name[b-15zo5s75it] {
    margin-top: .25rem;

    font-size: .98rem;
    font-weight: 750;
}

.batch-meta[b-15zo5s75it] {
    margin-top: .2rem;

    color: var(--bs-secondary-color);

    font-size: .8rem;
}

.batch-size-block[b-15zo5s75it] {
    padding: .65rem .7rem;

    text-align: center;

    border-radius: 13px;

    background:
        rgba(var(--bs-primary-rgb), .055);
}

.batch-size-label[b-15zo5s75it] {
    font-size: .68rem;

    color: var(--bs-secondary-color);

    text-transform: uppercase;

    letter-spacing: .045em;
}

.batch-size-value[b-15zo5s75it] {
    margin-top: .1rem;

    font-size: .96rem;
    font-weight: 800;
}

.batch-chevron[b-15zo5s75it] {
    color: var(--bs-secondary-color);

    font-size: 1.18rem;
}


/* =========================================================
   SELECTED BATCH PANEL
   ========================================================= */

.selected-batch-panel[b-15zo5s75it] {
    padding: 1.1rem;

    background:
        linear-gradient(
            155deg,
            rgba(var(--bs-primary-rgb), .075),
            var(--bs-body-bg) 45%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .4),
        0 10px 30px rgba(0, 0, 0, .05);
}

.selected-panel-header[b-15zo5s75it] {
    display: flex;
    align-items: center;
    gap: .85rem;

    padding-bottom: 1rem;

    border-bottom:
        1px solid var(--bs-border-color);
}

.selected-icon[b-15zo5s75it] {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--bs-primary);

    color: white;

    font-size: 1.35rem;

    box-shadow:
        0 7px 18px
        rgba(var(--bs-primary-rgb), .25);
}

.selected-batch-id[b-15zo5s75it] {
    color: var(--bs-primary);

    font-size: 1.45rem;
    font-weight: 850;

    line-height: 1.05;
}

.selected-product-card[b-15zo5s75it] {
    margin-top: 1rem;

    padding: 1rem;

    border: 1px solid var(--bs-border-color);
    border-radius: 16px;

    background: var(--bs-body-bg);

    box-shadow:
        0 5px 14px rgba(0, 0, 0, .04);
}

.selected-product-name[b-15zo5s75it] {
    margin-top: .2rem;

    font-size: 1.03rem;
    font-weight: 750;
}

.selected-detail-card[b-15zo5s75it] {
    min-height: 92px;

    display: flex;
    align-items: center;
    gap: .7rem;

    padding: .75rem;

    border: 1px solid var(--bs-border-color);
    border-radius: 15px;

    background: var(--bs-body-bg);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .035);
}

.selected-detail-icon[b-15zo5s75it] {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: var(--bs-primary);

    background:
        rgba(var(--bs-primary-rgb), .10);
}

.selected-label[b-15zo5s75it] {
    color: var(--bs-secondary-color);

    font-size: .73rem;
}

.selected-value[b-15zo5s75it] {
    margin-top: .1rem;

    font-weight: 750;
}

.selected-ready-message[b-15zo5s75it] {
    margin-top: 1rem;

    display: flex;
    align-items: center;
    gap: .8rem;

    padding: .9rem;

    border:
        1px solid rgba(var(--bs-primary-rgb), .14);

    border-radius: 14px;

    color: var(--bs-primary);

    background:
        rgba(var(--bs-primary-rgb), .085);
}

.selected-ready-message > i[b-15zo5s75it] {
    font-size: 1.4rem;
}


/* =========================================================
   EMPTY STATES
   ========================================================= */

.no-selection-state[b-15zo5s75it],
.batch-empty-state[b-15zo5s75it] {
    min-height: 280px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 2rem;

    text-align: center;
}

.no-selection-icon[b-15zo5s75it],
.batch-empty-icon[b-15zo5s75it] {
    width: 70px;
    height: 70px;

    margin-bottom: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    color: var(--bs-primary);

    background:
        rgba(var(--bs-primary-rgb), .08);

    font-size: 1.8rem;
}


/* =========================================================
   FOOTER
   ========================================================= */

.batch-modal-footer[b-15zo5s75it] {
    flex: 0 0 auto;

    display: grid;

    grid-template-columns:
        minmax(145px, .35fr)
        minmax(230px, 1fr);

    gap: .75rem;

    padding: 1rem 1.5rem 1.25rem;

    border-top:
        1px solid var(--bs-border-color);

    background: var(--bs-body-bg);
}

.batch-cancel-button[b-15zo5s75it],
.batch-use-button[b-15zo5s75it] {
    min-height: 58px;

    border-radius: 16px;

    font-size: 1rem;
    font-weight: 750;
}

.batch-cancel-button[b-15zo5s75it] {
    border:
        1px solid var(--bs-border-color);

    background: var(--bs-body-bg);

    color: var(--bs-body-color);
}

.batch-use-button[b-15zo5s75it] {
    box-shadow:
        0 8px 22px
        rgba(var(--bs-primary-rgb), .24);
}

.batch-use-button:disabled[b-15zo5s75it] {
    box-shadow: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .batch-list[b-15zo5s75it] {
        max-height: 400px;
    }

    .selected-batch-panel[b-15zo5s75it] {
        margin-top: .1rem;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .batch-modal-backdrop[b-15zo5s75it] {
        padding: 0;
    }

    .batch-modal-shell[b-15zo5s75it] {
        width: 100%;
        height: 100dvh;
        max-height: none;

        border: 0;
        border-radius: 0;
    }

    .batch-modal-header[b-15zo5s75it],
    .batch-modal-body[b-15zo5s75it],
    .batch-modal-footer[b-15zo5s75it] {
        padding-left: .8rem;
        padding-right: .8rem;
    }

    .batch-header-icon[b-15zo5s75it] {
        width: 46px;
        height: 46px;

        flex-basis: 46px;
    }

    .batch-modal-header h4[b-15zo5s75it] {
        font-size: 1.08rem;
    }

    .batch-modal-header .text-muted[b-15zo5s75it] {
        font-size: .8rem;
    }

    .batch-touch-card[b-15zo5s75it] {
        grid-template-columns:
            40px
            minmax(0, 1fr)
            24px;

        min-height: 108px;

        padding: .8rem;
    }

    .batch-size-block[b-15zo5s75it] {
        grid-column: 2;

        width: fit-content;

        margin-top: .2rem;

        padding: .35rem .65rem;

        text-align: left;
    }

    .batch-chevron[b-15zo5s75it] {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .batch-modal-footer[b-15zo5s75it] {
        grid-template-columns: 1fr;
    }

    .batch-use-button[b-15zo5s75it] {
        grid-row: 1;
    }

    .batch-cancel-button[b-15zo5s75it] {
        grid-row: 2;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Modal/RSModal.razor.rz.scp.css */
/* Ensure the modal container sticks to the bottom */
.modal-dialogC[b-khg244t639] {
    transform: none;
}

.table[b-khg244t639] {
    padding: 1rem 1.5rem;
}

/* Center the modal at the bottom */
.bottom-center[b-khg244t639] {
    position: fixed;
    inset: auto 0 5% 0; /* Positions modal at the bottom with a 20px gap */
    /* left: 50%;*/
    transform: translateX(-50%);
    min-width: 30%; /* Adjust width as needed */
    /*max-width: 500px;*/ /* Optional: Limit the width */
    /*margin: 0;*/
}

.bottom-center1[b-khg244t639] {
    position: fixed;
    bottom: 5%; /* Instead of inset, let's be more explicit */
    left: 25%; /* Key: place modal's left side at 50% of screen width */
    transform: translateX(-50%); /* Shift left by half its own width to center horizontally */
    min-width: 30%; /* or whatever width you want */
}

/* Add spacing for modal content */
.modal-content[b-khg244t639] {
    border-radius: 0%;
}

/* Custom positioning classes */
.top-left[b-khg244t639] {
    position: fixed;
    top: 20px;
    /* left: 20px;*/
    transform: none;
}

.center-screen1[b-khg244t639] {
    position: fixed;
    inset: auto 0 30% 0; /* Positions modal at the bottom with a 20px gap */
    /* left: 50%;*/
    /*transform: translateX(-50%);*/
    width: auto; /* Adjust width as needed */
    /*max-width: 500px;*/ /* Optional: Limit the width */
    /*margin: 0;*/
}

.center-screen[b-khg244t639] {
    position: fixed;
    display: flex;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

.top-center[b-khg244t639] {
    position: fixed;
    top: 20px;
    left: 40%;
    transform: translateX(-50%);
}

.top-right[b-khg244t639] {
    position: fixed;
    top: 20px;
    right: 20px;
    transform: none;
}

.bottom-left[b-khg244t639] {
    position: fixed;
    bottom: 20px;
    left: 20px;
    transform: none;
}

/*.modal-dialog-bottom-center {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}*/

.bottom-right[b-khg244t639] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    transform: none;
}

/* Apply horizontal centering ONLY on screens >= 768px (md) */
/*@media (min-width: 768px) {
    .center-screen {
        left: 24%;
        transform: translate(-50%, -50%);
    }
}*/

/* Minimum size for modal on small screens */
/*@media (max-width: 576px) {
    .modal {
        width: 90%;*/ /* 90% of the screen width */
        /*min-width: 300px;*/ /* Minimum width for small screens */
        /*margin: 0 auto;
    }

    .modal-content {
        min-height: 200px;*/ /* Minimum height for modal content */
    /*}
}*/
/* Adjust modal size for small screens */
/*@media (max-width: 576px) {
    .modal-sm {
        width: 90%;*/ /* Full width for small screens */
        /*margin: 0 auto;
    }
}*/

/* Adjust modal size for medium screens */
@media (min-width: 576px) and (max-width: 768px) {
    .modal[b-khg244t639] {
       /* width: 75%; *//* Medium width */
        margin: 0 auto;
    }
}

/* Adjust modal size for large screens */
@media (min-width: 992px) {
    .modal-lg[b-khg244t639] {
        width: 50%; /* Larger width for desktops */
        margin: 0 auto;
    }
}

/* Custom positioning */
.modal-dialog-top-left[b-khg244t639] {
    align-items: flex-start;
    justify-content: flex-start;
}

.modal-dialog-top-center[b-khg244t639] {
    align-items: flex-start;
    justify-content: center;
}

.modal-dialog-top-right[b-khg244t639] {
    align-items: flex-start;
    justify-content: flex-end;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/OffCanvas/RSOffCanvas.razor.rz.scp.css */
.custom-offcanvas[b-bgx04m6zfi] {
    --rsoc-width-sm: 100vw;
    --rsoc-width-md: min(100vw, 90vw);
    --rsoc-width-lg: min(100vw, 72vw);
    --rsoc-width-xl: min(100vw, 58vw);
    --rsoc-width-xxl: min(100vw, 48vw);
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    /* Do not force height:100vh here when using top/bottom offsets */
}

    .custom-offcanvas.rsoc-width-default[b-bgx04m6zfi] {
        --rsoc-width-sm: 100vw;
        --rsoc-width-md: min(100vw, 90vw);
        --rsoc-width-lg: min(100vw, 72vw);
        --rsoc-width-xl: min(100vw, 58vw);
        --rsoc-width-xxl: min(100vw, 48vw);
    }

    .custom-offcanvas.offcanvas-start[b-bgx04m6zfi],
    .custom-offcanvas.offcanvas-end[b-bgx04m6zfi] {
        width: 100vw;
    }

    .custom-offcanvas.offcanvas-top[b-bgx04m6zfi],
    .custom-offcanvas.offcanvas-bottom[b-bgx04m6zfi] {
        width: 100%;
        max-height: calc(100vh - 1rem);
    }

.offcanvas-header[b-bgx04m6zfi] {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.offcanvas-body[b-bgx04m6zfi] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

    .offcanvas-body[b-bgx04m6zfi] >  * {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
    }

.offcanvas-footer[b-bgx04m6zfi] {
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: #fff;
    min-height: 3rem;
    border-top: 1px solid #eee;
}

@media (min-width: 576px) {
    .custom-offcanvas.offcanvas-start[b-bgx04m6zfi],
    .custom-offcanvas.offcanvas-end[b-bgx04m6zfi] {
        width: var(--rsoc-width-sm);
    }
}

@media (min-width: 768px) {
    .custom-offcanvas.offcanvas-end[b-bgx04m6zfi],
    .custom-offcanvas.offcanvas-start[b-bgx04m6zfi] {
        width: var(--rsoc-width-md);
    }
}

@media (min-width: 992px) {
    .custom-offcanvas.offcanvas-end[b-bgx04m6zfi],
    .custom-offcanvas.offcanvas-start[b-bgx04m6zfi] {
        width: var(--rsoc-width-lg);
    }
}

@media (min-width: 1200px) {
    .custom-offcanvas.offcanvas-end[b-bgx04m6zfi],
    .custom-offcanvas.offcanvas-start[b-bgx04m6zfi] {
        width: var(--rsoc-width-xl);
    }
}

@media (min-width: 1400px) {
    .custom-offcanvas.offcanvas-end[b-bgx04m6zfi],
    .custom-offcanvas.offcanvas-start[b-bgx04m6zfi] {
        width: var(--rsoc-width-xxl);
    }
}

@media (max-width: 767.98px) {
    .custom-offcanvas.offcanvas-end[b-bgx04m6zfi],
    .custom-offcanvas.offcanvas-start[b-bgx04m6zfi] {
        left: 0;
        right: 0;
    }

    .offcanvas-body[b-bgx04m6zfi] {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/OrderPageTemplate.razor.rz.scp.css */
:root[b-912uawcc00] {
    --app-bg: #f4f7fb;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #dbe3ef;
    --brand: #0d6efd;
    --brand-dark: #0b5ed7;
    --soft-blue: #eef5ff;
}

html[b-912uawcc00], body[b-912uawcc00] {
    min-height: 100%;
    background: var(--app-bg);
    color: var(--ink);
}

body[b-912uawcc00] {
    font-family: Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.page-shell[b-912uawcc00] {
    width: 100%;
    padding: 16px;
}

/* =========================================================
       ONE LARGE INVOICE CARD
       ========================================================= */
.order-page-template[b-912uawcc00] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: .55rem;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15,23,42,.06);
    overflow: visible;
    position: relative;
}

    .order-page-template[b-912uawcc00]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 5px;
        background: var(--brand);
        z-index: 2;
    }

/* TOP COMMAND AREA */
.order-template-header[b-912uawcc00] {
    min-height: 15vh;
    padding: 18px 22px 16px 26px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.order-template-kicker[b-912uawcc00] {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: .25rem;
}

.order-template-title[b-912uawcc00] {
    margin: 0;
    font-size: clamp(1.35rem,2vw,2rem);
    font-weight: 750;
    letter-spacing: -.035em;
}

.order-template-meta[b-912uawcc00] {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .9rem;
}

.party-name[b-912uawcc00] {
    color: var(--ink);
    font-weight: 700;
}

.party-label[b-912uawcc00] {
    color: var(--muted);
    font-weight: 800;
    margin-right: .25rem;
}

.header-divider[b-912uawcc00] {
    width: 1px;
    align-self: stretch;
    background: var(--line);
    margin: 0 1rem;
}

.stat-label[b-912uawcc00] {
    font-size: .68rem;
    color: var(--muted);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stat-value[b-912uawcc00] {
    margin-top: .18rem;
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
}

.status-chip[b-912uawcc00] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 36px;
   /* padding: .4rem .75rem;*/
    border: 1px solid #cbd5e1;
    border-radius: .4rem;
    background: #f8fafc;
    color: #334155;
    font-size: .86rem;
    font-weight: 750;
}

.status-dot[b-912uawcc00] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
}

.btn[b-912uawcc00] {
    border-radius: .42rem;
    font-weight: 700;
}

.header-actions[b-912uawcc00] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

/* TABS LIVE INSIDE THE SAME CARD */
.invoice-tabs-wrap[b-912uawcc00] {
    padding: 0 20px 0 24px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}

.invoice-tabs[b-912uawcc00] {
    border-bottom: 0;
    gap: .25rem;
}

    .invoice-tabs .nav-link[b-912uawcc00] {
        position: relative;
        min-height: 58px;
        padding: 0 16px;
        border: 0 !important;
        border-radius: 0;
        display: flex;
        align-items: center;
        gap: .6rem;
        color: #64748b;
        background: transparent;
        font-size: .9rem;
        font-weight: 750;
    }

        .invoice-tabs .nav-link:hover[b-912uawcc00] {
            color: var(--brand);
            background: rgba(13,110,253,.03);
        }

        .invoice-tabs .nav-link.active[b-912uawcc00] {
            color: var(--brand);
            background: transparent;
        }

            .invoice-tabs .nav-link.active[b-912uawcc00]::after {
                content: "";
                position: absolute;
                left: 12px;
                right: 12px;
                bottom: 0;
                height: 3px;
                background: var(--brand);
                border-radius: 3px 3px 0 0;
            }

.tab-icon[b-912uawcc00] {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbeafe;
    border-radius: .38rem;
    background: #f8fbff;
    color: #64748b;
}

.invoice-tabs .nav-link.active .tab-icon[b-912uawcc00] {
    color: var(--brand);
    background: var(--soft-blue);
    border-color: #bfdbfe;
}

/* SAME CARD CONTENT AREA */
.invoice-tab-content[b-912uawcc00] {
    padding: 18px 22px 22px 26px;
    min-height: 56vh;
    background: #fff;
}

.template-pane[b-912uawcc00] {
    padding: 18px 22px 22px 26px;
    min-height: 56vh;
    background: #fff;
    overflow: visible;
}

/* SUMMARY TAB */
.summary-strip[b-912uawcc00] {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    border: 1px solid var(--line);
    border-radius: .42rem;
    overflow: hidden;
    background: #fff;
}

.summary-metric[b-912uawcc00] {
    padding: 14px 16px;
    border-right: 1px solid var(--line);
}

    .summary-metric:last-child[b-912uawcc00] {
        border-right: 0;
    }

.metric-label[b-912uawcc00] {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.metric-value[b-912uawcc00] {
    margin-top: .2rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.summary-stage[b-912uawcc00] {
    margin-top: 14px;
    min-height: 300px;
    border: 1px dashed #cbd5e1;
    border-radius: .42rem;
    background: #fbfdff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--muted);
}

    .summary-stage i[b-912uawcc00] {
        display: block;
        margin-bottom: .6rem;
        font-size: 2rem;
        color: #94a3b8;
    }

/* CUSTOMER / VENDOR */
.party-heading[b-912uawcc00] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 14px;
}

    .party-heading h2[b-912uawcc00] {
        margin: 0;
        font-size: 1rem;
        font-weight: 800;
    }

    .party-heading p[b-912uawcc00] {
        margin: .2rem 0 0;
        color: var(--muted);
        font-size: .84rem;
    }

.party-type-switch[b-912uawcc00] {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: .42rem;
    background: #f8fafc;
}

    .party-type-switch .btn[b-912uawcc00] {
        min-width: 105px;
        border: 0;
        box-shadow: none;
        color: #64748b;
        background: transparent;
        font-size: .82rem;
    }

        .party-type-switch .btn.active[b-912uawcc00] {
            color: #fff;
            background: var(--brand);
        }

.section-bar[b-912uawcc00] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 12px;
    font-size: .76rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: .06em;
    text-transform: uppercase;
}

    .section-bar i[b-912uawcc00] {
        color: var(--brand);
    }

.customer-search-group .form-control[b-912uawcc00] {
    min-height: 58px;
    border-color: var(--line);
    border-radius: .38rem 0 0 .38rem;
    font-weight: 650;
}

.customer-search-group .btn[b-912uawcc00] {
    min-width: 58px;
    border-radius: 0 .38rem .38rem 0;
}

.form-floating > .form-control[b-912uawcc00],
.form-floating > .form-select[b-912uawcc00] {
    min-height: 58px;
    height: 58px;
    border-color: var(--line);
    border-radius: .38rem;
    color: var(--ink);
    font-weight: 650;
}

.form-floating > textarea.form-control[b-912uawcc00] {
    min-height: 96px;
    height: 96px;
}

.form-floating > label[b-912uawcc00] {
    color: #64748b;
    font-size: .84rem;
    font-weight: 650;
}

.form-control:focus[b-912uawcc00],
.form-select:focus[b-912uawcc00] {
    border-color: rgba(13,110,253,.65);
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.10);
}

.party-actions[b-912uawcc00] {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

@media (max-width:991.98px) {
    .order-template-header[b-912uawcc00] {
        min-height: auto;
    }

    .header-divider[b-912uawcc00] {
        display: none;
    }

    .header-actions[b-912uawcc00] {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .summary-strip[b-912uawcc00] {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .summary-metric:nth-child(2)[b-912uawcc00] {
        border-right: 0;
    }

    .summary-metric:nth-child(-n+2)[b-912uawcc00] {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width:767.98px) {
    .order-template-header[b-912uawcc00],
    .invoice-tab-content[b-912uawcc00] {
        padding-left: 18px;
        padding-right: 16px;
    }

    .invoice-tabs-wrap[b-912uawcc00] {
        padding-left: 14px;
        overflow-x: auto;
    }

    .invoice-tabs[b-912uawcc00] {
        flex-wrap: nowrap;
    }

        .invoice-tabs .nav-link[b-912uawcc00] {
            white-space: nowrap;
            padding: 0 12px;
        }

    .party-heading[b-912uawcc00] {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width:575.98px) {
    .page-shell[b-912uawcc00] {
        padding: 10px;
    }

    .header-actions .btn[b-912uawcc00] {
        flex: 1 1 auto;
    }

    .summary-strip[b-912uawcc00] {
        grid-template-columns: 1fr;
    }

    .summary-metric[b-912uawcc00] {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

        .summary-metric:last-child[b-912uawcc00] {
            border-bottom: 0;
        }

    .party-type-switch[b-912uawcc00] {
        width: 100%;
    }

        .party-type-switch .btn[b-912uawcc00] {
            flex: 1;
        }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/PrintPreviewer.razor.rz.scp.css */
body[b-n09v2omqj3] {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrolling of the whole page */
}

.page[b-n09v2omqj3] {
    margin: 0;
}

@page {
    margin: 0;
}

table[b-n09v2omqj3] {
    border-spacing: 0;
}

td[b-n09v2omqj3] {
    padding: 0;
}

img[b-n09v2omqj3] {
    border: 0;
}

.fontstylesvalue[b-n09v2omqj3] {
    font-size: 12px;
    font-weight: bold;
}

.textstart[b-n09v2omqj3] {
    text-align: start;
    padding: 1px;
    padding-left: 10px;
}

.textcenter[b-n09v2omqj3] {
    text-align: end;
    padding: 1px;
}

.textend[b-n09v2omqj3] {
    text-align: end;
    padding: 1px;
    padding-right: 10px;
}

.wrapper[b-n09v2omqj3] {
    width: 100%;
    table-layout: fixed;
    background-color: #dad5d5;
    padding-bottom: 10px;
    padding-top: 10px;
}

.main[b-n09v2omqj3] {
    background-color: #ffffff;
    margin: 0 auto;
    width: 100%;
    max-width: 290px;
    border-spacing: 0;
    font-family: sans-serif;
    color: #171a1b;
    overflow: hidden; /* Ensure the receipt height adjusts to content */
    page-break-inside: avoid;
    height: 50vh;
}

@media print {
    .main[b-n09v2omqj3] {
        margin-top: 0;
    }
}


.two-columns[b-n09v2omqj3] {
    text-align: center;
    font-size: 0;
}

    .two-columns .column[b-n09v2omqj3] {
        width: auto;
        max-width: auto;
        display: inline-block;
        vertical-align: top;
    }

.button[b-n09v2omqj3] {
    background-color: blue;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 0px;
    font-weight: bold;
}

.print-container[b-n09v2omqj3] {
    height: auto; /* Full viewport height */
    display: flex;
    flex-direction: column;
    width: auto;
}

.col-40[b-n09v2omqj3] {
    width: 40%;
}

.col-30[b-n09v2omqj3] {
    width: 30%;
}

@media (max-width: 576px) {
    .print-container[b-n09v2omqj3] {
        width: 90%; /* 90% of the screen width */
        min-width: 300px; /* Minimum width for small screens */
        margin: 0 auto;
    }

    .print-container[b-n09v2omqj3] {
        height: 80vh; /* Minimum height for modal content */
    }
}

.print-header[b-n09v2omqj3] {
    /* Keeps the header at the top */
    top: 0;
    left: 0;
    width: 100%;
    /*background-color: #007bff;*/
    background-color: white;
    color: white;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.print-body[b-n09v2omqj3] {
    flex: 1;
    margin-top: 5px; /* Prevent content overlap with fixed header */
    overflow-y: auto; /* Enables vertical scrolling for content */
    padding: 5px;
    background-color: #f4f4f4;
}

.print-preview[b-n09v2omqj3] {
    background-color: white;
    padding: 20px;
    margin: auto;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    /*max-width: 2200px;*/
    height: 100%;
    
}

.print-header a[b-n09v2omqj3] {
    color: white;
    text-decoration: none;
}

.print-header .bi[b-n09v2omqj3] {
    font-size: 2rem;
}

@media (max-width: 576px) {
    /* Hide table headers on extra-small screens */
    table thead[b-n09v2omqj3] {
        display: none;
    }

    table tr[b-n09v2omqj3] {
        display: block;
        margin-bottom: 1rem;
    }

    table td[b-n09v2omqj3] {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border: none; /* optional: you can keep borders if desired */
        border-bottom: 1px solid #dee2e6; /* mimic table row separator if you want */
    }

        table td[b-n09v2omqj3]::before {
            /* Display the heading label on the left */
            content: attr(data-label);
            font-weight: 600;
            margin-right: 1rem;
        }
}

/* _content/Sunflower.WebUi.Components/SharedComponents/ProductsTemplate.razor.rz.scp.css */
/* ProductTemplate Component Styles - cf-* Design System */

.cf-page[b-8j8dv7lz61] {
    --cf-primary: #0d6efd;
    --cf-success: #198754;
    --cf-accent: #6f42c1;
    --cf-warning: #fd7e14;
    --cf-teal: #20c997;
    --cf-danger: #dc3545;
    --cf-page-bg: linear-gradient(to bottom, #f8fafc, #eefcf9 55%, #ffffff);
    --cf-border: #dbe3ef;
    --cf-text: #0f172a;
    --cf-muted: #64748b;
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.cf-product-workspace[b-8j8dv7lz61] {
    container-type: inline-size;
    width: 100%;
    min-width: 0;
}

.cf-product-workspace[b-8j8dv7lz61],
.cf-product-workspace *[b-8j8dv7lz61] {
    min-width: 0;
}

:root[b-8j8dv7lz61] {
    --cf-gap: 2rem;
    --cf-control-height: 4rem;
    --cf-validation-height: 1.25rem;
}

/* Form spacing */
.cf-form-stack[b-8j8dv7lz61] {
    display: grid;
    gap: var(--cf-gap);
}

.cf-form-row[b-8j8dv7lz61] {
    --bs-gutter-x: var(--bs-gutter-y);
    --bs-gutter-y: var(--bs-gutter-x);
}

.cf-form-row > [class*="col-"][b-8j8dv7lz61] {
    display: flex;
}

.cf-field[b-8j8dv7lz61] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.cf-float > .form-control[b-8j8dv7lz61],
.cf-float > .form-select[b-8j8dv7lz61],
.cf-status-button[b-8j8dv7lz61] {
    min-height: var(--cf-control-height);
}

.cf-field .cf-float[b-8j8dv7lz61],
.cf-field .cf-status-button[b-8j8dv7lz61] {
    width: 100%;
    height: 100%;
}

.cf-field .validation-message[b-8j8dv7lz61],
.cf-field .text-danger[b-8j8dv7lz61] {
    display: block;
    min-height: var(--cf-validation-height);
    margin-top: .25rem;
}

@media (max-width: 767.98px) {
    :root[b-8j8dv7lz61] {
        --cf-gap: 1rem;
    }

    .cf-step-shell[b-8j8dv7lz61] {
        height: 28rem;
        padding: 1rem;
    }
}

/* Decorative orbs */
.cf-orb[b-8j8dv7lz61] {
    position: absolute;
    border-radius: 999px;
    filter: blur(56px);
    pointer-events: none;
    opacity: .8;
}

.cf-orb-left[b-8j8dv7lz61] {
    top: 2rem;
    left: -4rem;
    width: 14rem;
    height: 14rem;
    background: rgba(253, 126, 20, 0.20);
}

.cf-orb-right[b-8j8dv7lz61] {
    right: -4rem;
    bottom: 0;
    width: 18rem;
    height: 18rem;
    background: rgba(111, 66, 193, 0.20);
}

/* Page typography */
.cf-page-title[b-8j8dv7lz61] {
    margin: 0;
    color: var(--cf-text);
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cf-page-text[b-8j8dv7lz61] {
    max-width: 48rem;
    color: var(--cf-muted);
    font-size: .95rem;
    line-height: 1.65;
}

.cf-badge[b-8j8dv7lz61] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    border: 1px solid rgba(13, 110, 253, .15);
    border-radius: .25rem;
    background: rgba(255,255,255,.72);
    color: var(--cf-primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.cf-mode-switch[b-8j8dv7lz61] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem;
    padding: .25rem;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: .25rem;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(10px);
}

.cf-mode-button[b-8j8dv7lz61] {
    min-height: 2.5rem;
    padding: .55rem .9rem;
    border: 0;
    border-radius: .2rem;
    background: transparent;
    color: var(--cf-muted);
    font-size: .95rem;
    font-weight: 500;
}

.cf-mode-button:hover[b-8j8dv7lz61] {
    background: rgba(13, 110, 253, .08);
}

.cf-mode-button.active-create[b-8j8dv7lz61] {
    background: var(--cf-primary);
    color: #fff;
}

.cf-mode-button.active-update[b-8j8dv7lz61] {
    background: var(--cf-accent);
    color: #fff;
}

/* Card container */
.cf-card[b-8j8dv7lz61] {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: .25rem;
    background: rgba(255,255,255,.60);
    backdrop-filter: blur(16px);
}

/* Hero section */
.cf-hero[b-8j8dv7lz61] {
    position: relative;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(219, 227, 239, .9);
    color: #fff;
    background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-accent) 52%, var(--cf-teal) 100%);
}

.cf-hero-overlay[b-8j8dv7lz61] {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 28%),
        radial-gradient(circle at left, rgba(253,126,20,.16), transparent 25%);
}

.cf-hero-chip[b-8j8dv7lz61] {
    display: inline-flex;
    padding: .35rem .7rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.85);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cf-hero-copy[b-8j8dv7lz61] {
    position: relative;
    z-index: 1;
}

.cf-hero-title[b-8j8dv7lz61] {
    margin: .9rem 0 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -.02em;
}

.cf-hero-text[b-8j8dv7lz61] {
    margin-top: .75rem;
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    line-height: 1.6;
}

/* Progress pills */
.cf-pill-grid[b-8j8dv7lz61] {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.cf-pill[b-8j8dv7lz61] {
    padding: .85rem 1rem;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: .25rem;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
}

.cf-pill-label[b-8j8dv7lz61] {
    color: var(--cf-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cf-pill-value[b-8j8dv7lz61] {
    margin-top: .3rem;
    color: var(--cf-text);
    font-size: .95rem;
    font-weight: 600;
}

.cf-pill-subtext[b-8j8dv7lz61] {
    color: var(--cf-muted);
    font-size: .76rem;
    font-weight: 500;
}

.cf-progress-track[b-8j8dv7lz61] {
    width: 100%;
    height: .65rem;
    overflow: hidden;
    border: 1px solid rgba(219, 227, 239, .95);
    border-radius: .2rem;
    background: #fff;
}

.cf-progress-bar[b-8j8dv7lz61] {
    height: 100%;
    background: var(--cf-teal);
    transition: width .25s ease;
}

/* Body content */
.cf-body[b-8j8dv7lz61] {
    padding: 1rem;
}

/* Step navigation */
.cf-step-grid[b-8j8dv7lz61] {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.cf-step-card[b-8j8dv7lz61] {
    position: relative;
    display: flex;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: rgba(255,255,255,.82);
    color: #334155;
    backdrop-filter: blur(8px);
    transition: all .2s ease;
}

.cf-step-card.is-active[b-8j8dv7lz61] {
    border-color: var(--cf-primary);
    background: var(--cf-primary);
    color: #fff;
}

.cf-step-card.is-done[b-8j8dv7lz61] {
    border-color: rgba(25,135,84,.25);
    background: rgba(25,135,84,.10);
    color: var(--cf-success);
}

.cf-step-icon[b-8j8dv7lz61] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: #f8fafc;
    font-weight: 700;
}

.cf-step-card.is-active .cf-step-icon[b-8j8dv7lz61] {
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.10);
    color: #fff;
}

.cf-step-card.is-done .cf-step-icon[b-8j8dv7lz61] {
    border-color: rgba(25,135,84,.25);
    background: #fff;
    color: var(--cf-success);
}

.cf-step-label[b-8j8dv7lz61] {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .8;
}

.cf-step-title[b-8j8dv7lz61] {
    margin-top: .15rem;
    font-size: 1rem;
    font-weight: 600;
}

.cf-step-text[b-8j8dv7lz61] {
    margin-top: .2rem;
    font-size: .85rem;
    opacity: .85;
}

.cf-step-card.is-active .cf-step-text[b-8j8dv7lz61] {
    color: rgba(255,255,255,.75);
}

.cf-step-card.is-done .cf-step-text[b-8j8dv7lz61] {
    color: var(--cf-success);
}

.cf-step-line[b-8j8dv7lz61] {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: .25rem;
    background: rgba(255,255,255,.72);
}

.cf-step-shell[b-8j8dv7lz61] {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: .25rem;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    height: 30rem;
    display: flex;
    flex-direction: column;
}

.cf-section-eyebrow[b-8j8dv7lz61] {
    color: var(--cf-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cf-section-title[b-8j8dv7lz61] {
    margin-top: .2rem;
    color: var(--cf-text);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.cf-section-text[b-8j8dv7lz61] {
    color: var(--cf-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.cf-float > .form-control[b-8j8dv7lz61],
.cf-float > .form-select[b-8j8dv7lz61] {
    min-height: 4rem;
    border-color: var(--cf-border);
    border-radius: .25rem;
    background-color: rgba(255,255,255,.92);
}

.cf-float > label[b-8j8dv7lz61] {
    color: #64748b;
}

.cf-float > .form-control:focus[b-8j8dv7lz61],
.cf-float > .form-select:focus[b-8j8dv7lz61] {
    border-color: rgba(13,110,253,.55);
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.12);
}

.cf-status-button[b-8j8dv7lz61] {
    width: 100%;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: rgba(255,255,255,.82);
    color: #475569;
    text-align: left;
}

.cf-status-button.active[b-8j8dv7lz61] {
    border-color: rgba(25,135,84,.25);
    background: rgba(25,135,84,.10);
    color: var(--cf-success);
}

.cf-status-label[b-8j8dv7lz61] {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .8;
}

.cf-status-value[b-8j8dv7lz61] {
    margin-top: .2rem;
    font-size: .9rem;
    font-weight: 600;
}

.cf-toggle[b-8j8dv7lz61] {
    position: relative;
    width: 3rem;
    height: 1.65rem;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .2s ease;
}

.cf-toggle.on[b-8j8dv7lz61] {
    background: var(--cf-success);
}

.cf-toggle-knob[b-8j8dv7lz61] {
    position: absolute;
    top: .2rem;
    left: .2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #fff;
    transition: left .2s ease;
}

.cf-toggle.on .cf-toggle-knob[b-8j8dv7lz61] {
    left: 1.55rem;
}

.cf-alert-danger[b-8j8dv7lz61] {
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(220,53,69,.22);
    border-radius: .25rem;
    background: rgba(220,53,69,.10);
    color: var(--cf-danger);
    font-size: .92rem;
    font-weight: 600;
}

.cf-actions[b-8j8dv7lz61] {
    display: flex;
    flex-direction: row;
    gap: .75rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(219, 227, 239, .95);
    flex-wrap: wrap;
}

.cf-actions-group[b-8j8dv7lz61] {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.cf-action-button[b-8j8dv7lz61] {
    min-height: 2.5rem;
    padding: .5rem .85rem;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: rgba(255,255,255,.85);
    color: #475569;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.cf-action-button:disabled[b-8j8dv7lz61] {
    opacity: .55;
    cursor: not-allowed;
}

.cf-action-button.primary[b-8j8dv7lz61] {
    border-color: var(--cf-primary);
    background: var(--cf-primary);
    color: #fff;
}

.cf-action-button.success[b-8j8dv7lz61] {
    border-color: var(--cf-success);
    background: var(--cf-success);
    color: #fff;
}

.cf-action-button.danger[b-8j8dv7lz61] {
    border-color: rgba(220,53,69,.2);
    color: var(--cf-danger);
}

.cf-action-button.danger:hover[b-8j8dv7lz61] {
    background: rgba(220,53,69,.08);
}

.step-fade[b-8j8dv7lz61] {
    animation: fadeInStep-b-8j8dv7lz61 .35s ease;
}

@keyframes fadeInStep-b-8j8dv7lz61 {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image holder for product display - preserved */
.image-holder[b-8j8dv7lz61] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    width: 13rem;
    max-height: 10rem;
    padding: 10px;
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 20px; /* Rounded corners */
    border-top-left-radius: 0px;
    /*border-bottom-right-radius: 0px;*/
    border: 1px solid #e0e0e0; /* Light border */
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/ /* Subtle shadow */
}

.empty-image-holder[b-8j8dv7lz61] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    width: 5rem;
    max-height: 5rem;
    padding: 10px;
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 20px; /* Rounded corners */
    border-top-left-radius: 0px;
    /*border-bottom-right-radius: 0px;*/
    border: 1px solid #e0e0e0; /* Light border */
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/ /* Subtle shadow */
}

/*.image-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    width: 18rem;
    max-height: 12rem;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
}*/

/*.image-holder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.image-holder a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}*/

/* Half-size image styling - preserved */
.img-half-size[b-8j8dv7lz61] {
    width: 50%;
    height: auto;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (min-width: 576px) {
    .cf-hero[b-8j8dv7lz61] {
        padding: 1.5rem;
    }

    .cf-body[b-8j8dv7lz61] {
        padding: 1.25rem;
    }

    .cf-actions-group[b-8j8dv7lz61] {
        flex-direction: row;
    }

    .cf-pill-grid[b-8j8dv7lz61] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .cf-actions[b-8j8dv7lz61] {
        flex-direction: column;
    }

    .cf-actions-group[b-8j8dv7lz61] {
        width: 100%;
        flex-direction: column;
    }

    .cf-action-button[b-8j8dv7lz61] {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .cf-step-grid[b-8j8dv7lz61] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cf-step-shell[b-8j8dv7lz61] {
        padding: 1.5rem;
    }

    .cf-body[b-8j8dv7lz61] {
        padding: 1rem;
    }
}

@media (min-width: 992px) {
    .cf-pill-grid[b-8j8dv7lz61] {
        min-width: 320px;
    }
}

@media (min-width: 768px) {
    .cf-step-grid[b-8j8dv7lz61] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cf-step-shell[b-8j8dv7lz61] {
        padding: 1.5rem;
    }

    .cf-body[b-8j8dv7lz61] {
        padding: 1rem;
    }
}

@media (min-width: 992px) {
    .cf-pill-grid[b-8j8dv7lz61] {
        padding: 1rem;
        gap: 0.5rem;
    }

    .step-arrow[b-8j8dv7lz61] {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }

    .step-line[b-8j8dv7lz61] {
        max-width: 40px;
    }
}

@media (max-width: 768px) {
    .step-nav-container[b-8j8dv7lz61] {
        flex-wrap: wrap;
    }
}

/* Offcanvas host mode keeps the product wizard usable inside edit drawers. */
.cf-host-offcanvas .cf-page[b-8j8dv7lz61] {
    overflow: visible;
}

.cf-host-offcanvas .container-fluid[b-8j8dv7lz61] {
    padding: .5rem !important;
}

.cf-host-offcanvas .mx-auto[b-8j8dv7lz61] {
    max-width: none !important;
}

.cf-host-offcanvas .cf-hero[b-8j8dv7lz61] {
    padding: .9rem;
}

.cf-host-offcanvas .cf-hero-title[b-8j8dv7lz61] {
    font-size: 1.35rem;
}

.cf-host-offcanvas .cf-pill-grid[b-8j8dv7lz61] {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-host-offcanvas .cf-body[b-8j8dv7lz61] {
    padding: .75rem;
}

.cf-host-offcanvas .cf-step-grid[b-8j8dv7lz61] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    margin-bottom: .9rem;
}

.cf-host-offcanvas .cf-step-card[b-8j8dv7lz61] {
    min-height: 4rem;
    padding: .65rem;
}

.cf-host-offcanvas .cf-step-icon[b-8j8dv7lz61] {
    flex-basis: 2rem;
    width: 2rem;
    height: 2rem;
}

.cf-host-offcanvas .cf-step-text[b-8j8dv7lz61],
.cf-host-offcanvas .cf-step-label[b-8j8dv7lz61] {
    display: none;
}

.cf-host-offcanvas .cf-step-title[b-8j8dv7lz61] {
    font-size: .78rem;
}

.cf-host-offcanvas .cf-step-shell[b-8j8dv7lz61] {
    height: auto;
    min-height: 24rem;
    max-height: none;
    padding: .8rem;
}

.cf-host-offcanvas .cf-actions[b-8j8dv7lz61] {
    gap: .75rem;
    padding-top: .8rem;
}

.cf-host-offcanvas .cf-actions-group[b-8j8dv7lz61] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
}

.cf-host-offcanvas .cf-action-button[b-8j8dv7lz61] {
    width: 100%;
    min-width: 0;
}

.cf-batch-panel[b-8j8dv7lz61] {
    overflow: hidden;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: rgba(255, 255, 255, .86);
}

.cf-batch-head[b-8j8dv7lz61] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem .85rem;
    border-bottom: 1px solid var(--cf-border);
    background: #f8fafc;
}

.cf-batch-head h6[b-8j8dv7lz61] {
    margin: 0;
    color: var(--cf-text);
    font-size: .95rem;
    font-weight: 700;
}

.cf-batch-head span[b-8j8dv7lz61] {
    color: var(--cf-muted);
    font-size: .82rem;
}

.cf-batch-table th[b-8j8dv7lz61] {
    color: var(--cf-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cf-batch-table td[b-8j8dv7lz61] {
    vertical-align: middle;
}

.cf-batch-table .form-control[b-8j8dv7lz61] {
    min-width: 6rem;
}

@container (max-width: 42rem) {
    .cf-host-offcanvas .cf-pill-grid[b-8j8dv7lz61],
    .cf-host-offcanvas .cf-step-grid[b-8j8dv7lz61] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cf-host-offcanvas .cf-actions-group[b-8j8dv7lz61] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container (max-width: 32rem) {
    .cf-host-offcanvas .cf-pill-grid[b-8j8dv7lz61],
    .cf-host-offcanvas .cf-step-grid[b-8j8dv7lz61],
    .cf-host-offcanvas .cf-actions-group[b-8j8dv7lz61] {
        grid-template-columns: 1fr;
    }

    .cf-host-offcanvas .cf-hero-title[b-8j8dv7lz61] {
        font-size: 1.15rem;
    }

    .cf-batch-head[b-8j8dv7lz61] {
        align-items: stretch;
        flex-direction: column;
    }

    .cf-batch-head .btn[b-8j8dv7lz61] {
        width: 100%;
    }
}


/* _content/Sunflower.WebUi.Components/SharedComponents/PurchasePrint.razor.rz.scp.css */
body[b-d0p8knizxg] {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrolling of the whole page */
}

.page[b-d0p8knizxg] {
    margin: 0;
}

@page {
    margin: 0;
}

table[b-d0p8knizxg] {
    border-spacing: 0;
}

td[b-d0p8knizxg] {
    padding: 0;
}

img[b-d0p8knizxg] {
    border: 0;
}

.fontstylesvalue[b-d0p8knizxg] {
    font-size: 12px;
    font-weight: bold;
}

.textstart[b-d0p8knizxg] {
    text-align: start;
    padding: 1px;
    padding-left: 10px;
}

.textcenter[b-d0p8knizxg] {
    text-align: end;
    padding: 1px;
}

.textend[b-d0p8knizxg] {
    text-align: end;
    padding: 1px;
    padding-right: 10px;
}

.wrapper[b-d0p8knizxg] {
    width: 100%;
    table-layout: fixed;
    background-color: #dad5d5;
    padding-bottom: 10px;
    padding-top: 10px;
}

.main[b-d0p8knizxg] {
    background-color: #ffffff;
    margin: 0 auto;
    width: 100%;
    max-width: 290px;
    border-spacing: 0;
    font-family: sans-serif;
    color: #171a1b;
    overflow: hidden; /* Ensure the receipt height adjusts to content */
    page-break-inside: avoid;
    height: 50vh;
}

@media print {
    .main[b-d0p8knizxg] {
        margin-top: 0;
    }
}


.two-columns[b-d0p8knizxg] {
    text-align: center;
    font-size: 0;
}

    .two-columns .column[b-d0p8knizxg] {
        width: 100;
        max-width: auto;
        display: inline-block;
        vertical-align: top;
    }

.button[b-d0p8knizxg] {
    background-color: blue;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 0px;
    font-weight: bold;
}

.print-container[b-d0p8knizxg] {
    height: 80vh; /* Full viewport height */
    display: flex;
    flex-direction: column;
    width: 50vw;
}

@media (max-width: 576px) {
    .print-container[b-d0p8knizxg] {
        width: 90%; /* 90% of the screen width */
        min-width: 300px; /* Minimum width for small screens */
        margin: 0 auto;
    }

    .print-container[b-d0p8knizxg] {
        height: 80vh; /* Minimum height for modal content */
    }
}

.print-header[b-d0p8knizxg] {
    /* Keeps the header at the top */
    top: 0;
    left: 0;
    width: 100%;
    /*background-color: #007bff;*/
    background-color: white;
    color: white;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.print-body[b-d0p8knizxg] {
    flex: 1;
    margin-top: 5px; /* Prevent content overlap with fixed header */
    overflow-y: auto; /* Enables vertical scrolling for content */
    padding: 5px;
    background-color: #f4f4f4;
}

.print-preview[b-d0p8knizxg] {
    background-color: white;
    padding: 20px;
    margin: auto;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 2200px;
    height: 100%;
}

.print-header a[b-d0p8knizxg] {
    color: white;
    text-decoration: none;
}

.print-header .bi[b-d0p8knizxg] {
    font-size: 2rem;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/PurchaseProductTemplate.razor.rz.scp.css */
/* ProductTemplate Component Styles - cf-* Design System */

.cf-page[b-z82euz5v7x] {
    --cf-primary: #0d6efd;
    --cf-success: #198754;
    --cf-accent: #6f42c1;
    --cf-warning: #fd7e14;
    --cf-teal: #20c997;
    --cf-danger: #dc3545;
    --cf-page-bg: linear-gradient(to bottom, #f8fafc, #eefcf9 55%, #ffffff);
    --cf-border: #dbe3ef;
    --cf-text: #0f172a;
    --cf-muted: #64748b;
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.cf-product-workspace[b-z82euz5v7x] {
    container-type: inline-size;
    width: 100%;
    min-width: 0;
}

    .cf-product-workspace[b-z82euz5v7x],
    .cf-product-workspace *[b-z82euz5v7x] {
        min-width: 0;
    }

:root[b-z82euz5v7x] {
    --cf-gap: 2rem;
    --cf-control-height: 4rem;
    --cf-validation-height: 1.25rem;
}

/* Form spacing */
.cf-form-stack[b-z82euz5v7x] {
    display: grid;
    gap: var(--cf-gap);
}

.cf-form-row[b-z82euz5v7x] {
    --bs-gutter-x: var(--bs-gutter-y);
    --bs-gutter-y: var(--bs-gutter-x);
}

    .cf-form-row > [class*="col-"][b-z82euz5v7x] {
        display: flex;
    }

.cf-field[b-z82euz5v7x] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.cf-float > .form-control[b-z82euz5v7x],
.cf-float > .form-select[b-z82euz5v7x],
.cf-status-button[b-z82euz5v7x] {
    min-height: var(--cf-control-height);
}

.cf-field .cf-float[b-z82euz5v7x],
.cf-field .cf-status-button[b-z82euz5v7x] {
    width: 100%;
    height: 100%;
}

.cf-field .validation-message[b-z82euz5v7x],
.cf-field .text-danger[b-z82euz5v7x] {
    display: block;
    min-height: var(--cf-validation-height);
    margin-top: .25rem;
}

@media (max-width: 767.98px) {
    :root[b-z82euz5v7x] {
        --cf-gap: 1rem;
    }

    .cf-step-shell[b-z82euz5v7x] {
        height: 28rem;
        padding: 1rem;
    }
}

/* Decorative orbs */
.cf-orb[b-z82euz5v7x] {
    position: absolute;
    border-radius: 999px;
    filter: blur(56px);
    pointer-events: none;
    opacity: .8;
}

.cf-orb-left[b-z82euz5v7x] {
    top: 2rem;
    left: -4rem;
    width: 14rem;
    height: 14rem;
    background: rgba(253, 126, 20, 0.20);
}

.cf-orb-right[b-z82euz5v7x] {
    right: -4rem;
    bottom: 0;
    width: 18rem;
    height: 18rem;
    background: rgba(111, 66, 193, 0.20);
}

/* Page typography */
.cf-page-title[b-z82euz5v7x] {
    margin: 0;
    color: var(--cf-text);
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cf-page-text[b-z82euz5v7x] {
    max-width: 48rem;
    color: var(--cf-muted);
    font-size: .95rem;
    line-height: 1.65;
}

.cf-badge[b-z82euz5v7x] {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    border: 1px solid rgba(13, 110, 253, .15);
    border-radius: .25rem;
    background: rgba(255,255,255,.72);
    color: var(--cf-primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.cf-mode-switch[b-z82euz5v7x] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem;
    padding: .25rem;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: .25rem;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(10px);
}

.cf-mode-button[b-z82euz5v7x] {
    min-height: 2.5rem;
    padding: .55rem .9rem;
    border: 0;
    border-radius: .2rem;
    background: transparent;
    color: var(--cf-muted);
    font-size: .95rem;
    font-weight: 500;
}

    .cf-mode-button:hover[b-z82euz5v7x] {
        background: rgba(13, 110, 253, .08);
    }

    .cf-mode-button.active-create[b-z82euz5v7x] {
        background: var(--cf-primary);
        color: #fff;
    }

    .cf-mode-button.active-update[b-z82euz5v7x] {
        background: var(--cf-accent);
        color: #fff;
    }

/* Card container */
.cf-card[b-z82euz5v7x] {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: .25rem;
    background: rgba(255,255,255,.60);
    backdrop-filter: blur(16px);
}

/* Hero section */
.cf-hero[b-z82euz5v7x] {
    position: relative;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(219, 227, 239, .9);
    color: #fff;
    background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-accent) 52%, var(--cf-teal) 100%);
}

.cf-hero-overlay[b-z82euz5v7x] {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 28%), radial-gradient(circle at left, rgba(253,126,20,.16), transparent 25%);
}

.cf-hero-chip[b-z82euz5v7x] {
    display: inline-flex;
    padding: .35rem .7rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.85);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cf-hero-copy[b-z82euz5v7x] {
    position: relative;
    z-index: 1;
}

.cf-hero-title[b-z82euz5v7x] {
    margin: .9rem 0 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -.02em;
}

.cf-hero-text[b-z82euz5v7x] {
    margin-top: .75rem;
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    line-height: 1.6;
}

/* Progress pills */
.cf-pill-grid[b-z82euz5v7x] {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.cf-pill[b-z82euz5v7x] {
    padding: .85rem 1rem;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: .25rem;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
}

.cf-pill-label[b-z82euz5v7x] {
    color: var(--cf-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cf-pill-value[b-z82euz5v7x] {
    margin-top: .3rem;
    color: var(--cf-text);
    font-size: .95rem;
    font-weight: 600;
}

.cf-pill-subtext[b-z82euz5v7x] {
    color: var(--cf-muted);
    font-size: .76rem;
    font-weight: 500;
}

.cf-progress-track[b-z82euz5v7x] {
    width: 100%;
    height: .65rem;
    overflow: hidden;
    border: 1px solid rgba(219, 227, 239, .95);
    border-radius: .2rem;
    background: #fff;
}

.cf-progress-bar[b-z82euz5v7x] {
    height: 100%;
    background: var(--cf-teal);
    transition: width .25s ease;
}

/* Body content */
.cf-body[b-z82euz5v7x] {
    padding: 1rem;
}

/* Step navigation */
.cf-step-grid[b-z82euz5v7x] {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.cf-step-card[b-z82euz5v7x] {
    position: relative;
    display: flex;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: rgba(255,255,255,.82);
    color: #334155;
    backdrop-filter: blur(8px);
    transition: all .2s ease;
}

    .cf-step-card.is-active[b-z82euz5v7x] {
        border-color: var(--cf-primary);
        background: var(--cf-primary);
        color: #fff;
    }

    .cf-step-card.is-done[b-z82euz5v7x] {
        border-color: rgba(25,135,84,.25);
        background: rgba(25,135,84,.10);
        color: var(--cf-success);
    }

.cf-step-icon[b-z82euz5v7x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: #f8fafc;
    font-weight: 700;
}

.cf-step-card.is-active .cf-step-icon[b-z82euz5v7x] {
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.10);
    color: #fff;
}

.cf-step-card.is-done .cf-step-icon[b-z82euz5v7x] {
    border-color: rgba(25,135,84,.25);
    background: #fff;
    color: var(--cf-success);
}

.cf-step-label[b-z82euz5v7x] {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .8;
}

.cf-step-title[b-z82euz5v7x] {
    margin-top: .15rem;
    font-size: 1rem;
    font-weight: 600;
}

.cf-step-text[b-z82euz5v7x] {
    margin-top: .2rem;
    font-size: .85rem;
    opacity: .85;
}

.cf-step-card.is-active .cf-step-text[b-z82euz5v7x] {
    color: rgba(255,255,255,.75);
}

.cf-step-card.is-done .cf-step-text[b-z82euz5v7x] {
    color: var(--cf-success);
}

.cf-step-line[b-z82euz5v7x] {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: .25rem;
    background: rgba(255,255,255,.72);
}

.cf-step-shell[b-z82euz5v7x] {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: .25rem;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    height: 30rem;
    display: flex;
    flex-direction: column;
}

.cf-section-eyebrow[b-z82euz5v7x] {
    color: var(--cf-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cf-section-title[b-z82euz5v7x] {
    margin-top: .2rem;
    color: var(--cf-text);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.02em;
}

.cf-section-text[b-z82euz5v7x] {
    color: var(--cf-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.cf-float > .form-control[b-z82euz5v7x],
.cf-float > .form-select[b-z82euz5v7x] {
    min-height: 4rem;
    border-color: var(--cf-border);
    border-radius: .25rem;
    background-color: rgba(255,255,255,.92);
}

.cf-float > label[b-z82euz5v7x] {
    color: #64748b;
}

.cf-float > .form-control:focus[b-z82euz5v7x],
.cf-float > .form-select:focus[b-z82euz5v7x] {
    border-color: rgba(13,110,253,.55);
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.12);
}

.cf-status-button[b-z82euz5v7x] {
    width: 100%;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: rgba(255,255,255,.82);
    color: #475569;
    text-align: left;
}

    .cf-status-button.active[b-z82euz5v7x] {
        border-color: rgba(25,135,84,.25);
        background: rgba(25,135,84,.10);
        color: var(--cf-success);
    }

.cf-status-label[b-z82euz5v7x] {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .8;
}

.cf-status-value[b-z82euz5v7x] {
    margin-top: .2rem;
    font-size: .9rem;
    font-weight: 600;
}

.cf-toggle[b-z82euz5v7x] {
    position: relative;
    width: 3rem;
    height: 1.65rem;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background .2s ease;
}

    .cf-toggle.on[b-z82euz5v7x] {
        background: var(--cf-success);
    }

.cf-toggle-knob[b-z82euz5v7x] {
    position: absolute;
    top: .2rem;
    left: .2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #fff;
    transition: left .2s ease;
}

.cf-toggle.on .cf-toggle-knob[b-z82euz5v7x] {
    left: 1.55rem;
}

.cf-alert-danger[b-z82euz5v7x] {
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(220,53,69,.22);
    border-radius: .25rem;
    background: rgba(220,53,69,.10);
    color: var(--cf-danger);
    font-size: .92rem;
    font-weight: 600;
}

.cf-actions[b-z82euz5v7x] {
    display: flex;
    flex-direction: row;
    gap: .75rem;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(219, 227, 239, .95);
    flex-wrap: wrap;
}

.cf-actions-group[b-z82euz5v7x] {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.cf-action-button[b-z82euz5v7x] {
    min-height: 2.5rem;
    padding: .5rem .85rem;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: rgba(255,255,255,.85);
    color: #475569;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

    .cf-action-button:disabled[b-z82euz5v7x] {
        opacity: .55;
        cursor: not-allowed;
    }

    .cf-action-button.primary[b-z82euz5v7x] {
        border-color: var(--cf-primary);
        background: var(--cf-primary);
        color: #fff;
    }

    .cf-action-button.success[b-z82euz5v7x] {
        border-color: var(--cf-success);
        background: var(--cf-success);
        color: #fff;
    }

    .cf-action-button.danger[b-z82euz5v7x] {
        border-color: rgba(220,53,69,.2);
        color: var(--cf-danger);
    }

        .cf-action-button.danger:hover[b-z82euz5v7x] {
            background: rgba(220,53,69,.08);
        }

.step-fade[b-z82euz5v7x] {
    animation: fadeInStep-b-z82euz5v7x .35s ease;
}

@keyframes fadeInStep-b-z82euz5v7x {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image holder for product display - preserved */
.image-holder[b-z82euz5v7x] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    width: 13rem;
    max-height: 10rem;
    padding: 10px;
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 20px; /* Rounded corners */
    border-top-left-radius: 0px;
    /*border-bottom-right-radius: 0px;*/
    border: 1px solid #e0e0e0; /* Light border */
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/ /* Subtle shadow */
}

.empty-image-holder[b-z82euz5v7x] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    width: 5rem;
    max-height: 5rem;
    padding: 10px;
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 20px; /* Rounded corners */
    border-top-left-radius: 0px;
    /*border-bottom-right-radius: 0px;*/
    border: 1px solid #e0e0e0; /* Light border */
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/ /* Subtle shadow */
}

/*.image-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    width: 18rem;
    max-height: 12rem;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
}*/

/*.image-holder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.image-holder a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}*/

/* Half-size image styling - preserved */
.img-half-size[b-z82euz5v7x] {
    width: 50%;
    height: auto;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

@media (min-width: 576px) {
    .cf-hero[b-z82euz5v7x] {
        padding: 1.5rem;
    }

    .cf-body[b-z82euz5v7x] {
        padding: 1.25rem;
    }

    .cf-actions-group[b-z82euz5v7x] {
        flex-direction: row;
    }

    .cf-pill-grid[b-z82euz5v7x] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .cf-actions[b-z82euz5v7x] {
        flex-direction: column;
    }

    .cf-actions-group[b-z82euz5v7x] {
        width: 100%;
        flex-direction: column;
    }

    .cf-action-button[b-z82euz5v7x] {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .cf-step-grid[b-z82euz5v7x] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cf-step-shell[b-z82euz5v7x] {
        padding: 1.5rem;
    }

    .cf-body[b-z82euz5v7x] {
        padding: 1rem;
    }
}

@media (min-width: 992px) {
    .cf-pill-grid[b-z82euz5v7x] {
        min-width: 320px;
    }
}

@media (min-width: 768px) {
    .cf-step-grid[b-z82euz5v7x] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cf-step-shell[b-z82euz5v7x] {
        padding: 1.5rem;
    }

    .cf-body[b-z82euz5v7x] {
        padding: 1rem;
    }
}

@media (min-width: 992px) {
    .cf-pill-grid[b-z82euz5v7x] {
        padding: 1rem;
        gap: 0.5rem;
    }

    .step-arrow[b-z82euz5v7x] {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }

    .step-line[b-z82euz5v7x] {
        max-width: 40px;
    }
}

@media (max-width: 768px) {
    .step-nav-container[b-z82euz5v7x] {
        flex-wrap: wrap;
    }
}

/* Offcanvas host mode keeps the product wizard usable inside edit drawers. */
.cf-host-offcanvas .cf-page[b-z82euz5v7x] {
    overflow: visible;
}

.cf-host-offcanvas .container-fluid[b-z82euz5v7x] {
    padding: .5rem !important;
}

.cf-host-offcanvas .mx-auto[b-z82euz5v7x] {
    max-width: none !important;
}

.cf-host-offcanvas .cf-hero[b-z82euz5v7x] {
    padding: .9rem;
}

.cf-host-offcanvas .cf-hero-title[b-z82euz5v7x] {
    font-size: 1.35rem;
}

.cf-host-offcanvas .cf-pill-grid[b-z82euz5v7x] {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-host-offcanvas .cf-body[b-z82euz5v7x] {
    padding: .75rem;
}

.cf-host-offcanvas .cf-step-grid[b-z82euz5v7x] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .5rem;
    margin-bottom: .9rem;
}

.cf-host-offcanvas .cf-step-card[b-z82euz5v7x] {
    min-height: 4rem;
    padding: .65rem;
}

.cf-host-offcanvas .cf-step-icon[b-z82euz5v7x] {
    flex-basis: 2rem;
    width: 2rem;
    height: 2rem;
}

.cf-host-offcanvas .cf-step-text[b-z82euz5v7x],
.cf-host-offcanvas .cf-step-label[b-z82euz5v7x] {
    display: none;
}

.cf-host-offcanvas .cf-step-title[b-z82euz5v7x] {
    font-size: .78rem;
}

.cf-host-offcanvas .cf-step-shell[b-z82euz5v7x] {
    height: auto;
    min-height: 24rem;
    max-height: none;
    padding: .8rem;
}

.cf-host-offcanvas .cf-actions[b-z82euz5v7x] {
    gap: .75rem;
    padding-top: .8rem;
}

.cf-host-offcanvas .cf-actions-group[b-z82euz5v7x] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
}

.cf-host-offcanvas .cf-action-button[b-z82euz5v7x] {
    width: 100%;
    min-width: 0;
}

.cf-batch-panel[b-z82euz5v7x] {
    overflow: hidden;
    border: 1px solid var(--cf-border);
    border-radius: .25rem;
    background: rgba(255, 255, 255, .86);
}

.cf-batch-head[b-z82euz5v7x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem .85rem;
    border-bottom: 1px solid var(--cf-border);
    background: #f8fafc;
}

    .cf-batch-head h6[b-z82euz5v7x] {
        margin: 0;
        color: var(--cf-text);
        font-size: .95rem;
        font-weight: 700;
    }

    .cf-batch-head span[b-z82euz5v7x] {
        color: var(--cf-muted);
        font-size: .82rem;
    }

.cf-batch-table th[b-z82euz5v7x] {
    color: var(--cf-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cf-batch-table td[b-z82euz5v7x] {
    vertical-align: middle;
}

.cf-batch-table .form-control[b-z82euz5v7x] {
    min-width: 6rem;
}

@container (max-width: 42rem) {
    .cf-host-offcanvas .cf-pill-grid[b-z82euz5v7x],
    .cf-host-offcanvas .cf-step-grid[b-z82euz5v7x] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cf-host-offcanvas .cf-actions-group[b-z82euz5v7x] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container (max-width: 32rem) {
    .cf-host-offcanvas .cf-pill-grid[b-z82euz5v7x],
    .cf-host-offcanvas .cf-step-grid[b-z82euz5v7x],
    .cf-host-offcanvas .cf-actions-group[b-z82euz5v7x] {
        grid-template-columns: 1fr;
    }

    .cf-host-offcanvas .cf-hero-title[b-z82euz5v7x] {
        font-size: 1.15rem;
    }

    .cf-batch-head[b-z82euz5v7x] {
        align-items: stretch;
        flex-direction: column;
    }

        .cf-batch-head .btn[b-z82euz5v7x] {
            width: 100%;
        }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Quantity/QuantityControl.razor.rz.scp.css */
/* 
   QuantityControl Component Styles

   PURPOSE:
   - Center quantity control inside its row/cell
   - Match the height of the row it sits in
   - Prevent horizontal scrollbar
   - Keep controls usable on smaller screens
*/

.qty-control-shell[b-k8twkrino9],
.flex.h-100[b-k8twkrino9] {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: visible;
}

.qty-control-container[b-k8twkrino9] {
    width: 100%;
    min-width: 195px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: visible;
}

/* Your original wrapper used items-start.
   Override it so the control centers vertically. */
.items-start[b-k8twkrino9] {
    align-items: stretch !important;
}

.flex[b-k8twkrino9] {
    display: flex;
}

.h-100[b-k8twkrino9] {
    height: 100%;
}

/* Main quantity control */
.qty-control[b-k8twkrino9] {
    --qty-button-width: 3.5rem;
    --qty-value-width: 3.5rem;
    --qty-input-width: 4.25rem;
    --qty-gap: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--qty-gap);
    width: 100%;
    min-width: 195px;
   /* max-width: 195px;*/
    height: 100%;
    min-height: 2.8rem;
    background-color: transparent;
    padding: 0.25rem;
    flex-wrap: nowrap;
    overflow: visible;
}

    /* Buttons */
    .qty-control button[b-k8twkrino9],
    .qty-btn[b-k8twkrino9] {
        min-width: var(--qty-button-width) !important;
        width: var(--qty-button-width);
        height: 100%;
        min-height: 2.8rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 1 var(--qty-button-width);
        padding: 0.35rem 0.5rem;
        line-height: 1;
    }

/* Quantity Display Badge */
.qty-value[b-k8twkrino9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--qty-value-width);
    height: 100%;
    min-height: 2.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.15s ease-in-out;
    flex: 0 1 var(--qty-value-width);
}

    .qty-value:hover[b-k8twkrino9] {
        opacity: 0.8;
        transform: scale(1.05);
    }

    .qty-value:active[b-k8twkrino9] {
        transform: scale(0.95);
    }

/* Direct Input Field */
.qty-input[b-k8twkrino9] {
    min-width: var(--qty-input-width);
    width: var(--qty-input-width);
    height: 100%;
    min-height: 2.8rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    transition: all 0.15s ease-in-out;
    flex: 0 1 var(--qty-input-width);
}

    .qty-input:focus[b-k8twkrino9] {
        outline: none;
        border-color: white;
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
    }

    .qty-input[b-k8twkrino9]::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    /* Remove spinner arrows from number input */
    .qty-input[b-k8twkrino9]::-webkit-outer-spin-button,
    .qty-input[b-k8twkrino9]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .qty-input[type=number][b-k8twkrino9] {
        -moz-appearance: textfield;
    }

/* Trash/Remove Button Hover State */
.trash-hover-btn[b-k8twkrino9] {
    transition: all 0.15s ease-in-out;
}

    .trash-hover-btn:hover[b-k8twkrino9] {
        background-color: rgba(220, 53, 69, 0.2);
        border-color: rgba(220, 53, 69, 0.5);
    }

    .trash-hover-btn:active[b-k8twkrino9] {
        background-color: rgba(220, 53, 69, 0.35);
        border-color: rgba(220, 53, 69, 0.8);
    }

/* Add/Increment Button Hover State */
.add-hover-btn[b-k8twkrino9] {
    transition: all 0.15s ease-in-out;
}

    .add-hover-btn:hover[b-k8twkrino9] {
        background-color: rgba(40, 167, 69, 0.2);
        border-color: rgba(40, 167, 69, 0.5);
    }

    .add-hover-btn:active[b-k8twkrino9] {
        background-color: rgba(40, 167, 69, 0.35);
        border-color: rgba(40, 167, 69, 0.8);
    }

/* Tablet */
@media (max-width: 768px) {
    .qty-control[b-k8twkrino9] {
        --qty-button-width: 3rem;
        --qty-value-width: 3rem;
        --qty-input-width: 3.75rem;
        --qty-gap: 0.35rem;
        max-width: 11.25rem;
        padding: 0.2rem;
    }

        .qty-control button[b-k8twkrino9],
        .qty-btn[b-k8twkrino9] {
            min-width: var(--qty-button-width) !important;
            width: var(--qty-button-width) !important;
            flex-basis: var(--qty-button-width);
            font-size: 0.9rem;
        }

    .qty-value[b-k8twkrino9] {
        min-width: var(--qty-value-width);
        flex-basis: var(--qty-value-width);
        font-size: 0.9rem;
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    .qty-input[b-k8twkrino9] {
        min-width: var(--qty-input-width);
        width: var(--qty-input-width);
        flex-basis: var(--qty-input-width);
        font-size: 0.9rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .qty-control[b-k8twkrino9] {
        --qty-button-width: 2.65rem;
        --qty-value-width: 2.65rem;
        --qty-input-width: 3.35rem;
        --qty-gap: 0.25rem;
        max-width: 10rem;
        padding: 0.15rem;
    }

        .qty-control button[b-k8twkrino9],
        .qty-btn[b-k8twkrino9] {
            min-width: var(--qty-button-width) !important;
            width: var(--qty-button-width) !important;
            flex-basis: var(--qty-button-width);
            font-size: 0.85rem;
            padding-left: 0.35rem !important;
            padding-right: 0.35rem !important;
        }

    .qty-value[b-k8twkrino9] {
        min-width: var(--qty-value-width);
        flex-basis: var(--qty-value-width);
        font-size: 0.85rem;
        padding-left: 0.45rem !important;
        padding-right: 0.45rem !important;
    }

    .qty-input[b-k8twkrino9] {
        min-width: var(--qty-input-width);
        width: var(--qty-input-width);
        flex-basis: var(--qty-input-width);
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .qty-control[b-k8twkrino9] {
        min-width: 195px;
       /* max-width: 195px;*/
    }

    .qty-control-container[b-k8twkrino9] {
        min-width: 195px;
    }
}

@media (max-width: 480px) {
    .qty-control[b-k8twkrino9] {
        min-width: 195px;
        /*max-width: 195px;*/
    }

    .qty-control-container[b-k8twkrino9] {
        min-width: 195px;
    }
}

/* _content/Sunflower.WebUi.Components/SharedComponents/QuotePrint.razor.rz.scp.css */
body[b-bgvsr3n02h] {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents scrolling of the whole page */
}

.page[b-bgvsr3n02h] {
    margin: 0;
}

@page {
    margin: 0;
}

table[b-bgvsr3n02h] {
    border-spacing: 0;
}

td[b-bgvsr3n02h] {
    padding: 0;
}

img[b-bgvsr3n02h] {
    border: 0;
}

.fontstylesvalue[b-bgvsr3n02h] {
    font-size: 12px;
    font-weight: bold;
}

.textstart[b-bgvsr3n02h] {
    text-align: start;
    padding: 1px;
    padding-left: 10px;
}

.textcenter[b-bgvsr3n02h] {
    text-align: end;
    padding: 1px;
}

.textend[b-bgvsr3n02h] {
    text-align: end;
    padding: 1px;
    padding-right: 10px;
}

.wrapper[b-bgvsr3n02h] {
    width: 100%;
    table-layout: fixed;
    background-color: #dad5d5;
    padding-bottom: 10px;
    padding-top: 10px;
}

.main[b-bgvsr3n02h] {
    background-color: #ffffff;
    margin: 0 auto;
    width: 100%;
    max-width: 290px;
    border-spacing: 0;
    font-family: sans-serif;
    color: #171a1b;
    overflow: hidden; /* Ensure the receipt height adjusts to content */
    page-break-inside: avoid;
    height: 50vh;
}

@media print {
    .main[b-bgvsr3n02h] {
        margin-top: 0;
    }
}


.two-columns[b-bgvsr3n02h] {
    text-align: center;
    font-size: 0;
}

    .two-columns .column[b-bgvsr3n02h] {
        width: 100;
        max-width: auto;
        display: inline-block;
        vertical-align: top;
    }

.button[b-bgvsr3n02h] {
    background-color: blue;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 0px;
    font-weight: bold;
}

.print-container[b-bgvsr3n02h] {
    height: 80vh; /* Full viewport height */
    /* display: flex;*/
    flex-direction: column;
    /*width: 50vw;*/
}

@media (max-width: 576px) {
    .print-container[b-bgvsr3n02h] {
        width: 90%; /* 90% of the screen width */
        min-width: 300px; /* Minimum width for small screens */
        margin: 0 auto;
    }

    .print-container[b-bgvsr3n02h] {
        height: 80vh; /* Minimum height for modal content */
    }
}

.print-header[b-bgvsr3n02h] {
    /* Keeps the header at the top */
    top: 0;
    left: 0;
    width: 100%;
    /*background-color: #007bff;*/
    background-color: white;
    color: white;
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.print-body[b-bgvsr3n02h] {
    flex: 1;
    margin-top: 5px; /* Prevent content overlap with fixed header */
    overflow-y: auto; /* Enables vertical scrolling for content */
    padding: 5px;
    background-color: #f4f4f4;
}

.print-preview[b-bgvsr3n02h] {
    background-color: white;
    padding: 20px;
    margin: auto;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 2200px;
    height: 100%;
}

.print-header a[b-bgvsr3n02h] {
    color: white;
    text-decoration: none;
}

.print-header .bi[b-bgvsr3n02h] {
    font-size: 2rem;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/RecordWorkspaceTemplate.razor.rz.scp.css */
.record-workspace-shell[b-07ydibr7tk] {
    width: 100%;
    padding: 16px;
}

.record-workspace-frame[b-07ydibr7tk] {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.record-workspace-frame[b-07ydibr7tk]::before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 4px;
    background: #0f766e;
    content: "";
}

.record-workspace-header[b-07ydibr7tk] {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto minmax(220px, auto);
    gap: 24px;
    align-items: center;
    min-height: 132px;
    padding: 20px 24px 18px 28px;
    border-bottom: 1px solid #d8e0ea;
}

.record-workspace-heading[b-07ydibr7tk] {
    min-width: 0;
}

.record-workspace-kicker[b-07ydibr7tk] {
    margin-bottom: 4px;
    color: #0f766e;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.record-workspace-title[b-07ydibr7tk] {
    margin: 0;
    overflow-wrap: anywhere;
    color: #172033;
    font-size: 1.75rem;
    font-weight: 780;
    letter-spacing: 0;
}

.record-workspace-context[b-07ydibr7tk] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 6px;
    color: #64748b;
    font-size: .88rem;
}

.record-workspace-number[b-07ydibr7tk],
.record-workspace-context strong[b-07ydibr7tk] {
    color: #273449;
    font-weight: 750;
}

.record-workspace-separator[b-07ydibr7tk] {
    color: #a8b3c3;
}

.record-workspace-facts[b-07ydibr7tk] {
    display: flex;
    align-items: stretch;
}

.record-workspace-fact[b-07ydibr7tk] {
    min-width: 112px;
}

.record-workspace-fact > span:first-child[b-07ydibr7tk] {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.record-workspace-fact strong[b-07ydibr7tk] {
    color: #172033;
    font-size: .9rem;
}

.record-workspace-divider[b-07ydibr7tk] {
    width: 1px;
    margin: 0 18px;
    background: #d8e0ea;
}

.record-workspace-status[b-07ydibr7tk] {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.record-workspace-status i[b-07ydibr7tk] {
    color: #d97706;
    font-size: .52rem;
}

.record-workspace-status.active i[b-07ydibr7tk] {
    color: #059669;
}

.record-workspace-status.inactive i[b-07ydibr7tk] {
    color: #dc2626;
}

.record-workspace-actions[b-07ydibr7tk] {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.record-workspace-message[b-07ydibr7tk] {
    padding: 14px 24px 0 28px;
}

.record-workspace-message:empty[b-07ydibr7tk] {
    display: none;
}

.record-workspace-loading[b-07ydibr7tk] {
    display: flex;
    min-height: 420px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 650;
}

.record-workspace-pane[b-07ydibr7tk] {
    min-height: 500px;
    padding: 20px 24px 24px 28px;
    background: #fff;
}

@media (max-width: 1100px) {
    .record-workspace-header[b-07ydibr7tk] {
        grid-template-columns: minmax(240px, 1fr) auto;
    }

    .record-workspace-actions[b-07ydibr7tk] {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .record-workspace-shell[b-07ydibr7tk] {
        padding: 10px;
    }

    .record-workspace-header[b-07ydibr7tk] {
        grid-template-columns: 1fr;
        gap: 16px;
        min-height: auto;
        padding-right: 16px;
        padding-left: 18px;
    }

    .record-workspace-actions[b-07ydibr7tk] {
        grid-column: auto;
    }

    .record-workspace-pane[b-07ydibr7tk] {
        padding-right: 16px;
        padding-left: 18px;
    }

    .record-workspace-actions[b-07ydibr7tk] >  .btn {
        flex: 1 1 auto;
    }
}

/* Contained employee workspace: fixed header and tab strip, scrolling panels. */
.record-workspace-shell--contained[b-07ydibr7tk] { display: flex; min-height: 0; overflow: hidden; }
.record-workspace-shell--contained .record-workspace-frame[b-07ydibr7tk] { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; min-width: 0; }
.record-workspace-shell--contained .record-workspace-header[b-07ydibr7tk],
.record-workspace-shell--contained .record-workspace-message[b-07ydibr7tk] { flex: 0 0 auto; }
.record-workspace-shell--contained .record-workspace-message[b-07ydibr7tk] { max-height: 20%; overflow: auto; }
.record-workspace-shell--contained .record-workspace-tabs[b-07ydibr7tk] { display: flex; flex: 1 1 0; min-height: 0; min-width: 0; overflow: hidden; }
.record-workspace-shell--contained .record-workspace-tabs[b-07ydibr7tk]  > .tab-container { flex: 1 1 0; flex-direction: column; height: auto !important; min-height: 0; min-width: 0; overflow: hidden; }
.record-workspace-shell--contained .record-workspace-tabs[b-07ydibr7tk]  .tab-panels { flex: 1 1 0; min-height: 0; padding-top: 0; overflow: hidden; }
.record-workspace-shell--contained .record-workspace-tabs[b-07ydibr7tk]  .tab-panel.active { overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; }
.record-workspace-shell--contained .record-workspace-pane[b-07ydibr7tk] { flex: 0 0 auto; min-height: 0; }
.record-workspace-shell--contained .record-workspace-loading[b-07ydibr7tk] { flex: 1 1 auto; min-height: 0; }
.record-workspace-shell--contained .record-workspace-tabs[b-07ydibr7tk]  .rs-tabs-nav { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.record-workspace-shell--contained .record-workspace-tabs[b-07ydibr7tk]  .rs-tabs-nav > .nav-item { flex: 0 0 auto; }

@media (max-width: 720px), (max-height: 600px) {
    .record-workspace-shell--contained .record-workspace-header[b-07ydibr7tk] { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; min-height: 0; max-height: 35vh; max-height: 35dvh; padding: 10px 14px; overflow: auto; }
    .record-workspace-shell--contained .record-workspace-title[b-07ydibr7tk] { font-size: 1.1rem; }
    .record-workspace-shell--contained .record-workspace-context[b-07ydibr7tk] { gap: 4px 8px; margin-top: 3px; font-size: .75rem; }
    .record-workspace-shell--contained .record-workspace-kicker[b-07ydibr7tk] { font-size: .62rem; }
    .record-workspace-shell--contained .record-workspace-facts[b-07ydibr7tk] { grid-column: 1 / -1; grid-row: 2; }
    .record-workspace-shell--contained .record-workspace-fact[b-07ydibr7tk] { min-width: 0; }
    .record-workspace-shell--contained .record-workspace-fact > span:first-child[b-07ydibr7tk] { display: inline; margin-right: 6px; }
    .record-workspace-shell--contained .record-workspace-fact strong[b-07ydibr7tk] { font-size: .75rem; }
    .record-workspace-shell--contained .record-workspace-actions[b-07ydibr7tk] { grid-column: 2; grid-row: 1; flex-direction: column; gap: 5px; }
    .record-workspace-shell--contained .record-workspace-actions[b-07ydibr7tk]  .btn { min-height: 36px; font-size: .75rem; }
    .record-workspace-shell--contained .record-workspace-pane[b-07ydibr7tk] { padding: 12px; }
    .record-workspace-shell--contained .record-workspace-message[b-07ydibr7tk] { padding: 8px 12px 0; }
    .record-workspace-shell--contained .record-workspace-tabs[b-07ydibr7tk]  .rs-tabs-nav .nav-link { min-height: 44px; padding: 8px 10px; }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/RSSpinner.razor.rz.scp.css */
.spinner-container[b-oww6of20go] {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
}

.spinner-fade-overlay[b-oww6of20go] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 1000;
}

    .spinner-fade-overlay.show[b-oww6of20go] {
        display: block;
        opacity: 2;
    }

.spinner-7[b-oww6of20go] {
    /*Increases size*/
    --d: 30px;
    width: 4px;
    height: 4px;
    border-radius: 60%;
    color: #25b09b;
    box-shadow: calc(1*var(--d)) calc(0*var(--d)) 0 0, calc(0.707*var(--d)) calc(0.707*var(--d)) 0 1px, calc(0*var(--d)) calc(1*var(--d)) 0 2px, calc(-0.707*var(--d)) calc(0.707*var(--d)) 0 3px, calc(-1*var(--d)) calc(0*var(--d)) 0 4px, calc(-0.707*var(--d)) calc(-0.707*var(--d))0 5px, calc(0*var(--d)) calc(-1*var(--d)) 0 6px;
    animation: s7-b-oww6of20go 1s infinite steps(8);
}

@keyframes s7-b-oww6of20go {
    100% {
        transform: rotate(1turn)
    }
}


/**/
/*body {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-auto-rows: 130px;
    place-items: center;
}*/


*[b-oww6of20go] {
    box-sizing: border-box;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/RVTable/RESTable.razor.rz.scp.css */

/*.rs-table-shell {
    --rs-border: #dee2e6;
    --rs-header-bg: #f8f9fa;
    border: 1px solid var(--rs-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.rs-table-viewport {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: auto;
    overflow-y: auto;
    border-top: 1px solid #dee2e6;
}*/

/* Chrome, Edge, Safari */
.table-responsive[b-wh9ytknmc2]::-webkit-scrollbar {
    width: 16px; /* vertical scrollbar width */
    height: 16px; /* horizontal scrollbar height */
}

.table-responsive[b-wh9ytknmc2]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
}

.table-responsive[b-wh9ytknmc2]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.rs-table-shell[b-wh9ytknmc2] {
    --rs-border: #dee2e6;
    --rs-header-bg: #f8f9fa;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 1px solid var(--rs-border);
    border-radius: 0.2rem;
    background: #fff;
    /*box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .04);*/
    overflow: hidden;
}

.rs-table-viewport[b-wh9ytknmc2] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    border-top: 1px solid var(--rs-border);
}

.table-container[b-wh9ytknmc2] {
    min-width: 100%;
}

.rs-table-toolbar[b-wh9ytknmc2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(#fff, #fbfbfb);
}

.rs-table-title[b-wh9ytknmc2] {
    font-weight: 600;
    font-size: 1rem;
}

.rs-table-badge[b-wh9ytknmc2] {
    font-size: .825rem;
    color: #6c757d;
    padding: 3px 8px;
    border: 1px solid var(--rs-border);
    border-radius: 999px;
    background: #fff;
}

.rs-table-toolbar-right[b-wh9ytknmc2] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rs-table[b-wh9ytknmc2] {
    width: 100%;
    margin-bottom: 0;
    table-layout: fixed;
}

.rs-th[b-wh9ytknmc2] {
    border-bottom: 1px solid var(--rs-border);
    user-select: none;
}

.rs-th-inner[b-wh9ytknmc2] {
    position: relative;
    padding-right: 10px;
}

.rs-th-text[b-wh9ytknmc2] {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.rs-sort-icon[b-wh9ytknmc2] {
    opacity: .8;
}

.rs-filter[b-wh9ytknmc2] {
    font-size: .82rem;
}

/* Resizer */
.resizer[b-wh9ytknmc2] {
    position: absolute;
    right: 0;
    top: 0;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    opacity: 0;
    transition: opacity .12s ease;
}

thead th:hover .resizer[b-wh9ytknmc2] {
    opacity: 1;
}

.resizer[b-wh9ytknmc2]::after {
    content: "";
    position: absolute;
    right: 3px;
    top: 20%;
    width: 2px;
    height: 60%;
    border-radius: 2px;
    background: rgba(0,0,0,.22);
}

body.rs-col-resizing[b-wh9ytknmc2] {
    cursor: col-resize !important;
    user-select: none !important;
}

/* Frozen visuals */
.rs-frozen-header[b-wh9ytknmc2] {
    box-shadow: 6px 0 12px rgba(0,0,0,.05);
}

.rs-frozen-cell[b-wh9ytknmc2] {
    box-shadow: 6px 0 12px rgba(0,0,0,.03);
}

/* Totals */
.rs-totals-row th[b-wh9ytknmc2], .rs-totals-row td[b-wh9ytknmc2] {
    font-weight: 600;
    font-size: .85rem;
    border-top: 1px solid var(--rs-border);
    border-bottom: 1px solid var(--rs-border);
}

/* Placeholder */
.rs-placeholder-row td[b-wh9ytknmc2] {
    color: rgba(108,117,125,.65);
}

.rs-placeholder-dash[b-wh9ytknmc2] {
    display: inline-block;
    width: 100%;
    text-align: center;
    opacity: .6;
}

/* Optional reorder styles (if enabled) */
th.drag-over[b-wh9ytknmc2] {
    outline: 2px dashed rgba(0,0,0,.25);
    outline-offset: -4px;
}

/* Header height */
.rs-table thead #header-row th[b-wh9ytknmc2] {
    height: 65px; /* <-- change this */
    vertical-align: middle;
}

    /* Make the inner layout fill the height */
    .rs-table thead #header-row th .rs-th-inner[b-wh9ytknmc2] {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

.rs-table thead #header-row th[b-wh9ytknmc2] {
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;
}

.rs-table-pager[b-wh9ytknmc2] {
    flex: 0 0 auto;
    border-top: 1px solid #dee2e6;
    background: #fff;
}

/* =========================================================
   MOBILE RESPONSIVE STYLES
   ========================================================= */

/* Mobile: Horizontal scroll wrapper */
@media (max-width: 767px) {
    .rs-table-shell[b-wh9ytknmc2] {
        overflow: hidden;
        border-radius: 0.375rem;
    }

    .rs-table-viewport[b-wh9ytknmc2] {
        overflow-x: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rs-table[b-wh9ytknmc2] {
        min-width: 600px;
        table-layout: auto;
    }

    /* Reduce padding on mobile */
    .rs-table-toolbar[b-wh9ytknmc2] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .rs-table-title[b-wh9ytknmc2] {
        font-size: 0.9rem;
    }

    .rs-table-toolbar-right[b-wh9ytknmc2] {
        width: 100%;
        justify-content: space-between;
    }

    /* Reduce cell padding */
    .rs-table td[b-wh9ytknmc2], .rs-table th[b-wh9ytknmc2] {
        padding: 0.5rem !important;
        font-size: 0.85rem;
    }

        /* Hide less important columns on mobile - add class "rs-hide-mobile" to columns */
        .rs-table th.rs-hide-mobile[b-wh9ytknmc2],
        .rs-table td.rs-hide-mobile[b-wh9ytknmc2] {
            display: none;
        }

    /* Sticky first column on mobile for context */
    .rs-table tbody tr td:first-child[b-wh9ytknmc2] {
        font-weight: 600;
        background: rgba(0, 0, 0, 0.02);
    }

    /* Touch-friendly resize on mobile */
    .resizer[b-wh9ytknmc2] {
        width: 12px;
        opacity: 0.3;
    }

    /* Adjust header on mobile */
    .rs-table thead #header-row th[b-wh9ytknmc2] {
        padding: 0.75rem 0.5rem;
        height: auto;
    }

    .rs-th-inner[b-wh9ytknmc2] {
        padding-right: 0.5rem;
    }

    /* Totals row mobile */
    .rs-totals-row th[b-wh9ytknmc2],
    .rs-totals-row td[b-wh9ytknmc2] {
        padding: 0.5rem !important;
        font-size: 0.8rem;
    }
}

/* Tablet: Medium adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .rs-table[b-wh9ytknmc2] {
        table-layout: auto;
    }

    .rs-table td[b-wh9ytknmc2], .rs-table th[b-wh9ytknmc2] {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .rs-table-toolbar[b-wh9ytknmc2] {
        flex-wrap: wrap;
    }
}

/* Desktop: Normal layout */
@media (min-width: 1024px) {
    .rs-table[b-wh9ytknmc2] {
        table-layout: fixed;
    }

    .rs-table td[b-wh9ytknmc2], .rs-table th[b-wh9ytknmc2] {
        padding: 1rem;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/RVTable/RESTemplateColumns.razor.rz.scp.css */
/* _content/Sunflower.WebUi.Components/SharedComponents/SearchTabulator/DateRangePicker.razor.rz.scp.css */
.drp-wrap[b-ml396kdjr3] {
    position: relative;
}

.search-label[b-ml396kdjr3] {
    color: white;
}

.drp-popup[b-ml396kdjr3] {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    z-index: 1200;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: .75rem;
    min-width: 620px;
}

.drp-toolbar[b-ml396kdjr3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .75rem;
}

.drp-toolbar-actions[b-ml396kdjr3] {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.drp-months[b-ml396kdjr3] {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: .75rem;
}

.drp-month-title[b-ml396kdjr3] {
    font-weight: 600;
    margin-bottom: .25rem;
    text-align: center;
    color: #111827;
}

.drp-weekdays[b-ml396kdjr3],
.drp-days[b-ml396kdjr3] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .2rem;
}

.drp-weekday[b-ml396kdjr3] {
    font-size: .75rem;
    text-align: center;
    color: #6b7280;
}

.drp-day[b-ml396kdjr3] {
    border: 1px solid transparent;
    border-radius: .35rem;
    padding: .35rem 0;
    background: #fff;
    cursor: pointer;
    color: #111827;
}

.drp-day--muted[b-ml396kdjr3] {
    color: #9ca3af;
}

.drp-day--disabled[b-ml396kdjr3] {
    opacity: .35;
    cursor: not-allowed;
}

.drp-day--inrange[b-ml396kdjr3] {
    background: #dbeafe;
}

.drp-day--start[b-ml396kdjr3],
.drp-day--end[b-ml396kdjr3] {
    background: #2563eb;
    color: #fff;
}

.drp-day--today[b-ml396kdjr3] {
    border-color: #2563eb;
}

@media (max-width: 640.98px) {
    .drp-popup[b-ml396kdjr3] {
        position: fixed;
        top: calc(var(--navbar-height, 4.25rem) + .5rem);
        left: .5rem;
        right: .5rem;
        min-width: 0;
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - var(--navbar-height, 4.25rem) - 1rem);
        overflow-y: auto;
    }

    .drp-toolbar[b-ml396kdjr3] {
        align-items: stretch;
    }

    .drp-toolbar-actions[b-ml396kdjr3] {
        flex: 1 1 auto;
        justify-content: center;
    }

    .drp-months[b-ml396kdjr3] {
        grid-template-columns: minmax(0, 1fr);
    }

    .drp-month[b-ml396kdjr3] {
        min-width: 0;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/SearchTabulator/SearchBarTab.razor.rz.scp.css */
body[b-isphlje6t9] {
}
/* ---------- SearchTab in navbar (compact) ---------- */
.searchbar-tab-root[b-isphlje6t9] {
    width: 100%;
    min-width: 0;
}

.searchtab-navbar[b-isphlje6t9] {
    width: 100%;
    max-width: 1180px;
    min-width: 0;
}

.searchtab-navbar-centered[b-isphlje6t9] {
    justify-content: center;
}

.search-label[b-isphlje6t9] {
    color: #fff;
}

.searchtab-btn[b-isphlje6t9] {
    height: 3.5rem;
    width: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.searchtab-badge[b-isphlje6t9] {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
}

    .searchtab-btn:hover:not(:disabled)[b-isphlje6t9] {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: white;
        transform: scale(1.05);
    }

/* ============================================================================
   VIEW TOGGLE BUTTONS - Cards vs Table
   When active: highlighted background and full opacity
   When inactive: faded appearance
   ============================================================================ */
.searchtab-toggle .btn[b-isphlje6t9] {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease-in-out;
}

    .searchtab-toggle .btn:hover[b-isphlje6t9] {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: white;
    }

    .searchtab-toggle .btn:first-child[b-isphlje6t9] {
        border-right: none;
    }

    .searchtab-toggle .btn:last-child[b-isphlje6t9] {
        border-left: none;
    }

.searchtab-control[b-isphlje6t9] {
    height: 3.5rem;
    border-radius: 5px;
    /*padding-left: 1.25rem;
    padding-right: 2.75rem;*/
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

.searchtab-select-control[b-isphlje6t9] {
    height: 3.5rem;
    border-radius: 5px;
    /*padding-left: 1.25rem;
    padding-right: 2.75rem;*/
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    font-size: 1.1rem;
    padding: 0.5rem 0.75rem;
}

    .searchtab-select-control:focus[b-isphlje6t9] {
        background: rgba(255,255,255,0.16);
        color: #fff;
    }

    .searchtab-select-control option[b-isphlje6t9] {
        color: #111;
        background: #fff;
        font-size: 1.1rem;
        padding: 0.75rem 0.5rem;
        line-height: 1.8;
    }

.searchtab-control:focus[b-isphlje6t9] {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 0 0 .2rem rgba(255,255,255,0.15);
    color: #fff;
}

.searchtab-navbar .form-floating > label[b-isphlje6t9] {
    color: rgba(255,255,255,0.85);
}

.searchtab-select-control:focus[b-isphlje6t9] {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.6);
}

.searchtab-input[b-isphlje6t9] {
    min-width: 280px;
    max-width: 400px;
}

.searchtab-left[b-isphlje6t9],
.searchtab-right[b-isphlje6t9] {
    min-width: 0;
}

.searchtab-right[b-isphlje6t9] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.searchtab-date-range[b-isphlje6t9] {
    flex: 0 1 16rem;
    min-width: 12.5rem;
}

.searchtab-toggle[b-isphlje6t9] {
    white-space: nowrap;
}

/* Mobile: enhance dropdown option visibility on small screens */
@media (max-width: 768px) {
    .searchtab-select-control[b-isphlje6t9] {
        font-size: 1.25rem;
        padding: 0.75rem 1rem;
    }

        .searchtab-select-control option[b-isphlje6t9] {
            font-size: 1.25rem;
            padding: 1rem 0.75rem;
            line-height: 2;
        }
}

/* Mobile: allow wrapping without crushing icons */
@media (max-width: 991.98px) {
    .searchtab-navbar[b-isphlje6t9] {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .searchtab-navbar-centered[b-isphlje6t9] {
        justify-content: center;
    }

    .searchtab-left[b-isphlje6t9],
    .searchtab-right[b-isphlje6t9],
    .searchtab-toggle[b-isphlje6t9],
    .range-mode-dropdown[b-isphlje6t9],
    .searchtab-date-range[b-isphlje6t9] {
        flex: 0 1 auto;
        min-width: 0;
    }

    .searchtab-input[b-isphlje6t9] {
        flex: 1 1 18rem;
        min-width: min(100%, 18rem);
        max-width: 100%;
    }
}

.purchase-order-nav[b-isphlje6t9] {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: .5rem;
    flex-wrap: wrap;
}

    .purchase-order-nav .input-group[b-isphlje6t9] {
        flex: 1 1 460px;
        max-width: 400px;
    }

    .purchase-order-nav .form-control[b-isphlje6t9],
    .purchase-order-nav .form-floating > .form-control[b-isphlje6t9] {
        border-radius: 0;
    }

.purchase-order-actions[b-isphlje6t9] {
    flex: 0 0 auto;
}

    .purchase-order-actions .toolbar-icon.btn-tall[b-isphlje6t9] {
        width: 3.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }


.purchase-order-number-field[b-isphlje6t9] {
    flex: 0 1 75%;
    max-width: 75%;
}

/* Range mode dropdown - ensure proper sizing with StatusSelect */
.range-mode-dropdown[b-isphlje6t9] {
    display: flex;
    align-items: center;
    height: 3.5rem;
}

@media (min-width: 992px) {
    .searchtab-navbar[b-isphlje6t9] {
        max-width: none;
        flex-wrap: nowrap !important;
    }

    .searchtab-left[b-isphlje6t9],
    .searchtab-right[b-isphlje6t9],
    .searchtab-toggle[b-isphlje6t9],
    .range-mode-dropdown[b-isphlje6t9],
    .searchtab-date-range[b-isphlje6t9] {
        flex: 0 0 auto;
    }

    .searchtab-input[b-isphlje6t9] {
        flex: 1 1 16rem;
        min-width: 12rem;
        max-width: none;
    }

    .purchase-order-nav[b-isphlje6t9] {
        align-items: center;
        flex-wrap: nowrap;
        justify-content: stretch;
        min-width: 0;
    }

    .purchase-order-nav .input-group[b-isphlje6t9] {
        flex: 1 1 18rem;
        max-width: none;
        min-width: 14rem;
        flex-wrap: nowrap;
    }

    .purchase-order-actions[b-isphlje6t9] {
        display: flex;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        min-width: max-content;
    }
}

@media (max-width: 991.98px) {
    .purchase-order-nav[b-isphlje6t9] {
        align-items: center;
        justify-content: flex-start;
    }

    .purchase-order-nav .input-group[b-isphlje6t9] {
        flex: 1 1 24rem;
        max-width: none;
        min-width: min(100%, 18rem);
    }

    .purchase-order-actions[b-isphlje6t9] {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
    }

    .purchase-order-number-field[b-isphlje6t9] {
        flex: 1 1 auto;
        max-width: 100%;
    }
}

@media (max-width: 640.98px) {
    .searchbar-tab-root[b-isphlje6t9] {
        padding-top: .5rem;
    }

    .searchtab-navbar[b-isphlje6t9] {
        align-items: stretch !important;
        gap: .5rem !important;
    }

    .searchtab-navbar-centered[b-isphlje6t9] {
        align-items: center !important;
        justify-content: center !important;
    }

    .searchtab-left[b-isphlje6t9] {
        width: 100%;
        flex-wrap: wrap;
    }

    .searchtab-left[b-isphlje6t9],
    .searchtab-right[b-isphlje6t9],
    .purchase-order-actions[b-isphlje6t9] {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: .5rem;
    }

    .searchtab-left[b-isphlje6t9],
    .searchtab-right[b-isphlje6t9] {
        width: 100%;
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .searchtab-toggle[b-isphlje6t9] {
        display: inline-flex;
    }

    .searchtab-input[b-isphlje6t9],
    .searchtab-date-range[b-isphlje6t9],
    .range-mode-dropdown[b-isphlje6t9] {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .searchtab-toggle[b-isphlje6t9] {
        flex: 0 0 auto;
    }

    .searchtab-navbar-centered > .searchtab-btn[b-isphlje6t9],
    .searchtab-navbar-centered > .btn[b-isphlje6t9],
    .searchtab-navbar-centered > .searchtab-toggle[b-isphlje6t9] {
        margin-left: .125rem;
        margin-right: .125rem !important;
    }

    .range-mode-dropdown > *[b-isphlje6t9],
    .searchtab-date-range > *[b-isphlje6t9] {
        width: 100%;
    }

    .purchase-order-nav[b-isphlje6t9] {
        align-items: stretch;
        justify-content: flex-start;
    }

    .purchase-order-nav > .searchtab-btn[b-isphlje6t9] {
        flex: 0 0 3.5rem;
    }

    .purchase-order-nav .input-group[b-isphlje6t9] {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 100%;
        order: 1;
    }

    .purchase-order-actions[b-isphlje6t9] {
        order: 2;
        width: 100%;
        justify-content: flex-start;
    }

    .purchase-order-actions > .btn[b-isphlje6t9],
    .purchase-order-actions > .searchtab-btn[b-isphlje6t9] {
        margin-right: 0 !important;
    }
}

@media (max-width: 420px) {
    .searchtab-btn[b-isphlje6t9] {
        width: 3rem;
        height: 3rem !important;
    }

    .searchtab-control[b-isphlje6t9],
    .searchtab-select-control[b-isphlje6t9] {
        height: 3rem !important;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Table/RSTable.razor.rz.scp.css */

.rs-table-shell[b-efzv5hw9ys] {
    --rs-border: #dee2e6;
    --rs-header-bg: #f8f9fa;
    --rs-card-bg: #ffffff;
    --rs-muted: #6c757d;
    border: 1px solid var(--rs-border);
    border-radius: 14px;
    background: var(--rs-card-bg);
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.04);
    overflow: hidden;
}

.rs-table-toolbar[b-efzv5hw9ys] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--rs-border);
    background: linear-gradient(#fff, #fbfbfb);
}

.rs-table-title[b-efzv5hw9ys] {
    font-weight: 600;
    font-size: 1rem;
}

.rs-table-badge[b-efzv5hw9ys] {
    font-size: .825rem;
    color: var(--rs-muted);
    padding: 3px 8px;
    border: 1px solid var(--rs-border);
    border-radius: 999px;
    background: #fff;
}

.rs-table-toolbar-right[b-efzv5hw9ys] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rs-table[b-efzv5hw9ys] {
    table-layout: fixed;
}

    .rs-table thead th[b-efzv5hw9ys] {
        font-weight: 600;
        font-size: .9rem;
        user-select: none;
        border-bottom: 1px solid var(--rs-border);
    }

.header-content[b-efzv5hw9ys] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-right: 10px;
}

.rs-th-text[b-efzv5hw9ys] {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Resizer handle polish */
.resizer[b-efzv5hw9ys] {
    position: absolute;
    right: 0;
    top: 0;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    opacity: 0;
    transition: opacity .12s ease;
}

thead th:hover .resizer[b-efzv5hw9ys] {
    opacity: 1;
}

.resizer[b-efzv5hw9ys]::after {
    content: "";
    position: absolute;
    right: 3px;
    top: 20%;
    width: 2px;
    height: 60%;
    border-radius: 2px;
    background: rgba(0,0,0,.22);
}

/* Frozen look */
.rs-frozen-header[b-efzv5hw9ys] {
    box-shadow: 6px 0 12px rgba(0,0,0,.05);
}

.rs-frozen-cell[b-efzv5hw9ys] {
    box-shadow: 6px 0 12px rgba(0,0,0,.03);
}

/* Placeholder rows */
.rs-placeholder-row td[b-efzv5hw9ys] {
    color: rgba(108,117,125,.65);
}

.rs-placeholder-dash[b-efzv5hw9ys] {
    display: inline-block;
    width: 100%;
    text-align: center;
    opacity: .6;
}

/* Drag styles */
th.drag-over[b-efzv5hw9ys] {
    outline: 2px dashed rgba(0,0,0,.25);
    outline-offset: -4px;
}

body.rs-col-resizing[b-efzv5hw9ys] {
    cursor: col-resize !important;
    user-select: none !important;
}

/* =========================================================
   MOBILE RESPONSIVE STYLES
   ========================================================= */

/* Mobile: Horizontal scroll wrapper */
@media (max-width: 767px) {
    .rs-table-shell[b-efzv5hw9ys] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0.375rem;
    }

    /* Allow horizontal scroll */
    .rs-table[b-efzv5hw9ys] {
        min-width: 600px;
        table-layout: auto;
    }

    /* Reduce padding on mobile */
    .rs-table-toolbar[b-efzv5hw9ys] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .rs-table-title[b-efzv5hw9ys] {
        font-size: 0.9rem;
    }

    .rs-table-toolbar-right[b-efzv5hw9ys] {
        width: 100%;
        justify-content: space-between;
    }

    /* Reduce cell padding */
    .rs-table td[b-efzv5hw9ys], .rs-table th[b-efzv5hw9ys] {
        padding: 0.5rem !important;
        font-size: 0.85rem;
    }

    /* Hide less important columns on mobile - add class "rs-hide-mobile" to columns */
    .rs-table th.rs-hide-mobile[b-efzv5hw9ys],
    .rs-table td.rs-hide-mobile[b-efzv5hw9ys] {
        display: none;
    }

    /* Sticky first column on mobile for context */
    .rs-table tbody tr td:first-child[b-efzv5hw9ys] {
        font-weight: 600;
        background: rgba(0, 0, 0, 0.02);
    }

    /* Touch-friendly resize on mobile */
    .resizer[b-efzv5hw9ys] {
        width: 12px;
        opacity: 0.3;
    }

    /* Header adjustments */
    .rs-table thead th[b-efzv5hw9ys] {
        padding: 0.75rem 0.5rem;
        height: auto;
    }

    .header-content[b-efzv5hw9ys] {
        padding-right: 0.5rem;
    }

    /* Totals row mobile */
    .rs-totals-row th[b-efzv5hw9ys], 
    .rs-totals-row td[b-efzv5hw9ys] {
        padding: 0.5rem !important;
        font-size: 0.8rem;
    }
}

/* Tablet: Medium adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .rs-table[b-efzv5hw9ys] {
        table-layout: auto;
    }

    .rs-table td[b-efzv5hw9ys], .rs-table th[b-efzv5hw9ys] {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .rs-table-toolbar[b-efzv5hw9ys] {
        flex-wrap: wrap;
    }
}

/* Desktop: Normal layout */
@media (min-width: 1024px) {
    .rs-table[b-efzv5hw9ys] {
        table-layout: fixed;
    }

    .rs-table td[b-efzv5hw9ys], .rs-table th[b-efzv5hw9ys] {
        padding: 1rem;
    }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/Table/RSTemplateColumns.razor.rz.scp.css */
/* Sticky (Frozen) Column */
.frozen-column[b-j4q5b21y8i] {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: white;
}

/* Enable column resizing */
.table th[b-j4q5b21y8i] {
    resize: horizontal;
    overflow: hidden;
    min-width: 100px;
    max-width: 400px;
    cursor: col-resize;
}


/* _content/Sunflower.WebUi.Components/SharedComponents/TabsControls/RSTabControl.razor.rz.scp.css */
body[b-ddpxevwkzd] {
}

/* Keep unsaved tabs distinct whether active, inactive or hovered. */
.tab-container .rs-tabs-nav .nav-link.rs-tab-unsaved[b-ddpxevwkzd] {
    color: #b02a37 !important;
    background-color: #f8d7da !important;
    font-weight: 700;
}

.tab-container .rs-tabs-nav .nav-link.rs-tab-unsaved .rs-tab-text[b-ddpxevwkzd],
.tab-container .rs-tabs-nav .nav-link.rs-tab-unsaved .rs-tab-icon[b-ddpxevwkzd] {
    color: #b02a37 !important;
}

/* === General Layout === */
.tab-container[b-ddpxevwkzd] {
    display: flex;
    height: 100%;
    min-height: 0;
   /* flex-wrap: wrap;*/
}

/* Content scrolls - fills remaining space and scrolls internally */
.content[b-ddpxevwkzd] {
    border: none;
    flex: 1 1 auto;
    padding-top: .75rem;
    /*padding-left: 1rem;
    padding-right: 1rem;*/
    overflow-y: auto;
    overflow-x: auto;
    scrollbar-width: auto; /* Firefox */
    width: 100%;
    min-width: 0;
    min-height: 0; /* Critical for flex children */
}

.tab-panels[b-ddpxevwkzd] {
    overflow: hidden;
}

.tab-panel[b-ddpxevwkzd] {
    min-height: 0;
    height: 100%;
}

.tab-panel.active[b-ddpxevwkzd] {
    display: flex;
    flex-direction: column;
    overflow: auto;
}

    .tab-panel.active[b-ddpxevwkzd]::-webkit-scrollbar {
        width: 16px;
        height: 16px;
    }

    .tab-panel.active[b-ddpxevwkzd]::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 8px;
    }

    .tab-panel.active[b-ddpxevwkzd]::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

.tab-panel.inactive[b-ddpxevwkzd] {
    display: none;
}

    /* Chrome, Edge, Safari */
    .content[b-ddpxevwkzd]::-webkit-scrollbar {
        width: 16px; /* vertical scrollbar width */
        height: 16px; /* horizontal scrollbar height */
    }

    .content[b-ddpxevwkzd]::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 8px;
    }

    .content[b-ddpxevwkzd]::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

.nav-tabs .nav-items[b-ddpxevwkzd]{
    border: none;
    margin: 0;
}

    .nav-tabs .nav-link[b-ddpxevwkzd] {
        border: 1px solid #dee2e6;
        background-color: #e9ecef;
        color: #495057;
        transition: all 0.2s ease;
        z-index: 1;
    }

        .nav-tabs .nav-link:hover[b-ddpxevwkzd] {
            background-color: #dfe3e6;
            cursor: pointer;
            z-index: 3;
        }

        .nav-tabs .nav-link.active[b-ddpxevwkzd] {
            background-color: #fff;
            color: #000;
            font-weight: bold;
            z-index: 4;
        }

.tab-content[b-ddpxevwkzd] {
    border: 0px solid #dee2e6;
    background: none;
    flex: 1 1 auto;
    /*padding: 10px;*/
    min-height: 0;
    /*overflow: auto;*/
}

/* === Vertical Tabs on Left === */
.tabs-left[b-ddpxevwkzd] {
    flex-direction: row;
}

    .tabs-left .nav-tabs[b-ddpxevwkzd] {
        flex-direction: column;
        margin-right: -1px;
    }

    .tabs-left .nav-link[b-ddpxevwkzd] {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        text-align: center;
        white-space: nowrap;
        /*height: auto;*/
        padding: 10px 5px;
        border-right: none;
        border-radius: .5rem 0 0 .5rem; /* Top-left and bottom-left */
        /*margin-bottom: -5px;*/ /* Overlap effect */
    }

    .tabs-left .tab-content[b-ddpxevwkzd] {
        border-left: none;
        min-width: 200px;
    }

/* === Horizontal Tabs on Top === */
.tabs-top[b-ddpxevwkzd] {
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

    .tabs-top .nav-tabs[b-ddpxevwkzd] {
        flex-direction: row;
        margin-bottom: -1px;
    }

    .tabs-top .nav-link[b-ddpxevwkzd] {
        writing-mode: horizontal-tb;
        transform: none;
        padding: 10px 20px;
        border-bottom: none;
        border-radius: .5rem .5rem 0 0; /* Top-left and top-right */
       /* margin-right: -30px;*/ /* Overlap effect */
    }

    .tabs-top .tab-content[b-ddpxevwkzd] {
        border-top: none;
    }

/* === Vertical Tabs on Right === */
.tabs-right[b-ddpxevwkzd] {
    flex-direction: row-reverse;
}

    .tabs-right .nav-tabs[b-ddpxevwkzd] {
        flex-direction: column;
        margin-left: -1px;
    }

    .tabs-right .nav-link[b-ddpxevwkzd] {
        writing-mode: vertical-rl;
        text-align: center;
        white-space: nowrap;
        /*height: 100px;*/
        padding: 10px 5px;
        transform: none;
        border-left: none;
        border-radius: 0 .5rem .5rem 0; /* Top-right and bottom-right */
       /* margin-bottom: -30px;*/
    }

    .tabs-right .tab-content[b-ddpxevwkzd] {
        border-right: none;
    }

/* === Horizontal Tabs on Bottom === */
.tabs-bottom[b-ddpxevwkzd] {
    flex-direction: column-reverse;
}

    .tabs-bottom .nav-tabs[b-ddpxevwkzd] {
        flex-direction: row;
        margin-top: -1px;
    }

    .tabs-bottom .nav-link[b-ddpxevwkzd] {
        writing-mode: horizontal-tb;
        transform: none;
        padding: 10px 20px;
        border-top: none;
        border-radius: 0 0 .5rem .5rem; /* Bottom-left and bottom-right */
        margin-right: -30px;
    }

    .tabs-bottom .tab-content[b-ddpxevwkzd] {
        border-bottom: none;
    }

/* === Responsive: All tabs become horizontal at small screen === */
@media (max-width: 576px) {
    .tab-container[b-ddpxevwkzd] {
        flex-direction: column !important;
    }

    .nav-tabs[b-ddpxevwkzd] {
        flex-direction: row !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        margin-bottom: 0;
    }

        .nav-tabs .nav-link[b-ddpxevwkzd] {
            writing-mode: horizontal-tb !important;
            transform: none !important;
            height: auto;
            border-radius: .5rem .5rem 0 0 !important;
            border-right: 1px solid #dee2e6 !important;
            border-bottom: none !important;
            margin: 0 !important;
        }

    .tab-content[b-ddpxevwkzd] {
        border-top: none;
        border-left: none;
        border-right: none;
    }
}

/* ============================================================
   RS MODERN TABS
   Activated with:
   UseModernTabStyle="true"
   ============================================================ */

.tab-container.rs-modern-tabs[b-ddpxevwkzd] {
    --rs-tab-primary: #0d6efd;
    --rs-tab-primary-soft: #eef5ff;
    --rs-tab-primary-border: #bfdbfe;
    --rs-tab-text: #64748b;
    --rs-tab-text-dark: #0f172a;
    --rs-tab-border: #dbe3ef;
    --rs-tab-hover: rgba(13, 110, 253, .045);
    --rs-tab-height: 3.75rem;
}


    /* ============================================================
   HEADER AREA
   ============================================================ */

    .tab-container.rs-modern-tabs .rs-tabs-header[b-ddpxevwkzd] {
        flex: 0 0 auto;
        min-width: 0;
        background: #fff;
    }


    .tab-container.rs-modern-tabs .rs-tabs-title[b-ddpxevwkzd] {
        padding: .75rem 1rem .45rem;
        color: var(--rs-tab-text-dark) !important;
        font-size: 1.05rem;
        font-weight: 800 !important;
    }


    /* ============================================================
   TAB NAVIGATION
   ============================================================ */

    .tab-container.rs-modern-tabs .rs-tabs-nav[b-ddpxevwkzd] {
        position: relative;
        display: flex;
        gap: .15rem;
        margin: 0 !important;
        padding: 0 .6rem;
        border: 0;
        border-bottom: 1px solid var(--rs-tab-border);
        background: linear-gradient( 180deg, #ffffff 0%, #fbfdff 100% );
    }


        /* Remove old Bootstrap-style tab box */
        .tab-container.rs-modern-tabs .rs-tabs-nav .nav-item[b-ddpxevwkzd] {
            margin: 0;
            border: 0;
        }


        /* ============================================================
   TAB BUTTON
   ============================================================ */

        .tab-container.rs-modern-tabs .rs-tabs-nav .nav-link[b-ddpxevwkzd] {
            position: relative;
            min-height: var(--rs-tab-height);
            display: flex;
            align-items: center;
            padding: 0 1rem;
            border: 0 !important;
            border-radius: 0 !important;
            background: transparent !important;
            color: var(--rs-tab-text);
            font-size: .9rem;
            font-weight: 700;
            box-shadow: none !important;
            transition: color .16s ease, background-color .16s ease;
        }


            .tab-container.rs-modern-tabs .rs-tabs-nav .nav-link:hover[b-ddpxevwkzd] {
                color: var(--rs-tab-primary);
                background: var(--rs-tab-hover) !important;
            }


    /* ============================================================
   TAB INNER
   ============================================================ */

    .tab-container.rs-modern-tabs .rs-tab-inner[b-ddpxevwkzd] {
        display: inline-flex;
        align-items: center;
        gap: .55rem;
        min-width: 0;
    }


    .tab-container.rs-modern-tabs .rs-tab-text[b-ddpxevwkzd] {
        white-space: nowrap;
        line-height: 1;
    }


    /* ============================================================
   ICON
   ============================================================ */

    .tab-container.rs-modern-tabs .rs-tab-icon[b-ddpxevwkzd] {
        width: 2rem;
        height: 2rem;
        flex: 0 0 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e2e8f0;
        border-radius: .38rem;
        background: #f8fafc;
        color: #64748b;
        font-size: .95rem;
        transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
    }


    .tab-container.rs-modern-tabs
    .rs-tabs-nav
    .nav-link:hover
    .rs-tab-icon[b-ddpxevwkzd] {
        color: var(--rs-tab-primary);
        border-color: var(--rs-tab-primary-border);
        background: var(--rs-tab-primary-soft);
    }


    /* ============================================================
   ACTIVE TAB
   ============================================================ */

    .tab-container.rs-modern-tabs
    .rs-tabs-nav
    .nav-link.active[b-ddpxevwkzd] {
        color: var(--rs-tab-primary);
        background: transparent !important;
        font-weight: 800;
        box-shadow: none !important;
    }


        .tab-container.rs-modern-tabs
        .rs-tabs-nav
        .nav-link.active
        .rs-tab-icon[b-ddpxevwkzd] {
            color: var(--rs-tab-primary);
            border-color: var(--rs-tab-primary-border);
            background: var(--rs-tab-primary-soft);
        }


    /* Active bottom indicator */

    .tab-container.rs-modern-tabs.tabs-top
    .rs-tabs-nav
    .nav-link.active[b-ddpxevwkzd]::after {
        content: "";
        position: absolute;
        left: .75rem;
        right: .75rem;
        bottom: 0;
        height: 3px;
        border-radius: 3px 3px 0 0;
        background: var(--rs-tab-primary);
    }


    /* ============================================================
   CLOSE BUTTON
   ============================================================ */

    .tab-container.rs-modern-tabs .rs-tab-close[b-ddpxevwkzd] {
        width: 1.6rem;
        height: 1.6rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: .15rem;
        border-radius: .3rem;
        color: #94a3b8;
        font-size: .7rem;
        transition: background-color .15s ease, color .15s ease;
    }


        .tab-container.rs-modern-tabs .rs-tab-close:hover[b-ddpxevwkzd] {
            color: #dc3545;
            background: rgba(220, 53, 69, .08);
        }


    /* ============================================================
   TAB CONTENT
   ============================================================ */

    .tab-container.rs-modern-tabs .tab-panels[b-ddpxevwkzd] {
        flex: 1 1 auto;
        min-height: 0;
        border: 0;
        background: #fff;
    }


    .tab-container.rs-modern-tabs .tab-panel.active[b-ddpxevwkzd] {
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
        overflow: auto;
    }


    .tab-container.rs-modern-tabs .tab-panel.inactive[b-ddpxevwkzd] {
        display: none;
    }


    /* ============================================================
   LEFT TABS
   ============================================================ */

    .tab-container.rs-modern-tabs.tabs-left
    .rs-tabs-nav[b-ddpxevwkzd] {
        border-bottom: 0;
        border-right: 1px solid var(--rs-tab-border);
        padding: .5rem 0;
    }


        .tab-container.rs-modern-tabs.tabs-left
        .rs-tabs-nav
        .nav-link.active[b-ddpxevwkzd]::after {
            content: "";
            position: absolute;
            top: .65rem;
            right: 0;
            bottom: .65rem;
            width: 3px;
            background: var(--rs-tab-primary);
            border-radius: 3px 0 0 3px;
        }


    /* ============================================================
   RIGHT TABS
   ============================================================ */

    .tab-container.rs-modern-tabs.tabs-right
    .rs-tabs-nav[b-ddpxevwkzd] {
        border-bottom: 0;
        border-left: 1px solid var(--rs-tab-border);
        padding: .5rem 0;
    }


        .tab-container.rs-modern-tabs.tabs-right
        .rs-tabs-nav
        .nav-link.active[b-ddpxevwkzd]::after {
            content: "";
            position: absolute;
            top: .65rem;
            left: 0;
            bottom: .65rem;
            width: 3px;
            background: var(--rs-tab-primary);
            border-radius: 0 3px 3px 0;
        }


    /* ============================================================
   BOTTOM TABS
   ============================================================ */

    .tab-container.rs-modern-tabs.tabs-bottom
    .rs-tabs-nav[b-ddpxevwkzd] {
        border-top: 1px solid var(--rs-tab-border);
        border-bottom: 0;
    }


        .tab-container.rs-modern-tabs.tabs-bottom
        .rs-tabs-nav
        .nav-link.active[b-ddpxevwkzd]::after {
            content: "";
            position: absolute;
            left: .75rem;
            right: .75rem;
            top: 0;
            height: 3px;
            background: var(--rs-tab-primary);
            border-radius: 0 0 3px 3px;
        }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 576px) {

    .tab-container.rs-modern-tabs[b-ddpxevwkzd] {
        flex-direction: column !important;
    }


        .tab-container.rs-modern-tabs .rs-tabs-nav[b-ddpxevwkzd] {
            flex-direction: row !important;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: thin;
            padding-left: .25rem;
            padding-right: .25rem;
        }


            .tab-container.rs-modern-tabs
            .rs-tabs-nav
            .nav-link[b-ddpxevwkzd] {
                min-height: 3.45rem;
                padding-left: .7rem;
                padding-right: .7rem;
                writing-mode: horizontal-tb !important;
                transform: none !important;
                white-space: nowrap;
            }


        .tab-container.rs-modern-tabs .rs-tab-icon[b-ddpxevwkzd] {
            width: 1.8rem;
            height: 1.8rem;
            flex-basis: 1.8rem;
            font-size: .85rem;
        }


        .tab-container.rs-modern-tabs.tabs-left
        .rs-tabs-nav
        .nav-link.active[b-ddpxevwkzd]::after,
        .tab-container.rs-modern-tabs.tabs-right
        .rs-tabs-nav
        .nav-link.active[b-ddpxevwkzd]::after {
            top: auto;
            left: .65rem;
            right: .65rem;
            bottom: 0;
            width: auto;
            height: 3px;
            border-radius: 3px 3px 0 0;
        }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/VendorWizardPanel.razor.rz.scp.css */
/*
    VendorWizardPanel.razor.css
    Vendor page composition only. Reusable cf-* controls remain in app.css.

    This file is component-scoped. Keep it beside VendorWizardPanel.razor.
    Only vw-* page composition is defined here. Shared cf-* classes are not duplicated.
*/

.vw-vendor-workspace[b-zt9opwuh48] {
    --vw-primary: #2563eb;
    --vw-primary-dark: #1d4ed8;
    --vw-primary-soft: #eff6ff;
    --vw-success: #15803d;
    --vw-danger: #b91c1c;
    --vw-text: #0f172a;
    --vw-text-soft: #334155;
    --vw-muted: #64748b;
    --vw-border: #dbe3ef;
    --vw-border-soft: #e8edf4;
    --vw-surface: #ffffff;
    --vw-surface-soft: #f8fafc;
    --vw-radius: .25rem;
    --vw-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    position: relative;
    min-height: 100%;
    overflow: visible;
    color: var(--vw-text);
    background: transparent;
}

    .vw-host-offcanvas[b-zt9opwuh48] {
        width: 100%;
        max-width: 100%;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  * {
        box-sizing: border-box;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-workspace {
       /* container-type: inline-size;*/
        width: min(1280px, 100%);
        margin-inline: auto;
        padding: 1rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-workspace {
        width: 100%;
        max-width: 100%;
        padding: .35rem;
        container-type: inline-size;
    }

    /* ==========================================================================
   PAGE HEADER
   ========================================================================== */

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1rem;
        align-items: end;
        padding: .15rem 0 1rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-heading {
        min-width: 0;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-kicker {
        display: flex;
        align-items: center;
        gap: .5rem;
        color: var(--vw-primary);
        font-size: .66rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-kicker::before {
            content: "";
            width: 1.6rem;
            height: 2px;
            background: var(--vw-primary);
        }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-title {
        margin: .35rem 0 .25rem;
        color: var(--vw-text);
        font-size: clamp(1.7rem, 3vw, 2.25rem);
        font-weight: 700;
        line-height: 1.06;
        letter-spacing: -.04em;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-description {
        max-width: 46rem;
        margin: 0;
        color: var(--vw-muted);
        font-size: .82rem;
        line-height: 1.6;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-meta {
        display: flex;
        align-items: center;
        gap: .6rem;
        padding-bottom: .15rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-mode-pill {
        display: inline-flex;
        align-items: center;
        gap: .42rem;
        padding: .48rem .68rem;
        border: 1px solid #bfdbfe;
        border-radius: var(--vw-radius);
        background: rgba(239, 246, 255, .9);
        color: var(--vw-primary-dark);
        font-size: .7rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-mode-dot {
        width: .45rem;
        height: .45rem;
        border-radius: 50%;
        background: currentColor;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-progress {
        color: var(--vw-muted);
        font-size: .68rem;
        white-space: nowrap;
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-progress strong {
            color: var(--vw-text);
        }

    /* ==========================================================================
   FRAME + STEPPER
   ========================================================================== */

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-frame {
        display: block;
        overflow: hidden;
        border: 1px solid rgba(203, 213, 225, .9);
        border-radius: var(--vw-radius);
        background: var(--vw-surface);
       /* box-shadow: var(--vw-shadow);*/
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-stepper {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-bottom: 1px solid var(--vw-border);
        background: #fbfdff;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step {
        position: relative;
        display: grid;
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: .7rem;
        align-items: center;
        min-width: 0;
        min-height: 4.6rem;
        padding: .85rem 1rem;
        border-right: 1px solid var(--vw-border-soft);
        color: var(--vw-muted);
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-step:last-child {
            border-right: 0;
        }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-step::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            height: 2px;
            background: transparent;
        }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-step.is-active {
            background: #fff;
            color: var(--vw-text);
        }

            .vw-vendor-workspace[b-zt9opwuh48]  .vw-step.is-active::after {
                background: var(--vw-primary);
            }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-step.is-done {
            color: var(--vw-success);
        }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step-number {
        display: grid;
        place-items: center;
        width: 2rem;
        height: 2rem;
        border: 1px solid var(--vw-border);
        border-radius: var(--vw-radius);
        background: #fff;
        font-size: .72rem;
        font-weight: 800;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step.is-active .vw-step-number {
        border-color: var(--vw-primary);
        background: var(--vw-primary);
        color: #fff;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step.is-done .vw-step-number {
        border-color: rgba(21, 128, 61, .35);
        background: #f0fdf4;
        color: var(--vw-success);
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step-copy {
        min-width: 0;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step-title {
        overflow: hidden;
        font-size: .77rem;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step-text {
        overflow: hidden;
        margin-top: .1rem;
        color: var(--vw-muted);
        font-size: .64rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 19rem;
        min-height: 34rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-form-area {
        min-width: 0;
        padding: 1.5rem 1.6rem 1.2rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-section-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 1.15rem;
        border-bottom: 1px solid var(--vw-border-soft);
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-section-index {
        display: inline-flex;
        align-items: center;
        color: var(--vw-primary);
        font-size: .65rem;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-section-title {
        margin: .45rem 0 .25rem;
        color: var(--vw-text);
        font-size: 1.28rem;
        font-weight: 700;
        letter-spacing: -.025em;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-section-text {
        max-width: 42rem;
        margin: 0;
        color: var(--vw-muted);
        font-size: .75rem;
        line-height: 1.55;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-required-note {
        flex: 0 0 auto;
        color: var(--vw-muted);
        font-size: .65rem;
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-required-note strong {
            color: var(--vw-danger);
        }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step-content {
        padding-top: 1.25rem;
    }

    /* ==========================================================================
   SHARED cf-* FORM STYLES
   Form grids, controls, validation, status toggles, notes, alerts, and
   buttons are intentionally provided by app.css.
   ========================================================================== */

    /* ==========================================================================
   LIVE INSPECTOR
   ========================================================================== */

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-inspector {
        border-left: 1px solid var(--vw-border);
        background: #fbfdff;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-inspector-inner {
        position: sticky;
        top: 1rem;
        padding: 1.2rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-inspector-label {
        color: var(--vw-muted);
        font-size: .62rem;
        font-weight: 800;
        letter-spacing: .11em;
        text-transform: uppercase;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-record {
        display: grid;
        grid-template-columns: 2.6rem minmax(0, 1fr);
        gap: .75rem;
        align-items: center;
        margin-top: .75rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--vw-border);
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-record-icon {
        display: grid;
        place-items: center;
        width: 2.6rem;
        height: 2.6rem;
        border-radius: var(--vw-radius);
        background: var(--vw-primary-soft);
        color: var(--vw-primary-dark);
        font-size: 1.05rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-record-copy {
        min-width: 0;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-record-name {
        display: block;
        overflow: hidden;
        color: var(--vw-text);
        font-size: .8rem;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-record-subtitle {
        display: block;
        margin-top: .15rem;
        color: var(--vw-muted);
        font-size: .63rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-data-list {
        display: grid;
        margin-top: .4rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-data-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: .68rem 0;
        border-bottom: 1px solid var(--vw-border-soft);
        font-size: .67rem;
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-data-row span {
            color: var(--vw-muted);
        }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-data-row strong {
            max-width: 10rem;
            overflow: hidden;
            color: var(--vw-text-soft);
            text-align: right;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-health-card {
        margin-top: 1rem;
        padding: .85rem;
        border: 1px solid #dcfce7;
        border-radius: var(--vw-radius);
        background: #f7fff9;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-health-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        color: var(--vw-success);
        font-size: .68rem;
        font-weight: 800;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-progress-track {
        width: 100%;
        height: .35rem;
        margin-top: .65rem;
        overflow: hidden;
        border-radius: var(--vw-radius);
        background: #dcfce7;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-progress-bar {
        height: 100%;
        background: var(--vw-success);
        transition: width .2s ease;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-workflow-list {
        display: grid;
        gap: .42rem;
        margin-top: .75rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-workflow-item {
        display: flex;
        align-items: center;
        gap: .45rem;
        color: var(--vw-muted);
        font-size: .63rem;
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-workflow-item.is-active {
            color: var(--vw-primary-dark);
            font-weight: 700;
        }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-workflow-item.is-done {
            color: var(--vw-success);
        }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-workflow-icon {
        display: grid;
        place-items: center;
        width: .95rem;
        height: .95rem;
        border: 1px solid var(--vw-border);
        border-radius: var(--vw-radius);
        background: #fff;
        font-size: .55rem;
    }

    /* ==========================================================================
   ACTION BAR
   ========================================================================== */

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-actions {
        position: sticky;
        bottom: 0;
        z-index: 4;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 1rem;
        align-items: center;
        min-height: 4.5rem;
        margin: 0;
        padding: .75rem 1rem;
        border-top: 1px solid var(--vw-border);
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(10px);
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-save-state {
        color: var(--vw-muted);
        font-size: .64rem;
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-save-state strong {
            color: var(--vw-text);
        }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-actions-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: .5rem;
    }

    /* ==========================================================================
   OFFCANVAS HOST MODE
   Keep the vendor wizard usable inside the narrower edit drawer without changing
   the desktop page-hosted layout.
   ========================================================================== */

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-page-header {
        grid-template-columns: 1fr;
        gap: .75rem;
        align-items: start;
        padding-bottom: .75rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-page-description {
        max-width: none;
        font-size: .76rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-page-meta {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-frame {
        display: flex;
        flex-direction: column;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-body {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-form-area {
        padding: 1rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-section-text {
        max-width: none;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-inspector {
        display: none;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-actions {
        grid-template-columns: 1fr;
        gap: .75rem;
        min-height: 0;
        padding: .75rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-save-state {
        text-align: left;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-actions-group {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: stretch;
        width: 100%;
    }

        .vw-host-offcanvas[b-zt9opwuh48]  .vw-actions-group > * {
            min-width: 0;
        }



    /* ==========================================================================
   ANIMATION
   ========================================================================== */

    .vw-vendor-workspace[b-zt9opwuh48]  .step-fade {
        animation: vwVendorStepFade-b-zt9opwuh48 .22s ease;
    }

@container (max-width: 52rem) {
    .vw-host-offcanvas[b-zt9opwuh48]  .vw-step {
        min-height: 4rem;
        padding: .7rem .75rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-step-title {
        font-size: .72rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-step-text {
        font-size: .6rem;
    }
}

@container (max-width: 42rem) {
    .vw-host-offcanvas[b-zt9opwuh48]  .vw-workspace {
        padding: .2rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-page-meta {
        gap: .45rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-step {
        display: flex;
        justify-content: center;
        min-height: 3.3rem;
        padding: .5rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-step-copy {
        display: none;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-section-header {
        flex-direction: column;
        gap: .65rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-form-area {
        padding: .8rem;
    }
}

@container (max-width: 32rem) {
    .vw-host-offcanvas[b-zt9opwuh48]  .vw-page-title {
        font-size: 1.35rem;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-mode-pill,
    .vw-host-offcanvas[b-zt9opwuh48]  .vw-page-progress {
        width: 100%;
    }

    .vw-host-offcanvas[b-zt9opwuh48]  .vw-actions-group {
        grid-template-columns: 1fr;
    }
}

@keyframes vwVendorStepFade-b-zt9opwuh48 {
    from {
        opacity: 0;
        transform: translateY(.25rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   CONTENT-AWARE RESPONSIVENESS
   The component responds to the space left by MainLayout's sidebar.
   ========================================================================== */

@container (max-width: 60rem) {
    .vw-vendor-workspace[b-zt9opwuh48]  .vw-body {
        grid-template-columns: 1fr;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-inspector {
        display: none;
    }
}

@container (max-width: 44rem) {
    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-meta {
        justify-content: space-between;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step {
        display: flex;
        justify-content: center;
        min-height: 3.45rem;
        padding: .55rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step-copy {
        display: none;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-form-area {
        padding: 1rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-section-header {
        flex-direction: column;
    }


    .vw-vendor-workspace[b-zt9opwuh48]  .vw-actions {
        grid-template-columns: 1fr;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-save-state {
        display: none;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-actions-group {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-actions-group > :last-child {
            /*grid-column: 1 / -1;*/
        }
}

/* Viewport fallbacks for browsers without container-query support. */

@media (max-width: 991.98px) {
    .vw-vendor-workspace[b-zt9opwuh48]  .vw-body {
        grid-template-columns: 1fr;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-inspector {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .vw-vendor-workspace[b-zt9opwuh48]  .vw-workspace {
        padding: .65rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-page-meta {
        justify-content: space-between;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step {
        display: flex;
        justify-content: center;
        min-height: 3.45rem;
        padding: .55rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-step-copy {
        display: none;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-form-area {
        padding: 1rem;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-section-header {
        flex-direction: column;
    }


    .vw-vendor-workspace[b-zt9opwuh48]  .vw-actions {
        grid-template-columns: 1fr;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-save-state {
        display: none;
    }

    .vw-vendor-workspace[b-zt9opwuh48]  .vw-actions-group {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

        .vw-vendor-workspace[b-zt9opwuh48]  .vw-actions-group > :last-child {
           /* grid-column: 1 / -1;*/
        }
}
/* _content/Sunflower.WebUi.Components/SharedComponents/WizardStepNav.razor.rz.scp.css */
.step-nav-container[b-1rj89j69pn] {
    max-width: 80%;
    margin: auto;
}

.step-arrow[b-1rj89j69pn] {
    width: 80px;
    height: 100px;
    background-color: #ccc;
    clip-path: polygon(0% 0%, 80% 0%, 100% 50%, 80% 100%, 0% 100%, 20% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.step-arrow.active[b-1rj89j69pn] {
    background-color: #0d6efd;
}

.step-arrow.done[b-1rj89j69pn] {
    background-color: #28a745;
}

.step-line[b-1rj89j69pn] {
    flex: 1;
    height: 4px;
    background-color: #ddd;
    margin: 0 10px;
    position: relative;
    top: -2px;
}

.step-arrow + .step-line[b-1rj89j69pn] {
    margin-left: 20px;
}

.step-line + .step-arrow[b-1rj89j69pn] {
    margin-right: 20px;
}
/* _content/Sunflower.WebUi.Components/SharedComponents/WorkspacePageTemplate.razor.rz.scp.css */
.workspace-page-shell[b-u3m5ychcff] {
    width: 100%;
    padding: 16px;
}

.workspace-page-frame[b-u3m5ychcff] {
    position: relative;
    width: 100%;
    overflow: visible;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}

.workspace-page-frame[b-u3m5ychcff]::before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 5px;
    background: #0d6efd;
    content: "";
}

.workspace-page-header[b-u3m5ychcff] {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 24px;
    align-items: center;
    min-height: 132px;
    padding: 20px 24px 18px 28px;
    border-bottom: 1px solid #dbe3ef;
}

.workspace-page-heading[b-u3m5ychcff] {
    min-width: 0;
}

.workspace-page-kicker[b-u3m5ychcff] {
    margin-bottom: 4px;
    color: #0d6efd;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.workspace-page-title[b-u3m5ychcff] {
    margin: 0;
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 750;
    letter-spacing: 0;
}

.workspace-page-subtitle[b-u3m5ychcff] {
    max-width: 720px;
    margin: 6px 0 0;
    color: #64748b;
    font-size: .92rem;
}

.workspace-page-meta[b-u3m5ychcff],
.workspace-page-actions[b-u3m5ychcff] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.workspace-page-actions[b-u3m5ychcff] {
    justify-content: flex-end;
}

.workspace-page-navigation[b-u3m5ychcff] {
    padding: 10px 24px 10px 28px;
    border-bottom: 1px solid #dbe3ef;
    background: #f8fafc;
}

.workspace-page-body[b-u3m5ychcff] {
    min-height: 420px;
    padding: 20px 24px 24px 28px;
}

.workspace-page-status:empty[b-u3m5ychcff] {
    display: none;
}

.workspace-page-loading[b-u3m5ychcff] {
    display: flex;
    min-height: 300px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 650;
}

@media (max-width: 991.98px) {
    .workspace-page-header[b-u3m5ychcff] {
        grid-template-columns: 1fr;
        gap: 14px;
        min-height: auto;
    }

    .workspace-page-actions[b-u3m5ychcff] {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .workspace-page-shell[b-u3m5ychcff] {
        padding: 10px;
    }

    .workspace-page-header[b-u3m5ychcff],
    .workspace-page-navigation[b-u3m5ychcff],
    .workspace-page-body[b-u3m5ychcff] {
        padding-right: 16px;
        padding-left: 18px;
    }

    .workspace-page-actions[b-u3m5ychcff] >  .btn {
        flex: 1 1 auto;
    }
}
