/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-cs9sj9edpn],
.components-reconnect-repeated-attempt-visible[b-cs9sj9edpn],
.components-reconnect-failed-visible[b-cs9sj9edpn],
.components-pause-visible[b-cs9sj9edpn],
.components-resume-failed-visible[b-cs9sj9edpn],
.components-rejoining-animation[b-cs9sj9edpn] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-cs9sj9edpn],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-cs9sj9edpn],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-cs9sj9edpn],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-cs9sj9edpn],
#components-reconnect-modal.components-reconnect-retrying[b-cs9sj9edpn],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-cs9sj9edpn],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-cs9sj9edpn],
#components-reconnect-modal.components-reconnect-failed[b-cs9sj9edpn],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-cs9sj9edpn] {
    display: block;
}


#components-reconnect-modal[b-cs9sj9edpn] {
    background-color: var(--surface); color: var(--text); font-size: .9rem; text-align: center;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-cs9sj9edpn 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-cs9sj9edpn 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-cs9sj9edpn 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-cs9sj9edpn]::backdrop {
    background-color: rgba(8, 13, 30, .45);
    backdrop-filter: blur(2px);
    animation: components-reconnect-modal-fadeInOpacity-b-cs9sj9edpn 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-cs9sj9edpn {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-cs9sj9edpn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-cs9sj9edpn {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-cs9sj9edpn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-cs9sj9edpn] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-cs9sj9edpn] {
    border: 0;
    background-color: var(--primary);
    color: var(--primary-contrast);
    padding: .55rem 1.5rem; font-weight: 600;
    border-radius: var(--radius-sm);
}

    #components-reconnect-modal button:hover[b-cs9sj9edpn] {
        background-color: var(--primary-hover);
    }

    #components-reconnect-modal button:active[b-cs9sj9edpn] {
        background-color: var(--primary);
    }

.components-rejoining-animation[b-cs9sj9edpn] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-cs9sj9edpn] {
        position: absolute;
        border: 3px solid var(--brand-strong);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-cs9sj9edpn 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-cs9sj9edpn] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-cs9sj9edpn {
    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/Sales/InvoiceView.razor.rz.scp.css */
/* Invoice "paper": fixed light palette so it prints and reads the same in any theme. */
.invoice[b-af6xg82mce] {
    --ink: #101828; --ink-2: #475467; --ink-3: #667085; --line: #e6e8ec; --accent: #13204a; --brand: #ffd60a;
    background: #fff;
    color: var(--ink);
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 3.25rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px -18px rgba(16, 24, 40, .25);
    font-size: .875rem;
    line-height: 1.55;
    position: relative;
    overflow: hidden;
}
.invoice[b-af6xg82mce]::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--accent) 0 70%, var(--brand) 70% 100%); }

.inv-head[b-af6xg82mce] { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-start; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.inv-brand[b-af6xg82mce] { display: flex; gap: 1rem; align-items: flex-start; }
.inv-logo[b-af6xg82mce] { height: 52px; width: auto; max-width: 140px; object-fit: contain; background: #0b1227; border-radius: 10px; padding: 6px 10px; }
.inv-company[b-af6xg82mce] { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.inv-title[b-af6xg82mce] { text-align: right; }
.inv-word[b-af6xg82mce] { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.inv-number[b-af6xg82mce] { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2); margin: .4rem 0 .6rem; font-size: .8125rem; }
.inv-status[b-af6xg82mce] { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.inv-status.paid[b-af6xg82mce] { background: #ecfdf3; color: #027a48; }
.inv-status.partial[b-af6xg82mce] { background: #fffaeb; color: #b54708; }
.inv-status.due[b-af6xg82mce] { background: #fef3f2; color: #b42318; }

.inv-meta[b-af6xg82mce] { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; padding: 1.75rem 0; }
.inv-label[b-af6xg82mce] { font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ink-3); margin-bottom: .3rem; }
.inv-label.mt[b-af6xg82mce] { margin-top: .9rem; }
.inv-strong[b-af6xg82mce] { font-weight: 650; color: var(--ink); }
.inv-muted[b-af6xg82mce] { color: var(--ink-3); }
.small[b-af6xg82mce] { font-size: .75rem; }

.inv-items[b-af6xg82mce] { width: 100%; border-collapse: collapse; margin: .5rem 0 1.5rem; }
.inv-items th[b-af6xg82mce] { text-align: left; font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; padding: .7rem .75rem; background: #f9fafb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inv-items td[b-af6xg82mce] { padding: 1rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.inv-items .r[b-af6xg82mce] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.inv-bottom[b-af6xg82mce] { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.inv-pay[b-af6xg82mce] { background: #f9fafb; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; color: var(--ink-2); display: flex; flex-direction: column; gap: .3rem; }
.inv-totals[b-af6xg82mce] { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.inv-totals td[b-af6xg82mce] { padding: .45rem 0; color: var(--ink-2); }
.inv-totals td:last-child[b-af6xg82mce] { text-align: right; color: var(--ink); font-weight: 550; }
.inv-totals tr.total td[b-af6xg82mce] { border-top: 1px solid var(--line); padding-top: .75rem; font-weight: 700; color: var(--ink); font-size: 1rem; }
.inv-totals tr.due td[b-af6xg82mce] { background: #13204a; color: #fff; font-weight: 700; padding: .7rem .8rem; }
.inv-totals tr.due td:first-child[b-af6xg82mce] { border-radius: 8px 0 0 8px; }
.inv-totals tr.due td:last-child[b-af6xg82mce] { border-radius: 0 8px 8px 0; color: #ffd60a; }

.inv-foot[b-af6xg82mce] { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); text-align: center; display: flex; flex-direction: column; gap: .2rem; }

@media (max-width: 767.98px) {
    .invoice[b-af6xg82mce] { padding: 1.75rem 1.25rem; border-radius: 12px; }
    .inv-head[b-af6xg82mce] { flex-direction: column; }
    .inv-title[b-af6xg82mce] { text-align: left; }
    .inv-meta[b-af6xg82mce], .inv-bottom[b-af6xg82mce] { grid-template-columns: 1fr; }
    .inv-items[b-af6xg82mce] { font-size: .8125rem; }
}

@media print {
    .invoice[b-af6xg82mce] { box-shadow: none; border: 0; border-radius: 0; max-width: none; padding: 0; }
    .invoice[b-af6xg82mce]::before { display: none; }
    .inv-logo[b-af6xg82mce] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .inv-totals tr.due td[b-af6xg82mce] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* /Components/Pages/Sales/VehiclePhotoPanel.razor.rz.scp.css */
.vp-row[b-0d4ib8v7xs] { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

.vp-photo[b-0d4ib8v7xs] { position: relative; margin: 0; width: 168px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.vp-photo.is-expanded[b-0d4ib8v7xs] { width: 100%; aspect-ratio: auto; }
.vp-open[b-0d4ib8v7xs] { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.vp-photo.is-expanded .vp-open[b-0d4ib8v7xs] { cursor: zoom-out; }
.vp-open img[b-0d4ib8v7xs] { display: block; width: 100%; height: 100%; object-fit: cover; }
.vp-photo.is-expanded .vp-open img[b-0d4ib8v7xs] { height: auto; object-fit: contain; }
.vp-nopreview[b-0d4ib8v7xs] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; height: 100%; color: var(--text-3); font-size: .8125rem; }
.vp-nopreview i[b-0d4ib8v7xs] { font-size: 1.25rem; color: var(--text-4); }
.vp-remove[b-0d4ib8v7xs] { position: absolute; top: .35rem; right: .35rem; background: color-mix(in srgb, var(--surface) 85%, transparent); box-shadow: var(--shadow-xs); }

.vp-add[b-0d4ib8v7xs] {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
    width: 168px; aspect-ratio: 4 / 3; margin: 0; cursor: pointer;
    border: 1px dashed var(--border-strong); border-radius: var(--radius);
    color: var(--text-3); font-size: .8125rem; font-weight: 550; background: var(--surface);
}
.vp-add i[b-0d4ib8v7xs] { font-size: 1.25rem; color: var(--text-4); }
.vp-add:hover[b-0d4ib8v7xs] { border-color: var(--primary); color: var(--text); }
.vp-add.is-busy[b-0d4ib8v7xs] { opacity: .5; pointer-events: none; }

.vp-status[b-0d4ib8v7xs] { display: flex; align-items: center; gap: .5rem; flex: 1 1 200px; min-width: 0; font-size: .8125rem; color: var(--text-2); }

@media (max-width: 575.98px) {
    .vp-photo[b-0d4ib8v7xs], .vp-add[b-0d4ib8v7xs] { width: calc(50% - .375rem); }
    .vp-status[b-0d4ib8v7xs] { flex-basis: 100%; }
}
/* /Components/Shared/ColumnChart.razor.rz.scp.css */
.colchart[b-2snijpreab] { --bar: #2451d6; position: relative; }
:root[data-theme="dark"] .colchart[b-2snijpreab] { --bar: #7ea6ff; }

.colchart-plot[b-2snijpreab] { position: relative; height: var(--h); margin-left: 44px; }

.colchart-grid[b-2snijpreab] { position: absolute; inset: 0; }
.gridline[b-2snijpreab] { position: absolute; left: 0; right: 0; height: 1px; background: var(--border); }
.gridline span[b-2snijpreab] {
    position: absolute; right: calc(100% + 8px); top: -.55rem;
    font-size: .6875rem; color: var(--text-4); font-variant-numeric: tabular-nums; white-space: nowrap;
}

.colchart-cols[b-2snijpreab] { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.col[b-2snijpreab] { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; outline: none; cursor: default; }
.bar[b-2snijpreab] {
    width: 100%; max-width: 24px; min-height: 2px;
    background: var(--bar); opacity: .88;
    border-radius: 4px 4px 0 0;
    transition: opacity .12s, height .5s cubic-bezier(.2, .8, .2, 1);
}
.col.zero .bar[b-2snijpreab] { background: var(--border-strong); opacity: 1; }
.col:hover .bar[b-2snijpreab], .col:focus-visible .bar[b-2snijpreab] { opacity: 1; }
.col:hover[b-2snijpreab]::before, .col:focus-visible[b-2snijpreab]::before {
    content: ""; position: absolute; inset: 0; background: var(--surface-3); border-radius: 4px; z-index: -1;
}

.tip[b-2snijpreab] {
    display: none; position: absolute; bottom: calc(100% + 6px); z-index: 5;
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
    border-radius: 8px; padding: .45rem .65rem; white-space: nowrap; pointer-events: none;
}
.tip.mid[b-2snijpreab] { left: 50%; transform: translateX(-50%); }
.tip.start[b-2snijpreab] { left: 0; }
.tip.end[b-2snijpreab] { right: 0; }
.col:hover .tip[b-2snijpreab], .col:focus-visible .tip[b-2snijpreab] { display: block; }
.col .tip[b-2snijpreab] { bottom: auto; top: 0; transform: translateY(-110%); }
.col .tip.mid[b-2snijpreab] { transform: translate(-50%, -110%); }
.tip-title[b-2snijpreab] { font-size: .72rem; color: var(--text-3); }
.tip-value[b-2snijpreab] { font-size: .875rem; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.tip-detail[b-2snijpreab] { font-size: .72rem; color: var(--text-3); }

.colchart-x[b-2snijpreab] { display: flex; gap: 2px; margin: .5rem 0 0 44px; }
.xl[b-2snijpreab] { flex: 1 1 0; font-size: .6875rem; color: var(--text-4); text-align: left; white-space: nowrap; overflow: visible; min-width: 0; }
