/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-pm0or4m0b0] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-pm0or4m0b0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/PosLayout.razor.rz.scp.css */
.pos-shell[b-hnj5yhs3fa] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
}

.pos-header[b-hnj5yhs3fa] {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    background: white;
    border-bottom: 1px solid var(--border-subtle);
}

.pos-header-back[b-hnj5yhs3fa],
.pos-header-link[b-hnj5yhs3fa] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--brand);
    text-decoration: none;
    font-size: var(--text-sm);
    white-space: nowrap;
}

.pos-header-title[b-hnj5yhs3fa] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
}

.pos-header-shop[b-hnj5yhs3fa] {
    color: var(--muted);
    font-size: var(--text-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pos-main[b-hnj5yhs3fa] {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .pos-header[b-hnj5yhs3fa] { padding: 0.5rem 0.75rem; gap: 0.5rem; }
    .pos-header-back span[b-hnj5yhs3fa], .pos-header-shop[b-hnj5yhs3fa] { display: none; }
    .pos-main[b-hnj5yhs3fa] { padding: 0.75rem 0.75rem 6rem; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Reconnection continues in the background; never put a modal over the page. */
#components-reconnect-modal[b-0m6ygyf7qw] { display: none !important; }
#components-reconnect-modal[b-0m6ygyf7qw]::backdrop { display: none !important; }

.components-reconnect-first-attempt-visible[b-0m6ygyf7qw],
.components-reconnect-repeated-attempt-visible[b-0m6ygyf7qw],
.components-reconnect-failed-visible[b-0m6ygyf7qw],
.components-pause-visible[b-0m6ygyf7qw],
.components-resume-failed-visible[b-0m6ygyf7qw],
.components-rejoining-animation[b-0m6ygyf7qw] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-retrying[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-failed[b-0m6ygyf7qw],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0m6ygyf7qw] {
    display: block;
}


#components-reconnect-modal[b-0m6ygyf7qw] {
    background-color: white;
    width: 20rem;
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

#components-reconnect-modal[open][b-0m6ygyf7qw] {
    animation: components-reconnect-modal-slideUp-b-0m6ygyf7qw 0.35s ease-out;
}

#components-reconnect-modal[b-0m6ygyf7qw]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0m6ygyf7qw 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0m6ygyf7qw {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0m6ygyf7qw {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0m6ygyf7qw {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0m6ygyf7qw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0m6ygyf7qw] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0m6ygyf7qw] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0m6ygyf7qw] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0m6ygyf7qw] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0m6ygyf7qw] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0m6ygyf7qw] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0m6ygyf7qw 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0m6ygyf7qw] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0m6ygyf7qw {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/CashboxPage.razor.rz.scp.css */
/* ক্যাশবক্স: one balance card with its three actions, then plain white cards. */
.cb-balance[b-wc41jvycqk], .cb-card[b-wc41jvycqk], .cb-intro[b-wc41jvycqk] { box-sizing: border-box; width: 100%; max-width: 44rem; margin: 0 0 1rem; border-radius: 16px; box-shadow: 0 3px 18px rgba(40, 55, 82, .045); }
.cb-card[b-wc41jvycqk], .cb-intro[b-wc41jvycqk] { padding: 1.15rem 1.25rem; background: #fff; border: 1px solid var(--border-subtle); }
.cb-card h2[b-wc41jvycqk] { margin: 0 0 .75rem; font-size: 1.05rem; }

.cb-balance[b-wc41jvycqk] { display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem; background: #eef6ff; border: 1px solid #c9e0fb; }
.cb-balance.is-short[b-wc41jvycqk] { background: #fdebea; border-color: #f5b5b3; }
.cb-balance-label[b-wc41jvycqk] { font-size: .95rem; font-weight: 600; color: #1558b0; }
.cb-balance.is-short .cb-balance-label[b-wc41jvycqk] { color: #b42318; }
.cb-balance-value[b-wc41jvycqk] { font-size: 2.3rem; font-weight: 800; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.cb-balance-sub[b-wc41jvycqk] { font-size: .85rem; color: var(--muted); }
.cb-actions[b-wc41jvycqk] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: .85rem; }
.cb-actions .cb-action[b-wc41jvycqk] { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 3rem; margin: 0; padding: .4rem .5rem; border: 1px solid #b9d5f7; border-radius: 12px; background: #fff; box-shadow: none; color: #1558b0; font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.25; cursor: pointer; }
.cb-actions .cb-action.is-main[b-wc41jvycqk] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cb-actions .cb-action.is-open[b-wc41jvycqk] { outline: 3px solid rgba(26, 115, 232, .28); outline-offset: 1px; }

.cb-form label[b-wc41jvycqk] { display: block; max-width: none; margin: .7rem 0 .25rem; font-weight: 600; }
.cb-form input[b-wc41jvycqk] { box-sizing: border-box; display: block; width: 100%; max-width: none !important; }
.cb-hint[b-wc41jvycqk] { margin: .35rem 0 0; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.cb-diff[b-wc41jvycqk] { margin: .5rem 0 0; padding: .55rem .75rem; border-radius: 10px; font-weight: 700; }
.cb-diff.is-ok[b-wc41jvycqk] { background: #eaf8f0; color: #137a47; }
.cb-diff.is-short[b-wc41jvycqk] { background: #fdebea; color: #b42318; }
.cb-diff.is-over[b-wc41jvycqk] { background: #fff5e0; color: #8a5300; }

.cb-sum[b-wc41jvycqk] { margin: 0; }
.cb-sum > div[b-wc41jvycqk] { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .55rem 0; border-top: 1px solid var(--border-subtle); }
.cb-sum > div:first-child[b-wc41jvycqk] { border-top: 0; }
.cb-sum dt[b-wc41jvycqk] { min-width: 0; margin: 0; }
.cb-sum dd[b-wc41jvycqk] { margin: 0; font-weight: 700; white-space: nowrap; }
.cb-sum .cb-sum-total[b-wc41jvycqk] { border-top: 2px solid var(--ink); font-size: 1.1rem; font-weight: 700; }
.is-in[b-wc41jvycqk] { color: #137a47; }
.is-out[b-wc41jvycqk] { color: #b42318; }

.cb-history-head[b-wc41jvycqk] { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-bottom: .75rem; }
.cb-history-head h2[b-wc41jvycqk] { margin: 0; }
.cb-periods[b-wc41jvycqk] { display: inline-flex; gap: .2rem; padding: .2rem; background: #f1f5fb; border-radius: 999px; }
.cb-periods .cb-period[b-wc41jvycqk] { min-height: 2.25rem; margin: 0; padding: .25rem .95rem; border: 0; border-radius: 999px; background: transparent; box-shadow: none; color: var(--muted); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.cb-periods .cb-period.is-active[b-wc41jvycqk] { background: #fff; color: var(--ink); box-shadow: 0 1px 5px rgba(40, 55, 82, .16); }

.cb-flow[b-wc41jvycqk] { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cb-flow > div[b-wc41jvycqk] { display: flex; flex-direction: column; min-width: 0; padding: .65rem .8rem; border-radius: 12px; }
.cb-flow span[b-wc41jvycqk] { font-size: .85rem; font-weight: 600; }
.cb-flow strong[b-wc41jvycqk] { font-size: 1.3rem; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.cb-flow-in[b-wc41jvycqk] { background: #eaf8f0; color: #137a47; }
.cb-flow-out[b-wc41jvycqk] { background: #fdf0ef; color: #b42318; }

.cb-day[b-wc41jvycqk] { margin: 1rem 0 .15rem; font-size: .8rem; font-weight: 700; color: var(--muted); }
.cb-lines[b-wc41jvycqk] { margin: 0; padding: 0; list-style: none; }
.cb-line[b-wc41jvycqk] { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .75rem; padding: .6rem 0; border-top: 1px solid var(--border-subtle); }
.cb-line-main[b-wc41jvycqk] { display: flex; flex: 1 1 0; flex-direction: column; min-width: 0; }
.cb-line-title[b-wc41jvycqk] { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.cb-line-title:hover[b-wc41jvycqk] { text-decoration: underline; }
.cb-line-detail[b-wc41jvycqk] { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.cb-line-amount[b-wc41jvycqk] { font-weight: 700; white-space: nowrap; }
.cb-line-amount.is-count[b-wc41jvycqk] { color: var(--muted); font-weight: 600; }
.cb-line .cb-line-delete[b-wc41jvycqk] { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; min-height: 2.5rem; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; box-shadow: none; color: var(--muted); cursor: pointer; }
.cb-line .cb-line-delete:hover[b-wc41jvycqk] { background: #fdebea; color: #b42318; }
.cb-line-confirm[b-wc41jvycqk] { display: flex; flex-basis: 100%; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .5rem; font-size: .88rem; font-weight: 600; }
.cb-empty[b-wc41jvycqk] { margin: .9rem 0 0; text-align: center; color: var(--muted); }
.cb-more[b-wc41jvycqk] { width: 100%; margin-top: .75rem; justify-content: center; }

.cb-position-total[b-wc41jvycqk] { display: block; margin-bottom: .5rem; font-size: 1.75rem; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.cb-sum dt a[b-wc41jvycqk] { color: inherit; text-decoration: underline; text-decoration-color: #c7d3e3; text-underline-offset: 3px; }

.cb-layout[b-wc41jvycqk] { display: flex; flex-direction: column; max-width: 44rem; }
.cb-col[b-wc41jvycqk] { display: contents; }
/* On a phone the whole-business total comes after the history. */
.cb-position[b-wc41jvycqk] { order: 1; }
@media (min-width: 1000px) {
    .cb-layout[b-wc41jvycqk] { display: grid; grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); grid-template-areas: "now history" "total history"; grid-template-rows: auto 1fr; column-gap: 1.25rem; max-width: 72rem; align-items: start; }
    .cb-col[b-wc41jvycqk] { display: block; min-width: 0; }
    .cb-layout > .cb-col:first-child[b-wc41jvycqk] { grid-area: now; }
    .cb-layout > .cb-col:nth-child(2)[b-wc41jvycqk] { grid-area: history; }
    .cb-layout > .cb-position[b-wc41jvycqk] { grid-area: total; order: 0; }
    .cb-layout .cb-card[b-wc41jvycqk], .cb-layout .cb-balance[b-wc41jvycqk] { max-width: none; }
    .cb-off[b-wc41jvycqk] { max-width: 72rem !important; }
}

.cb-off[b-wc41jvycqk] { box-sizing: border-box; max-width: 44rem; margin: 1.25rem 0 0; text-align: center; }
.cb-off p[b-wc41jvycqk] { margin: 0 0 .6rem; color: var(--muted); }
.cb-off .inline-actions[b-wc41jvycqk] { justify-content: center; }
.cb-off .cb-off-link[b-wc41jvycqk] { min-height: 2.75rem; margin: 0; padding: .4rem .8rem; border: 0; background: transparent; box-shadow: none; color: var(--muted); font: inherit; font-size: .88rem; text-decoration: underline; cursor: pointer; }

.cb-intro[b-wc41jvycqk] { text-align: center; padding: 1.5rem 1.25rem; }
.cb-intro-icon[b-wc41jvycqk] { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #eef6ff; color: var(--brand); font-size: 1.6rem; }
.cb-intro h2[b-wc41jvycqk] { margin: .75rem 0; font-size: 1.2rem; line-height: 1.45; }
.cb-intro-lead[b-wc41jvycqk] { max-width: 32rem; margin: 0 auto; line-height: 1.7; }
.cb-intro-note[b-wc41jvycqk] { margin: .75rem 0 0; font-size: .88rem; color: var(--muted); }
.cb-intro .cb-form[b-wc41jvycqk] { max-width: 24rem; margin: 1.1rem auto 0; text-align: left; }
.cb-intro .cb-form .button[b-wc41jvycqk] { width: 100%; margin-top: .9rem; justify-content: center; }

@media (max-width: 480px) {
    .cb-balance-value[b-wc41jvycqk] { font-size: 2rem; }
    .cb-card[b-wc41jvycqk], .cb-intro[b-wc41jvycqk] { padding: 1rem .9rem; }
    .cb-actions[b-wc41jvycqk] { grid-template-columns: 1fr 1fr; }
    .cb-actions .cb-action.is-main[b-wc41jvycqk] { grid-column: 1 / -1; }
}

/* Money is typed, never stepped: no up/down arrows in the amount boxes. */
.cb-form input[type=number][b-wc41jvycqk] { appearance: textfield; -moz-appearance: textfield; }
.cb-form input[type=number][b-wc41jvycqk]::-webkit-outer-spin-button,
.cb-form input[type=number][b-wc41jvycqk]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Fixing a mistyped opening amount (only before the first count). */
.cb-line .cb-line-correct[b-wc41jvycqk] { min-height: 2.25rem; margin: 0; padding: .25rem .75rem; font-size: .85rem; }
.cb-balance .cb-link[b-wc41jvycqk] { align-self: flex-start; min-height: 2.25rem; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; color: #1558b0; font: inherit; font-size: .88rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
/* /Components/Pages/Admin/Inventory/Adjust.razor.rz.scp.css */
.stock-adjust-preview[b-xln9wrd10g] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    box-sizing: border-box;
    width: min(100%, 42rem);
    margin: 1rem 0;
    padding: .85rem;
    border: 1px solid var(--info-border);
    border-radius: var(--radius-md);
    background: var(--info-bg);
}

.stock-adjust-preview > div[b-xln9wrd10g] { display: grid; gap: .2rem; }
.stock-adjust-preview span[b-xln9wrd10g] { color: var(--muted); font-size: var(--text-sm); }
.stock-adjust-preview strong[b-xln9wrd10g] { font-size: 1.15rem; }
.stock-adjust-negative[b-xln9wrd10g] { color: var(--danger, #ad2929); }

/* Quantity box with its unit ("পিস") right beside it, on one line. */
/* The input keeps the global rule's own .25rem top margin (that rule out-ranks a scoped one). */
.stock-adjust-qty[b-xln9wrd10g] { display: flex; align-items: center; gap: .6rem; max-width: 420px; }
.stock-adjust-qty[b-xln9wrd10g]  input { flex: 1 1 auto; min-width: 0; margin-top: 0; -moz-appearance: textfield; }
.stock-adjust-qty[b-xln9wrd10g]  input::-webkit-outer-spin-button,
.stock-adjust-qty[b-xln9wrd10g]  input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-adjust-qty-unit[b-xln9wrd10g] { flex: 0 0 auto; color: var(--muted); font-size: 1rem; white-space: nowrap; }

/* "কমবে / বাড়বে" as two thumb-sized choices instead of bare 19px-tall radio rows. */
.adjust-direction-choice[b-xln9wrd10g] {
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    cursor: pointer;
}
.adjust-direction-choice:has(input:checked)[b-xln9wrd10g] {
    border-color: var(--brand);
    background: var(--info-bg);
    color: var(--brand);
    font-weight: 600;
}

/* "বাড়বে" side note: plain muted text with an inline link — a pointer, not a warning box. */
.adjust-buy-hint[b-xln9wrd10g] { max-width: 42rem; margin: .4rem 0 .75rem; color: var(--muted); font-size: var(--text-sm); line-height: 1.5; }
.adjust-buy-hint a[b-xln9wrd10g] { font-weight: 600; }

@media (max-width: 600px) {
    .stock-adjust-preview[b-xln9wrd10g] { grid-template-columns: 1fr; }
    .adjust-direction > span[b-xln9wrd10g] { flex-basis: 100%; }
    .adjust-direction-choice[b-xln9wrd10g] { flex: 1 1 0; justify-content: center; }
}
/* /Components/Pages/Admin/Inventory/Count.razor.rz.scp.css */
.bc-toolbar[b-5topoi5khb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin: 0.5rem 0 0.75rem;
}

.bc-toolbar .button[b-5topoi5khb] { margin-top: 0; }

.bc-table td[b-5topoi5khb] { vertical-align: middle; }

/* !important: app.css's global input rule (a long :not() chain) out-ranks a class selector and
   would stretch this small count box to the full cell. */
.bc-table input.bc-copies[b-5topoi5khb] { width: 5rem !important; max-width: 5rem !important; margin: 0; }
/* /Components/Pages/Admin/Inventory/Reorder.razor.rz.scp.css */
.reorder-group[b-fwon1py78a] { margin-bottom: 1.25rem; }

.reorder-group-head[b-fwon1py78a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.reorder-group-head h2[b-fwon1py78a] { margin: 0; }
.reorder-group-head .button[b-fwon1py78a] { margin-top: 0; }
/* /Components/Pages/Admin/Orders/Detail.razor.rz.scp.css */
/* The courier's own word on a parcel booked from ongsi (Steadfast), inside the shipment card. */
.courier-status[b-9u5fv830uh] { margin-top: .6rem; padding-top: .6rem; border-top: 1px dashed var(--border-subtle); }
.courier-status p[b-9u5fv830uh] { margin: 0 0 .3rem; }
.courier-status p:last-child[b-9u5fv830uh] { margin-bottom: 0; }
.courier-refresh[b-9u5fv830uh] { margin-left: .5rem; font-size: .9rem; }
.courier-next-step[b-9u5fv830uh] {
    padding: .55rem .7rem;
    border-radius: 10px;
    background: #eaf5ee;
    color: #17603a;
    line-height: 1.5;
}
/* /Components/Pages/Admin/Products/Barcodes.razor.rz.scp.css */
.bc-body[b-tfzf4qu1xs] { margin-top: .75rem; }
.bc-body button[b-tfzf4qu1xs] { margin: 0; }

.bc-tabs[b-tfzf4qu1xs] { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 1rem; padding: 4px; border-radius: 12px; background: #e9eef6; }
.bc-tabs button[b-tfzf4qu1xs] { min-height: 2.75rem; padding: .4rem .5rem; border: none; border-radius: 9px; background: transparent; color: var(--muted); font-size: .95rem; font-weight: 600; line-height: 1.3; cursor: pointer; }
.bc-tabs button.active[b-tfzf4qu1xs] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(40, 55, 82, .14); }

.bc-card[b-tfzf4qu1xs] { border: 1px solid var(--border-subtle); border-radius: 14px; background: #fff; box-shadow: 0 3px 18px rgba(40, 55, 82, .045); }
.bc-card-top[b-tfzf4qu1xs] { display: grid; gap: .6rem; padding: .75rem .85rem; }
/* !important on the inputs here: app.css's global input rule (a long :not() chain) out-ranks any class selector
   and would add margins and stretch the small boxes. */
.bc-search[b-tfzf4qu1xs] { width: 100%; max-width: none !important; margin: 0 !important; }
.bc-select-all[b-tfzf4qu1xs] { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: var(--text-sm); }
.bc-select-all input[b-tfzf4qu1xs], .bc-row-check input[b-tfzf4qu1xs] { width: 1.15rem !important; height: 1.15rem; margin: 0 !important; }
.bc-no-match[b-tfzf4qu1xs] { margin: 0; padding: 0 .85rem 1rem; color: var(--muted); }

.bc-empty[b-tfzf4qu1xs] { padding: 2rem 1rem; text-align: center; }
.bc-empty p[b-tfzf4qu1xs] { margin: 0 0 .9rem; }

.bc-give-actions[b-tfzf4qu1xs] { display: grid; justify-items: center; gap: .65rem; margin-bottom: 1rem; }
.bc-give-actions .bc-main-action[b-tfzf4qu1xs] { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; max-width: 26rem; min-height: 3rem; }
.bc-link-action[b-tfzf4qu1xs] { font-size: var(--text-sm); }

.bc-list[b-tfzf4qu1xs] { margin: 0; padding: 0; list-style: none; }
.bc-row[b-tfzf4qu1xs] { display: flex; align-items: center; gap: .75rem; padding: .65rem .85rem; border-top: 1px solid var(--border-subtle); }
.bc-row.is-selected[b-tfzf4qu1xs] { background: #f2f7ff; }
.bc-row-check[b-tfzf4qu1xs] { display: flex; flex: 0 0 auto; align-items: center; margin: 0; padding: .35rem 0; }
.bc-thumb[b-tfzf4qu1xs] { display: grid; flex: 0 0 auto; width: 2.5rem; height: 2.5rem; place-items: center; overflow: hidden; border-radius: 8px; background: #f1f4f9; color: var(--muted); }
.bc-thumb img[b-tfzf4qu1xs] { width: 100%; height: 100%; object-fit: cover; }
.bc-row-main[b-tfzf4qu1xs] { display: grid; flex: 1 1 auto; min-width: 0; gap: .1rem; }
.bc-row-main a[b-tfzf4qu1xs] { overflow: hidden; color: var(--ink); font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.bc-row-sub[b-tfzf4qu1xs] { color: var(--muted); font-size: var(--text-sm); overflow-wrap: anywhere; }
.bc-row-actions[b-tfzf4qu1xs] { display: flex; flex: 0 0 auto; align-items: center; gap: .4rem; }
.bc-row-actions .button[b-tfzf4qu1xs] { min-height: 2.4rem; margin: 0; white-space: nowrap; }

.bc-stepper[b-tfzf4qu1xs] { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; }
.bc-stepper button[b-tfzf4qu1xs] { display: grid; place-items: center; width: 2.1rem; height: 2.3rem; padding: 0; border: none; border-radius: 0; background: transparent; color: var(--ink); font-size: 1.15rem; cursor: pointer; }
.bc-stepper input.bc-copies[b-tfzf4qu1xs] { width: 2.8rem !important; max-width: 2.8rem !important; height: 2.3rem; margin: 0 !important; padding: 0 !important; border: none !important; border-radius: 0 !important; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.bc-stepper input.bc-copies[b-tfzf4qu1xs]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bc-print-layout[b-tfzf4qu1xs] { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; align-items: start; gap: 1rem; }
.bc-print[b-tfzf4qu1xs] { position: sticky; top: 1rem; display: grid; gap: .65rem; padding: 1rem; border: 1px solid var(--border-subtle); border-radius: 14px; background: #fff; box-shadow: 0 3px 18px rgba(40, 55, 82, .08); }
.bc-print-summary[b-tfzf4qu1xs] { display: grid; gap: .25rem; margin: 0; }
.bc-print-summary span[b-tfzf4qu1xs] { color: var(--muted); font-size: var(--text-sm); }
.bc-paper[b-tfzf4qu1xs] { margin: 0; font-size: var(--text-sm); }
.bc-print .button[b-tfzf4qu1xs] { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; width: 100%; min-height: 2.75rem; }

/* Phones: one column, with the print box held above the bottom nav while the list scrolls under it. */
@media (max-width: 760px) {
    .bc-print-layout[b-tfzf4qu1xs] { grid-template-columns: minmax(0, 1fr); }
    .bc-print[b-tfzf4qu1xs] { top: auto; bottom: calc(57px + env(safe-area-inset-bottom, 0px) + .4rem); z-index: 20; gap: .45rem; padding: .7rem .8rem; box-shadow: 0 -4px 18px rgba(40, 55, 82, .16); }
    .bc-print-summary span[b-tfzf4qu1xs] { display: none; }
    .bc-paper[b-tfzf4qu1xs] { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .6rem; }
    .bc-print .bc-paper select[b-tfzf4qu1xs] { margin: 0; }
    .bc-print .bc-print-book[b-tfzf4qu1xs] { min-height: 2rem; padding: .15rem; border: none; background: transparent; color: var(--brand); font-size: var(--text-sm); }
}

@media (max-width: 480px) {
    .bc-row[b-tfzf4qu1xs] { gap: .55rem; padding: .6rem .65rem; }
    .bc-row-actions[b-tfzf4qu1xs] { gap: .3rem; }
    .bc-row-actions .button[b-tfzf4qu1xs] { padding-inline: .55rem; font-size: .85rem; }
    .bc-row .bc-thumb[b-tfzf4qu1xs] { display: none; }
}

.bc-code[b-tfzf4qu1xs] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: var(--text-sm);
}

.bc-code-remove[b-tfzf4qu1xs] {
    padding: 0.35rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.bc-code-remove:hover[b-tfzf4qu1xs] { color: var(--danger-text, #b3261e); }

.pos-link-inline[b-tfzf4qu1xs] {
    display: inline;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: var(--brand);
    text-decoration: underline;
    font-size: inherit;
}
.bc-assign[b-tfzf4qu1xs] {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 1rem 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    background: white;
    box-shadow: 0 3px 18px rgba(40, 55, 82, .045);
}

.bc-assign-close[b-tfzf4qu1xs] {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    margin: 0;
    padding: 0.35rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.bc-assign-card[b-tfzf4qu1xs] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bc-assign-card img[b-tfzf4qu1xs] {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.bc-assign-card h2[b-tfzf4qu1xs] { margin: 0; font-size: var(--text-xl); }
.bc-assign-card p[b-tfzf4qu1xs] { margin: 0.25rem 0 0; }

.bc-assign-prompt[b-tfzf4qu1xs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: #eef5ff;
    border: 1px solid #cbdcf6;
    color: var(--ink);
    font-weight: 600;
}

.bc-assign-prompt span:first-child[b-tfzf4qu1xs] { display: flex; align-items: center; gap: 0.5rem; }
.bc-assign-prompt[b-tfzf4qu1xs]  .icon { color: var(--brand); }

.bc-camera-inline-toggle[b-tfzf4qu1xs] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.3rem;
    margin: 0;
    padding: 0.35rem 0.65rem;
    background: white;
    color: var(--brand);
    border: 1px solid var(--brand);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
}

.bc-camera-inline-toggle.active[b-tfzf4qu1xs] { background: var(--brand); color: white; }

.bc-camera[b-tfzf4qu1xs] {
    position: relative;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
    max-height: 320px;
    width: 100%;
    max-width: 100%;
    isolation: isolate;
    background: #1d1d1d;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.bc-camera-hidden[b-tfzf4qu1xs] { display: none; }

.bc-camera-view[b-tfzf4qu1xs] { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

/* The shape comes from a padding-top spacer, not from aspect-ratio. Safari on older iPhones (iOS 15) handles aspect-ratio together with min/max-height badly: the box could come out wider than the screen and had to be scrolled sideways. A spacer gives the same shape in every browser. */
.bc-camera[b-tfzf4qu1xs]::before { content: ""; display: block; padding-top: 62.5%; }
.bc-camera-view[b-tfzf4qu1xs]  video { width: 100%; height: 100%; object-fit: cover; display: block; }

.bc-camera-guide[b-tfzf4qu1xs] {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    pointer-events: none;
}

.bc-camera-bar[b-tfzf4qu1xs] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: white;
    font-size: var(--text-sm);
}

.bc-camera-bar span[b-tfzf4qu1xs] { flex: 1; }

.bc-camera-btn[b-tfzf4qu1xs] {
    margin: 0;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.bc-camera-btn.active[b-tfzf4qu1xs] { background: #ffd54a; color: #222; border-color: #ffd54a; }

/* Pinned to the viewport, not the camera preview — held and worked one-handed from the
   bottom edge of the phone. */
.bc-camera-trigger[b-tfzf4qu1xs] {
    position: fixed;
    left: 5%;
    right: 5%;
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 65;
    margin: 0;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--brand);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 18px rgba(26, 115, 232, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.9);
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bc-camera-trigger.armed[b-tfzf4qu1xs] { background: #ffd54a; color: #222; border-color: #ffd54a; }

.bc-assign-warning[b-tfzf4qu1xs] {
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}

.bc-assign-warning .button[b-tfzf4qu1xs] { margin: 0 0 0 0.4rem; }

.bc-assign-actions[b-tfzf4qu1xs] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bc-assign-actions .button[b-tfzf4qu1xs] { margin-top: 0; }

@media (max-width: 640px) {
    /* The scan-to-assign trigger is position:fixed to the screen's bottom edge — which on the
       admin pages is exactly where the (z-index 800) bottom nav sits, so the button was drawn
       underneath it and simply wasn't there. Lift it clear of the nav and above it. */
    .bc-camera-trigger[b-tfzf4qu1xs] {
        bottom: calc(57px + env(safe-area-inset-bottom, 0px) + 0.75rem);
        z-index: 850;
    }
}
/* /Components/Pages/Admin/Products/Detail.razor.rz.scp.css */
.product-stock-choices-title[b-47ldiccasr] { margin: 1.25rem 0 0; font-size: 1rem; }
.product-stock-choices-help[b-47ldiccasr] { margin: .2rem 0 0; font-size: var(--text-sm); }
.product-variant-adjust[b-47ldiccasr] { display: inline-block; margin-left: .5rem; font-size: var(--text-sm); white-space: nowrap; }
.product-public-link[b-47ldiccasr] { display: inline-block; margin-inline-start: .5rem; }
@media (max-width: 600px) {
}
/* /Components/Pages/Admin/Products/Edit.razor.rz.scp.css */
.product-edit-save[b-8246qdpyi8] { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.product-edit-save button[b-8246qdpyi8] { margin-top: 0; }

/* The unsaved-changes prompt uses the shared modal (.facebook-preview-modal); only its size and
   spacing are set here. */
.product-edit-unsaved[b-8246qdpyi8] { max-width: 420px; }
.product-edit-unsaved p[b-8246qdpyi8] { margin: 0; }
/* Focused on open only so keyboard and screen-reader users land in it; no focus ring on the box. */
.product-edit-unsaved:focus[b-8246qdpyi8] { outline: none; }

.barcode-owner-warning[b-8246qdpyi8] { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: -.25rem 0 .75rem; padding: .5rem .65rem; border: 1px solid var(--warning-border); border-radius: var(--radius-md); background: var(--warning-bg); color: var(--warning-text); font-size: var(--text-sm); }

.barcode-generate-note[b-8246qdpyi8] { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: 0 0 .75rem; color: var(--brand); font-size: var(--text-sm); }

.product-barcode-field[b-8246qdpyi8] { margin-bottom: 1rem; }
.product-barcode-label[b-8246qdpyi8] { display: block; margin-bottom: .35rem; font-weight: 500; }
.product-barcode-field .muted[b-8246qdpyi8] { margin: .4rem 0 0; }

@media (max-width: 600px) {
    .product-edit-save[b-8246qdpyi8] { flex-direction: column; align-items: stretch; }
    .product-edit-save button[b-8246qdpyi8] { justify-content: center; white-space: normal; }
}
/* /Components/Pages/Admin/Products/ManageVariants.razor.rz.scp.css */
.variant-tools-grid[b-39agblfkes] {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 1rem;
    align-items: start;
    margin: 1rem 0 1.5rem;
}
.variant-tools-grid.single-tool[b-39agblfkes] { grid-template-columns: minmax(0, 1fr); }

.variant-tools-grid > .entry-form-section[b-39agblfkes] { margin: 0; min-width: 0; }
.variant-page-intro[b-39agblfkes] { max-width: 72rem; margin: .85rem 0 1rem; }
.variant-redefine-action[b-39agblfkes] { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; margin: 0 0 1rem; }
.variant-redefine-action .button[b-39agblfkes] { margin: 0; text-decoration: none; }
.variant-redefine-action p[b-39agblfkes] { margin: 0; max-width: 42rem; }
.variant-list-heading[b-39agblfkes] { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin: 1.3rem 0 .6rem; }
.variant-list-heading h2[b-39agblfkes] { margin: 0; font-size: 1.2rem; }

.variant-bulk-panel[b-39agblfkes] {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
}

.variant-bulk-panel > h2[b-39agblfkes] {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: .25rem;
}

.variant-bulk-intro[b-39agblfkes] { margin: 0 0 .5rem; }

.variant-bulk-action[b-39agblfkes] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    align-items: end;
    padding: .7rem 0 0;
}

.variant-bulk-action h3[b-39agblfkes] {
    margin: 0 0 .65rem;
    font-size: 1rem;
    line-height: 1.35;
}

.variant-bulk-controls[b-39agblfkes] {
    display: grid;
    gap: .75rem;
    align-items: end;
}

.variant-bulk-controls-price[b-39agblfkes] { grid-template-columns: minmax(0, 1fr) auto; }
.variant-bulk-controls label[b-39agblfkes] { display: block; min-width: 0; margin: 0; }
.variant-bulk-controls input[b-39agblfkes] { box-sizing: border-box; width: 100%; }
.variant-bulk-controls .button[b-39agblfkes] { margin: 0; white-space: normal; }

@media (max-width: 850px) {
    .variant-bulk-action[b-39agblfkes] { grid-template-columns: 1fr; gap: .35rem; }
    .variant-bulk-action h3[b-39agblfkes] { margin: 0; }
}

@media (max-width: 600px) {
    .variant-bulk-controls-price[b-39agblfkes] { grid-template-columns: 1fr; }
    .variant-bulk-controls .button[b-39agblfkes] { width: 100%; justify-content: center; }
}

.vm-stock-link[b-39agblfkes] { font-size: var(--text-sm); white-space: nowrap; }

.variant-add-section[b-39agblfkes] { box-sizing: border-box; width: 100%; max-width: none; }
.variant-add-option[b-39agblfkes] { width: 100%; max-width: 42rem; margin-top: 1rem; }
.variant-add-option > label[b-39agblfkes],
.variant-add-custom > label[b-39agblfkes] { display: block; margin-bottom: .35rem; }
.variant-add-option > select[b-39agblfkes],
.variant-add-custom > input[b-39agblfkes] { box-sizing: border-box; width: 100%; }
.variant-add-custom[b-39agblfkes] {
    margin-top: .75rem;
}
.variant-add-or[b-39agblfkes] { display: block; margin-bottom: .35rem; color: var(--muted); font-size: var(--text-sm); }
.variant-add-info[b-39agblfkes] {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    box-sizing: border-box;
    max-width: 42rem;
    margin: .85rem 0 1rem;
    padding: .75rem .9rem;
    border: 1px solid var(--info-border);
    border-left: 3px solid var(--info-accent);
    border-radius: var(--radius-md);
    background: var(--info-bg);
    color: var(--ink);
    font-size: var(--text-sm);
    line-height: 1.5;
}
.variant-add-info[b-39agblfkes]  .icon { flex: 0 0 auto; margin-top: .2em; color: var(--info-accent); }
.variant-add-info p[b-39agblfkes] { margin: 0; }
.variant-add-info p + p[b-39agblfkes] { margin-top: .35rem; }
.variant-add-stock-info[b-39agblfkes] { margin-top: 1.25rem; }

.variant-barcode-panel h2[b-39agblfkes] { display: flex; align-items: center; gap: .4rem; }
.variant-barcode-panel .muted[b-39agblfkes] { margin: 0 0 .6rem; }
.variant-barcode-summary[b-39agblfkes] { line-height: 1.5; }
.variant-barcode-guide[b-39agblfkes] { margin-top: .85rem; border-top: 1px solid var(--border-subtle); padding-top: .7rem; }
.variant-barcode-guide summary[b-39agblfkes] { color: var(--brand); cursor: pointer; font-weight: 600; }
.variant-barcode-guide ul[b-39agblfkes] { padding-left: 1.2rem; margin: .65rem 0 0; line-height: 1.55; }
.variant-barcode-guide li + li[b-39agblfkes] { margin-top: .35rem; }
.variant-barcode-sequence-btn[b-39agblfkes] { margin-top: .75rem; }
.variant-barcode-cell[b-39agblfkes] { min-width: 13rem; }

@media (max-width: 1100px) {
    .variant-tools-grid[b-39agblfkes] { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .variant-add-info[b-39agblfkes] { padding: .7rem; }
}
/* /Components/Pages/Admin/Products/ProductCreateOptions.razor.rz.scp.css */
.create-options[b-la3m5cfgcj] { max-width: 960px; margin: 1.5rem 0; padding: 1.25rem; border: 1px solid #d8e6f7; border-radius: 12px; background: #f5f9ff; }
.create-options h2[b-la3m5cfgcj] { margin: 0 0 .5rem; }
.create-options h3[b-la3m5cfgcj] { margin: 1.25rem 0 .5rem; }
.create-options[b-la3m5cfgcj]  label { display: block; }
.create-options[b-la3m5cfgcj]  .checkbox-label { display: flex; align-items: center; gap: .55rem; margin: .75rem 0; }
.create-options[b-la3m5cfgcj]  .checkbox-label input { width: auto; flex: none; }
.create-options[b-la3m5cfgcj]  .axis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 1rem 0; }
.create-options[b-la3m5cfgcj]  .axis-grid > div, .create-options[b-la3m5cfgcj]  .variant-row { min-width: 0; }
.create-options[b-la3m5cfgcj]  .axis-grid input, .create-options[b-la3m5cfgcj]  .axis-grid select, .create-options[b-la3m5cfgcj]  .variant-row input, .create-options[b-la3m5cfgcj]  .bulk-stock input { width: 100%; }
.create-options[b-la3m5cfgcj]  .preset-list, .create-options[b-la3m5cfgcj]  .design-list, .create-options[b-la3m5cfgcj]  .combo-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: .7rem 0; }
.create-options[b-la3m5cfgcj]  .preset-chip { display: inline-flex !important; align-items: center; gap: .35rem; padding: .45rem .6rem; border: 1px solid #cbdcf6; border-radius: 8px; background: #fff; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .preset-chip input { width: auto; }
.create-options[b-la3m5cfgcj]  .design-choice { width: 76px; height: 76px; padding: 4px; border: 2px solid #cbdcf6; border-radius: 9px; background: #fff; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .design-choice.selected { border-color: #1a73e8; box-shadow: 0 0 0 2px #d9e9ff; }
.create-options[b-la3m5cfgcj]  .design-choice img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.create-options[b-la3m5cfgcj]  .model-choice-list { display: grid; gap: .75rem; margin: .75rem 0; }
.create-options[b-la3m5cfgcj]  .model-choice-row { min-width: 0; padding: .85rem; border: 1px solid #d8e6f7; border-radius: 9px; background: #fff; }
.create-options[b-la3m5cfgcj]  .model-choice-heading { display: flex; align-items: end; gap: .6rem; }
.create-options[b-la3m5cfgcj]  .model-choice-heading label { flex: 1; min-width: 0; }
.create-options[b-la3m5cfgcj]  .model-choice-heading button { flex: none; }
.create-options[b-la3m5cfgcj]  .model-selected-photo { display: flex; align-items: center; gap: .6rem; margin: .65rem 0; }
.create-options[b-la3m5cfgcj]  .model-selected-photo img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.create-options[b-la3m5cfgcj]  .model-gallery { margin: .65rem 0; }
.create-options[b-la3m5cfgcj]  .model-gallery summary { width: fit-content; color: #155fc4; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .model-choice-row .variant-file-picker { margin-top: .55rem; }
.create-options[b-la3m5cfgcj]  .variant-photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .7rem 0; padding: .7rem; border: 1px solid #d8e6f7; border-radius: 9px; background: #fff; }
.create-options[b-la3m5cfgcj]  .variant-photo-row > strong { min-width: 5rem; }
.create-options[b-la3m5cfgcj]  .variant-file-picker { position: relative; display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 40px; padding: .45rem .7rem; border: 1px solid #a9c9f4; border-radius: 7px; background: #fff; color: #155fc4; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .variant-file-picker:focus-within { outline: 2px solid #1a73e8; outline-offset: 2px; }
.create-options[b-la3m5cfgcj]  .variant-file-picker input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .variant-photo-row input[type=color] { width: 44px; height: 40px; padding: 2px; }
.create-options[b-la3m5cfgcj]  .variant-photo-picks { display: flex; flex: 1 1 100%; gap: .35rem; overflow-x: auto; padding: .2rem; }
.create-options[b-la3m5cfgcj]  .photo-choice { width: 44px; height: 44px; padding: 2px; flex: 0 0 auto; border: 2px solid #cbdcf6; border-radius: 6px; background: #fff; cursor: pointer; font-size: .7rem; }
.create-options[b-la3m5cfgcj]  .photo-choice.selected { border-color: #1a73e8; }
.create-options[b-la3m5cfgcj]  .photo-choice img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.create-options[b-la3m5cfgcj]  .photo-choice-clear { width: auto; min-width: 5rem; padding: .25rem .45rem; font-size: .75rem; }
.create-options[b-la3m5cfgcj]  .variant-rows { display: grid; gap: .7rem; margin: .8rem 0 1.25rem; }
.create-options[b-la3m5cfgcj]  .variant-barcode-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: .8rem 0 0; }
.create-options[b-la3m5cfgcj]  .variant-barcode-bar .button { margin-top: 0; }
.create-options[b-la3m5cfgcj]  .variant-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: .75rem; padding: 1rem; border: 1px solid #d8e6f7; border-radius: 10px; background: #fff; }
.create-options[b-la3m5cfgcj]  .variant-identity { display: flex; align-items: center; gap: .6rem; }
.create-options[b-la3m5cfgcj]  .variant-identity img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.create-options[b-la3m5cfgcj]  .bulk-stock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: .75rem; margin: .8rem 0 0; }
.create-options[b-la3m5cfgcj]  .bulk-stock label { min-width: 0; margin: 0; }
.create-options[b-la3m5cfgcj]  .bulk-stock .button { min-height: 2.65rem; margin: 0; box-sizing: border-box; justify-content: center; }
.create-options-intro[b-la3m5cfgcj] { max-width: 50rem; margin: 0 0 1rem; line-height: 1.55; }
.create-options-choices[b-la3m5cfgcj] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.create-options[b-la3m5cfgcj]  .create-option-choice { display: flex; align-items: flex-start; gap: .7rem; margin: 0; padding: .9rem 1rem; border: 1px solid #d8e6f7; border-radius: 10px; background: #fff; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .create-option-choice:has(input:checked) { border-color: #80b3f6; background: #eef5ff; }
.create-options[b-la3m5cfgcj]  .create-option-choice input { margin-top: .25rem; accent-color: #1a73e8; }
.create-options[b-la3m5cfgcj]  .create-option-choice span { display: grid; gap: .2rem; }
.create-options[b-la3m5cfgcj]  .create-option-choice small { color: var(--muted); font-weight: 400; line-height: 1.4; }
.create-options-step[b-la3m5cfgcj] { min-width: 0; margin-top: 1.1rem; padding: 1rem; border: 1px solid #d8e6f7; border-radius: 12px; background: #fff; }
.create-options-step-heading[b-la3m5cfgcj] { display: flex; align-items: flex-start; gap: .75rem; }
.create-options-step-heading h3[b-la3m5cfgcj] { margin: 0; font-size: 1.08rem; }
.create-options-step-heading p[b-la3m5cfgcj] { margin: .15rem 0 0; color: var(--muted); font-size: .85rem; }
.create-step-number[b-la3m5cfgcj] { display: grid; place-items: center; flex: 0 0 1.8rem; height: 1.8rem; border-radius: 50%; background: #e8f1fe; color: #155fc4; font-weight: 700; }
.create-options[b-la3m5cfgcj]  .axis-grid.single-axis { grid-template-columns: minmax(0, 1fr); }
.create-options[b-la3m5cfgcj]  .axis-panel { min-width: 0; padding: 1rem; border: 1px solid #e1eaf7; border-radius: 10px; background: #f8faff; }
.create-options[b-la3m5cfgcj]  .axis-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.create-options[b-la3m5cfgcj]  .create-text-button { padding: .25rem .5rem; border: 0; background: transparent; color: #155fc4; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .create-add-axis { margin-top: .1rem; }
.create-options[b-la3m5cfgcj]  .create-add-axis span { margin-left: .3rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
.create-options[b-la3m5cfgcj]  .combo-filter, .create-options[b-la3m5cfgcj]  .bulk-stock-details { margin-top: .9rem; padding: .7rem .85rem; border: 1px solid #e1eaf7; border-radius: 8px; background: #f8faff; }
.create-options[b-la3m5cfgcj]  .combo-filter summary, .create-options[b-la3m5cfgcj]  .bulk-stock-details summary, .create-options[b-la3m5cfgcj]  .color-photo-options summary, .create-options[b-la3m5cfgcj]  .variant-row-more summary { color: #155fc4; cursor: pointer; font-weight: 600; }
.create-options[b-la3m5cfgcj]  .combo-filter summary span, .create-options[b-la3m5cfgcj]  .variant-row-more summary span { margin-left: .3rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
.create-options[b-la3m5cfgcj]  .color-photo-options { margin-top: .7rem; }
.create-options[b-la3m5cfgcj]  .variant-identity { grid-column: 1 / -1; padding-bottom: .45rem; border-bottom: 1px solid #e1eaf7; }
.create-options[b-la3m5cfgcj]  .variant-identity strong { min-width: 0; overflow-wrap: anywhere; }
.create-options[b-la3m5cfgcj]  .variant-row > label { min-width: 0; }
.create-options[b-la3m5cfgcj]  .variant-row.without-stock > label { grid-column: 1 / -1; }
.create-options[b-la3m5cfgcj]  .variant-row-more { grid-column: 1 / -1; min-width: 0; padding-top: .2rem; }
.create-options[b-la3m5cfgcj]  .variant-row-more-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding-top: .75rem; }
.create-options[b-la3m5cfgcj]  .variant-row-more-fields > label { min-width: 0; }
.create-options[b-la3m5cfgcj]  .variant-row input, .create-options[b-la3m5cfgcj]  .axis-grid input, .create-options[b-la3m5cfgcj]  .axis-grid select, .create-options[b-la3m5cfgcj]  .bulk-stock input { box-sizing: border-box; max-width: 100%; min-width: 0; }
.create-options[b-la3m5cfgcj]  .variant-row .barcode-input-row { max-width: 100%; }
@media (max-width: 700px) {
    .create-options[b-la3m5cfgcj] { padding: 1rem; }
    .create-options[b-la3m5cfgcj]  .axis-grid, .create-options[b-la3m5cfgcj]  .variant-row { grid-template-columns: 1fr; }
    .create-options-choices[b-la3m5cfgcj], .create-options[b-la3m5cfgcj]  .variant-row-more-fields { grid-template-columns: 1fr; }
    .create-options-step[b-la3m5cfgcj] { padding: .8rem; }
    .create-options[b-la3m5cfgcj]  .variant-identity, .create-options[b-la3m5cfgcj]  .variant-row-more { grid-column: 1; }
    .create-options[b-la3m5cfgcj]  .variant-photo-row { flex-wrap: wrap; }
    .create-options[b-la3m5cfgcj]  .model-choice-heading { align-items: stretch; flex-direction: column; }
    .create-options[b-la3m5cfgcj]  .bulk-stock { grid-template-columns: 1fr; }
    .create-options[b-la3m5cfgcj]  .bulk-stock .button { width: 100%; }
}

/* Simple flow: pick what differs (chips), tap the values (chips), fill one small table. It sits inside the purple
   "সাইজ, রঙ বা মডেল" card on the product form, so the old blue box around it is gone. */
.create-options[b-la3m5cfgcj] { max-width: none; margin: 1rem 0 0; padding: 0; border: 0; background: transparent; }
.create-options[b-la3m5cfgcj]  .vx-block { margin: 0 0 1.1rem; }
.create-options[b-la3m5cfgcj]  .vx-q { margin: 0 0 .5rem; font-weight: 700; color: #5a2fa0; }
.create-options[b-la3m5cfgcj]  .vx-count { font-weight: 400; color: var(--muted); }
.create-options[b-la3m5cfgcj]  .vx-hint { margin: .45rem 0 0; color: var(--muted); font-size: .85rem; }
.create-options[b-la3m5cfgcj]  .vx-types { display: flex; flex-wrap: wrap; gap: .5rem; }
.create-options[b-la3m5cfgcj]  .vx-type { padding: .5rem 1.1rem; border: 1.5px solid #cdb6f0; border-radius: 999px; background: #fff; color: #5a2fa0; font-weight: 600; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .vx-type.on { border-color: #7a4fc2; background: #7a4fc2; color: #fff; }
.create-options[b-la3m5cfgcj]  .axis-grid { gap: 1rem; margin: 0 0 1.1rem; }
.create-options[b-la3m5cfgcj]  .axis-panel { padding: 0; border: 0; background: transparent; }
.create-options[b-la3m5cfgcj]  .preset-list { gap: .5rem; margin: .4rem 0 .8rem; }
.create-options[b-la3m5cfgcj]  .preset-chip { position: relative; margin: 0; padding: .45rem .95rem; border: 1.5px solid #d9c8f3; border-radius: 999px; background: #fff; color: #5a2fa0; font-weight: 600; }
.create-options[b-la3m5cfgcj]  .preset-chip input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.create-options[b-la3m5cfgcj]  .preset-chip:has(input:checked) { border-color: #7a4fc2; background: #7a4fc2; color: #fff; }
.create-options[b-la3m5cfgcj]  .preset-chip:has(input:focus-visible) { outline: 2px solid #7a4fc2; outline-offset: 2px; }
/* Number boxes without the little up/down arrows: owners type the amount, the arrows only crowd the box. */
.create-options[b-la3m5cfgcj]  input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.create-options[b-la3m5cfgcj]  input[type=number]::-webkit-outer-spin-button,
.create-options[b-la3m5cfgcj]  input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Sizes / colours picker: chosen values on top, a few suggestions, one box to type anything else. */
.create-options[b-la3m5cfgcj]  .vc-picker { display: grid; gap: .6rem; margin: .4rem 0 .8rem; }
.create-options[b-la3m5cfgcj]  .vc-selected, .create-options[b-la3m5cfgcj]  .vc-suggest { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.create-options[b-la3m5cfgcj]  .vc-chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.2rem; padding: .3rem .8rem; border: 1.5px solid #d9c8f3; border-radius: 999px; background: #fff; color: #5a2fa0; font-weight: 600; font-size: .92rem; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .vc-chip.on { border-color: #7a4fc2; background: #7a4fc2; color: #fff; }
.create-options[b-la3m5cfgcj]  .vc-chip.on b { margin-left: .1rem; font-weight: 700; opacity: .85; }
.create-options[b-la3m5cfgcj]  .vc-dot { display: inline-block; width: .95rem; height: .95rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); flex: 0 0 auto; }
.create-options[b-la3m5cfgcj]  .vc-more { padding: .3rem .5rem; border: 0; background: transparent; color: #5a2fa0; font-weight: 700; font-size: .9rem; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .vc-add { display: flex; gap: .5rem; align-items: center; }
.create-options[b-la3m5cfgcj]  .vc-add input { flex: 1 1 auto; min-width: 0; }
.create-options[b-la3m5cfgcj]  .vc-hint { margin: .2rem 0 -.2rem; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.create-options[b-la3m5cfgcj]  .vc-add .button { flex: 0 0 auto; margin: 0; }

.create-options[b-la3m5cfgcj]  .vx-note { margin: -.2rem 0 .7rem; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.create-options[b-la3m5cfgcj]  .vx-bulk { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.create-options[b-la3m5cfgcj]  .vx-bulk span { flex: 1 1 auto; line-height: 1.35; }
.create-options[b-la3m5cfgcj]  .vx-bulk input { flex: 0 0 9rem; width: 9rem; min-width: 0; }
.create-options[b-la3m5cfgcj]  .vx-bulk .button { margin: 0; min-height: 2.4rem; }
.create-options[b-la3m5cfgcj]  .vx-table { border: 1px solid #e3d6f7; border-radius: 12px; overflow: hidden; background: #fff; }
.create-options[b-la3m5cfgcj]  .vx-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .9fr) 2rem; align-items: center; gap: .5rem; padding: .5rem .7rem; border-top: 1px solid #f0e8fb; }
.create-options[b-la3m5cfgcj]  .vx-row.vx-head { border-top: 0; background: #f1e8fc; color: #5a2fa0; font-size: .85rem; font-weight: 700; }
.create-options[b-la3m5cfgcj]  .vx-row input { width: 100%; min-width: 0; box-sizing: border-box; padding: .45rem .5rem; }
.create-options[b-la3m5cfgcj]  .vx-name { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.create-options[b-la3m5cfgcj]  .vx-name strong { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.create-options[b-la3m5cfgcj]  .vx-name img { width: 32px; height: 32px; object-fit: cover; border-radius: 6px; flex: none; }
.create-options[b-la3m5cfgcj]  .vx-x { width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8a8fa0; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .vx-x:hover { background: #fde8ef; color: #b8344f; }
.create-options[b-la3m5cfgcj]  .vx-total { margin: .6rem 0 0; font-weight: 600; color: #3b2370; }
.create-options[b-la3m5cfgcj]  .vx-total span { font-weight: 400; color: var(--muted); font-size: .85rem; }
.create-options[b-la3m5cfgcj]  .vx-excluded { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .6rem 0 0; color: var(--muted); font-size: .85rem; }
.create-options[b-la3m5cfgcj]  .vx-undo { padding: .25rem .65rem; border: 1px dashed #b9a2e0; border-radius: 999px; background: #fff; color: #5a2fa0; cursor: pointer; }
.create-options[b-la3m5cfgcj]  .vx-extras { margin-top: 1rem; padding: .7rem .9rem; border: 1px solid #e3d6f7; border-radius: 10px; background: #fbf9ff; }
.create-options[b-la3m5cfgcj]  .vx-extras summary { color: #5a2fa0; cursor: pointer; font-weight: 600; }
.create-options[b-la3m5cfgcj]  .vx-extras summary span { margin-left: .3rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
.create-options[b-la3m5cfgcj]  .vx-extras > .vx-bulk { margin-top: .8rem; }
.create-options[b-la3m5cfgcj]  .vx-extra-rows { gap: .5rem; margin: .8rem 0 0; }
.create-options[b-la3m5cfgcj]  .vx-extra-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; padding: .7rem 0; border-top: 1px solid #eee5fa; }
.create-options[b-la3m5cfgcj]  .vx-extra-row > strong { grid-column: 1 / -1; }
.create-options[b-la3m5cfgcj]  .vx-extra-row label { min-width: 0; }
.create-options[b-la3m5cfgcj]  .vx-extra-row input { width: 100%; box-sizing: border-box; min-width: 0; }
@media (max-width: 700px) {
    .create-options[b-la3m5cfgcj]  .vx-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .9fr) 1.8rem; gap: .35rem; padding: .5rem .5rem; }
    .create-options[b-la3m5cfgcj]  .vx-extra-row { grid-template-columns: 1fr; }
}
/* /Components/Pages/Admin/Products/StockAdd.razor.rz.scp.css */
.stock-add-intro[b-x1db7rdqbj] { max-width: 48rem; line-height: 1.5; }
.stock-add-section[b-x1db7rdqbj] { box-sizing: border-box; width: 100%; margin: 1rem 0; padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--border-subtle); border-radius: 16px; background: #fff; box-shadow: 0 3px 18px rgba(40, 55, 82, .045); }
.stock-add-section h2[b-x1db7rdqbj] { margin: 0 0 .75rem; font-size: 1.2rem; }
.stock-add-total[b-x1db7rdqbj] { font-size: 1.35rem; }
.stock-add-variants[b-x1db7rdqbj] { list-style: none; margin: .75rem 0 0; padding: 0; }
.stock-add-variants li[b-x1db7rdqbj] { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem; padding: .5rem 0; border-top: 1px solid var(--border-subtle); }
.stock-add-section label[b-x1db7rdqbj] { display: block; max-width: none; margin: .8rem 0; }
.stock-add-section label input[b-x1db7rdqbj],
.stock-add-section label select[b-x1db7rdqbj] { box-sizing: border-box; width: 100%; max-width: none !important; }
.stock-add-section .button[b-x1db7rdqbj] { margin-top: .5rem; }
@media (max-width: 600px) {
    .stock-add-section[b-x1db7rdqbj] { padding: .85rem; }
    .stock-add-section .button[b-x1db7rdqbj] { width: 100%; justify-content: center; }
}

.stock-add-section label.stock-add-cash[b-x1db7rdqbj] { display: flex; align-items: center; gap: .55rem; margin: .9rem 0 0; font-weight: 600; }
.stock-add-section label.stock-add-cash input[b-x1db7rdqbj] { width: 1.25rem; height: 1.25rem; flex: none; margin: 0; }
.stock-add-cash-hint[b-x1db7rdqbj] { margin: .25rem 0 .5rem; font-size: .85rem; color: var(--muted); }
/* /Components/Pages/Admin/Sales/PhoneScanner.razor.rz.scp.css */
.phone-scanner[b-tv7twbgjiy] {
    max-width: 560px;
    margin: 0 auto;
}

.phone-scanner-title[b-tv7twbgjiy] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: var(--text-lg);
}

.phone-scanner-live[b-tv7twbgjiy] { color: #1e8a44; font-size: var(--text-sm); font-weight: 400; }

.phone-scanner-empty[b-tv7twbgjiy] {
    padding: 2rem 1rem;
    text-align: center;
}

.phone-scanner-empty[b-tv7twbgjiy]  .icon { font-size: 2.5rem; color: var(--brand); }
.phone-scanner-empty h1[b-tv7twbgjiy] { font-size: var(--text-xl); }

.phone-scanner-camera[b-tv7twbgjiy] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    isolation: isolate;
    background: #1d1d1d;
    border-radius: 12px;
    overflow: hidden;
}

.phone-scanner-view[b-tv7twbgjiy] {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

/* The shape comes from a padding-top spacer, not from aspect-ratio. Safari on older iPhones (iOS 15) handles aspect-ratio together with min/max-height badly: the box could come out wider than the screen and had to be scrolled sideways. A spacer gives the same shape in every browser. */
.phone-scanner-camera[b-tv7twbgjiy]::before { content: ""; display: block; padding-top: 75%; }

.phone-scanner-view[b-tv7twbgjiy]  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-scanner-guide[b-tv7twbgjiy] {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 2px;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    pointer-events: none;
}

/* Pinned to the viewport, not the camera preview — held and worked one-handed from the bottom
   edge of the phone. */
.phone-scanner-trigger[b-tv7twbgjiy] {
    position: fixed;
    left: 6%;
    right: 6%;
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 65;
    margin: 0;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--brand);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 18px rgba(184, 81, 42, 0.55), 0 0 0 3px rgba(255, 255, 255, 0.9);
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.phone-scanner-trigger.armed[b-tv7twbgjiy] {
    background: #ffd54a;
    color: #222;
    border-color: #ffd54a;
}

.phone-scanner-start[b-tv7twbgjiy] {
    position: relative;
    z-index: 1;
    padding: 0.9rem 1.4rem;
    font-size: 1.05rem;
}

.phone-scanner-actions[b-tv7twbgjiy] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.phone-scanner-actions .button[b-tv7twbgjiy] { flex: 1; justify-content: center; margin-top: 0; }
.phone-scanner-actions .button.active[b-tv7twbgjiy] { background: var(--brand); color: white; border-color: var(--brand); }

.phone-scanner-message[b-tv7twbgjiy] {
    margin: 0.75rem 0 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}

.phone-scanner-manual[b-tv7twbgjiy] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

/* By id: app.css's global input rule out-ranks a class selector and caps width at 420px. */
#phone-manual-code[b-tv7twbgjiy] { flex: 1; min-width: 0; max-width: none; margin: 0; }
.phone-scanner-manual .button[b-tv7twbgjiy] { margin-top: 0; }

.phone-scanner-recent[b-tv7twbgjiy] {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.phone-scanner-recent li[b-tv7twbgjiy] {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--text-sm);
}

.phone-scanner-recent li.warn[b-tv7twbgjiy] { color: var(--warning-text); }

.phone-scanner-code[b-tv7twbgjiy] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    color: var(--muted);
    margin-right: 0.35rem;
}
/* /Components/Pages/Admin/Sales/Pos.razor.rz.scp.css */
.pos-layout[b-464crfxl4b] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    grid-template-areas:
        "omni checkout"
        "catalog checkout";
    grid-template-rows: auto 1fr;
    column-gap: 1.25rem;
    align-items: start;
}

.pos-scan-area[b-464crfxl4b] { grid-area: omni; min-width: 0; max-width: 100%; }
.pos-catalog[b-464crfxl4b] { grid-area: catalog; min-width: 0; max-width: 100%; }
.pos-checkout[b-464crfxl4b] { grid-area: checkout; min-width: 0; max-width: 100%; }

/* ---- catalog: omnibox + tiles ---- */

.pos-omnibox[b-464crfxl4b] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    background: white;
    border: 2px solid var(--brand);
    border-radius: var(--radius-md); 
}

.pos-omnibox[b-464crfxl4b]  .icon { font-size: 1.35rem; color: var(--brand); }

/* By id: app.css's global input rule chains several :not() selectors and would otherwise
   out-rank a class selector, capping the field at 420px with its own border. */
#pos-omnibox[b-464crfxl4b] {
    flex: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    background: transparent;
}

.pos-omnibox-clear[b-464crfxl4b] {
    margin: 0;
    padding: 0.25rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.pos-omnibox-camera[b-464crfxl4b] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0.4rem 0.6rem;
    background: var(--surface-muted);
    color: var(--brand);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    white-space: nowrap;
    font-size: var(--text-sm);
}

.pos-omnibox-camera:hover[b-464crfxl4b],
.pos-omnibox-camera:focus-visible[b-464crfxl4b] { background: #e8f0fe; border-color: #a9c9f4; color: #155fc4; }
.pos-omnibox-camera.active[b-464crfxl4b] { background: var(--brand); color: white; }

/* ---- camera ---- */

.pos-camera[b-464crfxl4b] {
    position: relative;
    box-sizing: border-box;
    margin-top: 0.6rem;
    min-height: 210px;
    max-height: 260px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: #1d1d1d;
    border-radius: var(--radius-md);
    overflow: hidden;
    /* Keeps the rounded corners clipping the video on iOS (a known Safari habit of letting a video ignore them). */
    isolation: isolate;
}

.pos-camera-hidden[b-464crfxl4b] { display: none; }

.pos-camera-view[b-464crfxl4b] {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

/* The shape comes from a padding-top spacer, not from aspect-ratio. Safari on older iPhones (iOS 15) handles aspect-ratio together with min/max-height badly: the box could come out wider than the screen and had to be scrolled sideways. A spacer gives the same shape in every browser. */
.pos-camera[b-464crfxl4b]::before { content: ""; display: block; padding-top: 43.75%; }

.pos-camera-view[b-464crfxl4b]  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pos-camera-guide[b-464crfxl4b] {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    pointer-events: none;
}

/* Pinned to the viewport, not the camera preview — a phone is held and operated one-handed
   from the bottom edge, so the trigger stays reachable there no matter how tall the camera
   box or the product grid above it is. */
.pos-camera-trigger[b-464crfxl4b] {
    position: fixed;
    left: 5%;
    right: 5%;
    bottom: calc(0.9rem + env(safe-area-inset-bottom));
    z-index: 65;
    margin: 0;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--brand);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 18px rgba(184, 81, 42, 0.55), 0 0 0 3px rgba(255, 255, 255, 0.9);
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The mobile "বিক্রয় সম্পন্ন" bar sits fixed at the very bottom once the cart has items —
   lift the trigger above it so the two never overlap. */
.pos-camera-trigger.pos-camera-trigger-above-cart[b-464crfxl4b] {
    bottom: calc(4.6rem + env(safe-area-inset-bottom));
}

.pos-camera-trigger.armed[b-464crfxl4b] {
    background: #ffd54a;
    color: #222;
    border-color: #ffd54a;
}

.pos-camera-bar[b-464crfxl4b] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: white;
    font-size: var(--text-sm);
}

.pos-camera-bar span[b-464crfxl4b] {
    /* A small basis: where the text and buttons fit on one row (as they always did) they stay on one row; only where they would run past the edge do the buttons wrap below. */
    flex: 1 1 3.5rem;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.pos-camera-bar[b-464crfxl4b]  .field-help-icon { color: rgba(255, 255, 255, 0.75); margin-left: 0; position: relative; top: 0.1rem; }
.pos-camera-bar[b-464crfxl4b]  .field-help-icon:hover, .pos-camera-bar[b-464crfxl4b]  .field-help-icon:focus-visible { color: white; }

.pos-camera-btn[b-464crfxl4b] {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.pos-camera-btn.active[b-464crfxl4b] { background: #ffd54a; color: #222; border-color: #ffd54a; }

/* A narrow phone with a torch button (an iPhone's back camera has one) has four things in the bar: tighter spacing keeps them on one row. */
@media (max-width: 420px) {
    .pos-camera-bar[b-464crfxl4b] { gap: 0.35rem; padding: 0.4rem 0.5rem; }
    .pos-camera-bar span[b-464crfxl4b] { flex-basis: 2.5rem; }
    .pos-camera-btn[b-464crfxl4b] { padding: 0.3rem 0.45rem; }
}

.pos-camera-message[b-464crfxl4b] {
    margin: 0.6rem 0 0;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}

.pos-scan-tools[b-464crfxl4b] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    margin-top: 0.4rem;
}

.pos-scan-tools .pos-link[b-464crfxl4b] { display: inline-flex; align-items: center; gap: 0.3rem; text-decoration: none; }
.pos-phone-status[b-464crfxl4b] { color: var(--muted); font-size: var(--text-xs); }

.pos-pair h2[b-464crfxl4b] { display: flex; align-items: center; gap: 0.4rem; }
.pos-pair-steps[b-464crfxl4b] { margin: 0 0 0.75rem; padding-left: 1.2rem; font-size: var(--text-sm); }
.pos-pair-steps li[b-464crfxl4b] { margin-bottom: 0.3rem; }

.pos-pair-qr[b-464crfxl4b] {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    background: white;
    border-radius: var(--radius-md);
}

.pos-pair-qr[b-464crfxl4b]  svg { width: 220px; height: 220px; }

.pos-pair-url[b-464crfxl4b] {
    margin: 0.5rem 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: var(--text-xs);
    color: var(--muted);
    word-break: break-all;
    text-align: center;
}

.pos-grid-caption[b-464crfxl4b] {
    margin: 0.9rem 0 0.5rem;
    color: var(--muted);
    font-size: var(--text-sm);
}

.pos-grid[b-464crfxl4b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.6rem;
}

.pos-tile[b-464crfxl4b] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    margin: 0;
    padding: 0.5rem;
    min-height: 0;
    background: white;
    color: var(--ink);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.12s, transform 0.08s;
}

.pos-tile:hover[b-464crfxl4b] { border-color: var(--brand); background: white; }
.pos-tile:active[b-464crfxl4b] { transform: scale(0.97); }

.pos-tile img[b-464crfxl4b],
.pos-tile-initial[b-464crfxl4b] {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
}

.pos-tile-initial[b-464crfxl4b] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-muted);
    color: var(--brand);
    font-size: 1.8rem;
    font-weight: 600;
}

.pos-tile-name[b-464crfxl4b] {
    font-weight: 600;
    font-size: var(--text-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pos-tile-meta[b-464crfxl4b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    color: var(--muted);
    font-size: var(--text-xs);
}

.pos-tile-variants[b-464crfxl4b] {
    padding: 0 0.35rem;
    border-radius: var(--radius-pill);
    background: var(--info-bg);
    color: var(--info-accent);
}

.pos-more[b-464crfxl4b] {
    display: block;
    width: 100%;
    margin: 0.75rem 0 0;
}

.pos-empty[b-464crfxl4b] {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
}

/* ---- checkout: cart + payment ---- */

.pos-checkout[b-464crfxl4b] {
    position: sticky;
    top: 4.25rem;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 5.5rem);
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    /* Not overflow: hidden — the customer dropdown is an absolutely placed list that opens below the payment
       part, and hidden clipped it at this box's bottom edge. The cart scrolls on its own (.pos-cart), and the
       corners overflow hidden used to round are rounded on .pos-pay. min-width: 0 so the grid cell can still
       shrink now that it is not overflow hidden. */
    overflow: visible;
    min-width: 0;
}

.pos-cart-head[b-464crfxl4b] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem 0.5rem;
}

.pos-cart-head h2[b-464crfxl4b] { margin: 0; font-size: var(--text-lg); }

.pos-link[b-464crfxl4b] {
    margin: 0;
    padding: 0.2rem 0.4rem;
    background: transparent;
    border: none;
    color: var(--brand);
    font-size: var(--text-sm);
    text-decoration: underline;
}

.pos-cart-empty[b-464crfxl4b] {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--muted);
}

.pos-cart-empty[b-464crfxl4b]  .icon { font-size: 2.2rem; opacity: 0.5; }
.pos-cart-empty p[b-464crfxl4b] { margin: 0.4rem 0 0; font-size: var(--text-sm); }

.pos-cart[b-464crfxl4b] {
    list-style: none;
    margin: 0;
    padding: 0 0.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 3rem;
}

.pos-line[b-464crfxl4b] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 6px;
}

.pos-line-flash[b-464crfxl4b] { animation: pos-flash-b-464crfxl4b 0.9s ease-out; }

@keyframes pos-flash-b-464crfxl4b {
    from { background: #fff1c9; }
    to { background: transparent; }
}

.pos-line-main[b-464crfxl4b] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    margin: 0;
    padding: 0;
    min-width: 0;
    background: transparent;
    border: none;
    color: var(--ink);
    text-align: left;
    white-space: normal;
}

.pos-line-main:hover[b-464crfxl4b] { background: transparent; }

.pos-line-name[b-464crfxl4b] {
    font-weight: 600;
    font-size: var(--text-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.pos-line-sub[b-464crfxl4b] { color: var(--muted); font-size: var(--text-xs); }
/* The price and its pencil say "this can be changed" (the whole name block opens the editor). */
.pos-line-price[b-464crfxl4b] { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--brand); font-weight: 600; white-space: nowrap; }
.pos-line-price[b-464crfxl4b]  svg { width: 0.9rem; height: 0.9rem; margin: 0; }
.pos-line-changed[b-464crfxl4b] { display: inline-block; margin-left: 0.35rem; padding: 0 0.4rem; border-radius: 999px; background: #fff4e0; color: #8a5300; font-weight: 600; white-space: nowrap; }
.pos-line-warn[b-464crfxl4b] { color: var(--warning-text); font-size: var(--text-xs); }

.pos-qty[b-464crfxl4b] {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.pos-qty button[b-464crfxl4b] {
    margin: 0;
    padding: 0.35rem 0.55rem;
    min-height: 2.2rem;
    background: white;
    border: none;
    color: var(--brand);
}

.pos-qty span[b-464crfxl4b] {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: var(--text-sm);
}

.pos-line-total[b-464crfxl4b] {
    min-width: 4.5rem;
    text-align: right;
    font-weight: 600;
    font-size: var(--text-sm);
}

.pos-pay[b-464crfxl4b] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--border-subtle);
    border-radius: 0 0 calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px);
    background: var(--surface-muted);
}

.pos-pay label[b-464crfxl4b] { margin: 0; font-size: var(--text-sm); }

.pos-total[b-464crfxl4b] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.pos-total strong[b-464crfxl4b] { font-size: 1.7rem; color: var(--ink); }

.pos-segment[b-464crfxl4b] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--brand);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.pos-segment button[b-464crfxl4b] {
    margin: 0;
    justify-content: center;
    padding: 0.5rem 0.25rem;
    background: white;
    color: var(--brand);
    border: none;
    border-radius: 0;
}

.pos-segment button + button[b-464crfxl4b] { border-left: 1px solid var(--brand); }
.pos-segment button.active[b-464crfxl4b] { background: var(--brand); color: white; }

.pos-change[b-464crfxl4b],
.pos-short[b-464crfxl4b] {
    margin: 0;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.pos-change[b-464crfxl4b] { background: #e8f6ec; color: #1e6b36; }
.pos-change strong[b-464crfxl4b] { font-size: 1.15rem; }
.pos-short[b-464crfxl4b] { background: var(--warning-bg); color: var(--warning-text); }

.pos-complete[b-464crfxl4b] {
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.pos-submit-spinner[b-464crfxl4b] {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.45rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -0.15em;
    animation: pos-submit-spin-b-464crfxl4b 0.7s linear infinite;
}

@keyframes pos-submit-spin-b-464crfxl4b { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pos-submit-spinner[b-464crfxl4b] { animation: none; } }

.pos-kbd[b-464crfxl4b] {
    margin-left: 0.5rem;
    padding: 0 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: 400;
    opacity: 0.85;
}

.pos-mobile-bar[b-464crfxl4b] { display: none; }
/* Phone-only pieces of the বিক্রির তালিকা bottom sheet (see the 640px block below). */
.pos-checkout-backdrop[b-464crfxl4b], .pos-checkout-close[b-464crfxl4b], .pos-checkout-tip[b-464crfxl4b] { display: none; }

/* ---- sheets (dialog on desktop, bottom sheet on phones) ---- */

.pos-sheet-backdrop[b-464crfxl4b] {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
}

.pos-sheet[b-464crfxl4b] {
    position: relative;
    width: min(100%, 480px);
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.25rem;
    background: var(--paper);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.pos-sheet > div > h2[b-464crfxl4b] {
    min-height: 2.25rem;
    margin: -1.25rem -1.25rem 1rem;
    padding: .9rem 3.5rem .9rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--surface-muted);
    font-size: var(--text-lg);
    line-height: 1.35;
}
.pos-sheet h3[b-464crfxl4b] { margin: 0.5rem 0; font-size: var(--text-base); }
.pos-sheet label[b-464crfxl4b] { display: block; }

.pos-sheet-close[b-464crfxl4b] {
    position: absolute;
    top: .8rem;
    right: 1rem;
    margin: 0;
    padding: 0.35rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.pos-choice-list[b-464crfxl4b] {
    display: grid;
    gap: 0.45rem;
    margin: 0.5rem 0;
}

.pos-choice[b-464crfxl4b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.75rem 0.9rem;
    background: white;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: left;
}

.pos-choice:hover[b-464crfxl4b] { border-color: var(--brand); background: white; }
.pos-choice span[b-464crfxl4b] { color: var(--muted); font-size: var(--text-sm); }

.pos-remember[b-464crfxl4b] { display: flex !important; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-size: var(--text-sm); }
.pos-remember input[b-464crfxl4b] { width: auto; }

.pos-code[b-464crfxl4b] {
    margin: 0 0 0.75rem;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.pos-new-product[b-464crfxl4b] {
    margin-top: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: white;
}

.pos-new-product summary[b-464crfxl4b] { cursor: pointer; font-weight: 600; color: var(--brand); }
.pos-new-product .button[b-464crfxl4b] { margin-top: 0.5rem; }

.pos-two[b-464crfxl4b] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.pos-sheet-actions[b-464crfxl4b] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pos-sheet-actions .button[b-464crfxl4b] { margin-top: 0; }

.pos-done[b-464crfxl4b] { text-align: center; }
.pos-done h2[b-464crfxl4b] { margin-right: 0; }
.pos-done-icon[b-464crfxl4b]  .icon { font-size: 3rem; color: #1e8a44; }
.pos-done-total[b-464crfxl4b] { margin: 0 0 0.75rem; font-size: 1.4rem; font-weight: 600; }
.pos-done .pos-sheet-actions[b-464crfxl4b] { justify-content: center; }
.pos-done .pos-change[b-464crfxl4b], .pos-done .pos-short[b-464crfxl4b] { margin-bottom: 0.5rem; }

@media (max-width: 900px) {
    .pos-layout[b-464crfxl4b] {
        /* minmax(0, 1fr), not 1fr: a plain 1fr column grows to its widest unbreakable content and pushes the page sideways. */
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "omni" "checkout" "catalog";
        grid-template-rows: auto;
        row-gap: 0.75rem;
    }
    .pos-checkout[b-464crfxl4b] { position: static; max-height: none; }
    .pos-cart[b-464crfxl4b] { max-height: 45vh; }
    .pos-grid[b-464crfxl4b] { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .pos-grid-caption[b-464crfxl4b] { margin-top: 0.25rem; }
}

@media (max-width: 640px) {
    .pos-kbd[b-464crfxl4b] { display: none; }
    /* Already on a phone: its own camera button is the scanner; pairing another phone is for laptops. */
    .pos-scan-tools .pos-phone-pair-link[b-464crfxl4b] { display: none; }
    /* Owner's call: on a phone the sale list is reached from the বিক্রয় tab, not from here. */
    .pos-scan-tools .pos-sales-list-link[b-464crfxl4b] { display: none; }

    .pos-mobile-bar[b-464crfxl4b] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
        background: white;
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
    }

    .pos-mobile-total[b-464crfxl4b] {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        min-height: 44px;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
        color: var(--ink);
        text-align: left;
        text-decoration: none;
        font-size: var(--text-xs);
    }

    .pos-mobile-total span[b-464crfxl4b] { color: var(--brand); font-weight: 600; }
    .pos-mobile-total strong[b-464crfxl4b] { font-size: 1.3rem; }

    /* The grid sits right under the search box; the বিক্রির তালিকা panel (lines, payment,
       customer) leaves the page and becomes a bottom sheet opened from the bar. */
    .pos-layout[b-464crfxl4b] { grid-template-areas: "omni" "catalog"; }
    .pos-checkout[b-464crfxl4b] { display: none; }
    .pos-checkout.is-open[b-464crfxl4b] {
        display: flex;
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1095;
        max-height: 88vh;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: none;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
        padding-bottom: env(safe-area-inset-bottom);
        animation: pos-checkout-up-b-464crfxl4b 0.2s ease-out;
    }
    /* While the customer list is open, the sheet takes the whole screen so the list (it opens
       below its box) isn't cut off at the bottom edge. */
    .pos-checkout.is-open:has(.unit-select-panel)[b-464crfxl4b] { top: 0; max-height: none; border-radius: 0; }
    /* The sheet scrolls as a whole; the line list no longer needs its own scroll box. */
    .pos-checkout.is-open .pos-cart[b-464crfxl4b] { max-height: none; overflow: visible; flex: none; }
    .pos-checkout.is-open .pos-cart-head[b-464crfxl4b] { position: sticky; top: 0; z-index: 1; background: white; border-radius: 16px 16px 0 0; }
    .pos-checkout-backdrop[b-464crfxl4b] { display: block; position: fixed; inset: 0; z-index: 1090; background: rgba(0, 0, 0, 0.45); }
    .pos-checkout-close[b-464crfxl4b] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0 -0.5rem 0 0.25rem;
        padding: 0;
        background: transparent;
        border: none;
        color: var(--muted);
        font-size: 1.2rem;
    }
    .pos-cart-head h2[b-464crfxl4b] { flex: 1; }

    /* One-time pointer to "তালিকা দেখুন": a dark callout just above the bar, its arrow over the
       bar's left (তালিকা দেখুন) half. */
    .pos-checkout-tip[b-464crfxl4b] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(5.3rem + env(safe-area-inset-bottom));
        z-index: 65;
        padding: 0.6rem 0.5rem 0.6rem 0.85rem;
        border-radius: 10px;
        background: #1f3554;
        color: #fff;
        font-size: var(--text-sm);
        line-height: 1.45;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
        animation: pos-toast-in-b-464crfxl4b 0.18s ease-out;
    }
    .pos-checkout-tip[b-464crfxl4b]::after {
        content: "";
        position: absolute;
        left: 2.5rem;
        bottom: -6px;
        border: 6px solid transparent;
        border-bottom: 0;
        border-top-color: #1f3554;
    }
    .pos-checkout-tip span[b-464crfxl4b] { flex: 1 1 auto; }
    .pos-checkout-tip-close[b-464crfxl4b] {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: -0.4rem 0;
        padding: 0;
        background: transparent;
        border: none;
        color: rgba(255, 255, 255, 0.85);
    }
    .pos-qty button[b-464crfxl4b] { min-width: 44px; min-height: 44px; }
    .pos-mobile-bar .button[b-464crfxl4b] { margin: 0; padding: 0.8rem 1.1rem; font-weight: 600; }

    .pos-sheet-backdrop[b-464crfxl4b] { align-items: flex-end; padding: 0; }
    .pos-sheet[b-464crfxl4b] { width: 100%; max-height: 90vh; border-radius: 16px 16px 0 0; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
    .pos-two[b-464crfxl4b] { grid-template-columns: 1fr; }
}

/* "Added" toast (see the markup next to the sheet backdrop in Pos.razor). A white card in the
   page's own style rather than a dark snackbar, sitting just above whatever is fixed to the
   bottom edge so it never covers it. Desktop shows it too — the cart is beside the grid there,
   but a tap on a tile still deserves a visible answer. */
.pos-toast[b-464crfxl4b] {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 420px;
    margin: 0 auto;
    padding: 0.6rem 0.6rem 0.6rem 0.8rem;
    background: white;
    border: 1px solid var(--border-subtle);
    border-left: 4px solid #1e8a44;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    animation: pos-toast-in-b-464crfxl4b 0.18s ease-out;
}

@keyframes pos-toast-in-b-464crfxl4b {
    from { opacity: 0; transform: translateY(0.6rem); }
    to { opacity: 1; transform: translateY(0); }
}

.pos-toast[b-464crfxl4b]  .icon { flex: 0 0 auto; font-size: 1.4rem; color: #1e8a44; }
.pos-toast-text[b-464crfxl4b] { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pos-toast-text strong[b-464crfxl4b] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
.pos-toast-text span[b-464crfxl4b] { font-size: var(--text-xs); color: var(--muted); }

.pos-toast-undo[b-464crfxl4b] {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.45rem 0.7rem;
    min-height: 0;
    background: transparent;
    border: none;
    color: var(--brand);
    font-weight: 600;
    font-size: var(--text-sm);
}

/* With the manual-scan trigger showing there is one more fixed element at the bottom. */
.pos-toast.pos-toast-above-trigger[b-464crfxl4b] { bottom: calc(5.2rem + env(safe-area-inset-bottom)); }

@media (max-width: 640px) {
    /* Phones: the "বিক্রয় সম্পন্ন" bar is fixed at the bottom (cart has items by definition here). */
    .pos-toast[b-464crfxl4b] { bottom: calc(5rem + env(safe-area-inset-bottom)); }
    .pos-toast.pos-toast-above-trigger[b-464crfxl4b] { bottom: calc(8.6rem + env(safe-area-inset-bottom)); }
}
/* The payment block now appears when the first item is added — a short fade so the right-hand
   panel growing on a laptop reads as "something arrived", not a layout jump. */
.pos-pay[b-464crfxl4b] { animation: pos-pay-in-b-464crfxl4b 0.2s ease-out; }
@keyframes pos-pay-in-b-464crfxl4b { from { opacity: 0; } to { opacity: 1; } }
@keyframes pos-checkout-up-b-464crfxl4b { from { transform: translateY(1.5rem); opacity: 0.6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pos-checkout.is-open[b-464crfxl4b] { animation: none; } }
/* /Components/Pages/Admin/Sales/Receipt.razor.rz.scp.css */
.receipt-barcode[b-k8iouh1p3o] { text-align: center; }

.receipt-barcode-bars[b-k8iouh1p3o] {
    width: 240px;
    height: 56px;
    margin: 0 auto;
}

.receipt-barcode-bars[b-k8iouh1p3o]  svg {
    width: 100%;
    height: 100%;
    display: block;
}

.receipt-barcode-code[b-k8iouh1p3o] {
    margin: 0.25rem 0 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    letter-spacing: 0.08em;
}
/* /Components/Pages/Admin/Settings/Courier.razor.rz.scp.css */
.courier-connected[b-f9jwxz8ieg] { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 .6rem; color: #1d7a46; }

.courier-steps[b-f9jwxz8ieg] { margin: .75rem 0 0; padding-left: 1.25rem; line-height: 1.6; }
.courier-steps li[b-f9jwxz8ieg] { margin: 0 0 .75rem; }
.courier-steps li:last-child[b-f9jwxz8ieg] { margin-bottom: 0; }

.courier-copy[b-f9jwxz8ieg] { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-top: .35rem; }
.courier-copy code[b-f9jwxz8ieg] {
    min-width: 0;
    padding: .35rem .55rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--surface-muted);
    font-size: .85rem;
    overflow-wrap: anywhere;
    user-select: all;
}

/* One card per courier: the name and whether it is connected stay visible; the form opens on a tap. */
.courier-card[b-f9jwxz8ieg] { margin: 0 0 .9rem; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--surface, #fff); overflow: hidden; }
.courier-card > summary[b-f9jwxz8ieg] {
    display: flex; align-items: center; gap: .75rem;
    padding: .85rem 1rem; cursor: pointer; list-style: none; min-height: 56px;
}
.courier-card > summary[b-f9jwxz8ieg]::-webkit-details-marker { display: none; }
.courier-card > summary strong[b-f9jwxz8ieg] { font-size: 1.05rem; }
.courier-card > summary[b-f9jwxz8ieg]::after { content: "›"; margin-left: auto; font-size: 1.4rem; line-height: 1; color: var(--text-muted, #6b7280); transition: transform .15s; }
.courier-card[open] > summary[b-f9jwxz8ieg]::after { transform: rotate(90deg); }
.courier-card > section.settings-group[b-f9jwxz8ieg] { padding: 0 1rem 1rem; margin: 0; border: 0; }
.courier-card .settings-group-card[b-f9jwxz8ieg] { box-shadow: none; padding: 0; border: 0; background: transparent; }
.courier-card .settings-group-intro[b-f9jwxz8ieg] { margin-bottom: .75rem; }

.courier-badge[b-f9jwxz8ieg] { padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.courier-badge.on[b-f9jwxz8ieg] { background: #e3f5ea; color: #1d7a46; }
.courier-badge.off[b-f9jwxz8ieg] { background: var(--surface-muted, #eef1f5); color: var(--text-muted, #5b6472); }
.courier-badge.warn[b-f9jwxz8ieg] { background: #fdecd8; color: #9a5200; }
.courier-card .settings-note[b-f9jwxz8ieg] { margin-bottom: 1rem; }
/* /Components/Pages/Admin/Settings/Index.razor.rz.scp.css */
/* Own box instead of .toolbar-search-wrap: the page is a column, where that class's flex-basis would make the box 220px tall. */
.settings-search[b-0e7k804xnm] {
    position: relative;
    margin: 0 0 1rem;
    max-width: 32rem;
}

.settings-search[b-0e7k804xnm]  .icon {
    position: absolute;
    left: var(--space-3, 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.settings-search[b-0e7k804xnm]  .toolbar-search {
    width: 100%;
}

.settings-search-empty[b-0e7k804xnm] {
    margin: 0.25rem 0 0;
}
/* /Components/Pages/Admin/Settings/SmsSettings.razor.rz.scp.css */
/* The balance strip on top of the SMS settings page: the number, one main button, one quiet link. Same soft sky card as /admin/sms;
   amber when low, grey when empty. Old-phone friendly (no :has(), no gap-only layout for anything that matters). */
.sms-set-balance[b-3h37mulc5e] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 1.2rem;
    padding: 1.1rem 1.2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #e3f0ff 0%, #bdd9ff 100%);
    color: #0f2a4d;
    box-shadow: 0 1px 2px rgba(18, 38, 60, 0.06), 0 8px 22px rgba(18, 38, 60, 0.07);
}
.sms-set-balance.is-low[b-3h37mulc5e] { background: linear-gradient(135deg, #fff7e6 0%, #ffe6b3 100%); color: #6b4300; }
.sms-set-balance.is-empty[b-3h37mulc5e] { background: linear-gradient(135deg, #f1f4f8 0%, #dde4ee 100%); color: #3a4a61; }
.sms-set-balance > div:first-child[b-3h37mulc5e] { display: flex; flex-direction: column; margin: 0.1rem 1rem 0.1rem 0; }
.sms-set-label[b-3h37mulc5e] { font-size: 0.88rem; font-weight: 600; opacity: 0.8; }
.sms-set-number[b-3h37mulc5e] { font-size: 2.3rem; line-height: 1.15; letter-spacing: -0.02em; }
.sms-set-number small[b-3h37mulc5e] { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; opacity: 0.75; }
.sms-set-note[b-3h37mulc5e] { margin-top: 0.15rem; font-size: 0.88rem; font-weight: 600; }
.sms-set-actions[b-3h37mulc5e] { display: flex; flex-direction: column; align-items: flex-start; margin: 0.4rem 0 0.1rem; }
.sms-set-actions .button[b-3h37mulc5e] {
    min-height: 2.7rem;
    padding: 0 1.4rem;
    border-radius: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
/* The credit cost under a switch's description: a small, quiet pill, so the cost is easy to find but never shouts. */
.sms-credit[b-3h37mulc5e] {
    display: inline-block;
    margin: 0.35rem 0 0;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    background: #e8f0fb;
    color: #2a5ea8;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.5;
}
/* "কেমন SMS যাবে দেখুন": a quiet text button beside the pill; the example opens under it as a small chat-style bubble. */
.sms-example[b-3h37mulc5e] { display: block; }
.sms-example-btn[b-3h37mulc5e] {
    margin: 0.35rem 0 0 0.4rem;
    padding: 0.1rem 0.2rem;
    border: 0;
    background: none;
    color: #1a63c8;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.sms-example-box[b-3h37mulc5e] { display: block; margin: 0.4rem 0 0; }
.sms-example-bubble[b-3h37mulc5e] {
    display: block;
    max-width: 21rem;
    margin: 0 0 0.4rem;
    padding: 0.55rem 0.8rem;
    border-radius: 14px 14px 14px 4px;
    background: #fff;
    border: 1px solid #d6e2f3;
    color: #1d2b3f;
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: pre-line;
    word-break: break-word;
}
.sms-example-note[b-3h37mulc5e] { display: block; font-size: 0.74rem; color: var(--muted); }
.sms-set-link[b-3h37mulc5e] { margin: 0.55rem 0 0 0.3rem; color: #1a63c8; font-weight: 600; text-decoration: none; }
/* /Components/Pages/Admin/Sms/Buy.razor.rz.scp.css */
/* /admin/sms/buy: four short steps, each a soft card with one job. Big tap targets, the number and the amount large enough to
   read at a glance. Old-phone friendly: long-hand offsets, no :has(), no gap-only layouts that matter for function. */

.buy-card[b-9r26qpkdsz] {
    margin: 0 0 0.9rem;
    padding: 1.1rem 1.1rem 1.2rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(18, 38, 60, 0.06), 0 8px 22px rgba(18, 38, 60, 0.07);
}
.buy-card h2[b-9r26qpkdsz] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    color: #0f2a4d;
}
.buy-step[b-9r26qpkdsz] {
    flex: none;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #e3f0ff;
    color: #1a63c8;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.buy-muted[b-9r26qpkdsz] { display: block; margin: 0.6rem 0 0; font-size: 0.82rem; color: #5b6b80; line-height: 1.5; }
.buy-quiet p[b-9r26qpkdsz] { margin: 0; color: #5b6b80; }
.buy-mono[b-9r26qpkdsz] { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.02em; }

/* Step 1 */
.buy-packages[b-9r26qpkdsz] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 0.75rem; gap: 0.75rem; padding-top: 0.5rem; }
.buy-package[b-9r26qpkdsz] {
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0.8rem 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    border: 2px solid #e3eaf4;
    border-radius: 16px;
    background: #fff;
    color: #0f2a4d;
    cursor: pointer;
    transition: border-color 0.12s ease, background-color 0.12s ease, transform 0.12s ease;
}
.buy-package:active[b-9r26qpkdsz] { transform: scale(0.98); }
.buy-package.is-selected[b-9r26qpkdsz] { border-color: #1a73e8; background: #eef5ff; }
.buy-package-badge[b-9r26qpkdsz] { position: absolute; top: -0.65rem; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); white-space: nowrap; padding: 0.05rem 0.55rem; border-radius: 999px; background: #1a73e8; color: #fff; font-size: 0.68rem; font-weight: 600; line-height: 1.5; }
.buy-package-units[b-9r26qpkdsz] { font-size: 1.05rem; font-weight: 700; }
.buy-package-price[b-9r26qpkdsz] { font-size: 1.25rem; font-weight: 800; color: #1a63c8; }

/* Step 2 */
.buy-methods[b-9r26qpkdsz] { display: flex; flex-wrap: wrap; margin: -0.2rem -0.2rem 0.7rem; }
.buy-method[b-9r26qpkdsz] {
    margin: 0.2rem;
    padding: 0.5rem 1.1rem;
    border: 2px solid #e3eaf4;
    border-radius: 999px;
    background: #fff;
    color: #2b3b55;
    font-weight: 600;
    cursor: pointer;
}
.buy-method.is-selected[b-9r26qpkdsz] { border-color: #1a73e8; background: #eef5ff; color: #1a63c8; }
.buy-instruction[b-9r26qpkdsz] { margin: 0 0 0.8rem; font-size: 0.92rem; color: #2b3b55; line-height: 1.55; }
.buy-copy-row[b-9r26qpkdsz] {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.7rem 0.55rem 0.9rem;
    margin: 0 0 0.5rem;
    border-radius: 14px;
    background: #f4f7fb;
}
.buy-copy-label[b-9r26qpkdsz] { flex: none; width: 3rem; font-size: 0.82rem; color: #5b6b80; }
.buy-copy-value[b-9r26qpkdsz] { flex: 1 1 auto; min-width: 0; font-size: 1.3rem; letter-spacing: 0.01em; color: #0f2a4d; overflow-wrap: anywhere; }
.buy-copy[b-9r26qpkdsz] {
    flex: none;
    min-width: 5.2rem;
    min-height: 2.5rem;
    margin: 0;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #1a63c8;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(18, 38, 60, 0.1);
    cursor: pointer;
}
.buy-actions[b-9r26qpkdsz] { display: flex; flex-wrap: wrap; margin: 0.6rem -0.25rem 0; }
.buy-open[b-9r26qpkdsz] {
    flex: 1 1 10rem;
    margin: 0.25rem;
    min-height: 2.8rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}
.buy-hint[b-9r26qpkdsz] { margin: 0.6rem 0 0; padding: 0.55rem 0.8rem; border-radius: 12px; background: #fff7e6; color: #9a5b00; font-size: 0.85rem; line-height: 1.5; }

/* Step 3 */
.buy-payer[b-9r26qpkdsz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    background: #f4f7fb;
}
.buy-payer strong[b-9r26qpkdsz] { font-size: 1.2rem; color: #0f2a4d; }
.buy-link[b-9r26qpkdsz] {
    margin: 0;
    padding: 0.4rem 0.2rem;
    border: 0;
    background: transparent;
    color: #1a63c8;
    font-weight: 700;
    cursor: pointer;
}

/* Step 3: the number they paid from and the transaction id, one card */
.buy-field[b-9r26qpkdsz] { display: block; margin: 0 0 0.4rem; font-size: 0.85rem; color: #5b6b80; }
.buy-gap[b-9r26qpkdsz] { margin-top: 1rem; }

/* Help lines: small, quiet, each with a little info icon, so they read as a hint and not as part of the form. */
.buy-info[b-9r26qpkdsz], .buy-intro[b-9r26qpkdsz] {
    display: flex;
    align-items: flex-start;
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #5b6b80;
}
/* ::deep: the icon is drawn by the shared Icon component, which component-scoped CSS cannot reach otherwise. */
.buy-info[b-9r26qpkdsz]  .icon, .buy-intro[b-9r26qpkdsz]  .icon { flex: none; width: 0.95rem; height: 0.95rem; margin: 0.12rem 0.45rem 0 0; color: #2f6fb0; }
/* The one line under the title says what comes next: a soft blue strip, still small. */
.buy-intro[b-9r26qpkdsz] {
    margin: 0 0 1rem;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    background: #eef5ff;
    color: #3a4a61;
}
.buy-after[b-9r26qpkdsz] { margin: 0.6rem 0 0; text-align: center; font-size: 0.78rem; color: #5b6b80; }
.buy-tight[b-9r26qpkdsz] { margin: 0.4rem 0 0; }
.buy-block[b-9r26qpkdsz] { display: block; width: 100%; box-sizing: border-box; margin: 0; }
.buy-input-row[b-9r26qpkdsz] { display: flex; align-items: stretch; margin: 0; }
.buy-input[b-9r26qpkdsz] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 3rem;
    margin: 0 0.5rem 0 0;
    padding: 0 0.9rem;
    border: 2px solid #d4e1f3;
    border-radius: 14px;
    background: #fff;
    color: #0f2a4d;
    font-size: 1.1rem;
}
.buy-input:focus[b-9r26qpkdsz] { outline: none; border-color: #1a73e8; }
/* The id is always kept in capitals (the server does it too); show it that way as it is typed. */
.buy-trx[b-9r26qpkdsz] { text-transform: uppercase; }
.buy-trx[b-9r26qpkdsz]::placeholder { text-transform: none; }
.buy-small[b-9r26qpkdsz] { flex: none; min-height: 3rem; margin: 0; padding: 0 1rem; border-radius: 14px; font-weight: 700; white-space: nowrap; }
.buy-error[b-9r26qpkdsz] { margin: 0.7rem 0 0; padding: 0.55rem 0.8rem; border-radius: 12px; background: #fdf0f0; color: #9b2c2c; font-size: 0.88rem; line-height: 1.5; }
.buy-submit[b-9r26qpkdsz] {
    display: flex;
    width: 100%;
    margin: 0.9rem 0 0;
    min-height: 3.1rem;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    font-size: 1.02rem;
    font-weight: 700;
}
.buy-submit:disabled[b-9r26qpkdsz] { opacity: 0.5; }

/* Waiting / done */
.buy-pending[b-9r26qpkdsz] { background: #fff7e6; }
.buy-pending h2[b-9r26qpkdsz] { color: #7a4a00; }
.buy-dot[b-9r26qpkdsz] { width: 0.7rem; height: 0.7rem; border-radius: 999px; background: #e0a02a; }
.buy-pending-line[b-9r26qpkdsz] { margin: 0 0 0.35rem; font-size: 0.92rem; color: #5a3a00; overflow-wrap: anywhere; }
.buy-another[b-9r26qpkdsz] { display: block; margin: 0 auto 1rem; }

/* Step 2: the amount must be exact, said once, in soft amber; then the one button that opens step 3. */
.buy-exact[b-9r26qpkdsz] {
    display: flex;
    align-items: flex-start;
    margin: 0.2rem 0 0.4rem;
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: #fff4dc;
    color: #7a4a00;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
}
.buy-exact[b-9r26qpkdsz]  .icon { flex: none; width: 1rem; height: 1rem; margin: 0.18rem 0.5rem 0 0; color: #9a5b00; }
.buy-dial[b-9r26qpkdsz] { margin: 0.2rem 0 0; text-align: center; }
.buy-paid[b-9r26qpkdsz] {
    display: flex;
    width: 100%;
    margin: 0.9rem 0 0;
    min-height: 3.1rem;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    font-size: 1.02rem;
    font-weight: 700;
}
.buy-center[b-9r26qpkdsz] { text-align: center; }

/* Step 3: what the id looks like in the owner's own SMS. */
.buy-sample[b-9r26qpkdsz] { margin: 0.5rem 0 0; padding: 0.55rem 0.75rem; border-radius: 12px; background: #f4f7fb; color: #3a4a61; font-size: 0.85rem; line-height: 1.6; }
.buy-sample .buy-mono[b-9r26qpkdsz] { font-weight: 700; color: #0f2a4d; white-space: nowrap; }

/* After sending: waiting, then added (green) or not matched. */
.buy-wait[b-9r26qpkdsz] { display: flex; align-items: center; justify-content: center; margin: 0.4rem 0 0.2rem; font-size: 0.92rem; color: #7a4a00; }
.buy-wait .buy-dot[b-9r26qpkdsz] { margin-right: 0.5rem; }
.buy-done-ok[b-9r26qpkdsz] { background: #e8f6ee; }
.buy-done-ok h2[b-9r26qpkdsz] { color: #1a6a3c; }
.buy-done-ok .buy-done-icon[b-9r26qpkdsz] { background: #fff; }

/* A request that could not be matched: the same soft amber as "needs a look" elsewhere, never red. */
.buy-failed[b-9r26qpkdsz] { background: #fff7e6; }
.buy-failed h2[b-9r26qpkdsz] { color: #7a4a00; }
.buy-dot-soft[b-9r26qpkdsz] { background: #e0a02a; opacity: 0.55; }
.buy-failed-actions[b-9r26qpkdsz] { display: flex; align-items: center; flex-wrap: wrap; margin: 0.8rem -0.25rem 0; }
.buy-retry[b-9r26qpkdsz] { margin: 0.25rem; min-height: 2.8rem; padding: 0 1.4rem; border-radius: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.buy-failed-actions .buy-link[b-9r26qpkdsz] { margin: 0.25rem 0.5rem; }
.buy-done[b-9r26qpkdsz] { text-align: center; }
.buy-done h2[b-9r26qpkdsz] { justify-content: center; margin-bottom: 0.4rem; }
.buy-done p[b-9r26qpkdsz] { margin: 0 0 0.3rem; }
.buy-done .button[b-9r26qpkdsz] { margin-top: 0.9rem; display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: 0 1.4rem; border-radius: 14px; text-decoration: none; font-weight: 700; }
.buy-done-icon[b-9r26qpkdsz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.6rem;
    border-radius: 999px;
    background: #e8f6ee;
    color: #1a7a43;
}

/* History */
.buy-history-title[b-9r26qpkdsz] { margin: 1.2rem 0 0.6rem; font-size: 1rem; color: #0f2a4d; }
.buy-history[b-9r26qpkdsz] { list-style: none; margin: 0; padding: 0; }
.buy-history-row[b-9r26qpkdsz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(18, 38, 60, 0.06), 0 4px 14px rgba(18, 38, 60, 0.05);
}
.buy-history-row strong[b-9r26qpkdsz] { display: block; font-size: 0.92rem; color: #0f2a4d; }
.buy-pill[b-9r26qpkdsz] { flex: none; margin-left: 0.6rem; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: #eef2f7; color: #4a5a70; }
.buy-pill.is-ok[b-9r26qpkdsz] { background: #e8f6ee; color: #1a6a3c; }
.buy-pill.is-no[b-9r26qpkdsz] { background: #fff7e6; color: #9a5b00; }

/* ---- Three-screen flow: one thing at a time ---- */
.buy-stepper[b-9r26qpkdsz] { list-style: none; display: flex; margin: 0 0 0.9rem; padding: 0; }
.buy-stepper-item[b-9r26qpkdsz] { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; position: relative; color: #8a97a8; font-size: 0.78rem; font-weight: 600; }
.buy-stepper-item + .buy-stepper-item[b-9r26qpkdsz]::before { content: ""; position: absolute; top: 0.95rem; right: 50%; width: 100%; height: 3px; background: #dbe4f0; z-index: 0; }
.buy-stepper-item.is-done + .buy-stepper-item[b-9r26qpkdsz]::before, .buy-stepper-item.is-current[b-9r26qpkdsz]::before { background: #1a73e8; }
.buy-stepper-dot[b-9r26qpkdsz] { position: relative; z-index: 1; width: 1.9rem; height: 1.9rem; border-radius: 999px; background: #dbe4f0; color: #5b6b80; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.buy-stepper-text[b-9r26qpkdsz] { margin-top: 0.3rem; }
.buy-stepper-item.is-current[b-9r26qpkdsz] { color: #0f2a4d; }
.buy-stepper-item.is-current .buy-stepper-dot[b-9r26qpkdsz] { background: #1a73e8; color: #fff; box-shadow: 0 0 0 4px #d6e6fd; }
.buy-stepper-item.is-done .buy-stepper-dot[b-9r26qpkdsz] { background: #1a8f4c; color: #fff; }

/* What is coming, said before it starts */
.buy-ahead[b-9r26qpkdsz] { margin: 1.1rem 0 0; padding: 0.8rem 0.9rem; border-radius: 14px; background: #f4f7fb; }
.buy-ahead-title[b-9r26qpkdsz] { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 700; color: #0f2a4d; }
.buy-ahead-list[b-9r26qpkdsz] { list-style: none; margin: 0; padding: 0; }
.buy-ahead-list li[b-9r26qpkdsz] { display: flex; align-items: flex-start; margin: 0 0 0.45rem; font-size: 0.9rem; line-height: 1.5; color: #2b3b55; }
.buy-ahead-list .buy-ahead-n[b-9r26qpkdsz] { flex: none; width: 1.4rem; height: 1.4rem; margin-right: 0.6rem; border-radius: 999px; background: #e3f0ff; color: #1a63c8; font-size: 0.78rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.buy-ahead-note[b-9r26qpkdsz] { margin: 0.2rem 0 0; font-size: 0.8rem; color: #5b6b80; }

/* The big button of each screen. Screen 1 and 3 are blue; "money sent" is green so it can never be taken for another one. */
.buy-next[b-9r26qpkdsz] { display: flex; width: 100%; margin: 1rem 0 0; min-height: 3.2rem; border-radius: 14px; align-items: center; justify-content: center; font-size: 1.05rem; font-weight: 700; }
.buy-next:disabled[b-9r26qpkdsz] { opacity: 0.5; }
/* !important: the site-wide button rule is more specific than a class and would paint it blue again. */
.button.buy-paid[b-9r26qpkdsz] { background: #1a8f4c !important; border-color: #1a8f4c !important; color: #fff !important; }
/* The code box gets the room; "পেস্ট করুন" is a small button beside it, and the example code fits in the empty box. */
.buy-trx[b-9r26qpkdsz] { padding: 0 0.7rem; font-size: 1rem; }
.buy-trx[b-9r26qpkdsz]::placeholder { font-size: 0.9rem; }
.button.buy-small[b-9r26qpkdsz] { padding: 0 0.7rem; font-size: 0.85rem; min-height: 3rem; }

/* Long labels wrap on small phones instead of being cut off. */
.button.buy-paid[b-9r26qpkdsz], .button.buy-next[b-9r26qpkdsz], .button.buy-submit[b-9r26qpkdsz] { white-space: normal !important; text-align: center; line-height: 1.35; height: auto !important; padding: 0.7rem 1rem; box-sizing: border-box; overflow-wrap: anywhere; }
.button.buy-paid:hover[b-9r26qpkdsz] { background: #167a40 !important; }
.buy-back[b-9r26qpkdsz] { display: block; margin: 0.4rem auto 0; font-weight: 600; color: #5b6b80; }

/* Screen 2: the numbered things to do */
.buy-pick-title[b-9r26qpkdsz] { margin: 0 0 0.4rem; font-size: 0.85rem; color: #5b6b80; }
.buy-method[b-9r26qpkdsz] { display: inline-flex; align-items: center; }
.buy-brand-bkash.is-selected[b-9r26qpkdsz] { border-color: #e2136e; background: #fdeaf3; color: #b30e57; }
.buy-brand-nagad.is-selected[b-9r26qpkdsz] { border-color: #ee4023; background: #fdece8; color: #b82d14; }
.buy-brand-rocket.is-selected[b-9r26qpkdsz] { border-color: #8c3494; background: #f4eaf5; color: #6e2775; }
.buy-do[b-9r26qpkdsz] { list-style: none; margin: 0.9rem 0 0; padding: 0; }
.buy-do li[b-9r26qpkdsz] { display: flex; align-items: flex-start; margin: 0 0 0.9rem; }
.buy-do-n[b-9r26qpkdsz] { flex: none; width: 1.8rem; height: 1.8rem; margin-right: 0.7rem; border-radius: 999px; background: #1a73e8; color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.buy-do-body[b-9r26qpkdsz] { flex: 1 1 auto; min-width: 0; }
.buy-do-body p[b-9r26qpkdsz] { margin: 0.25rem 0 0.4rem; font-size: 0.95rem; line-height: 1.5; color: #2b3b55; }
.buy-do-sub[b-9r26qpkdsz] { font-size: 0.8rem !important; color: #5b6b80 !important; margin-top: -0.2rem !important; }
.buy-do-body .buy-copy-row[b-9r26qpkdsz] { margin: 0; }
.buy-do-body .buy-exact[b-9r26qpkdsz] { margin-top: 0.5rem; }

/* The wallets' own logos on the choice chips */
.buy-method[b-9r26qpkdsz] { min-height: 2.7rem; padding: 0.3rem 0.65rem; }
.buy-logo[b-9r26qpkdsz] { display: block; height: 1.4rem; width: auto; max-width: 5.5rem; }
/* Rocket's logo is nearly square (rocket over the word), so at the same height its word is tiny: make it taller and pull the margin in so the chip does not grow. */
.buy-logo.is-tall[b-9r26qpkdsz] { height: 2.2rem; margin: -0.4rem 0; }

/* The last step is said plainly, and marked green so it reads as "the end" */
.buy-do-last[b-9r26qpkdsz] { background: #1a8f4c; }
.buy-last[b-9r26qpkdsz] { margin: 0 0 0.2rem; font-size: 0.95rem; line-height: 1.65; color: #2b3b55; }
.buy-back span[b-9r26qpkdsz] { margin-right: 0.15rem; }

/* Screen 3: the form in its own panel, apart from the explaining text */
.buy-form[b-9r26qpkdsz] { margin: 1.1rem 0 0; padding: 1rem; border-radius: 16px; background: #f1f6fd; border: 1px solid #d4e1f3; }
.buy-form .buy-submit[b-9r26qpkdsz] { margin-top: 1rem; }
/* /Components/Pages/Admin/Sms/Index.razor.rz.scp.css */
/* /admin/sms: one big number, one main button, soft rows. Colours follow docs/ADMIN_UI_STANDARD.md (sky hero, soft pills,
   amber for "needs a look", never loud red). Old-phone friendly: long-hand offsets, no :has(). */

.sms-notice[b-vwptfn2mfi] {
    position: relative;
    margin: 0 0 0.9rem;
    padding: 0.8rem 2.4rem 0.8rem 1rem;
    border-radius: 16px;
    background: #e8f6ee;
    color: #1a6a3c;
    line-height: 1.5;
}
.sms-notice p[b-vwptfn2mfi] { margin: 0; font-size: 0.92rem; }
.sms-notice-close[b-vwptfn2mfi] {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #1a6a3c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sms-pending[b-vwptfn2mfi] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.9rem;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    background: #fff7e6;
    color: #9a5b00;
    font-size: 0.92rem;
    text-decoration: none;
}
.sms-pending-dot[b-vwptfn2mfi] { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 999px; background: #e0a02a; }

.sms-balance[b-vwptfn2mfi] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0 0 1.4rem;
    padding: 1.25rem 1.25rem 1.35rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #e3f0ff 0%, #bdd9ff 100%);
    color: #0f2a4d;
    box-shadow: 0 1px 2px rgba(18, 38, 60, 0.06), 0 8px 22px rgba(18, 38, 60, 0.07);
}
.sms-balance.is-low[b-vwptfn2mfi] { background: linear-gradient(135deg, #fff7e6 0%, #ffe6b3 100%); color: #6b4300; }
.sms-balance.is-empty[b-vwptfn2mfi] { background: linear-gradient(135deg, #f1f4f8 0%, #dde4ee 100%); color: #3a4a61; }
.sms-balance-label[b-vwptfn2mfi] { font-size: 0.9rem; font-weight: 600; opacity: 0.8; }
.sms-balance-number[b-vwptfn2mfi] { font-size: 3rem; line-height: 1.1; letter-spacing: -0.02em; }
.sms-balance-number small[b-vwptfn2mfi] { font-size: 1rem; font-weight: 600; letter-spacing: 0; opacity: 0.75; }
.sms-balance-note[b-vwptfn2mfi] { margin: 0; font-size: 0.92rem; font-weight: 600; }
.sms-balance-note-soft[b-vwptfn2mfi] { font-weight: 400; opacity: 0.8; }
.sms-buy-button[b-vwptfn2mfi] {
    margin-top: 0.6rem;
    min-height: 2.9rem;
    padding: 0 1.6rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sms-section-title[b-vwptfn2mfi] { margin: 0 0 0.6rem; font-size: 1rem; color: #0f2a4d; }

.sms-empty[b-vwptfn2mfi] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #fff;
    color: #5b6b80;
    box-shadow: 0 1px 2px rgba(18, 38, 60, 0.06), 0 8px 22px rgba(18, 38, 60, 0.07);
}
.sms-empty p[b-vwptfn2mfi] { margin: 0; font-size: 0.92rem; }

.sms-ledger[b-vwptfn2mfi] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.sms-row[b-vwptfn2mfi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(18, 38, 60, 0.06), 0 4px 14px rgba(18, 38, 60, 0.05);
}
.sms-row-main[b-vwptfn2mfi] { min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.sms-row-main strong[b-vwptfn2mfi] { font-size: 0.95rem; color: #0f2a4d; }
.sms-row-sub[b-vwptfn2mfi] { font-size: 0.8rem; color: #5b6b80; overflow-wrap: anywhere; }
.sms-row-side[b-vwptfn2mfi] { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; }
.sms-delta[b-vwptfn2mfi] { font-size: 1.05rem; font-weight: 700; color: #3a4a61; }
.sms-delta.is-plus[b-vwptfn2mfi] { color: #1a7a43; }

.sms-pill[b-vwptfn2mfi] {
    display: inline-block;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    background: #eef2f7;
    color: #4a5a70;
}
.sms-pill.is-sent[b-vwptfn2mfi] { background: #e8f6ee; color: #1a6a3c; }
.sms-pill.is-credit[b-vwptfn2mfi] { background: #e8f6ee; color: #1a6a3c; }
.sms-pill.is-pending[b-vwptfn2mfi] { background: #e8f0fb; color: #2a5ea8; }
.sms-pill.is-refund[b-vwptfn2mfi] { background: #fff7e6; color: #9a5b00; }

.sms-more[b-vwptfn2mfi] {
    display: block;
    width: 100%;
    margin: 0.75rem 0 0;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: #1a63c8;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(18, 38, 60, 0.06), 0 4px 14px rgba(18, 38, 60, 0.05);
}
/* /Components/Pages/Onboarding/Done.razor.rz.scp.css */
.onboarding-sms-offer[b-ghte5v0m81] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cfe3fb;
    border-radius: var(--radius-md);
    background: #f2f8ff;
    text-align: left;
}

.onboarding-sms-offer p[b-ghte5v0m81] {
    flex: 1 1 14rem;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink);
}
/* /Components/Pages/Ops/Sms.razor.rz.scp.css */
/* /ops/sms. Plain, readable, English like the other ops pages. Every control sets its own colours because the app's global CSS
   gives each <button> white text on the brand colour. */
.ops-sms[b-vgjrryqbdb] { max-width: 60rem; margin: 0 auto; padding: 0 0.75rem 3rem; color: #202b3a; }

.sms-card[b-vgjrryqbdb] {
    margin: 0 0 1rem;
    padding: 1rem 1.1rem 1.1rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dce4ef;
    box-shadow: 0 1px 2px rgba(32, 43, 58, 0.05);
}
.sms-card h2[b-vgjrryqbdb] { margin: 0 0 0.6rem; font-size: 1.05rem; color: #202b3a; }
.sms-count[b-vgjrryqbdb] { display: inline-block; margin-left: 0.3rem; padding: 0 0.5rem; border-radius: 999px; background: #e8f0fb; color: #2a5ea8; font-size: 0.8rem; }
.sms-muted[b-vgjrryqbdb] { margin: 0.35rem 0 0; font-size: 0.85rem; color: #607084; }
.sms-warn-text[b-vgjrryqbdb] { margin: 0.3rem 0 0; font-size: 0.9rem; color: #9a5b00; font-weight: 600; }
.sms-sub[b-vgjrryqbdb] { margin: 1rem 0 0.2rem; font-size: 0.95rem; color: #202b3a; }
.sms-big[b-vgjrryqbdb] { margin: 0; font-size: 2rem; font-weight: 800; color: #202b3a; }
.sms-big.is-low[b-vgjrryqbdb] { color: #9a5b00; }
.sms-mono[b-vgjrryqbdb] { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

.sms-alert[b-vgjrryqbdb] { margin: 0 0 1rem; padding: 0.7rem 1rem; border-radius: 12px; font-size: 0.92rem; }
.sms-alert.is-ok[b-vgjrryqbdb] { background: #e8f6ee; color: #1a6a3c; }
.sms-alert.is-warn[b-vgjrryqbdb] { background: #fff7e6; color: #9a5b00; }

.sms-req[b-vgjrryqbdb] { margin: 0.8rem 0 0; padding: 0.8rem 0.9rem; border-radius: 14px; background: #f7f9fc; border: 1px solid #e3eaf4; }
.sms-req-top[b-vgjrryqbdb] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 0.8rem; margin: 0 0 0.5rem; }
.sms-req-grid[b-vgjrryqbdb] { display: flex; flex-wrap: wrap; margin: 0 -0.4rem; }
.sms-req-grid > div[b-vgjrryqbdb] { flex: 1 1 8rem; margin: 0.2rem 0.4rem; display: flex; flex-direction: column; min-width: 0; }
.sms-req-grid .sms-wide[b-vgjrryqbdb] { flex: 1 1 100%; }
.sms-k[b-vgjrryqbdb] { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: #607084; }
.sms-amount[b-vgjrryqbdb] { font-weight: 800; }
.sms-trx[b-vgjrryqbdb] { font-size: 1.05rem; font-weight: 700; overflow-wrap: anywhere; }
.sms-req-actions[b-vgjrryqbdb] { display: flex; flex-wrap: wrap; align-items: center; margin: 0.7rem -0.25rem 0; }
.sms-req-actions > *[b-vgjrryqbdb] { margin: 0.25rem; }

.sms-btn[b-vgjrryqbdb] {
    min-height: 2.4rem;
    padding: 0 1rem;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    background: #fff;
    color: #202b3a;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.sms-btn:disabled[b-vgjrryqbdb] { opacity: 0.5; cursor: default; }
.sms-btn-go[b-vgjrryqbdb] { background: #1a7a43; border-color: #1a7a43; color: #fff; }
.sms-btn-no[b-vgjrryqbdb] { color: #9b2c2c; border-color: #ecc9c9; background: #fff; }
.sms-note[b-vgjrryqbdb] {
    flex: 1 1 12rem;
    min-width: 0;
    min-height: 2.4rem;
    padding: 0 0.7rem;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    background: #fff;
    color: #202b3a;
    font: inherit;
    font-size: 0.9rem;
}
.sms-narrow[b-vgjrryqbdb] { flex: 0 0 8rem; }
/* Inside the stacked form a box must not stretch to its flex-basis (that is a height in a column). */
.sms-form > .sms-note[b-vgjrryqbdb] { flex: 0 0 auto; width: 100%; box-sizing: border-box; }
.sms-link[b-vgjrryqbdb] { margin: 0 0 0 0.4rem; padding: 0; border: 0; background: transparent; color: #1a63c8; font: inherit; font-weight: 600; cursor: pointer; }

.sms-form[b-vgjrryqbdb] { display: flex; flex-direction: column; }
.sms-form-row[b-vgjrryqbdb] { display: flex; flex-wrap: wrap; align-items: center; margin: 0.4rem -0.25rem 0; }
.sms-form-row > *[b-vgjrryqbdb] { margin: 0.25rem; }
.sms-hits[b-vgjrryqbdb] { list-style: none; margin: 0.4rem 0 0; padding: 0; border: 1px solid #e3eaf4; border-radius: 10px; overflow: hidden; }
.sms-hit[b-vgjrryqbdb] { display: block; width: 100%; padding: 0.55rem 0.8rem; border: 0; border-bottom: 1px solid #eef2f7; background: #fff; color: #202b3a; font: inherit; text-align: left; cursor: pointer; }
.sms-picked[b-vgjrryqbdb] { margin: 0.6rem 0 0; }

.sms-table-wrap[b-vgjrryqbdb] { overflow-x: auto; }
.sms-table[b-vgjrryqbdb] { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.sms-table th[b-vgjrryqbdb], .sms-table td[b-vgjrryqbdb] { padding: 0.45rem 0.6rem; text-align: left; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.sms-table th[b-vgjrryqbdb] { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: #607084; }

.sms-decided[b-vgjrryqbdb] { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.45rem 0; border-bottom: 1px solid #eef2f7; font-size: 0.88rem; }
.sms-pill[b-vgjrryqbdb] { flex: none; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: #eef2f7; color: #4a5a70; }
.sms-pill.is-ok[b-vgjrryqbdb] { background: #e8f6ee; color: #1a6a3c; }
.sms-pill.is-no[b-vgjrryqbdb] { background: #fff7e6; color: #9a5b00; }

/* The "payment text" line under each waiting request, and the bar above the list. Green = matches, amber = arrived but differs, grey = not here yet. */
.sms-check[b-vgjrryqbdb] { margin: 0.6rem 0 0; padding: 0.45rem 0.7rem; border-radius: 10px; background: #f1f4f8; color: #4a5a70; font-size: 0.86rem; }
.sms-check.is-ok[b-vgjrryqbdb] { background: #e8f6ee; color: #1a6a3c; }
.sms-check.is-warn[b-vgjrryqbdb] { background: #fff7e6; color: #9a5b00; }
.sms-check .sms-btn[b-vgjrryqbdb] { margin-left: 0.5rem; }
/* Waiting too long (no matching payment text after 30 minutes): red, so it cannot be missed. */
.sms-check.is-late[b-vgjrryqbdb] { background: #fdecec; color: #a12622; font-weight: 600; }
.sms-req.is-late[b-vgjrryqbdb] { border-color: #e9a7a4; background: #fff8f8; }
.sms-late-text[b-vgjrryqbdb] { color: #a12622; }
/* /Components/Shared/BarcodeCameraButton.razor.rz.scp.css */
/* A flex item beside the input (see e.g. Edit.razor.css's .barcode-input-row), not
   position:absolute — that was tried and confirmed broken: anchored with top/right/bottom:0, the
   button stretches to match the WHOLE wrapper's height, and once the camera panel opens below the
   input, the wrapper's height grows to include the panel (~260px) too — so the button balloons
   into a tall block with its icon centered deep inside it, invisible in the cropped input area.
   A flex row with flex-wrap sidesteps this: the panel drops to its own wrapped line, and each
   flex line's cross-size (height) is independent, so the panel's height never affects line one's
   (input + button) height. align-self:stretch matches the button's own height to the input's,
   nothing more. */
.barcode-camera-btn[b-et4yftqmep] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    width: 2.4rem;
    min-height: 0; /* the global button min-height made it taller than the input it sits beside */
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--brand);
    border: none;
    border-radius: 0;
    font-size: 1.1rem;
}

.barcode-camera-btn:hover[b-et4yftqmep] { background: var(--surface-muted); }
.barcode-camera-btn.active[b-et4yftqmep] { background: var(--brand); color: white; }

.barcode-camera-panel-hidden[b-et4yftqmep] { display: none; }

.barcode-camera-panel[b-et4yftqmep] {
    position: relative;
    margin-top: 0.5rem;
    box-sizing: border-box;
    max-height: 260px;
    width: 100%;
    max-width: 100%;
    isolation: isolate;
    background: #1d1d1d;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.barcode-camera-view[b-et4yftqmep] { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

/* The shape comes from a padding-top spacer, not from aspect-ratio. Safari on older iPhones (iOS 15) handles aspect-ratio together with min/max-height badly: the box could come out wider than the screen and had to be scrolled sideways. A spacer gives the same shape in every browser. */
.barcode-camera-panel[b-et4yftqmep]::before { content: ""; display: block; padding-top: 62.5%; }
.barcode-camera-view[b-et4yftqmep]  video { width: 100%; height: 100%; object-fit: cover; display: block; }

.barcode-camera-guide[b-et4yftqmep] {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 2px;
    background: #ff3b30;
    box-shadow: 0 0 8px #ff3b30;
    pointer-events: none;
}

.barcode-camera-bar[b-et4yftqmep] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    color: white;
    font-size: var(--text-sm);
}

.barcode-camera-bar span[b-et4yftqmep] { flex: 1; }

.barcode-camera-close[b-et4yftqmep] {
    margin: 0;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
}

.barcode-camera-message[b-et4yftqmep] {
    margin: 0.5rem 0 0;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}
/* /Components/Shared/BarcodeEditor.razor.rz.scp.css */
.barcode-editor[b-0wmcpl7621] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.barcode-chip[b-0wmcpl7621] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.3rem 0.2rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: white;
    font-size: var(--text-sm);
    white-space: nowrap;
}

.barcode-chip-code[b-0wmcpl7621] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    letter-spacing: 0.02em;
}

.barcode-chip-remove[b-0wmcpl7621],
.barcode-chip-action[b-0wmcpl7621] {
    margin: 0;
    padding: 0.1rem 0.35rem;
    min-height: 0;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: var(--text-xs);
}

.barcode-chip-action.danger[b-0wmcpl7621] { color: var(--due); font-weight: 600; }
.barcode-chip-remove:hover[b-0wmcpl7621] { color: var(--due); background: transparent; }

.barcode-editor-add[b-0wmcpl7621] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.4rem;
    flex: 1 1 12rem;
    min-width: 0;
}

/* The input + camera layout itself is the shared .barcode-input-row in app.css; this only sets
   the row's own place as a flex item of .barcode-editor-add (beside "কোড তৈরি করুন"). */
.barcode-input-row[b-0wmcpl7621] { flex: 1 1 auto; min-width: 0; }
.barcode-editor-compact .barcode-input-row[b-0wmcpl7621] { max-width: none; }

.barcode-editor-add .button[b-0wmcpl7621] { margin-top: 0; white-space: nowrap; }

.barcode-editor-generate[b-0wmcpl7621] {
    flex-basis: 100%;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    min-height: 0;
    background: transparent;
    border: none;
    color: var(--brand);
    font-size: var(--text-sm);
    text-decoration: underline;
}

.barcode-editor-fallback[b-0wmcpl7621] {
    flex-basis: 100%;
    max-width: 16rem; /* a table cell grows to fit its longest line — keep this note from widening the column */
    margin: 0;
    color: var(--muted);
    font-size: var(--text-xs);
}

.barcode-editor-compact .barcode-editor-add[b-0wmcpl7621] { flex-basis: 9rem; }

.barcode-editor-msg[b-0wmcpl7621] {
    flex-basis: 100%;
    margin: 0;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--warning-text);
    font-size: var(--text-sm);
}

.barcode-editor-msg-actions[b-0wmcpl7621] {
    display: inline-flex;
    gap: 0.4rem;
    margin-left: 0.4rem;
}

.barcode-editor-msg-actions .button[b-0wmcpl7621] { margin-top: 0; }

.barcode-editor-error[b-0wmcpl7621] {
    border-color: #f1c7c7;
    background: #fdf0f0;
    color: var(--due);
}
/* /Components/Shared/BulkCourierBooking.razor.rz.scp.css */
.bulk-list[b-qlivj4z2n6] { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.bulk-row[b-qlivj4z2n6] { display: grid; gap: .15rem; padding: .5rem 0; border-bottom: 1px solid var(--border, #e5e7eb); }
.bulk-row label[b-qlivj4z2n6] { display: flex; gap: .6rem; align-items: flex-start; }
.bulk-row input[type="checkbox"][b-qlivj4z2n6] { margin-top: .25rem; flex: none; }
.bulk-main[b-qlivj4z2n6] { min-width: 0; overflow-wrap: anywhere; }
.bulk-ok[b-qlivj4z2n6] { color: var(--success, #15803d); }
/* /Components/Shared/BusinessTypePrompt.razor.rz.scp.css */
/* The new-product page's in-page version: a light card in the form's flow, no backdrop. */
.business-type-inline[b-gxk9mmfidh] {
    box-sizing: border-box;
    max-width: 42rem;
    margin: 0.75rem 0 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--info-border);
    border-radius: var(--radius-md);
    background: var(--info-bg);
}
/* The shared modal header bleeds -24px into a popup's padding and has its own band; in a card it
   would poke out of the sides, so here it is just a heading row with the ✕. */
.business-type-inline .fb-promote-header[b-gxk9mmfidh] { margin: 0; padding: 0; background: none; border: 0; }
.business-type-inline h2[b-gxk9mmfidh] { margin: 0; font-size: 1.05rem; }
.business-type-inline p[b-gxk9mmfidh] { margin: 0.4rem 0 0.6rem; font-size: var(--text-sm); color: var(--muted); }
/* /Components/Shared/CompleteOrderAction.razor.rz.scp.css */
.complete-order-modal[b-5cbs5akckr] {
    max-width: 420px;
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(20, 35, 60, .2);
}

.complete-order-modal .fb-promote-header[b-5cbs5akckr] {
    gap: .75rem;
    margin: -1.25rem -1.25rem 1rem;
    padding: .9rem 1.25rem;
}

.complete-order-modal .fb-promote-header h2[b-5cbs5akckr] {
    line-height: 1.3;
}

.complete-order-summary[b-5cbs5akckr] {
    margin: .9rem 0 1rem;
    padding: .7rem .9rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--surface-muted);
}

.complete-order-summary > div[b-5cbs5akckr] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    font-size: .88rem;
    line-height: 1.45;
}

.complete-order-summary > div + div[b-5cbs5akckr] { margin-top: .3rem; }
.complete-order-summary strong[b-5cbs5akckr] { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

.complete-order-summary .complete-order-due[b-5cbs5akckr] {
    margin-top: .55rem;
    padding-top: .55rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--ink);
    font-weight: 600;
}

.complete-order-due strong[b-5cbs5akckr] { font-size: 1.15rem; }

.complete-order-payment[b-5cbs5akckr] {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.complete-order-payment legend[b-5cbs5akckr] {
    margin-bottom: .5rem;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
}

.complete-order-options[b-5cbs5akckr] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
}

.complete-order-options label[b-5cbs5akckr] {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    margin: 0;
    padding: .55rem .65rem;
    border: 1px solid var(--border-subtle);
    border-radius: 9px;
    background: var(--paper);
    font-size: .86rem;
    line-height: 1.3;
    cursor: pointer;
}

.complete-order-options label.selected[b-5cbs5akckr] {
    border-color: #a9c9f4;
    background: #eef5ff;
    color: #155fc4;
}

.complete-order-options input[type="radio"][b-5cbs5akckr] {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    accent-color: var(--brand);
}

.complete-order-collected[b-5cbs5akckr] { margin-top: .75rem; }
.complete-order-collected input[b-5cbs5akckr] { display: block; width: 100%; margin-top: .35rem; }

.complete-order-actions[b-5cbs5akckr] { margin-top: 1rem; }
.complete-order-actions .button[b-5cbs5akckr] { margin: 0; min-height: 2.7rem; }

@media (max-width: 480px) {
    .complete-order-modal[b-5cbs5akckr] { padding: 1rem; }
    .complete-order-actions .button[b-5cbs5akckr] { flex: 1 1 0; }
}
/* /Components/Shared/CourierGuideContent.razor.rz.scp.css */
/* Courier how-to: big numbered steps, one screenshot under each. Phone first (the pictures are phone screens). */
.cg-part[b-wnzu3nv9nf] { display: flex; align-items: center; margin: 1.6rem 0 0.4rem; font-size: 1.15rem; line-height: 1.35; color: #155fc4; }
.cg-part span[b-wnzu3nv9nf] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 1.9rem; height: 1.9rem; margin-right: 0.6rem; border-radius: 50%; background: #1a73e8; color: #fff; font-size: 1rem; }
.cg-part small[b-wnzu3nv9nf] { margin-left: 0.4rem; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.cg-part-note[b-wnzu3nv9nf] { margin: 0 0 0.6rem; }
.cg-lead[b-wnzu3nv9nf] { margin: 0.2rem 0 0.7rem; line-height: 1.55; }

.cg-steps[b-wnzu3nv9nf] { list-style: none; margin: 0.6rem 0 1rem; padding: 0; }
.cg-steps > li[b-wnzu3nv9nf] { display: flex; align-items: flex-start; margin: 0 0 1rem; padding: 0.9rem 0.9rem 1rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: #fff; }
.cg-num[b-wnzu3nv9nf] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 1.8rem; height: 1.8rem; margin-right: 0.75rem; border-radius: 50%; background: #fc8501; color: #fff; font-weight: 700; }
.cg-body[b-wnzu3nv9nf] { flex: 1 1 0; min-width: 0; }
.cg-body > strong[b-wnzu3nv9nf] { display: block; line-height: 1.4; color: #b45309; }
.cg-body > p[b-wnzu3nv9nf] { margin: 0.35rem 0 0; line-height: 1.55; }

.cg-shot[b-wnzu3nv9nf] { margin: 0.7rem 0 0; }
.cg-shot img[b-wnzu3nv9nf] { display: block; width: 100%; max-width: 17rem; height: auto; margin: 0 auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.cg-shot figcaption[b-wnzu3nv9nf] { margin-top: 0.3rem; text-align: center; font-size: 0.8rem; color: var(--muted); }
/* the list and "connected" screens are mostly empty below the rows: show the top part only */
.cg-shot.crop img[b-wnzu3nv9nf] { aspect-ratio: 1 / 1.2; object-fit: cover; object-position: center top; }
/* the Steadfast site picture is a tall strip: show the part with the highlighted API item, at a narrower width */
.cg-shot.crop-tall img[b-wnzu3nv9nf] { max-width: 11rem; aspect-ratio: 1 / 1.5; object-fit: cover; object-position: center 82%; }
.cg-shot.cg-wide img[b-wnzu3nv9nf] { max-width: 20rem; }

.cg-list[b-wnzu3nv9nf] { margin: 0.5rem 0 1rem; padding-left: 1.3rem; }
.cg-list li[b-wnzu3nv9nf] { margin: 0.45rem 0; line-height: 1.55; }
.courier-guide .units-guide-card > ul[b-wnzu3nv9nf] { margin: 0.7rem 1rem; padding-left: 1.3rem; }
.courier-guide .units-guide-card > ul li[b-wnzu3nv9nf] { margin: 0.45rem 0; line-height: 1.55; }
.cg-demo-note[b-wnzu3nv9nf] { margin-top: 1.2rem; font-size: 0.85rem; }

/* /Components/Shared/CourierProgress.razor.rz.scp.css */
/* Steps in a row, a thin line between the dots, small icons, labels in at most two lines: fits a phone. */
.cprog[b-b6m83ln73z] { display: flex; list-style: none; margin: .7rem 0 .4rem; padding: 0; }
.cprog-step[b-b6m83ln73z] { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; }
.cprog-step:not(:first-child)[b-b6m83ln73z]::before {
    content: ""; position: absolute; top: .7rem; right: 50%; left: -50%; height: 2px; background: #d9dee5;
}
.cprog-step.done[b-b6m83ln73z]::before, .cprog-step.now[b-b6m83ln73z]::before { background: #2e9d62; }

.cprog-dot[b-b6m83ln73z] {
    position: relative; z-index: 1; display: grid; place-items: center;
    width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #fff; border: 2px solid #d9dee5; box-sizing: border-box;
}
.cprog-step.done .cprog-dot[b-b6m83ln73z] { background: #2e9d62; border-color: #2e9d62; color: #fff; }
.cprog-step.now .cprog-dot[b-b6m83ln73z] { background: #e9f3ff; border-color: #1a73e8; color: #1a73e8; }
.cprog-dot[b-b6m83ln73z]  svg { width: .8rem; height: .8rem; }

.cprog-label[b-b6m83ln73z] { font-size: .72rem; line-height: 1.3; color: #7a8594; overflow-wrap: anywhere; padding: 0 .1rem; }
.cprog-step.done .cprog-label[b-b6m83ln73z] { color: #3d4a5c; }
.cprog-step.now .cprog-label[b-b6m83ln73z] { color: #12406f; font-weight: 600; }

/* A parcel that is stuck: its current step turns amber (the sentence saying so is already on the page). */
.cprog-step.now.hold .cprog-dot[b-b6m83ln73z] { background: #fff4e0; border-color: #d98a00; color: #a35f00; }
.cprog-step.now.hold .cprog-label[b-b6m83ln73z] { color: #7a4a00; }
/* /Components/Shared/PhoneScanPairing.razor.rz.scp.css */
.phone-pair-trigger[b-p2z8q2peb1] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0.2rem 0.4rem;
    background: transparent;
    border: none;
    color: var(--brand);
    font-size: var(--text-sm);
    text-decoration: underline;
}

/* On a phone the field's own camera icon already is the phone camera — pairing a second phone
   as a scanner only makes sense from a laptop/desktop. */
@media (max-width: 640px) {
    .phone-pair-trigger[b-p2z8q2peb1] { display: none; }
}

.phone-pair-backdrop[b-p2z8q2peb1] {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
}

.phone-pair-sheet[b-p2z8q2peb1] {
    position: relative;
    width: min(100%, 420px);
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.25rem;
    background: var(--paper);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.phone-pair-sheet h2[b-p2z8q2peb1] {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.25rem;
    margin: -1.25rem -1.25rem 1rem;
    padding: .9rem 3.5rem .9rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--surface-muted);
    font-size: var(--text-lg);
    line-height: 1.35;
}

.phone-pair-close[b-p2z8q2peb1] {
    position: absolute;
    top: .8rem;
    right: 1rem;
    margin: 0;
    padding: 0.35rem;
    background: transparent;
    border: none;
    color: var(--muted);
}

.phone-pair-steps[b-p2z8q2peb1] { margin: 0 0 0.75rem; padding-left: 1.2rem; font-size: var(--text-sm); }
.phone-pair-steps li[b-p2z8q2peb1] { margin-bottom: 0.3rem; }

.phone-pair-qr[b-p2z8q2peb1] {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    background: white;
    border-radius: var(--radius-md);
}

.phone-pair-qr[b-p2z8q2peb1]  svg { width: 220px; height: 220px; }

.phone-pair-url[b-p2z8q2peb1] {
    margin: 0.5rem 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: var(--text-xs);
    color: var(--muted);
    word-break: break-all;
    text-align: center;
}

.phone-pair-feedback[b-p2z8q2peb1] {
    margin: 0.5rem 0;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--ink);
    font-size: var(--text-sm);
    text-align: center;
}

.phone-pair-actions[b-p2z8q2peb1] { display: flex; justify-content: center; margin-top: 1rem; }
.phone-pair-actions .button[b-p2z8q2peb1] { margin-top: 0; }
/* /Components/Shared/ProductManageNav.razor.rz.scp.css */
.product-manage-nav[b-meg79uwm8k] { margin: 0 0 1.5rem; padding: 1rem; max-width: 820px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: #fff; }
.product-manage-nav-title[b-meg79uwm8k] { display: block; margin-bottom: .65rem; font-weight: 700; }
.product-manage-nav-links[b-meg79uwm8k] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.product-manage-nav-link[b-meg79uwm8k] { display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: .5rem .75rem; box-sizing: border-box; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: #fff; text-align: center; text-decoration: none; line-height: 1.35; }
.product-manage-nav-link:hover[b-meg79uwm8k], .product-manage-nav-link:focus-visible[b-meg79uwm8k] { border-color: #a9c9f4; background: #eef5ff; color: #155fc4; }
.product-manage-nav-link.active[b-meg79uwm8k] { border-color: #a9c9f4; background: #e8f0fe; color: #155fc4; font-weight: 700; }
.product-manage-nav-label-short[b-meg79uwm8k] { display: none; }
@media (max-width: 600px) {
    .product-manage-nav[b-meg79uwm8k] { margin: 0 0 1rem; padding: .5rem; }
    .product-manage-nav-links[b-meg79uwm8k] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
    .product-manage-nav-link[b-meg79uwm8k] { min-width: 0; min-height: 2.75rem; padding: .35rem .2rem; font-size: .875rem; line-height: 1.25; text-align: center; }
    .product-manage-nav-label-full[b-meg79uwm8k] { display: none; }
    .product-manage-nav-label-short[b-meg79uwm8k] { display: inline; }
}
/* /Components/Shared/ShipOrderAction.razor.rz.scp.css */
.ship-order-backdrop[b-67k8g152a2] {
    box-sizing: border-box;
    padding: 1rem;
    overscroll-behavior: contain;
}

.ship-order-modal[b-67k8g152a2] {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: min(100%, 30rem);
    max-width: 30rem;
    max-height: calc(100dvh - 2rem);
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(20, 35, 60, .18);
}

.ship-order-header[b-67k8g152a2] {
    flex: 0 0 auto;
    gap: .75rem;
    min-width: 0;
    margin: 0;
    padding: 1rem 1.25rem;
    background: var(--surface-muted);
}

.ship-order-header h2[b-67k8g152a2] {
    min-width: 0;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.ship-order-title[b-67k8g152a2] { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.ship-order-title h2[b-67k8g152a2] { min-width: 0; }

.ship-order-header .icon-button[b-67k8g152a2] { width: 2rem; height: 2rem; }

.ship-order-body[b-67k8g152a2] {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.ship-order-field[b-67k8g152a2] {
    display: block;
    min-width: 0;
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: .9rem;
}

.ship-field-label[b-67k8g152a2] {
    display: block;
    margin-bottom: .45rem;
    font-weight: 600;
    line-height: 1.4;
}

.ship-courier-chips[b-67k8g152a2] { gap: .45rem; margin: 0 0 .7rem; }
/* The courier list: two labelled groups (connected, then the rest), every choice the same size, in even columns. */
.ship-group-label[b-67k8g152a2] { margin: .1rem 0 .4rem; font-size: .78rem; font-weight: 600; color: var(--text-muted, #5b6472); }
.ship-courier-grid[b-67k8g152a2] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin: 0 0 .8rem; }
.ship-courier-grid + .ship-group-label[b-67k8g152a2] { margin-top: .2rem; }
.ship-courier-grid .ship-courier-chip[b-67k8g152a2] {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 2.75rem; margin: 0; padding: .4rem .5rem;
    text-align: center; font-size: .9rem; font-weight: 600; line-height: 1.25;
}
@media (min-width: 520px) { .ship-courier-grid[b-67k8g152a2] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ship-switch[b-67k8g152a2] { margin: .25rem 0 0; line-height: 1.6; }
/* "অন্য কুরিয়ারে দিচ্ছেন?": one full-width bar, folded or open, the same look as the store page's "শেয়ার করুন" bar. */
.ship-fold[b-67k8g152a2] { margin: 0 0 .8rem; background: #fff; border: 1px solid var(--border, #dfe5ec); border-radius: 12px; overflow: hidden; }
.ship-fold-head[b-67k8g152a2] {
    display: flex; align-items: center; gap: .5rem; width: 100%;
    padding: .9rem 1.1rem; margin: 0; background: transparent; border: 0; border-radius: 0;
    font: inherit; font-weight: 600; color: var(--brand, #1a73e8); text-align: left; cursor: pointer;
}
.ship-fold-head[b-67k8g152a2]::after {
    content: ""; margin-left: auto; width: .45rem; height: .45rem;
    border-right: 2px solid var(--muted, #6b7280); border-bottom: 2px solid var(--muted, #6b7280);
    transform: rotate(45deg); transition: transform .2s ease;
}
.ship-fold.open .ship-fold-head[b-67k8g152a2]::after { transform: rotate(225deg); }
.ship-fold-head:disabled[b-67k8g152a2] { opacity: .65; cursor: default; }
.ship-fold-body[b-67k8g152a2] { padding: .9rem 1.1rem 0; border-top: 1px solid var(--border, #dfe5ec); }
.ship-fold-body .ship-courier-grid[b-67k8g152a2] { margin-bottom: .9rem; }
.ship-courier-chip[b-67k8g152a2] { padding: .5rem .8rem; font-size: .86rem; line-height: 1.25; white-space: normal; }
.ship-courier-more[b-67k8g152a2] { box-sizing: border-box; width: 100% !important; min-width: 0; max-width: none !important; margin: 0; }
.ship-order-body input[b-67k8g152a2] { box-sizing: border-box; width: 100% !important; min-width: 0; max-width: none !important; }
.ship-order-body textarea[b-67k8g152a2] { box-sizing: border-box; width: 100%; min-width: 0; max-width: none; resize: vertical; }

/* "Steadfast-এ বুক করুন" / "অন্য কুরিয়ার" — two big choices side by side, one above the other on a phone. */
.ship-mode-choice[b-67k8g152a2] { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; }
.ship-mode-choice .ship-courier-chip[b-67k8g152a2] { flex: 1 1 10rem; border-radius: 12px; text-align: center; }
.ship-order-body .success-message[b-67k8g152a2] { margin: 0 0 .5rem; line-height: 1.5; }
.ship-order-body > .muted.small[b-67k8g152a2] { line-height: 1.5; overflow-wrap: anywhere; }
.ship-order-body > .muted.small:last-child[b-67k8g152a2] { margin-bottom: 0; }

/* What is missing from the order: a calm note, not an alarm. */
.ship-notice[b-67k8g152a2] {
    display: flex; gap: .6rem; align-items: flex-start;
    margin: 0 0 1rem; padding: .7rem .85rem;
    border-radius: 12px; background: #fff6e5; color: #6b4300; font-size: .9rem; line-height: 1.5;
}
.ship-notice ul[b-67k8g152a2] { margin: 0; padding-left: 1.1rem; }
.ship-notice li + li[b-67k8g152a2] { margin-top: .2rem; }

/* A refusal from the courier: right above the buttons, never hidden below the form. */
.ship-error[b-67k8g152a2] {
    flex: 0 0 auto; margin: 0; padding: .65rem 1.25rem;
    background: #fdecec; color: #9b1c1c; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere;
}
.ship-record[b-67k8g152a2] { margin: 0 0 .9rem; padding: .55rem .8rem; border-radius: 10px; background: var(--surface-muted); }

.ship-order-actions[b-67k8g152a2] {
    flex: 0 0 auto;
    gap: .5rem;
    margin: 0;
    padding: .8rem 1.25rem 1rem;
    border-top: 1px solid var(--border-subtle);
    background: #fff;
}

.ship-order-actions .button[b-67k8g152a2] {
    min-height: 2.75rem;
    margin: 0;
    text-align: center;
    white-space: normal;
}

@media (max-width: 640px) {
    .ship-order-backdrop[b-67k8g152a2] { align-items: center; padding: .75rem; }
    .ship-order-modal[b-67k8g152a2] {
        width: 100%;
        max-width: 30rem;
        max-height: calc(100dvh - 1.5rem);
        border-radius: 14px;
    }
    .ship-order-header[b-67k8g152a2] { padding: .9rem 1rem; }
    .ship-order-body[b-67k8g152a2] { padding: .9rem 1rem 1rem; }
    .ship-order-actions[b-67k8g152a2] { padding: .75rem 1rem; }
    .ship-order-actions .button[b-67k8g152a2] { flex: 1 1 0; min-width: 0; }
}
/* /Components/Shared/SmsDashboardCard.razor.rz.scp.css */
.sms-celebrate[b-i4c8ypzy7w] {
    position: relative;
    overflow: hidden;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid #cfe3fb;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
    text-align: center;
}

.sms-celebrate-close[b-i4c8ypzy7w] {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted, #667085);
    cursor: pointer;
}

.sms-celebrate-title[b-i4c8ypzy7w] {
    position: relative;
    z-index: 1;
    margin: 0 0 0.3rem;
    font-size: 1.25rem;
    color: var(--ink);
}

.sms-celebrate-text[b-i4c8ypzy7w],
.sms-celebrate-soft[b-i4c8ypzy7w] {
    position: relative;
    z-index: 1;
    margin: 0 0 0.3rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink);
}

.sms-celebrate-soft[b-i4c8ypzy7w] {
    margin-bottom: 0.8rem;
    color: var(--muted, #667085);
    font-size: 0.86rem;
}

.sms-celebrate .button[b-i4c8ypzy7w] { position: relative; z-index: 1; }

/* A handful of small paper pieces falling once, then gone. No JavaScript; off for people who ask for less motion. */
.sms-confetti[b-i4c8ypzy7w] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sms-confetti i[b-i4c8ypzy7w] {
    position: absolute;
    top: -14px;
    left: calc(var(--i) * 6.4% + 2%);
    width: 7px;
    height: 12px;
    border-radius: 2px;
    opacity: 0;
    background: #1a73e8;
    animation: sms-confetti-fall-b-i4c8ypzy7w 2.8s ease-in forwards;
    animation-delay: calc((var(--i) % 6) * 0.12s);
}

.sms-confetti i:nth-child(4n+1)[b-i4c8ypzy7w] { background: #f5b301; }
.sms-confetti i:nth-child(4n+2)[b-i4c8ypzy7w] { background: #12b76a; width: 9px; height: 9px; border-radius: 50%; }
.sms-confetti i:nth-child(4n+3)[b-i4c8ypzy7w] { background: #f04f6f; }

@keyframes sms-confetti-fall-b-i4c8ypzy7w {
    0%   { opacity: 1; transform: translateY(0) rotate(0deg); }
    85%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(190px) rotate(420deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sms-confetti[b-i4c8ypzy7w] { display: none; }
}

.sms-lowcard[b-i4c8ypzy7w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #f3dfa2;
    border-radius: var(--radius-md);
    background: #fffbeb;
}

.sms-lowcard.is-empty[b-i4c8ypzy7w] {
    border-color: #f6c9c9;
    background: #fff5f5;
}

.sms-lowcard-text[b-i4c8ypzy7w] {
    flex: 1 1 14rem;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink);
}
/* /Components/Shared/SmsGuideContent.razor.rz.scp.css */
/* Courier how-to: big numbered steps, one screenshot under each. Phone first (the pictures are phone screens). */
.cg-part[b-gr5i42mnai] { display: flex; align-items: center; margin: 1.6rem 0 0.4rem; font-size: 1.15rem; line-height: 1.35; color: #155fc4; }
.cg-part span[b-gr5i42mnai] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 1.9rem; height: 1.9rem; margin-right: 0.6rem; border-radius: 50%; background: #1a73e8; color: #fff; font-size: 1rem; }
.cg-part small[b-gr5i42mnai] { margin-left: 0.4rem; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.cg-part-note[b-gr5i42mnai] { margin: 0 0 0.6rem; }
.cg-lead[b-gr5i42mnai] { margin: 0.2rem 0 0.7rem; line-height: 1.55; }

.cg-steps[b-gr5i42mnai] { list-style: none; margin: 0.6rem 0 1rem; padding: 0; }
.cg-steps > li[b-gr5i42mnai] { display: flex; align-items: flex-start; margin: 0 0 1rem; padding: 0.9rem 0.9rem 1rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: #fff; }
.cg-num[b-gr5i42mnai] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 1.8rem; height: 1.8rem; margin-right: 0.75rem; border-radius: 50%; background: #fc8501; color: #fff; font-weight: 700; }
.cg-body[b-gr5i42mnai] { flex: 1 1 0; min-width: 0; }
.cg-body > strong[b-gr5i42mnai] { display: block; line-height: 1.4; color: #b45309; }
.cg-body > p[b-gr5i42mnai] { margin: 0.35rem 0 0; line-height: 1.55; }

.cg-shot[b-gr5i42mnai] { margin: 0.7rem 0 0; }
.cg-shot img[b-gr5i42mnai] { display: block; width: 100%; max-width: 17rem; height: auto; margin: 0 auto; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.cg-shot figcaption[b-gr5i42mnai] { margin-top: 0.3rem; text-align: center; font-size: 0.8rem; color: var(--muted); }
/* the list and "connected" screens are mostly empty below the rows: show the top part only */
.cg-shot.crop img[b-gr5i42mnai] { aspect-ratio: 1 / 1.2; object-fit: cover; object-position: center top; }
/* the Steadfast site picture is a tall strip: show the part with the highlighted API item, at a narrower width */
.cg-shot.crop-tall img[b-gr5i42mnai] { max-width: 11rem; aspect-ratio: 1 / 1.5; object-fit: cover; object-position: center 82%; }
.cg-shot.cg-wide img[b-gr5i42mnai] { max-width: 20rem; }

.cg-list[b-gr5i42mnai] { margin: 0.5rem 0 1rem; padding-left: 1.3rem; }
.cg-list li[b-gr5i42mnai] { margin: 0.45rem 0; line-height: 1.55; }
.courier-guide .units-guide-card > ul[b-gr5i42mnai] { margin: 0.7rem 1rem; padding-left: 1.3rem; }
.courier-guide .units-guide-card > ul li[b-gr5i42mnai] { margin: 0.45rem 0; line-height: 1.55; }
.cg-demo-note[b-gr5i42mnai] { margin-top: 1.2rem; font-size: 0.85rem; }

/* /Components/Shared/SmsNudge.razor.rz.scp.css */
.sms-nudge[b-ndljd00wl0] {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 1rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cfe3fb;
    border-radius: var(--radius-md);
    background: #f2f8ff;
}

.sms-nudge-icon[b-ndljd00wl0] {
    flex: 0 0 auto;
    display: inline-flex;
    margin-top: 0.1rem;
    color: #1a73e8;
}

.sms-nudge-body[b-ndljd00wl0] {
    flex: 1 1 auto;
    min-width: 0;
}

.sms-nudge-text[b-ndljd00wl0] {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink);
}

.sms-nudge-action[b-ndljd00wl0] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sms-nudge-close[b-ndljd00wl0] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted, #667085);
    cursor: pointer;
}

.sms-nudge-close:hover[b-ndljd00wl0] { background: rgba(0, 0, 0, 0.06); }
/* /Components/Shared/StockActionChoices.razor.rz.scp.css */
.stock-choices[b-obeu9t1zg2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: .6rem;
    margin-top: 1rem;
}

.stock-choice[b-obeu9t1zg2] {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 56px;
    padding: .7rem .9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
}
.stock-choice:hover[b-obeu9t1zg2], .stock-choice:focus-visible[b-obeu9t1zg2] { border-color: var(--brand); background: var(--info-bg); }
.stock-choice[b-obeu9t1zg2]  .icon { font-size: 1.25rem; color: var(--brand); }
.stock-choice span[b-obeu9t1zg2] { display: grid; gap: .1rem; min-width: 0; }
.stock-choice strong[b-obeu9t1zg2] { font-size: 1rem; }
.stock-choice small[b-obeu9t1zg2] { color: var(--muted); font-size: var(--text-sm); line-height: 1.3; }

@media (max-width: 640px) {
    .stock-choices[b-obeu9t1zg2] { grid-template-columns: 1fr; }
}
/* /Components/Shared/UnsavedChangesGuard.razor.rz.scp.css */
/* Uses the shared modal (.facebook-preview-modal); only its size and text spacing are set here. */
.unsaved-leave-modal[b-zy6rm4aria] { max-width: 420px; }
.unsaved-leave-modal p[b-zy6rm4aria] { margin: 0; }
/* /Components/Shared/WalletLogo.razor.rz.scp.css */
.wallet-logo[b-zzp2xsld20] { display: inline-block; vertical-align: middle; height: 1.4rem; width: auto; max-width: 5.5rem; }
.wallet-logo.is-tall[b-zzp2xsld20] { height: 2.2rem; margin: -0.4rem 0; }
