@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Pages/Admin/Admin-Analytics.razor.rz.scp.css */
.admin-analytics-page[b-xtg6wma38h] {
    width: 100%;
    animation: fadeIn-b-xtg6wma38h .25s ease;
}

/* ===================================
   Shared Typography
=================================== */

.page-eyebrow[b-xtg6wma38h],
.section-eyebrow[b-xtg6wma38h] {
    display: inline-block;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.page-eyebrow[b-xtg6wma38h] {
    margin-bottom: 8px;
}

.section-eyebrow[b-xtg6wma38h] {
    margin-bottom: 6px;
}

/* ===================================
   Header
=================================== */

.analytics-header[b-xtg6wma38h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

    .analytics-header h1[b-xtg6wma38h] {
        margin: 0 0 10px;
        font-size: 2.5rem;
        font-weight: 700;
    }

    .analytics-header p[b-xtg6wma38h] {
        max-width: 760px;
        margin: 0;
        color: var(--text-muted);
        line-height: 1.6;
    }

.admin-identity-card[b-xtg6wma38h] {
    min-width: 245px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .20);
}

.admin-identity-icon[b-xtg6wma38h] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(59, 130, 246, .12);
    color: var(--primary);
    font-size: 1.35rem;
}

.admin-identity-card small[b-xtg6wma38h] {
    display: block;
    margin-bottom: 3px;
    color: var(--text-muted);
}

.admin-identity-card strong[b-xtg6wma38h] {
    display: block;
    color: var(--text);
}

/* ===================================
   Filter Card
=================================== */

.filter-card[b-xtg6wma38h] {
    margin-bottom: 28px;
    padding: 24px 26px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .20);
}

.filter-card[b-xtg6wma38h],
.filter-controls[b-xtg6wma38h],
.custom-range-controls[b-xtg6wma38h],
.preset-buttons[b-xtg6wma38h] {
    display: flex;
    align-items: center;
}

.filter-card[b-xtg6wma38h] {
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.filter-heading[b-xtg6wma38h] {
    flex: 1 1 340px;
}

    .filter-heading h2[b-xtg6wma38h] {
        margin: 0 0 6px;
        font-size: 1.25rem;
    }

    .filter-heading p[b-xtg6wma38h] {
        max-width: 650px;
        margin: 0;
        color: var(--text-muted);
        font-size: .9rem;
        line-height: 1.5;
    }

.filter-controls[b-xtg6wma38h] {
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.preset-buttons[b-xtg6wma38h] {
    gap: 8px;
    padding: 5px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.preset-button[b-xtg6wma38h] {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
    transition: .18s ease;
}

    .preset-button:hover:not(:disabled)[b-xtg6wma38h],
    .preset-button.active[b-xtg6wma38h] {
        background: rgba(59, 130, 246, .14);
        color: var(--primary);
    }

    .preset-button:disabled[b-xtg6wma38h],
    .apply-button:disabled[b-xtg6wma38h],
    .refresh-button:disabled[b-xtg6wma38h] {
        cursor: not-allowed;
        opacity: .6;
    }

.custom-range-controls[b-xtg6wma38h] {
    gap: 10px;
    flex-wrap: wrap;
}

.date-field[b-xtg6wma38h] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .date-field span[b-xtg6wma38h] {
        color: var(--text-muted);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .date-field input[b-xtg6wma38h] {
        height: 42px;
        min-width: 150px;
        padding: 0 12px;
        border: 1px solid var(--border);
        border-radius: 9px;
        background: rgba(255, 255, 255, .035);
        color: var(--text);
        color-scheme: dark;
        outline: none;
        transition: .18s ease;
    }

        .date-field input:focus[b-xtg6wma38h] {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
        }

.apply-button[b-xtg6wma38h],
.refresh-button[b-xtg6wma38h],
.return-button[b-xtg6wma38h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
    transition: .18s ease;
}

.apply-button[b-xtg6wma38h] {
    height: 42px;
    padding: 0 17px;
    align-self: flex-end;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: white;
}

    .apply-button:hover:not(:disabled)[b-xtg6wma38h] {
        filter: brightness(1.08);
        transform: translateY(-1px);
    }

.refresh-button[b-xtg6wma38h] {
    width: 42px;
    height: 42px;
    align-self: flex-end;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .035);
    color: var(--text);
}

    .refresh-button:hover:not(:disabled)[b-xtg6wma38h] {
        border-color: var(--primary);
        color: var(--primary);
        background: rgba(59, 130, 246, .08);
    }

.filter-error[b-xtg6wma38h] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: -6px;
    padding: 11px 13px;
    border: 1px solid rgba(239, 68, 68, .32);
    border-radius: 9px;
    background: rgba(239, 68, 68, .08);
    color: #fca5a5;
    font-size: .9rem;
}

/* ===================================
   State Cards
=================================== */

.state-card[b-xtg6wma38h],
.access-denied-card[b-xtg6wma38h] {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
}

    .state-card h2[b-xtg6wma38h],
    .access-denied-card h1[b-xtg6wma38h] {
        margin: 20px 0 8px;
    }

    .state-card p[b-xtg6wma38h],
    .access-denied-card p[b-xtg6wma38h] {
        max-width: 560px;
        margin: 0 0 22px;
        color: var(--text-muted);
        line-height: 1.6;
    }

.data-loading-card[b-xtg6wma38h] {
    min-height: 420px;
}

.state-icon[b-xtg6wma38h] {
    color: #f59e0b;
    font-size: 2.4rem;
}

.error-card[b-xtg6wma38h] {
    border-color: rgba(239, 68, 68, .25);
}

.access-denied-icon[b-xtg6wma38h] {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 22px;
    background: rgba(239, 68, 68, .10);
    color: #f87171;
    font-size: 2rem;
}

.return-button[b-xtg6wma38h] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .035);
    color: var(--text);
}

    .return-button:hover[b-xtg6wma38h] {
        border-color: var(--primary);
        color: var(--primary);
    }

/* ===================================
   Metric Cards
=================================== */

.metric-grid[b-xtg6wma38h] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 26px;
}

.metric-card[b-xtg6wma38h] {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 138px;
    padding: 23px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .20);
    transition: .18s ease;
}

    .metric-card:hover[b-xtg6wma38h] {
        transform: translateY(-3px);
        border-color: rgba(59, 130, 246, .45);
        box-shadow: 0 15px 40px rgba(0, 0, 0, .28);
    }

    .metric-card[b-xtg6wma38h]::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .055;
        pointer-events: none;
    }

.metric-plated[b-xtg6wma38h]::before {
    background: #3b82f6;
}

.metric-wholesale[b-xtg6wma38h]::before {
    background: #8b5cf6;
}

.metric-resolved[b-xtg6wma38h]::before {
    background: #22c55e;
}

.metric-checkins[b-xtg6wma38h]::before {
    background: #06b6d4;
}

.metric-turnaround[b-xtg6wma38h]::before {
    background: #f59e0b;
}

.metric-open[b-xtg6wma38h]::before {
    background: #ef4444;
}

.metric-icon[b-xtg6wma38h] {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, .05);
    font-size: 1.4rem;
}

.metric-plated .metric-icon[b-xtg6wma38h] {
    color: #60a5fa;
}

.metric-wholesale .metric-icon[b-xtg6wma38h] {
    color: #a78bfa;
}

.metric-resolved .metric-icon[b-xtg6wma38h] {
    color: #4ade80;
}

.metric-checkins .metric-icon[b-xtg6wma38h] {
    color: #22d3ee;
}

.metric-turnaround .metric-icon[b-xtg6wma38h] {
    color: #fbbf24;
}

.metric-open .metric-icon[b-xtg6wma38h] {
    color: #f87171;
}

.metric-content[b-xtg6wma38h] {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.metric-label[b-xtg6wma38h] {
    display: block;
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.metric-value[b-xtg6wma38h] {
    display: block;
    margin: 5px 0 3px;
    color: var(--text);
    font-size: 2.15rem;
    line-height: 1;
}

.metric-caption[b-xtg6wma38h] {
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.35;
}

/* ===================================
   Chart Cards
=================================== */

.chart-grid[b-xtg6wma38h] {
    display: grid;
    gap: 22px;
    margin-bottom: 22px;
}

.primary-chart-grid[b-xtg6wma38h],
.secondary-chart-grid[b-xtg6wma38h] {
    grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
}

.balanced-chart-grid[b-xtg6wma38h] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-card[b-xtg6wma38h],
.performance-card[b-xtg6wma38h] {
    min-width: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
}

.chart-card[b-xtg6wma38h] {
    padding: 27px;
}

.chart-header[b-xtg6wma38h],
.performance-header[b-xtg6wma38h] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.chart-header[b-xtg6wma38h] {
    margin-bottom: 20px;
}

    .chart-header h2[b-xtg6wma38h],
    .performance-header h2[b-xtg6wma38h] {
        margin: 0 0 7px;
        font-size: 1.35rem;
    }

    .chart-header p[b-xtg6wma38h],
    .performance-header p[b-xtg6wma38h] {
        margin: 0;
        color: var(--text-muted);
        line-height: 1.5;
    }

.chart-total[b-xtg6wma38h] {
    flex: 0 0 auto;
    min-width: 145px;
    padding: 12px 14px;
    text-align: right;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
}

    .chart-total small[b-xtg6wma38h] {
        display: block;
        color: var(--text-muted);
    }

    .chart-total strong[b-xtg6wma38h] {
        display: block;
        margin-top: 2px;
        font-size: 1.4rem;
    }

.chart-container[b-xtg6wma38h] {
    position: relative;
    height: 365px;
}

.chart-container-large[b-xtg6wma38h] {
    height: 400px;
}

.horizontal-chart-container[b-xtg6wma38h] {
    height: 430px;
}

.compact-horizontal-chart[b-xtg6wma38h] {
    height: 410px;
}

.doughnut-container[b-xtg6wma38h] {
    height: 365px;
}

.chart-center-label[b-xtg6wma38h] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translateY(-34px);
}

    .chart-center-label strong[b-xtg6wma38h] {
        font-size: 2rem;
        line-height: 1;
    }

    .chart-center-label span[b-xtg6wma38h] {
        margin-top: 5px;
        color: var(--text-muted);
        font-size: .85rem;
    }

.chart-empty-state[b-xtg6wma38h] {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
}

    .chart-empty-state .oi[b-xtg6wma38h] {
        margin-bottom: 14px;
        color: var(--primary);
        font-size: 2.35rem;
    }

    .chart-empty-state h3[b-xtg6wma38h] {
        margin: 0 0 6px;
        color: var(--text);
        font-size: 1.05rem;
    }

    .chart-empty-state p[b-xtg6wma38h] {
        max-width: 330px;
        margin: 0;
        line-height: 1.5;
    }

.success-state .oi[b-xtg6wma38h] {
    color: #22c55e;
}

/* ===================================
   Performance Table
=================================== */

.performance-card[b-xtg6wma38h] {
    padding: 28px;
    margin-bottom: 10px;
}

.performance-header[b-xtg6wma38h] {
    align-items: center;
    margin-bottom: 22px;
}

.record-count-badge[b-xtg6wma38h] {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(59, 130, 246, .28);
    border-radius: 999px;
    background: rgba(59, 130, 246, .09);
    color: #93c5fd;
    font-size: .82rem;
    font-weight: 700;
}

.performance-table-wrapper[b-xtg6wma38h] {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 13px;
}

.performance-table[b-xtg6wma38h] {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

    .performance-table thead th[b-xtg6wma38h] {
        padding: 14px 15px;
        background: rgba(255, 255, 255, .025);
        border-bottom: 1px solid var(--border);
        color: var(--text-muted);
        font-size: .74rem;
        font-weight: 700;
        letter-spacing: .045em;
        text-align: left;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .performance-table tbody td[b-xtg6wma38h] {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, .05);
        color: var(--text);
        vertical-align: middle;
    }

    .performance-table tbody tr:last-child td[b-xtg6wma38h] {
        border-bottom: 0;
    }

    .performance-table tbody tr[b-xtg6wma38h] {
        transition: background .15s ease;
    }

        .performance-table tbody tr:hover[b-xtg6wma38h] {
            background: rgba(255, 255, 255, .025);
        }

.numeric-column[b-xtg6wma38h] {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.clerk-cell[b-xtg6wma38h] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 210px;
}

.clerk-avatar[b-xtg6wma38h] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: .78rem;
    font-weight: 800;
}

.clerk-cell strong[b-xtg6wma38h],
.activity-date-cell strong[b-xtg6wma38h] {
    display: block;
}

.clerk-cell span:not(.clerk-avatar)[b-xtg6wma38h],
.activity-date-cell span[b-xtg6wma38h] {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: .79rem;
}

.total-actions-badge[b-xtg6wma38h] {
    display: inline-flex;
    min-width: 42px;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .12);
    color: #93c5fd;
    font-weight: 800;
}

.muted-value[b-xtg6wma38h] {
    color: var(--text-muted);
}

.table-empty-state[b-xtg6wma38h] {
    padding: 58px 20px !important;
    text-align: center;
    color: var(--text-muted) !important;
}

    .table-empty-state .oi[b-xtg6wma38h] {
        display: block;
        margin-bottom: 12px;
        color: var(--primary);
        font-size: 2rem;
    }

    .table-empty-state strong[b-xtg6wma38h] {
        display: block;
        color: var(--text);
    }

    .table-empty-state p[b-xtg6wma38h] {
        margin: 5px 0 0;
    }

/* ===================================
   Deal Breakdown Table / Export
=================================== */

.breakdown-card[b-xtg6wma38h] {
    margin-top: 22px;
}

.table-header-actions[b-xtg6wma38h] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.excel-export-button[b-xtg6wma38h] {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 15px;
    border: 1px solid #16a34a;
    border-radius: 9px;
    background: #16a34a;
    color: white;
    font-weight: 700;
    transition: .18s ease;
}

    .excel-export-button:hover:not(:disabled)[b-xtg6wma38h] {
        background: #15803d;
        border-color: #15803d;
        transform: translateY(-1px);
    }

    .excel-export-button:disabled[b-xtg6wma38h] {
        cursor: not-allowed;
        opacity: .55;
    }

.breakdown-table[b-xtg6wma38h] {
    min-width: 1060px;
}

.breakdown-id[b-xtg6wma38h] {
    width: 80px;
    color: var(--text-muted) !important;
    font-variant-numeric: tabular-nums;
}

.vin-cell[b-xtg6wma38h] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .86rem;
    letter-spacing: .015em;
}

.breakdown-source-badge[b-xtg6wma38h] {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

    .breakdown-source-badge.source-retail[b-xtg6wma38h] {
        background: rgba(59, 130, 246, .12);
        color: #93c5fd;
    }

    .breakdown-source-badge.source-missing[b-xtg6wma38h] {
        background: rgba(245, 158, 11, .12);
        color: #fbbf24;
    }

    .breakdown-source-badge.source-other[b-xtg6wma38h] {
        background: rgba(148, 163, 184, .12);
        color: #cbd5e1;
    }

/* ===================================
   Loading Spinner
=================================== */

.analytics-spinner[b-xtg6wma38h] {
    width: 34px;
    height: 34px;
    display: inline-block;
    border: 3px solid rgba(255, 255, 255, .20);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin-b-xtg6wma38h .8s linear infinite;
}

    .analytics-spinner.small[b-xtg6wma38h] {
        width: 16px;
        height: 16px;
        border-width: 2px;
    }

/* ===================================
   Responsive
=================================== */

@media (max-width: 1350px) {
    .metric-grid[b-xtg6wma38h] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .primary-chart-grid[b-xtg6wma38h],
    .secondary-chart-grid[b-xtg6wma38h],
    .balanced-chart-grid[b-xtg6wma38h] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .analytics-header[b-xtg6wma38h] {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-identity-card[b-xtg6wma38h] {
        width: 100%;
    }

    .filter-card[b-xtg6wma38h],
    .filter-controls[b-xtg6wma38h] {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-controls[b-xtg6wma38h] {
        width: 100%;
    }

    .preset-buttons[b-xtg6wma38h],
    .custom-range-controls[b-xtg6wma38h] {
        width: 100%;
    }

    .preset-button[b-xtg6wma38h] {
        flex: 1;
    }

    .date-field[b-xtg6wma38h] {
        flex: 1 1 180px;
    }

        .date-field input[b-xtg6wma38h] {
            width: 100%;
        }
}

@media (max-width: 680px) {
    .analytics-header h1[b-xtg6wma38h] {
        font-size: 2rem;
    }

    .metric-grid[b-xtg6wma38h] {
        grid-template-columns: 1fr;
    }

    .filter-card[b-xtg6wma38h],
    .chart-card[b-xtg6wma38h],
    .performance-card[b-xtg6wma38h] {
        padding: 20px;
    }

    .custom-range-controls[b-xtg6wma38h] {
        align-items: stretch;
        flex-direction: column;
    }

    .apply-button[b-xtg6wma38h],
    .refresh-button[b-xtg6wma38h] {
        width: 100%;
        align-self: stretch;
    }

    .chart-header[b-xtg6wma38h],
    .performance-header[b-xtg6wma38h] {
        align-items: flex-start;
        flex-direction: column;
    }

    .chart-total[b-xtg6wma38h] {
        width: 100%;
        text-align: left;
    }

    .table-header-actions[b-xtg6wma38h] {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .excel-export-button[b-xtg6wma38h] {
        width: 100%;
    }

    .chart-container[b-xtg6wma38h],
    .chart-container-large[b-xtg6wma38h],
    .horizontal-chart-container[b-xtg6wma38h],
    .compact-horizontal-chart[b-xtg6wma38h],
    .doughnut-container[b-xtg6wma38h] {
        height: 330px;
    }
}

/* ===================================
   Animations
=================================== */

@keyframes spin-b-xtg6wma38h {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn-b-xtg6wma38h {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/Auto/CheckInDeal.razor.rz.scp.css */
.scan-page[b-v2s2u5odlo] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .scan-page h1[b-v2s2u5odlo] {
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

.page-description[b-v2s2u5odlo] {
    max-width: 600px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.scan-card[b-v2s2u5odlo] {
    width: 100%;
    max-width: 650px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 45px;
    animation: fadeIn-b-v2s2u5odlo .25s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.step-header[b-v2s2u5odlo] {
    text-align: center;
    margin-bottom: 35px;
}

    .step-header h3[b-v2s2u5odlo] {
        margin-bottom: 8px;
        font-size: 1.6rem;
    }

    .step-header p[b-v2s2u5odlo] {
        color: var(--text-muted);
        margin: 0;
    }

.step-circle[b-v2s2u5odlo] {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    transition: .2s;
}

    .step-circle.active[b-v2s2u5odlo] {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    .step-circle.completed[b-v2s2u5odlo] {
        background: #22c55e;
        border-color: #22c55e;
        color: white;
    }

.confirmed-value[b-v2s2u5odlo] {
    margin: 18px 0 10px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.form-group[b-v2s2u5odlo] {
    margin-bottom: 30px;
}

    .form-group label[b-v2s2u5odlo] {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        text-align: left;
    }

.stock-box[b-v2s2u5odlo] {
    height: 60px;
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    transition: .15s;
}

    .stock-box:focus[b-v2s2u5odlo] {
        transform: scale(1.01);
    }

.submit-btn[b-v2s2u5odlo] {
    width: 100%;
    height: 56px;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-link[b-v2s2u5odlo] {
    margin-top: 10px;
    text-decoration: none;
    color: var(--primary);
}

    .btn-link:hover[b-v2s2u5odlo] {
        text-decoration: underline;
    }

.alert-success[b-v2s2u5odlo] {
    margin-top: 30px;
    padding: 16px;
    text-align: center;
    border-radius: 12px;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.30);
    color: #6ee7b7;
    animation: fadeIn-b-v2s2u5odlo .2s ease;
}

.spinner[b-v2s2u5odlo] {
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-v2s2u5odlo .7s linear infinite;
    vertical-align: middle;
}

hr[b-v2s2u5odlo] {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

@keyframes spin-b-v2s2u5odlo {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn-b-v2s2u5odlo {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.dms-grid[b-v2s2u5odlo] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin: 35px 0;
}

.dms-card[b-v2s2u5odlo] {
    background: #1b1f28;
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 30px 20px;
    color: white;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

    .dms-card[b-v2s2u5odlo]::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(10,132,255,.12), transparent 60%);
        opacity: 0;
        transition: opacity .2s ease;
    }

    .dms-card:hover[b-v2s2u5odlo] {
        border-color: var(--primary);
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0,0,0,.35);
    }

        .dms-card:hover[b-v2s2u5odlo]::before {
            opacity: 1;
        }

    .dms-card.selected[b-v2s2u5odlo] {
        border-color: var(--primary);
        background: rgba(10,132,255,.12);
        box-shadow: 0 0 0 2px rgba(10,132,255,.35);
    }

        .dms-card.selected[b-v2s2u5odlo]::after {
            content: "✓";
            position: absolute;
            top: 14px;
            right: 14px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #22c55e;
            color: white;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.dms-icon[b-v2s2u5odlo] {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.dms-name[b-v2s2u5odlo] {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.dms-description[b-v2s2u5odlo] {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: .95rem;
}

.selection-summary[b-v2s2u5odlo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.25);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 18px;
}

.summary-check[b-v2s2u5odlo] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 18px;
}

.summary-label[b-v2s2u5odlo] {
    display: block;
    color: var(--text-muted);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.summary-value[b-v2s2u5odlo] {
    display: block;
    font-size: 1.15rem;
    margin-top: 3px;
}

.summary-change[b-v2s2u5odlo] {
    margin-left: auto;
    text-decoration: none;
    color: var(--primary);
}

    .summary-change:hover[b-v2s2u5odlo] {
        text-decoration: underline;
    }

.alert-danger[b-v2s2u5odlo] {
    margin-top: 20px;
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.3);
    color: #fca5a5;
    border-radius: 12px;
    padding: 14px;
}

.status-message[b-v2s2u5odlo] {
    margin-top: 30px;
}

.success-icon[b-v2s2u5odlo] {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    font-weight: bold;
}

@media (max-width: 700px) {

    .dms-grid[b-v2s2u5odlo] {
        grid-template-columns: 1fr;
    }

    .selection-summary[b-v2s2u5odlo] {
        flex-wrap: wrap;
        gap: 12px;
    }

    .summary-change[b-v2s2u5odlo] {
        margin-left: 0;
    }
}
/* /Pages/Auto/MissingItems.razor.rz.scp.css */
.scan-page[b-xu09nn7qd5] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    padding: 0 clamp(10px, 1.5vw, 24px) 32px;
}

    .scan-page h1[b-xu09nn7qd5] {
        align-self: center;
        margin: 0 0 10px;
        font-size: clamp(1.8rem, 2.6vw, 2.4rem);
        font-weight: 700;
        text-align: center;
    }

.page-description[b-xu09nn7qd5] {
    width: min(650px, 100%);
    align-self: center;
    margin: 0 0 clamp(22px, 3vw, 40px);
    padding: 0 8px;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ================================
   Table Card
================================ */

.table-card[b-xu09nn7qd5] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: clamp(14px, 2vw, 30px);
    animation: fadeIn-b-xu09nn7qd5 .25s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

/* The table scrolls inside the card instead of forcing the entire page wider. */
.table-scroll[b-xu09nn7qd5] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4b5563 transparent;
}

    .table-scroll[b-xu09nn7qd5]::-webkit-scrollbar {
        height: 10px;
    }

    .table-scroll[b-xu09nn7qd5]::-webkit-scrollbar-thumb {
        background: #4b5563;
        border-radius: 999px;
    }

    .table-scroll[b-xu09nn7qd5]::-webkit-scrollbar-track {
        background: transparent;
    }

/* ================================
   Toolbar
================================ */

.table-toolbar[b-xu09nn7qd5] {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(150px, 190px) minmax(170px, 220px) minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 24px;
}

.filter-group[b-xu09nn7qd5] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .filter-group label[b-xu09nn7qd5] {
        color: var(--text-muted);
        font-size: .85rem;
        font-weight: 600;
    }

.search-filter[b-xu09nn7qd5] {
    min-width: 0;
}

.search-box[b-xu09nn7qd5],
.form-select[b-xu09nn7qd5] {
    width: 100%;
    min-width: 0;
    height: 46px;
    border-radius: 10px;
}

.export-btn[b-xu09nn7qd5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 155px;
    height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #16a34a;
    color: white;
    font-weight: 600;
    white-space: nowrap;
    transition: .2s;
    box-shadow: 0 6px 18px rgba(22,163,74,.22);
}

    .export-btn:hover:not(:disabled)[b-xu09nn7qd5] {
        background: #15803d;
        transform: translateY(-1px);
    }

    .export-btn:disabled[b-xu09nn7qd5] {
        opacity: .6;
    }

/* ================================
   Table
================================ */

.table[b-xu09nn7qd5] {
    width: 100%;
    min-width: 1260px;
    margin-bottom: 0;
    color: var(--text);
}

    .table thead[b-xu09nn7qd5] {
        border-bottom: 2px solid var(--border);
    }

        .table thead th[b-xu09nn7qd5] {
            border: none;
            padding: 14px 12px;
            color: var(--text-muted);
            text-transform: uppercase;
            font-size: .78rem;
            letter-spacing: .04em;
            font-weight: 600;
            white-space: nowrap;
        }

    .table tbody td[b-xu09nn7qd5] {
        border-top: 1px solid var(--border);
        padding: 14px 12px;
        vertical-align: middle;
        font-size: .92rem;
    }

    .table tbody tr[b-xu09nn7qd5] {
        transition: .15s;
    }

        .table tbody tr:hover[b-xu09nn7qd5] {
            background: rgba(255,255,255,.03);
        }

    /* Keep long names/manual values from blowing out a column. */
    .table tbody td:nth-child(6)[b-xu09nn7qd5],
    .table tbody td:nth-child(7)[b-xu09nn7qd5],
    .table tbody td:nth-child(8)[b-xu09nn7qd5] {
        max-width: 220px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

.empty-table-cell[b-xu09nn7qd5] {
    min-width: 0 !important;
}

/* ================================
   Received Highlight
================================ */

.received-row[b-xu09nn7qd5] {
    background: rgba(34,197,94,.06);
}

    .received-row:hover[b-xu09nn7qd5] {
        background: rgba(34,197,94,.12) !important;
    }

    .received-row td:first-child[b-xu09nn7qd5] {
        border-left: 4px solid #22c55e;
    }

/* ================================
   Badge
================================ */

.badge[b-xu09nn7qd5] {
    max-width: 190px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* ================================
   Actions
================================ */

.actions-cell[b-xu09nn7qd5] {
    width: 150px;
    min-width: 150px;
    position: relative;
}

.dropdown[b-xu09nn7qd5] {
    position: relative;
    display: inline-block;
}

.action-btn[b-xu09nn7qd5] {
    width: 132px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-weight: 600;
    transition: .2s;
}

    .action-btn:hover[b-xu09nn7qd5] {
        border-color: var(--primary);
        background: rgba(59,130,246,.08);
    }

.dropdown-menu[b-xu09nn7qd5] {
    position: absolute;
    right: 0;
    top: 46px;
    width: 235px;
    background: #1b1f28;
    border: 1px solid #313743;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    animation: dropdownFade-b-xu09nn7qd5 .15s ease;
    z-index: 1000;
}

.dropdown-item[b-xu09nn7qd5] {
    width: 100%;
    border: none;
    background: transparent;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-align: left;
    transition: .15s;
    font-size: .95rem;
}

    .dropdown-item .oi[b-xu09nn7qd5] {
        width: 18px;
    }

    .dropdown-item.receive .oi[b-xu09nn7qd5] {
        color: #22c55e;
    }

    .dropdown-item.receive:hover[b-xu09nn7qd5] {
        background: rgba(34,197,94,.12);
        color: #22c55e;
    }

    .dropdown-item.archive .oi[b-xu09nn7qd5] {
        color: #ef4444;
    }

    .dropdown-item.archive:hover[b-xu09nn7qd5] {
        background: rgba(239,68,68,.12);
        color: #ef4444;
    }

/* ================================
   Modal
================================ */

.modal-backdrop[b-xu09nn7qd5] {
    position: fixed;
    inset: 0;
    padding: 16px;
    box-sizing: border-box;
    background: rgba(0,0,0,.65);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    z-index: 9999;
    animation: fadeIn-b-xu09nn7qd5 .15s ease;
}

.transfer-modal[b-xu09nn7qd5] {
    width: min(620px, 100%);
    max-width: 100%;
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    animation: modalIn-b-xu09nn7qd5 .18s ease;
}

.modal-header[b-xu09nn7qd5] {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    border-bottom: 1px solid var(--border);
}

    .modal-header h4[b-xu09nn7qd5] {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.modal-body[b-xu09nn7qd5] {
    min-height: 0;
    padding: 26px;
    overflow-y: auto;
}

.transfer-info[b-xu09nn7qd5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.info-box[b-xu09nn7qd5] {
    min-width: 0;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

    .info-box span[b-xu09nn7qd5] {
        display: block;
        color: var(--text-muted);
        font-size: .8rem;
        margin-bottom: 6px;
    }

    .info-box strong[b-xu09nn7qd5] {
        display: block;
        font-size: 1rem;
        color: var(--text);
        overflow-wrap: anywhere;
    }

.form-group[b-xu09nn7qd5] {
    margin-top: 10px;
}

    .form-group label[b-xu09nn7qd5] {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

.readonly-field[b-xu09nn7qd5] {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 10px;
    background: #1f2633;
    border: 1px solid #3b4556;
    color: #dce3ec;
    font-weight: 600;
}

.modal-footer[b-xu09nn7qd5] {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 26px;
    border-top: 1px solid var(--border);
}

.close-btn[b-xu09nn7qd5] {
    flex: 0 0 auto;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
}

/* Spinner */

.spinner[b-xu09nn7qd5] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: white;
    border-radius: 50%;
    display: inline-block;
    animation: spin-b-xu09nn7qd5 .7s linear infinite;
}

/* ================================
   Comments Modal
================================ */

.comments-modal[b-xu09nn7qd5] {
    width: min(700px, 100%);
}

.comments-list[b-xu09nn7qd5] {
    max-height: min(380px, 42dvh);
    overflow-y: auto;
    margin-bottom: 24px;
    padding-right: 6px;
}

.comment-card[b-xu09nn7qd5] {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}

.comment-header[b-xu09nn7qd5] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comment-user[b-xu09nn7qd5] {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.comment-date[b-xu09nn7qd5] {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.comment-body[b-xu09nn7qd5] {
    white-space: pre-wrap;
    line-height: 1.6;
    color: var(--text);
    overflow-wrap: anywhere;
}

.new-comment-section[b-xu09nn7qd5] {
    position: relative;
    margin-top: 20px;
}

.comment-textarea[b-xu09nn7qd5] {
    min-height: 110px;
    resize: vertical;
}

.empty-comments[b-xu09nn7qd5] {
    text-align: center;
    padding: 55px 20px;
    color: var(--text-muted);
}

    .empty-comments .oi[b-xu09nn7qd5] {
        font-size: 2.5rem;
        margin-bottom: 12px;
        display: block;
    }

    .empty-comments h4[b-xu09nn7qd5] {
        color: white;
        margin-bottom: 8px;
    }

.comment-link[b-xu09nn7qd5] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
}

.comment-count[b-xu09nn7qd5] {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .75rem;
}

.mention-dropdown[b-xu09nn7qd5] {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: #1d2430;
    border: 1px solid #394150;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    max-height: 260px;
    overflow-y: auto;
    z-index: 10000;
}

.mention-user[b-xu09nn7qd5] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: none;
    border: none;
    color: white;
    transition: .15s;
    text-align: left;
}

    .mention-user:hover[b-xu09nn7qd5] {
        background: #2d3748;
    }

.mention-avatar[b-xu09nn7qd5] {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #3b82f6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.mention-name[b-xu09nn7qd5] {
    font-weight: 600;
}

.mention-email[b-xu09nn7qd5] {
    color: #94a3b8;
    font-size: .8rem;
    overflow-wrap: anywhere;
}

/* ================================
   Loading
================================ */

.page-loading[b-xu09nn7qd5] {
    width: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

    .page-loading .spinner-border[b-xu09nn7qd5] {
        width: 3.5rem;
        height: 3.5rem;
    }

.loading-text[b-xu09nn7qd5] {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

/* ================================
   Animations
================================ */

@keyframes spin-b-xu09nn7qd5 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes dropdownFade-b-xu09nn7qd5 {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalIn-b-xu09nn7qd5 {
    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn-b-xu09nn7qd5 {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Responsive
================================ */

/* Laptop / narrower desktop */
@media (max-width: 1250px) {
    .table-toolbar[b-xu09nn7qd5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-filter[b-xu09nn7qd5] {
        grid-column: 1 / -1;
    }

    .export-btn[b-xu09nn7qd5] {
        width: 100%;
    }
}

/* Tablet: keep all data, but change the table to a readable card layout. */
@media (max-width: 900px) {
    .scan-page[b-xu09nn7qd5] {
        padding-inline: 8px;
    }

    .table-card[b-xu09nn7qd5] {
        padding: 14px;
        border-radius: 14px;
    }

    .table-toolbar[b-xu09nn7qd5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 18px;
    }

    .search-filter[b-xu09nn7qd5] {
        grid-column: 1 / -1;
    }

    .export-btn[b-xu09nn7qd5] {
        grid-column: 1 / -1;
    }

    .table-scroll[b-xu09nn7qd5] {
        overflow: visible;
    }

    .table[b-xu09nn7qd5] {
        display: block;
        min-width: 0;
        width: 100%;
    }

        .table thead[b-xu09nn7qd5] {
            display: none;
        }

        .table tbody[b-xu09nn7qd5] {
            display: block;
            width: 100%;
        }

            .table tbody tr[b-xu09nn7qd5] {
                display: block;
                width: 100%;
                margin-bottom: 14px;
                overflow: visible;
                border: 1px solid var(--border);
                border-radius: 12px;
                background: rgba(255,255,255,.015);
            }

                .table tbody tr:last-child[b-xu09nn7qd5] {
                    margin-bottom: 0;
                }

            .table tbody td[b-xu09nn7qd5] {
                width: 100%;
                max-width: none !important;
                min-width: 0;
                display: grid;
                grid-template-columns: minmax(105px, 34%) minmax(0, 1fr);
                align-items: center;
                gap: 12px;
                padding: 11px 13px;
                border-top: 1px solid var(--border);
                font-size: .9rem;
                overflow-wrap: anywhere;
            }

                .table tbody td:first-child[b-xu09nn7qd5] {
                    border-top: none;
                }

                .table tbody td[b-xu09nn7qd5]::before {
                    content: attr(data-label);
                    color: var(--text-muted);
                    font-size: .72rem;
                    font-weight: 700;
                    letter-spacing: .04em;
                    text-transform: uppercase;
                }

                .table tbody td.empty-table-cell[b-xu09nn7qd5] {
                    display: block;
                    padding: 34px 16px !important;
                }

                    .table tbody td.empty-table-cell[b-xu09nn7qd5]::before {
                        display: none;
                        content: none;
                    }

    .received-row[b-xu09nn7qd5] {
        border-left: 4px solid #22c55e !important;
    }

        .received-row td:first-child[b-xu09nn7qd5] {
            border-left: none;
        }

    .badge[b-xu09nn7qd5] {
        justify-self: start;
        max-width: 100%;
    }

    .comment-link[b-xu09nn7qd5] {
        justify-self: start;
    }

    .actions-cell[b-xu09nn7qd5] {
        width: 100%;
        min-width: 0;
    }

        .actions-cell .dropdown[b-xu09nn7qd5] {
            width: 100%;
        }

    .action-btn[b-xu09nn7qd5] {
        width: 100%;
    }

    /* Static menu on card view avoids clipping inside narrow containers. */
    .dropdown-menu[b-xu09nn7qd5] {
        position: static;
        width: 100%;
        margin-top: 8px;
    }

    .transfer-info[b-xu09nn7qd5] {
        grid-template-columns: 1fr;
    }
}

/* Phone */
@media (max-width: 600px) {
    .scan-page[b-xu09nn7qd5] {
        padding-inline: 4px;
        padding-bottom: 20px;
    }

    .page-description[b-xu09nn7qd5] {
        padding-inline: 4px;
        font-size: .92rem;
    }

    .table-card[b-xu09nn7qd5] {
        padding: 10px;
        border-radius: 12px;
    }

    .table-toolbar[b-xu09nn7qd5] {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .search-filter[b-xu09nn7qd5],
    .export-btn[b-xu09nn7qd5] {
        grid-column: auto;
    }

    .table tbody td[b-xu09nn7qd5] {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 11px;
    }

    .modal-backdrop[b-xu09nn7qd5] {
        padding: 8px;
        align-items: flex-start;
    }

    .transfer-modal[b-xu09nn7qd5] {
        margin: auto 0;
        max-height: calc(100dvh - 16px);
        border-radius: 12px;
    }

    .modal-header[b-xu09nn7qd5] {
        padding: 16px;
        align-items: flex-start;
    }

        .modal-header h4[b-xu09nn7qd5] {
            font-size: 1.05rem;
        }

    .modal-body[b-xu09nn7qd5] {
        padding: 16px;
    }

    .modal-footer[b-xu09nn7qd5] {
        flex-direction: column-reverse;
        padding: 14px 16px 16px;
    }

        .modal-footer .btn[b-xu09nn7qd5] {
            width: 100%;
            min-height: 44px;
        }

    .comments-list[b-xu09nn7qd5] {
        max-height: 40dvh;
    }

    .empty-comments[b-xu09nn7qd5] {
        padding: 34px 12px;
    }

    .mention-user[b-xu09nn7qd5] {
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .table-card[b-xu09nn7qd5],
    .dropdown-menu[b-xu09nn7qd5],
    .transfer-modal[b-xu09nn7qd5],
    .spinner[b-xu09nn7qd5] {
        animation: none !important;
    }
}

/* =============================================================
   MISSING ITEMS VISUAL REFRESH
   ============================================================= */

/* Page + hero */
.scan-page[b-xu09nn7qd5] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
    padding: 0 clamp(8px, 1.4vw, 24px) 36px;
}

.missing-hero[b-xu09nn7qd5] {
    position: relative;
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: clamp(24px, 3vw, 36px);
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, .20);
    border-radius: 22px;
    background: radial-gradient(circle at 85% 18%, rgba(245, 158, 11, .18), transparent 30%), radial-gradient(circle at 8% 120%, rgba(59, 130, 246, .10), transparent 34%), linear-gradient(135deg, rgba(28, 34, 44, .98), rgba(18, 25, 36, .98));
    box-shadow: 0 20px 55px rgba(0, 0, 0, .24);
}

    .missing-hero[b-xu09nn7qd5]::after {
        content: "";
        position: absolute;
        right: -85px;
        bottom: -110px;
        width: 290px;
        height: 290px;
        border: 1px solid rgba(245, 158, 11, .12);
        border-radius: 50%;
    }

.hero-copy[b-xu09nn7qd5] {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-eyebrow[b-xu09nn7qd5] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #fbbf24;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-eyebrow-dot[b-xu09nn7qd5] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, .10);
}

.scan-page .missing-hero h1[b-xu09nn7qd5] {
    align-self: auto;
    margin: 0 0 8px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.05;
    text-align: left;
    letter-spacing: -.03em;
}

.missing-hero .page-description[b-xu09nn7qd5] {
    width: auto;
    max-width: 720px;
    align-self: auto;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #9aa9bd;
    font-size: 1rem;
}

.hero-mark[b-xu09nn7qd5] {
    position: relative;
    z-index: 1;
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 158, 11, .30);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(245, 158, 11, .20), rgba(245, 158, 11, .05));
    color: #fde68a;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 35px rgba(0,0,0,.22);
}

/* Metrics */
.dashboard-cards[b-xu09nn7qd5] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.dashboard-card[b-xu09nn7qd5] {
    position: relative;
    min-width: 0;
    padding: 20px 20px 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(31, 41, 55, .96), rgba(24, 32, 45, .96));
    text-align: left;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    animation: fadeIn-b-xu09nn7qd5 .22s ease;
}

    .dashboard-card[b-xu09nn7qd5]::after {
        content: "";
        position: absolute;
        right: -32px;
        bottom: -42px;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: rgba(255,255,255,.025);
    }

.dashboard-card-header[b-xu09nn7qd5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.dashboard-label[b-xu09nn7qd5] {
    color: #9aa9bd;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dashboard-card h2[b-xu09nn7qd5] {
    position: relative;
    z-index: 1;
    margin: 0 0 5px;
    font-size: clamp(1.9rem, 2.4vw, 2.35rem);
    line-height: 1;
    font-weight: 800;
}

.dashboard-caption[b-xu09nn7qd5] {
    position: relative;
    z-index: 1;
    color: #7f8da1;
    font-size: .78rem;
}

.metric-dot[b-xu09nn7qd5] {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dashboard-card.total[b-xu09nn7qd5] {
    border-top: 2px solid rgba(96, 165, 250, .78);
}

    .dashboard-card.total h2[b-xu09nn7qd5] {
        color: #dbeafe;
    }

    .dashboard-card.total .metric-dot[b-xu09nn7qd5] {
        background: #60a5fa;
        box-shadow: 0 0 0 5px rgba(96, 165, 250, .09);
    }

.dashboard-card.outstanding[b-xu09nn7qd5] {
    border-top: 2px solid rgba(245, 158, 11, .85);
}

    .dashboard-card.outstanding h2[b-xu09nn7qd5] {
        color: #fbbf24;
    }

    .dashboard-card.outstanding .metric-dot[b-xu09nn7qd5] {
        background: #f59e0b;
        box-shadow: 0 0 0 5px rgba(245, 158, 11, .09);
    }

.dashboard-card.received[b-xu09nn7qd5] {
    border-top: 2px solid rgba(34, 197, 94, .82);
}

    .dashboard-card.received h2[b-xu09nn7qd5] {
        color: #4ade80;
    }

    .dashboard-card.received .metric-dot[b-xu09nn7qd5] {
        background: #22c55e;
        box-shadow: 0 0 0 5px rgba(34, 197, 94, .09);
    }

/* Main card */
.table-card[b-xu09nn7qd5] {
    min-width: 0;
    padding: clamp(16px, 2vw, 26px);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(31, 41, 55, .98), rgba(26, 34, 47, .98));
    box-shadow: 0 18px 48px rgba(0,0,0,.24);
}

.table-card-header[b-xu09nn7qd5] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.section-kicker[b-xu09nn7qd5] {
    margin-bottom: 4px;
    color: #fbbf24;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.table-card-header h2[b-xu09nn7qd5] {
    margin: 0 0 5px;
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 750;
}

.table-card-header p[b-xu09nn7qd5] {
    margin: 0;
    color: var(--text-muted);
    font-size: .88rem;
}

.table-header-actions[b-xu09nn7qd5] {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.add-missing-item-btn[b-xu09nn7qd5] {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid rgba(245, 158, 11, .45);
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: .86rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(217, 119, 6, .22);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

    .add-missing-item-btn:hover[b-xu09nn7qd5] {
        transform: translateY(-1px);
        filter: brightness(1.06);
        box-shadow: 0 11px 26px rgba(217, 119, 6, .28);
    }

    .add-missing-item-btn:focus-visible[b-xu09nn7qd5] {
        outline: 3px solid rgba(245, 158, 11, .25);
        outline-offset: 2px;
    }

.records-shown[b-xu09nn7qd5] {
    flex: 0 0 auto;
    min-width: 112px;
    padding: 10px 14px;
    border: 1px solid rgba(245, 158, 11, .18);
    border-radius: 12px;
    background: rgba(245, 158, 11, .06);
    text-align: center;
}

    .records-shown strong[b-xu09nn7qd5],
    .records-shown span[b-xu09nn7qd5] {
        display: block;
    }

    .records-shown strong[b-xu09nn7qd5] {
        color: #fde68a;
        font-size: 1.15rem;
    }

    .records-shown span[b-xu09nn7qd5] {
        margin-top: 1px;
        color: #8492a6;
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

/* Filter panel */
.filter-panel[b-xu09nn7qd5] {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 15px;
    background: rgba(15, 23, 42, .28);
}

.table-toolbar[b-xu09nn7qd5] {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(135px, .75fr) minmax(155px, 1fr) minmax(190px, 1.2fr) minmax(260px, 1.55fr) auto;
    gap: 12px;
    align-items: end;
    margin: 0;
}

.filter-group[b-xu09nn7qd5] {
    min-width: 0;
    gap: 0;
}

    .filter-group label[b-xu09nn7qd5] {
        display: block;
        margin: 0 0 6px 2px;
        color: #8fa0b6;
        font-size: .69rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

.form-select[b-xu09nn7qd5],
.search-box[b-xu09nn7qd5] {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 44px;
    border: 1px solid #384459;
    border-radius: 10px;
    background-color: #1b2432;
    color: var(--text);
    font-size: .88rem;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

    .form-select:focus[b-xu09nn7qd5],
    .search-box:focus[b-xu09nn7qd5] {
        border-color: #f59e0b;
        background-color: #1d2736;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, .10);
    }

.search-input-wrap[b-xu09nn7qd5] {
    position: relative;
}

.search-prefix[b-xu09nn7qd5] {
    position: absolute;
    left: 13px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: #718096;
    font-size: .9rem;
    pointer-events: none;
}

.search-input-wrap .search-box[b-xu09nn7qd5] {
    padding-left: 38px;
}

.export-btn[b-xu09nn7qd5] {
    min-width: 148px;
    height: 44px;
    padding: 0 17px;
    border-radius: 10px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 8px 20px rgba(22, 163, 74, .18);
}

/* Table */
.table-scroll[b-xu09nn7qd5] {
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 12px;
    background: rgba(15, 23, 42, .10);
}

.table[b-xu09nn7qd5] {
    min-width: 1260px;
    border-collapse: separate;
    border-spacing: 0;
}

    .table thead th[b-xu09nn7qd5] {
        padding: 12px 11px;
        background: rgba(15, 23, 42, .46);
        border-top: none;
        border-bottom: 1px solid rgba(148,163,184,.16);
        color: #8fa0b6;
        font-size: .7rem;
        letter-spacing: .055em;
        white-space: nowrap;
    }

        .table thead th:first-child[b-xu09nn7qd5] {
            border-top-left-radius: 10px;
        }

        .table thead th:last-child[b-xu09nn7qd5] {
            border-top-right-radius: 10px;
        }

    .table tbody td[b-xu09nn7qd5] {
        padding: 13px 11px;
        font-size: .86rem;
    }

    .table tbody tr:hover[b-xu09nn7qd5] {
        background: rgba(245, 158, 11, .035);
    }

.received-row[b-xu09nn7qd5] {
    background: rgba(34, 197, 94, .045);
}

    .received-row:hover[b-xu09nn7qd5] {
        background: rgba(34, 197, 94, .085) !important;
    }

.missing-item-badge[b-xu09nn7qd5] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 210px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
}

.missing-item-dot[b-xu09nn7qd5] {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.missing-item-badge.outstanding[b-xu09nn7qd5] {
    border-color: rgba(245, 158, 11, .24);
    background: rgba(245, 158, 11, .10);
    color: #fbbf24;
}

.missing-item-badge.received[b-xu09nn7qd5] {
    border-color: rgba(34, 197, 94, .22);
    background: rgba(34, 197, 94, .09);
    color: #4ade80;
}

.comment-link[b-xu09nn7qd5] {
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
}

    .comment-link:hover[b-xu09nn7qd5] {
        border-color: rgba(96,165,250,.16);
        background: rgba(59,130,246,.07);
    }

.action-btn[b-xu09nn7qd5] {
    background: rgba(15, 23, 42, .34);
    border-color: #3a4659;
}

    .action-btn:hover[b-xu09nn7qd5] {
        border-color: rgba(245, 158, 11, .55);
        background: rgba(245, 158, 11, .07);
    }

.action-chevron[b-xu09nn7qd5] {
    transition: transform .12s ease;
}

.dropdown-menu[b-xu09nn7qd5] {
    animation-duration: .09s;
}

/* Modals */
.transfer-modal[b-xu09nn7qd5] {
    border-color: rgba(148, 163, 184, .16);
    background: linear-gradient(180deg, rgba(31, 41, 55, .99), rgba(24, 32, 45, .99));
    box-shadow: 0 28px 80px rgba(0,0,0,.52);
}

.modal-header[b-xu09nn7qd5] {
    background: rgba(15, 23, 42, .28);
}

    .modal-header h4 .oi[b-xu09nn7qd5] {
        color: #fbbf24;
    }

.info-box[b-xu09nn7qd5] {
    border-color: rgba(148,163,184,.14);
    background: rgba(255,255,255,.025);
}

    .info-box strong[b-xu09nn7qd5] {
        color: #e8eef7;
    }

.comment-card[b-xu09nn7qd5] {
    border-color: rgba(148,163,184,.14);
    background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
}

.comment-count[b-xu09nn7qd5] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 5px 12px rgba(37,99,235,.20);
}

/* Manual missing-item entry */
.add-missing-modal[b-xu09nn7qd5] {
    width: min(760px, 100%);
}

    .add-missing-modal .modal-header[b-xu09nn7qd5] {
        align-items: flex-start;
    }

        .add-missing-modal .modal-header small[b-xu09nn7qd5] {
            display: block;
            margin-top: 6px;
            color: var(--text-muted);
            font-size: .88rem;
        }

        .add-missing-modal .modal-header .oi[b-xu09nn7qd5] {
            color: #fbbf24;
        }

.manual-missing-grid[b-xu09nn7qd5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.manual-field[b-xu09nn7qd5] {
    min-width: 0;
}

    .manual-field.full-width[b-xu09nn7qd5] {
        grid-column: 1 / -1;
    }

    .manual-field label[b-xu09nn7qd5] {
        display: block;
        margin: 0 0 8px;
        color: #dce5f1;
        font-size: .82rem;
        font-weight: 700;
    }

.required-mark[b-xu09nn7qd5] {
    color: #fbbf24;
}

.manual-field .form-control[b-xu09nn7qd5],
.manual-field .form-select[b-xu09nn7qd5],
.manual-entry-card .form-control[b-xu09nn7qd5] {
    width: 100%;
    height: 50px;
    border: 1px solid #39475b;
    border-radius: 10px;
    background: #1b2432;
    color: var(--text);
}

    .manual-field .form-control:focus[b-xu09nn7qd5],
    .manual-field .form-select:focus[b-xu09nn7qd5],
    .manual-entry-card .form-control:focus[b-xu09nn7qd5] {
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, .11);
    }

.vin-input[b-xu09nn7qd5] {
    text-transform: uppercase;
}

.selected-item-card[b-xu09nn7qd5] {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(245, 158, 11, .30);
    border-radius: 12px;
    background: rgba(245, 158, 11, .08);
}

.selected-label[b-xu09nn7qd5] {
    display: block;
    margin-bottom: 5px;
    color: #fbbf24;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.selected-item-card h4[b-xu09nn7qd5] {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 750;
}

.manual-entry-card[b-xu09nn7qd5] {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(59, 130, 246, .30);
    border-radius: 12px;
    background: rgba(59, 130, 246, .08);
}

.manual-header[b-xu09nn7qd5] {
    display: flex;
    align-items: center;
    color: #60a5fa;
    font-weight: 750;
}

.manual-description[b-xu09nn7qd5] {
    margin: 8px 0 14px;
    color: var(--text-muted);
    font-size: .86rem;
}

.created-summary[b-xu09nn7qd5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, .13);
}

    .created-summary > div[b-xu09nn7qd5] {
        min-width: 0;
        padding: 12px 14px;
        border: 1px solid rgba(148, 163, 184, .12);
        border-radius: 10px;
        background: rgba(255,255,255,.025);
    }

    .created-summary span[b-xu09nn7qd5],
    .created-summary strong[b-xu09nn7qd5] {
        display: block;
    }

    .created-summary span[b-xu09nn7qd5] {
        margin-bottom: 4px;
        color: var(--text-muted);
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .created-summary strong[b-xu09nn7qd5] {
        color: #e8eef7;
        overflow-wrap: anywhere;
    }

.create-missing-btn[b-xu09nn7qd5] {
    min-width: 190px;
    border: none;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-weight: 700;
}

    .create-missing-btn:hover:not(:disabled)[b-xu09nn7qd5] {
        color: #fff;
        filter: brightness(1.06);
    }

    .create-missing-btn:disabled[b-xu09nn7qd5] {
        border: none;
        background: #8a641f;
        color: rgba(255,255,255,.65);
    }

/* Export overlay */
.export-loading-overlay[b-xu09nn7qd5] {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 13, 22, .80);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: wait;
}

.export-loading-card[b-xu09nn7qd5] {
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 32px;
    border: 1px solid rgba(245, 158, 11, .20);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(31, 41, 55, .99), rgba(24, 32, 45, .99));
    text-align: center;
    box-shadow: 0 24px 70px rgba(0,0,0,.5);
    animation: exportOverlayIn-b-xu09nn7qd5 .18s ease;
}

.export-loading-spinner[b-xu09nn7qd5] {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border: 5px solid rgba(255,255,255,.14);
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: exportSpin-b-xu09nn7qd5 .75s linear infinite;
}

.export-loading-title[b-xu09nn7qd5] {
    margin-bottom: 7px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 800;
}

.export-loading-message[b-xu09nn7qd5] {
    max-width: 310px;
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.5;
}

@keyframes exportSpin-b-xu09nn7qd5 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes exportOverlayIn-b-xu09nn7qd5 {
    from {
        opacity: 0;
        transform: scale(.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive layout */
@media (max-width: 1250px) {
    .table-toolbar[b-xu09nn7qd5] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-filter[b-xu09nn7qd5] {
        grid-column: 1 / 3;
    }

    .export-btn[b-xu09nn7qd5] {
        grid-column: 3;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .missing-hero[b-xu09nn7qd5] {
        min-height: 0;
        padding: 24px;
    }

    .hero-mark[b-xu09nn7qd5] {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
        border-radius: 19px;
        font-size: 1.35rem;
    }

    .dashboard-cards[b-xu09nn7qd5] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .table-card-header[b-xu09nn7qd5] {
        align-items: stretch;
    }

    .table-toolbar[b-xu09nn7qd5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .item-filter[b-xu09nn7qd5] {
        grid-column: 1 / -1;
    }

    .search-filter[b-xu09nn7qd5] {
        grid-column: 1;
    }

    .export-btn[b-xu09nn7qd5] {
        grid-column: 2;
        width: 100%;
    }

    /* Keep the existing responsive card-table behavior below 900px. */
    .table-scroll[b-xu09nn7qd5] {
        border: none;
        background: transparent;
    }
}

@media (max-width: 700px) {
    .hero-mark[b-xu09nn7qd5] {
        display: none;
    }

    .missing-hero[b-xu09nn7qd5] {
        padding: 20px;
        border-radius: 17px;
    }

        .missing-hero .page-description[b-xu09nn7qd5] {
            font-size: .9rem;
        }

    .dashboard-cards[b-xu09nn7qd5] {
        grid-template-columns: 1fr;
    }

    .table-card-header[b-xu09nn7qd5] {
        flex-direction: column;
    }

    .table-header-actions[b-xu09nn7qd5] {
        width: 100%;
        flex-direction: column;
    }

    .add-missing-item-btn[b-xu09nn7qd5] {
        width: 100%;
        min-height: 46px;
    }

    .records-shown[b-xu09nn7qd5] {
        align-self: flex-start;
    }

    .filter-panel[b-xu09nn7qd5] {
        padding: 11px;
    }

    .manual-missing-grid[b-xu09nn7qd5],
    .created-summary[b-xu09nn7qd5] {
        grid-template-columns: 1fr;
    }

    .manual-field.full-width[b-xu09nn7qd5] {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .table-toolbar[b-xu09nn7qd5] {
        grid-template-columns: 1fr;
    }

    .item-filter[b-xu09nn7qd5],
    .search-filter[b-xu09nn7qd5],
    .export-btn[b-xu09nn7qd5] {
        grid-column: auto;
    }

    .export-loading-overlay[b-xu09nn7qd5] {
        padding: 16px;
    }

    .export-loading-card[b-xu09nn7qd5] {
        padding: 28px 20px;
    }

    .export-loading-spinner[b-xu09nn7qd5] {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .missing-hero[b-xu09nn7qd5],
    .dashboard-card[b-xu09nn7qd5],
    .table-card[b-xu09nn7qd5],
    .export-loading-card[b-xu09nn7qd5],
    .export-loading-spinner[b-xu09nn7qd5] {
        animation: none !important;
        transition: none !important;
    }
}
/* /Pages/Auto/Retail-Plating.razor.rz.scp.css */
.scan-page[b-o724q5tpk6] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .scan-page h1[b-o724q5tpk6] {
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

.page-description[b-o724q5tpk6] {
    max-width: 650px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Dashboard Cards */

.dashboard-cards[b-o724q5tpk6] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card[b-o724q5tpk6] {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    animation: fadeIn-b-o724q5tpk6 .25s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,.20);
}

    .dashboard-card span[b-o724q5tpk6] {
        display: block;
        color: var(--text-muted);
        font-size: .95rem;
        margin-bottom: 8px;
    }

    .dashboard-card h2[b-o724q5tpk6] {
        font-size: 2.3rem;
        margin: 0;
        font-weight: 700;
    }

    .dashboard-card.waiting h2[b-o724q5tpk6] {
        color: #fbbf24;
    }

    .dashboard-card.plated h2[b-o724q5tpk6] {
        color: #22c55e;
    }


.table-toolbar[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.toolbar-group[b-o724q5tpk6] {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.toolbar-actions[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.search-box[b-o724q5tpk6] {
    flex: 1;
    min-width: 260px;
    max-width: none;
    height: 48px;
}

.export-btn[b-o724q5tpk6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 165px;
    height: 48px;
    padding: 0 20px;
    background: #16a34a;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: .95rem;
    transition: all .18s ease;
    box-shadow: 0 6px 18px rgba(22,163,74,.22);
}

    .export-btn:hover:not(:disabled)[b-o724q5tpk6] {
        background: #15803d;
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(22,163,74,.30);
    }

    .export-btn:active:not(:disabled)[b-o724q5tpk6] {
        transform: translateY(0);
    }

    .export-btn:disabled[b-o724q5tpk6] {
        opacity: .65;
        cursor: not-allowed;
        transform: none;
    }

    .export-btn .oi[b-o724q5tpk6] {
        font-size: 1rem;
    }

@media (max-width:900px) {

    .table-toolbar[b-o724q5tpk6] {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-group[b-o724q5tpk6] {
        flex-direction: column;
    }

    .toolbar-actions[b-o724q5tpk6] {
        flex-direction: column;
    }

    .search-box[b-o724q5tpk6],
    .export-btn[b-o724q5tpk6] {
        width: 100%;
    }
}



.missing-row[b-o724q5tpk6] {
    background: rgba(239,68,68,.08);
}

    .missing-row:hover[b-o724q5tpk6] {
        background: rgba(239,68,68,.14) !important;
    }

    .missing-row td:first-child[b-o724q5tpk6] {
        border-left: 4px solid #ef4444;
    }

.dropdown-item.disabled[b-o724q5tpk6] {
    opacity: .45;
    cursor: not-allowed;
}

    .dropdown-item.disabled:hover[b-o724q5tpk6] {
        background: transparent;
        color: inherit;
    }


/* Table */

.table-card[b-o724q5tpk6] {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    animation: fadeIn-b-o724q5tpk6 .35s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.table-toolbar[b-o724q5tpk6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.search-box[b-o724q5tpk6] {
    max-width: 420px;
    height: 50px;
    border-radius: 10px;
    font-size: 1rem;
}

.table[b-o724q5tpk6] {
    margin-bottom: 0;
    color: var(--text);
}

    .table thead[b-o724q5tpk6] {
        border-bottom: 2px solid var(--border);
    }

        .table thead th[b-o724q5tpk6] {
            border: none;
            color: var(--text-muted);
            font-size: .9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .05em;
            padding: 16px;
        }

    .table tbody td[b-o724q5tpk6] {
        border-top: 1px solid var(--border);
        padding: 16px;
        vertical-align: middle;
    }

    .table tbody tr[b-o724q5tpk6] {
        transition: .15s;
    }

        .table tbody tr:hover[b-o724q5tpk6] {
            background: rgba(255,255,255,.03);
        }

/* Status */

.status[b-o724q5tpk6] {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
}

    .status.waiting[b-o724q5tpk6] {
        background: rgba(251,191,36,.15);
        color: #fbbf24;
    }

    .status.plated[b-o724q5tpk6] {
        background: rgba(34,197,94,.15);
        color: #22c55e;
    }

/* Buttons */

.btn-primary[b-o724q5tpk6] {
    min-width: 120px;
    font-weight: 600;
}

/* Responsive */

@media (max-width: 900px) {

    .dashboard-cards[b-o724q5tpk6] {
        grid-template-columns: 1fr;
    }

    .table-toolbar[b-o724q5tpk6] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-o724q5tpk6] {
        max-width: none;
        width: 100%;
    }

    .table-card[b-o724q5tpk6] {
        overflow-x: auto;
    }

    .table[b-o724q5tpk6] {
        min-width: 900px;
    }
}


.actions-cell[b-o724q5tpk6] {
    position: relative;
    width: 170px;
}

.dropdown[b-o724q5tpk6] {
    position: relative;
    display: inline-block;
}

.action-btn[b-o724q5tpk6] {
    width: 135px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    transition: .2s;
}

    .action-btn:hover[b-o724q5tpk6] {
        border-color: var(--primary);
        background: rgba(59,130,246,.08);
    }

.dropdown-menu[b-o724q5tpk6] {
    position: absolute;
    top: 46px;
    right: 0;
    width: 220px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0,0,0,.35);
    z-index: 1000;
    animation: dropdownFade-b-o724q5tpk6 .15s ease;
}

.dropdown-item[b-o724q5tpk6] {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-align: left;
    transition: .15s;
}

    .dropdown-item:hover[b-o724q5tpk6] {
        background: rgba(59,130,246,.08);
    }

    .dropdown-item .oi[b-o724q5tpk6] {
        width: 18px;
    }


.actions-cell[b-o724q5tpk6] {
    position: relative;
    width: 170px;
}

.dropdown[b-o724q5tpk6] {
    position: relative;
    display: inline-block;
}

.action-btn[b-o724q5tpk6] {
    width: 135px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    transition: all .2s ease;
}

    .action-btn:hover[b-o724q5tpk6] {
        border-color: var(--primary);
        background: rgba(59,130,246,.08);
    }

.dropdown-menu[b-o724q5tpk6] {
    position: absolute;
    top: 46px;
    right: 0;
    width: 235px;
    background: #1b1f28;
    border: 1px solid #313743;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    z-index: 1000;
    animation: dropdownFade-b-o724q5tpk6 .15s ease;
}

.dropdown-item[b-o724q5tpk6] {
    width: 100%;
    border: none;
    background: transparent;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    font-size: .95rem;
    font-weight: 500;
    text-align: left;
    transition: all .15s ease;
}

    .dropdown-item .oi[b-o724q5tpk6] {
        width: 18px;
        font-size: 1rem;
    }

    /* Plate Record */

    .dropdown-item.plate .oi[b-o724q5tpk6] {
        color: #22c55e;
    }

    .dropdown-item.plate:hover[b-o724q5tpk6] {
        background: rgba(34,197,94,.12);
        color: #22c55e;
    }

    /* Missing Item */

    .dropdown-item.missing .oi[b-o724q5tpk6] {
        color: #f59e0b;
    }

    .dropdown-item.missing:hover[b-o724q5tpk6] {
        background: rgba(245,158,11,.12);
        color: #f59e0b;
    }

    /* Wholesale */

    .dropdown-item.wholesale .oi[b-o724q5tpk6] {
        color: #3b82f6;
    }

    .dropdown-item.wholesale:hover[b-o724q5tpk6] {
        background: rgba(59,130,246,.12);
        color: #3b82f6;
    }

@keyframes dropdownFade-b-o724q5tpk6 {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownFade-b-o724q5tpk6 {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.modal-backdrop[b-o724q5tpk6] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn-b-o724q5tpk6 .15s;
}

.plate-modal[b-o724q5tpk6] {
    width: 500px;
    max-width: 95%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    animation: modalIn-b-o724q5tpk6 .18s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.modal-header[b-o724q5tpk6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
}

.modal-body[b-o724q5tpk6] {
    padding: 28px;
}

    .modal-body input[readonly][b-o724q5tpk6] {
        background: #1f2633 !important;
        color: #d6dde8 !important;
        opacity: 1;
        cursor: default;
    }


.readonly-field[b-o724q5tpk6] {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 10px;
    background: #1f2633;
    border: 1px solid #3b4556;
    color: #dce3ec;
    font-weight: 600;
}


.modal-body label[b-o724q5tpk6] {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-footer[b-o724q5tpk6] {
    padding: 20px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border);
}

.close-btn[b-o724q5tpk6] {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
}

.modal-body .form-control[b-o724q5tpk6] {
    height: 50px;
}

@keyframes modalIn-b-o724q5tpk6 {

    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Animations */

@keyframes fadeIn-b-o724q5tpk6 {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* ===========================
   Missing Item Modal
=========================== */

.missing-modal[b-o724q5tpk6] {
    width: 650px;
    max-width: 95%;
}

    .missing-modal .modal-header[b-o724q5tpk6] {
        padding: 24px 30px;
    }

        .missing-modal .modal-header h3[b-o724q5tpk6] {
            margin: 0;
            display: flex;
            align-items: center;
            font-size: 1.45rem;
            font-weight: 700;
        }

        .missing-modal .modal-header small[b-o724q5tpk6] {
            display: block;
            margin-top: 6px;
            color: var(--text-muted);
            font-size: .9rem;
        }

/* ===========================
   Summary Card
=========================== */

.record-summary[b-o724q5tpk6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 28px;
    padding: 22px;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.summary-item[b-o724q5tpk6] {
    display: flex;
    flex-direction: column;
}

    .summary-item label[b-o724q5tpk6] {
        font-size: .75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--text-muted);
        margin-bottom: 6px;
    }

    .summary-item span[b-o724q5tpk6] {
        font-size: 1.05rem;
        font-weight: 600;
        color: white;
    }

/* ===========================
   Form Section
=========================== */

.form-section[b-o724q5tpk6] {
    margin-top: 12px;
}

.field-label[b-o724q5tpk6] {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: .95rem;
}

.form-section .form-control[b-o724q5tpk6] {
    height: 54px;
    border-radius: 10px;
    font-size: 1rem;
    transition: .2s;
}

    .form-section .form-control:focus[b-o724q5tpk6] {
        border-color: var(--primary);
        box-shadow: 0 0 0 .2rem rgba(59,130,246,.18);
    }

/* ===========================
   DLR Card
=========================== */

.manual-entry-card[b-o724q5tpk6] {
    margin-top: 24px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(59,130,246,.35);
    background: rgba(59,130,246,.08);
    animation: fadeIn-b-o724q5tpk6 .18s ease;
}

.manual-header[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #60a5fa;
}

.manual-entry-card .form-control[b-o724q5tpk6] {
    margin-top: 6px;
    height: 54px;
    border-radius: 10px;
}

/* ===========================
   Searchable Missing Item
=========================== */

input[list][b-o724q5tpk6] {
    background: var(--card);
}

    input[list][b-o724q5tpk6]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        opacity: .65;
    }

    input[list]:focus[b-o724q5tpk6] {
        border-color: var(--primary);
    }

/* ===========================
   Footer
=========================== */

.missing-modal .modal-footer[b-o724q5tpk6] {
    padding: 22px 30px;
}

.missing-modal .btn-warning[b-o724q5tpk6] {
    min-width: 190px;
    font-weight: 600;
    background: #f59e0b;
    border: none;
    color: white;
}

    .missing-modal .btn-warning:hover[b-o724q5tpk6] {
        background: #d97706;
    }

.missing-modal .btn-outline-secondary[b-o724q5tpk6] {
    min-width: 120px;
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 700px) {

    .record-summary[b-o724q5tpk6] {
        grid-template-columns: 1fr;
    }

    .missing-modal[b-o724q5tpk6] {
        width: 95%;
    }

        .missing-modal .modal-footer[b-o724q5tpk6] {
            flex-direction: column-reverse;
        }

            .missing-modal .modal-footer .btn[b-o724q5tpk6] {
                width: 100%;
            }
}



/* ===========================
   Missing Item Search
=========================== */

.missing-search[b-o724q5tpk6] {
    position: relative;
}

.search-icon[b-o724q5tpk6] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
}

.missing-search-box[b-o724q5tpk6] {
    height: 56px !important;
    padding-left: 48px !important;
    border-radius: 12px;
    font-size: 1rem;
    background: #1f2633;
    border: 1px solid #394150;
    transition: .2s;
}

    .missing-search-box:focus[b-o724q5tpk6] {
        border-color: var(--primary);
        box-shadow: 0 0 0 .2rem rgba(59,130,246,.15);
    }

    .missing-search-box[b-o724q5tpk6]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        opacity: .75;
    }

/* ===========================
   Selected Item Card
=========================== */

.selected-item-card[b-o724q5tpk6] {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(245,158,11,.35);
    background: rgba(245,158,11,.08);
    animation: fadeIn-b-o724q5tpk6 .15s ease;
}

.selected-label[b-o724q5tpk6] {
    display: block;
    color: #fbbf24;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.selected-item-card h4[b-o724q5tpk6] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
}

/* ===========================
   DLR Card
=========================== */

.manual-entry-card[b-o724q5tpk6] {
    margin-top: 22px;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(59,130,246,.30);
    background: rgba(59,130,246,.08);
    animation: fadeIn-b-o724q5tpk6 .15s ease;
}

.manual-header[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #60a5fa;
}

.manual-description[b-o724q5tpk6] {
    margin: 10px 0 16px;
    color: var(--text-muted);
    line-height: 1.5;
}

.manual-textbox[b-o724q5tpk6] {
    height: 54px !important;
    border-radius: 10px;
}





/* ===========================
   Comments Modal
=========================== */

.comments-modal[b-o724q5tpk6] {
    width: 700px;
    max-width: 95%;
}

.comments-list[b-o724q5tpk6] {
    max-height: 380px;
    overflow-y: auto;
    margin-bottom: 24px;
    padding-right: 6px;
}

.comment-card[b-o724q5tpk6] {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}

.comment-header[b-o724q5tpk6] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comment-user[b-o724q5tpk6] {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.comment-date[b-o724q5tpk6] {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.comment-body[b-o724q5tpk6] {
    white-space: pre-wrap;
    line-height: 1.6;
    color: var(--text);
}

.new-comment-section[b-o724q5tpk6] {
    margin-top: 20px;
}

.comment-textarea[b-o724q5tpk6] {
    min-height: 110px;
    resize: vertical;
}

.empty-comments[b-o724q5tpk6] {
    text-align: center;
    padding: 55px 20px;
    color: var(--text-muted);
}

    .empty-comments .oi[b-o724q5tpk6] {
        font-size: 2.5rem;
        margin-bottom: 12px;
        display: block;
    }

    .empty-comments h4[b-o724q5tpk6] {
        color: white;
        margin-bottom: 8px;
    }



.comment-link[b-o724q5tpk6] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
}

.comment-count[b-o724q5tpk6] {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .75rem;
}



.new-comment-section[b-o724q5tpk6] {
    position: relative;
}

.mention-dropdown[b-o724q5tpk6] {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: #1d2430;
    border: 1px solid #394150;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    max-height: 260px;
    overflow-y: auto;
    z-index: 10000;
}

.mention-user[b-o724q5tpk6] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: none;
    border: none;
    color: white;
    transition: .15s;
    text-align: left;
}

    .mention-user:hover[b-o724q5tpk6] {
        background: #2d3748;
    }

.mention-avatar[b-o724q5tpk6] {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #3b82f6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.mention-name[b-o724q5tpk6] {
    font-weight: 600;
}

.mention-email[b-o724q5tpk6] {
    color: #94a3b8;
    font-size: .8rem;
}




.page-loading[b-o724q5tpk6] {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

    .page-loading .spinner-border[b-o724q5tpk6] {
        width: 3.5rem;
        height: 3.5rem;
    }

.loading-text[b-o724q5tpk6] {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

/* ===========================
   Plate Breakdown Source
=========================== */

.breakdown-select[b-o724q5tpk6] {
    height: 50px;
    border-radius: 10px;
    background: #1f2633;
    border: 1px solid #3b4556;
    color: var(--text);
}

    .breakdown-select:focus[b-o724q5tpk6] {
        border-color: var(--primary);
        box-shadow: 0 0 0 .2rem rgba(59,130,246,.18);
    }

.breakdown-help[b-o724q5tpk6] {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.4;
}


/* ===========================
   Excel Export Loading Overlay
=========================== */

.export-loading-overlay[b-o724q5tpk6] {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 13, 22, .78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: wait;
}

.export-loading-card[b-o724q5tpk6] {
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
    animation: exportOverlayIn-b-o724q5tpk6 .18s ease;
}

.export-loading-spinner[b-o724q5tpk6] {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border: 5px solid rgba(255, 255, 255, .14);
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: exportSpin-b-o724q5tpk6 .75s linear infinite;
}

.export-loading-title[b-o724q5tpk6] {
    margin-bottom: 7px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
}

.export-loading-message[b-o724q5tpk6] {
    max-width: 310px;
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.5;
}

@keyframes exportSpin-b-o724q5tpk6 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes exportOverlayIn-b-o724q5tpk6 {
    from {
        opacity: 0;
        transform: scale(.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .export-loading-overlay[b-o724q5tpk6] {
        padding: 16px;
    }

    .export-loading-card[b-o724q5tpk6] {
        padding: 28px 20px;
    }

    .export-loading-spinner[b-o724q5tpk6] {
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .export-loading-card[b-o724q5tpk6] {
        animation: none;
    }

    .export-loading-spinner[b-o724q5tpk6] {
        animation-duration: 1.25s;
    }
}


/* =============================================================
   RETAIL PLATING VISUAL REFRESH + BREAKDOWN FILTERS
   ============================================================= */

.scan-page[b-o724q5tpk6] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
    padding: 0 clamp(8px, 1.4vw, 24px) 36px;
    box-sizing: border-box;
}

/* Hero */
.retail-hero[b-o724q5tpk6] {
    position: relative;
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: clamp(24px, 3vw, 36px);
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, .18);
    border-radius: 22px;
    background: radial-gradient(circle at 84% 20%, rgba(59, 130, 246, .18), transparent 30%), radial-gradient(circle at 10% 120%, rgba(34, 197, 94, .10), transparent 34%), linear-gradient(135deg, rgba(24, 32, 45, .98), rgba(18, 25, 36, .98));
    box-shadow: 0 20px 55px rgba(0, 0, 0, .24);
}

    .retail-hero[b-o724q5tpk6]::after {
        content: "";
        position: absolute;
        right: -80px;
        bottom: -105px;
        width: 280px;
        height: 280px;
        border: 1px solid rgba(96, 165, 250, .12);
        border-radius: 50%;
    }

.hero-copy[b-o724q5tpk6] {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-eyebrow[b-o724q5tpk6] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #93c5fd;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-eyebrow-dot[b-o724q5tpk6] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 6px rgba(96, 165, 250, .10);
}

.scan-page .retail-hero h1[b-o724q5tpk6] {
    margin: 0 0 8px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.05;
    text-align: left;
    letter-spacing: -.03em;
}

.retail-hero .page-description[b-o724q5tpk6] {
    max-width: 720px;
    margin: 0;
    text-align: left;
    color: #9aa9bd;
    font-size: 1rem;
}

.hero-mark[b-o724q5tpk6] {
    position: relative;
    z-index: 1;
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, .28);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(59, 130, 246, .20), rgba(59, 130, 246, .05));
    color: #bfdbfe;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 35px rgba(0,0,0,.22);
}

/* Metric cards */
.dashboard-cards[b-o724q5tpk6] {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.dashboard-card[b-o724q5tpk6] {
    position: relative;
    min-width: 0;
    padding: 20px 20px 18px;
    text-align: left;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(31, 41, 55, .96), rgba(24, 32, 45, .96));
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

    .dashboard-card[b-o724q5tpk6]::after {
        content: "";
        position: absolute;
        right: -32px;
        bottom: -42px;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: rgba(255,255,255,.025);
    }

.dashboard-card-header[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.dashboard-card .dashboard-label[b-o724q5tpk6] {
    margin: 0;
    color: #9aa9bd;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dashboard-card h2[b-o724q5tpk6] {
    position: relative;
    z-index: 1;
    margin: 0 0 5px;
    font-size: clamp(1.9rem, 2.4vw, 2.35rem);
    line-height: 1;
}

.dashboard-caption[b-o724q5tpk6] {
    position: relative;
    z-index: 1;
    color: #7f8da1;
    font-size: .78rem;
}

.metric-dot[b-o724q5tpk6] {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 5px rgba(96, 165, 250, .09);
}

.dashboard-card.total[b-o724q5tpk6] {
    border-top: 2px solid rgba(96, 165, 250, .75);
}

    .dashboard-card.total h2[b-o724q5tpk6] {
        color: #e5eefb;
    }

.dashboard-card.waiting[b-o724q5tpk6] {
    border-top: 2px solid rgba(251, 191, 36, .80);
}

    .dashboard-card.waiting .metric-dot[b-o724q5tpk6] {
        background: #fbbf24;
        box-shadow: 0 0 0 5px rgba(251, 191, 36, .09);
    }

.dashboard-card.plated[b-o724q5tpk6] {
    border-top: 2px solid rgba(34, 197, 94, .80);
}

    .dashboard-card.plated .metric-dot[b-o724q5tpk6] {
        background: #22c55e;
        box-shadow: 0 0 0 5px rgba(34, 197, 94, .09);
    }

.dashboard-card.move-plating[b-o724q5tpk6] {
    border-top: 2px solid rgba(59, 130, 246, .85);
}

    .dashboard-card.move-plating h2[b-o724q5tpk6] {
        color: #60a5fa;
    }

    .dashboard-card.move-plating .metric-dot[b-o724q5tpk6] {
        background: #3b82f6;
        box-shadow: 0 0 0 5px rgba(59, 130, 246, .09);
    }

.dashboard-card.move-missing[b-o724q5tpk6] {
    border-top: 2px solid rgba(245, 158, 11, .85);
}

    .dashboard-card.move-missing h2[b-o724q5tpk6] {
        color: #fbbf24;
    }

    .dashboard-card.move-missing .metric-dot[b-o724q5tpk6] {
        background: #f59e0b;
        box-shadow: 0 0 0 5px rgba(245, 158, 11, .09);
    }

/* Main work queue card */
.table-card[b-o724q5tpk6] {
    min-width: 0;
    padding: clamp(16px, 2vw, 26px);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(31, 41, 55, .98), rgba(26, 34, 47, .98));
    box-shadow: 0 18px 48px rgba(0,0,0,.24);
}

.table-card-header[b-o724q5tpk6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.section-kicker[b-o724q5tpk6] {
    margin-bottom: 4px;
    color: #60a5fa;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.table-card-header h2[b-o724q5tpk6] {
    margin: 0 0 5px;
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 750;
}

.table-card-header p[b-o724q5tpk6] {
    margin: 0;
    color: var(--text-muted);
    font-size: .88rem;
}

.records-shown[b-o724q5tpk6] {
    flex: 0 0 auto;
    min-width: 112px;
    padding: 10px 14px;
    border: 1px solid rgba(96,165,250,.18);
    border-radius: 12px;
    background: rgba(59,130,246,.07);
    text-align: center;
}

    .records-shown strong[b-o724q5tpk6],
    .records-shown span[b-o724q5tpk6] {
        display: block;
    }

    .records-shown strong[b-o724q5tpk6] {
        color: #bfdbfe;
        font-size: 1.15rem;
    }

    .records-shown span[b-o724q5tpk6] {
        margin-top: 1px;
        color: #8492a6;
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

/* Filter panel */
.filter-panel[b-o724q5tpk6] {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 15px;
    background: rgba(15, 23, 42, .28);
}

.table-toolbar[b-o724q5tpk6] {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 16px;
    align-items: end;
    margin: 0;
}

.toolbar-group[b-o724q5tpk6] {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(120px, .65fr) minmax(155px, 1fr) minmax(205px, 1.25fr);
    gap: 12px;
}

.toolbar-actions[b-o724q5tpk6] {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    gap: 10px;
    align-items: end;
}

.filter-field[b-o724q5tpk6],
.search-field[b-o724q5tpk6] {
    min-width: 0;
}

    .filter-field label[b-o724q5tpk6],
    .search-field label[b-o724q5tpk6] {
        display: block;
        margin: 0 0 6px 2px;
        color: #8fa0b6;
        font-size: .69rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

.filter-select[b-o724q5tpk6],
.search-box[b-o724q5tpk6] {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 44px;
    border: 1px solid #384459;
    border-radius: 10px;
    background-color: #1b2432;
    color: var(--text);
    font-size: .88rem;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

    .filter-select:focus[b-o724q5tpk6],
    .search-box:focus[b-o724q5tpk6] {
        border-color: #3b82f6;
        background-color: #1d2736;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
    }

.search-input-wrap[b-o724q5tpk6] {
    position: relative;
}

.search-prefix[b-o724q5tpk6] {
    position: absolute;
    left: 13px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    color: #718096;
    font-size: .9rem;
    pointer-events: none;
}

.search-input-wrap .search-box[b-o724q5tpk6] {
    padding-left: 38px;
}

.clear-filters-btn[b-o724q5tpk6],
.export-btn[b-o724q5tpk6] {
    height: 44px;
    border-radius: 10px;
    white-space: nowrap;
}

.clear-filters-btn[b-o724q5tpk6] {
    min-width: 76px;
    padding: 0 14px;
    border: 1px solid #3b4556;
    background: rgba(255,255,255,.025);
    color: #c7d2e2;
    font-weight: 700;
    font-size: .84rem;
    transition: .15s ease;
}

    .clear-filters-btn:hover:not(:disabled)[b-o724q5tpk6] {
        border-color: #64748b;
        background: rgba(148,163,184,.08);
        color: white;
    }

    .clear-filters-btn:disabled[b-o724q5tpk6] {
        opacity: .38;
        cursor: not-allowed;
    }

.export-btn[b-o724q5tpk6] {
    min-width: 148px;
    padding: 0 17px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 8px 20px rgba(22, 163, 74, .18);
}

/* Table polish */
.table[b-o724q5tpk6] {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
}

    .table thead th[b-o724q5tpk6] {
        padding: 12px 11px;
        background: rgba(15, 23, 42, .42);
        border-top: 1px solid rgba(148,163,184,.10);
        border-bottom: 1px solid rgba(148,163,184,.16);
        color: #8fa0b6;
        font-size: .7rem;
        letter-spacing: .055em;
        white-space: nowrap;
    }

        .table thead th:first-child[b-o724q5tpk6] {
            border-top-left-radius: 10px;
        }

        .table thead th:last-child[b-o724q5tpk6] {
            border-top-right-radius: 10px;
        }

    .table tbody td[b-o724q5tpk6] {
        padding: 13px 11px;
        font-size: .86rem;
    }

    .table tbody tr[b-o724q5tpk6] {
        transition: background .15s ease, transform .15s ease;
    }

        .table tbody tr:hover[b-o724q5tpk6] {
            background: rgba(96, 165, 250, .035);
        }

.breakdown-badge[b-o724q5tpk6] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.breakdown-dot[b-o724q5tpk6] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.breakdown-badge.plating[b-o724q5tpk6] {
    border-color: rgba(59, 130, 246, .22);
    background: rgba(59, 130, 246, .10);
    color: #60a5fa;
}

.breakdown-badge.missing-items[b-o724q5tpk6] {
    border-color: rgba(245, 158, 11, .24);
    background: rgba(245, 158, 11, .10);
    color: #fbbf24;
}

.breakdown-badge.none[b-o724q5tpk6] {
    border-color: rgba(148, 163, 184, .15);
    background: rgba(148, 163, 184, .06);
    color: #8b99ac;
}

.breakdown-badge.review[b-o724q5tpk6] {
    border-color: rgba(239, 68, 68, .25);
    background: rgba(239, 68, 68, .10);
    color: #f87171;
}

.comment-link[b-o724q5tpk6] {
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 8px;
}

    .comment-link:hover[b-o724q5tpk6] {
        border-color: rgba(96,165,250,.16);
        background: rgba(59,130,246,.07);
    }

.action-btn[b-o724q5tpk6] {
    background: rgba(15, 23, 42, .34);
    border-color: #3a4659;
}

/* Keep wide data inside the card instead of widening the entire page. */
.table-card[b-o724q5tpk6] {
    overflow-x: auto;
}

/* Responsive */
@media (max-width: 1280px) {
    .table-toolbar[b-o724q5tpk6] {
        grid-template-columns: 1fr;
    }

    .toolbar-actions[b-o724q5tpk6] {
        grid-template-columns: minmax(220px, 1fr) auto auto;
    }
}

@media (max-width: 900px) {
    .scan-page[b-o724q5tpk6] {
        padding-inline: 8px;
    }

    .retail-hero[b-o724q5tpk6] {
        min-height: 0;
        padding: 24px;
    }

    .hero-mark[b-o724q5tpk6] {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
        border-radius: 19px;
        font-size: 1.35rem;
    }

    .dashboard-cards[b-o724q5tpk6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table-card-header[b-o724q5tpk6] {
        align-items: stretch;
    }

    .toolbar-group[b-o724q5tpk6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .breakdown-filter[b-o724q5tpk6] {
        grid-column: 1 / -1;
    }

    .toolbar-actions[b-o724q5tpk6] {
        grid-template-columns: 1fr auto auto;
    }
}

@media (max-width: 650px) {
    .retail-hero[b-o724q5tpk6] {
        padding: 20px;
        border-radius: 17px;
    }

    .hero-mark[b-o724q5tpk6] {
        display: none;
    }

    .retail-hero .page-description[b-o724q5tpk6] {
        font-size: .9rem;
    }

    .dashboard-cards[b-o724q5tpk6] {
        grid-template-columns: 1fr;
    }

    .dashboard-card[b-o724q5tpk6] {
        padding: 17px;
    }

    .table-card-header[b-o724q5tpk6] {
        flex-direction: column;
    }

    .records-shown[b-o724q5tpk6] {
        align-self: flex-start;
    }

    .filter-panel[b-o724q5tpk6] {
        padding: 11px;
    }

    .toolbar-group[b-o724q5tpk6],
    .toolbar-actions[b-o724q5tpk6] {
        grid-template-columns: 1fr;
    }

    .breakdown-filter[b-o724q5tpk6] {
        grid-column: auto;
    }

    .clear-filters-btn[b-o724q5tpk6],
    .export-btn[b-o724q5tpk6] {
        width: 100%;
    }
}

/* =============================================================
   PERFORMANCE / NATIVE ACTION MENU / PAGINATION
   ============================================================= */

/* The Actions control is a native <details> element. Opening and closing it
   happens entirely in the browser, so Blazor Server does not perform a
   SignalR round-trip or rerender the table just to show the menu. */
.action-dropdown[b-o724q5tpk6] {
    position: relative;
    display: inline-block;
    width: 138px;
}

    .action-dropdown > summary[b-o724q5tpk6] {
        list-style: none;
    }

        .action-dropdown > summary[b-o724q5tpk6]::-webkit-details-marker {
            display: none;
        }

    .action-dropdown > .action-btn[b-o724q5tpk6] {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        width: 100%;
        cursor: pointer;
        user-select: none;
    }

        .action-dropdown > .action-btn[b-o724q5tpk6]::marker {
            display: none;
            content: "";
        }

    .action-dropdown:not([open]) > .dropdown-menu[b-o724q5tpk6] {
        display: none !important;
    }

    .action-dropdown[open] > .dropdown-menu[b-o724q5tpk6] {
        display: block !important;
        animation: dropdownFade-b-o724q5tpk6 .07s ease-out;
    }

    .action-dropdown[open] .action-btn[b-o724q5tpk6] {
        border-color: rgba(96, 165, 250, .65);
        background: rgba(59, 130, 246, .12);
    }

.action-chevron[b-o724q5tpk6] {
    margin-left: 2px;
    transition: transform .1s ease;
}

.action-dropdown[open] .action-chevron[b-o724q5tpk6] {
    transform: rotate(180deg);
}

.action-dropdown > .dropdown-menu[b-o724q5tpk6] {
    top: calc(100% + 7px);
    right: 0;
    left: auto;
    margin: 0;
}

/* Page-size control lives next to search/reset/export. */
.page-size-field[b-o724q5tpk6] {
    flex: 0 0 auto;
    min-width: 82px;
}

    .page-size-field label[b-o724q5tpk6] {
        display: block;
        margin-bottom: 7px;
        color: var(--text-muted);
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .07em;
        text-transform: uppercase;
    }

.page-size-select[b-o724q5tpk6] {
    width: 82px;
    height: 48px;
    border-radius: 10px;
}

/* Pagination keeps the live render tree small even when the database contains
   hundreds or thousands of retail-plating records. */
.table-pagination[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 16px 4px 2px;
    border-top: 1px solid rgba(148, 163, 184, .14);
}

.pagination-summary[b-o724q5tpk6] {
    color: var(--text-muted);
    font-size: .87rem;
}

    .pagination-summary strong[b-o724q5tpk6],
    .pagination-page strong[b-o724q5tpk6] {
        color: var(--text);
        font-weight: 750;
    }

.pagination-controls[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-page[b-o724q5tpk6] {
    min-width: 126px;
    text-align: center;
    color: var(--text-muted);
    font-size: .86rem;
}

.pagination-btn[b-o724q5tpk6] {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 9px;
    background: rgba(255, 255, 255, .025);
    color: var(--text);
    font-size: .84rem;
    font-weight: 700;
    transition: border-color .12s ease, background .12s ease, transform .12s ease;
}

    .pagination-btn:hover:not(:disabled)[b-o724q5tpk6] {
        border-color: rgba(96, 165, 250, .55);
        background: rgba(59, 130, 246, .1);
        transform: translateY(-1px);
    }

    .pagination-btn:disabled[b-o724q5tpk6] {
        opacity: .38;
        cursor: not-allowed;
    }

@media (max-width: 1050px) {
    .page-size-field[b-o724q5tpk6] {
        flex: 1 1 82px;
    }

    .page-size-select[b-o724q5tpk6] {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .action-dropdown[b-o724q5tpk6] {
        width: 100%;
    }

        .action-dropdown > .dropdown-menu[b-o724q5tpk6] {
            position: static;
            width: 100%;
            margin-top: 8px;
        }

    .table-pagination[b-o724q5tpk6] {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-summary[b-o724q5tpk6] {
        text-align: center;
    }

    .pagination-controls[b-o724q5tpk6] {
        justify-content: space-between;
    }

    .pagination-btn[b-o724q5tpk6] {
        flex: 1 1 0;
    }

    .pagination-page[b-o724q5tpk6] {
        min-width: 112px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .action-dropdown[open] > .dropdown-menu[b-o724q5tpk6],
    .action-chevron[b-o724q5tpk6],
    .pagination-btn[b-o724q5tpk6] {
        animation: none !important;
        transition: none !important;
    }
}

/* =============================================================
   TOOLBAR SEARCH / EXPORT ALIGNMENT FIX
   Keep Search Records and Export Excel on the same row.
   ============================================================= */

.toolbar-actions[b-o724q5tpk6] {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 82px 86px 148px;
    gap: 10px;
    align-items: end;
}

    .toolbar-actions .search-field[b-o724q5tpk6] {
        min-width: 0;
    }

    .toolbar-actions .search-input-wrap[b-o724q5tpk6],
    .toolbar-actions .search-box[b-o724q5tpk6] {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .toolbar-actions .page-size-field[b-o724q5tpk6] {
        width: 82px;
        min-width: 82px;
    }

    .toolbar-actions .page-size-select[b-o724q5tpk6] {
        width: 100%;
        height: 44px;
    }

    .toolbar-actions .clear-filters-btn[b-o724q5tpk6],
    .toolbar-actions .export-btn[b-o724q5tpk6] {
        width: auto;
        margin: 0;
        align-self: end;
    }

    .toolbar-actions .clear-filters-btn[b-o724q5tpk6] {
        min-width: 86px;
    }

    .toolbar-actions .export-btn[b-o724q5tpk6] {
        min-width: 148px;
    }

/* The filter groups can move above the action row on narrower layouts,
   but Search and Export stay together horizontally. */
@media (max-width: 1280px) {
    .table-toolbar[b-o724q5tpk6] {
        grid-template-columns: 1fr;
    }

    .toolbar-actions[b-o724q5tpk6] {
        grid-template-columns: minmax(240px, 1fr) 82px 86px 148px;
    }
}

@media (max-width: 720px) {
    .toolbar-actions[b-o724q5tpk6] {
        grid-template-columns: minmax(0, 1fr) 148px;
        grid-template-areas:
            "search export"
            "rows reset";
        gap: 10px;
    }

        .toolbar-actions .search-field[b-o724q5tpk6] {
            grid-area: search;
        }

        .toolbar-actions .export-btn[b-o724q5tpk6] {
            grid-area: export;
            width: 148px;
            min-width: 148px;
        }

        .toolbar-actions .page-size-field[b-o724q5tpk6] {
            grid-area: rows;
            width: 100%;
            min-width: 0;
        }

        .toolbar-actions .clear-filters-btn[b-o724q5tpk6] {
            grid-area: reset;
            width: 148px;
            min-width: 148px;
        }
}

@media (max-width: 430px) {
    .toolbar-actions[b-o724q5tpk6] {
        grid-template-columns: minmax(0, 1fr) 132px;
    }

        .toolbar-actions .export-btn[b-o724q5tpk6],
        .toolbar-actions .clear-filters-btn[b-o724q5tpk6] {
            width: 132px;
            min-width: 132px;
            padding-left: 10px;
            padding-right: 10px;
        }

            .toolbar-actions .export-btn .me-2[b-o724q5tpk6] {
                margin-right: 4px !important;
            }
}

/* =============================================================
   UPDATE RECORD / BREAKDOWN DESTINATION
   Flat route selector: clean, obvious, full-row click targets.
   ============================================================= */

.update-record-modal[b-o724q5tpk6] {
    width: 590px;
    max-width: calc(100vw - 28px);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .17);
    border-radius: 18px;
    background: #202a39;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .58);
}

.update-record-header[b-o724q5tpk6] {
    position: relative;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(148, 163, 184, .13);
    background: linear-gradient(90deg, rgba(59, 130, 246, .08), transparent 45%), #202a39;
}

    .update-record-header[b-o724q5tpk6]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 24px;
        width: 92px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #60a5fa, rgba(96, 165, 250, 0));
    }

.update-record-heading[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    gap: 11px;
}

    .update-record-heading h3[b-o724q5tpk6] {
        margin: 0;
        color: #f7f9fc;
        font-size: 1.28rem;
        font-weight: 800;
        letter-spacing: -.025em;
    }

.update-record-heading-icon[b-o724q5tpk6] {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, .24);
    border-radius: 10px;
    background: rgba(59, 130, 246, .10);
    color: #70adff;
    font-size: .9rem;
}

.update-record-modal .close-btn[b-o724q5tpk6] {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #94a3b8;
    font-size: 1rem;
    transition: background .14s ease, border-color .14s ease, color .14s ease;
}

    .update-record-modal .close-btn:hover[b-o724q5tpk6] {
        border-color: rgba(148, 163, 184, .16);
        background: rgba(255, 255, 255, .04);
        color: #f8fafc;
    }

.update-record-body[b-o724q5tpk6] {
    padding: 22px 24px 24px !important;
}

/* Compact record context strip */
.update-record-summary[b-o724q5tpk6] {
    display: grid;
    grid-template-columns: minmax(0, .75fr) 1px minmax(0, .75fr) 1px minmax(0, 1.5fr);
    align-items: stretch;
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 13px;
    background: rgba(15, 23, 42, .18);
}

.update-summary-item[b-o724q5tpk6] {
    min-width: 0;
    padding: 14px 15px;
}

.update-summary-label[b-o724q5tpk6] {
    display: block;
    margin-bottom: 5px;
    color: #7f8da1;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.update-summary-item strong[b-o724q5tpk6] {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #f4f7fb;
    font-size: .92rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.update-summary-divider[b-o724q5tpk6] {
    width: 1px;
    background: rgba(148, 163, 184, .10);
}

/* Destination selector */
.route-section[b-o724q5tpk6] {
    min-width: 0;
}

.route-section-heading[b-o724q5tpk6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #b7c3d4;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.route-required[b-o724q5tpk6] {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border: 1px solid rgba(148, 163, 184, .12);
    border-radius: 999px;
    background: rgba(148, 163, 184, .045);
    color: #7f8da1;
    font-size: .61rem;
    letter-spacing: .04em;
}

.route-options[b-o724q5tpk6] {
    display: grid;
    gap: 9px;
}

.route-option[b-o724q5tpk6] {
    position: relative;
    min-width: 0;
    min-height: 64px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 26px;
    align-items: center;
    gap: 13px;
    margin: 0;
    padding: 12px 14px;
    overflow: hidden;
    border: 1px solid #3a4659;
    border-radius: 12px;
    background: #182231;
    color: #eef4fb;
    cursor: pointer;
    user-select: none;
    transition: border-color .14s ease, background .14s ease, box-shadow .14s ease, transform .14s ease;
}

    .route-option[b-o724q5tpk6]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 3px;
        opacity: 0;
        transition: opacity .14s ease;
    }

    .route-option[b-o724q5tpk6]::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 96px;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity .14s ease;
    }

    .route-option:hover[b-o724q5tpk6] {
        transform: translateY(-1px);
        background: #1b2738;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
    }

.route-option-plating:hover[b-o724q5tpk6] {
    border-color: rgba(96, 165, 250, .48);
}

.route-option-missing:hover[b-o724q5tpk6] {
    border-color: rgba(245, 158, 11, .48);
}

.route-option-plating[b-o724q5tpk6]::before {
    background: #3b82f6;
}

.route-option-missing[b-o724q5tpk6]::before {
    background: #f59e0b;
}

.route-option-plating[b-o724q5tpk6]::after {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, .08));
}

.route-option-missing[b-o724q5tpk6]::after {
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, .075));
}

.route-option.selected[b-o724q5tpk6]::before,
.route-option.selected[b-o724q5tpk6]::after {
    opacity: 1;
}

.route-option.selected.route-option-plating[b-o724q5tpk6] {
    border-color: rgba(96, 165, 250, .72);
    background: linear-gradient(90deg, rgba(59, 130, 246, .10), #182231 42%);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, .07), 0 10px 24px rgba(37, 99, 235, .08);
}

.route-option.selected.route-option-missing[b-o724q5tpk6] {
    border-color: rgba(245, 158, 11, .68);
    background: linear-gradient(90deg, rgba(245, 158, 11, .09), #182231 42%);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, .06), 0 10px 24px rgba(180, 83, 9, .07);
}

.route-option-input[b-o724q5tpk6] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.route-option:has(.route-option-input:focus-visible)[b-o724q5tpk6] {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

.route-option-icon[b-o724q5tpk6] {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    font-size: .95rem;
}

.route-option-plating .route-option-icon[b-o724q5tpk6] {
    color: #69a8ff;
}

.route-option-missing .route-option-icon[b-o724q5tpk6] {
    color: #fbbf24;
}

.route-option.selected.route-option-plating .route-option-icon[b-o724q5tpk6] {
    border-color: rgba(96, 165, 250, .28);
    background: rgba(59, 130, 246, .10);
}

.route-option.selected.route-option-missing .route-option-icon[b-o724q5tpk6] {
    border-color: rgba(245, 158, 11, .26);
    background: rgba(245, 158, 11, .09);
}

.route-option-label[b-o724q5tpk6] {
    position: relative;
    z-index: 1;
    min-width: 0;
    color: #edf3fb;
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
}

.route-option-state[b-o724q5tpk6] {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #49566a;
    border-radius: 7px;
    background: rgba(15, 23, 42, .70);
    color: transparent;
    font-size: .65rem;
    transition: border-color .14s ease, background .14s ease, color .14s ease, transform .14s ease, box-shadow .14s ease;
}

.route-option.selected .route-option-state[b-o724q5tpk6] {
    color: white;
    transform: scale(1.04);
}

.route-option.selected.route-option-plating .route-option-state[b-o724q5tpk6] {
    border-color: #3b82f6;
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .10);
}

.route-option.selected.route-option-missing .route-option-state[b-o724q5tpk6] {
    border-color: #f59e0b;
    background: #d97706;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .09);
}

.update-record-footer[b-o724q5tpk6] {
    padding: 17px 24px 20px !important;
    border-top: 1px solid rgba(148, 163, 184, .12);
    background: rgba(15, 23, 42, .13);
}

    .update-record-footer .btn[b-o724q5tpk6] {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: .9rem;
        font-weight: 750;
    }

.update-cancel-btn[b-o724q5tpk6] {
    min-width: 88px;
    padding: 0 17px;
    border: 1px solid #465267;
    background: transparent;
    color: #e2e8f0;
}

    .update-cancel-btn:hover[b-o724q5tpk6] {
        border-color: #64748b;
        background: rgba(255, 255, 255, .04);
        color: white;
    }

.update-save-btn[b-o724q5tpk6] {
    min-width: 104px;
    padding: 0 18px;
    border: 1px solid rgba(34, 197, 94, .24);
    background: linear-gradient(135deg, #17864b, #13703d);
    color: white;
    box-shadow: 0 7px 18px rgba(22, 163, 74, .14);
    transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}

    .update-save-btn:hover:not(:disabled)[b-o724q5tpk6] {
        transform: translateY(-1px);
        box-shadow: 0 10px 23px rgba(22, 163, 74, .20);
    }

    .update-save-btn:disabled[b-o724q5tpk6] {
        opacity: .42;
        cursor: not-allowed;
        box-shadow: none;
    }

@media (max-width: 620px) {
    .update-record-modal[b-o724q5tpk6] {
        max-width: calc(100vw - 16px);
        border-radius: 15px;
    }

    .update-record-header[b-o724q5tpk6],
    .update-record-body[b-o724q5tpk6],
    .update-record-footer[b-o724q5tpk6] {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .update-record-summary[b-o724q5tpk6] {
        grid-template-columns: 1fr;
    }

    .update-summary-divider[b-o724q5tpk6] {
        width: auto;
        height: 1px;
        margin-inline: 14px;
    }

    .route-option-label[b-o724q5tpk6] {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .route-option[b-o724q5tpk6],
    .route-option[b-o724q5tpk6]::before,
    .route-option[b-o724q5tpk6]::after,
    .route-option-state[b-o724q5tpk6],
    .update-record-footer .btn[b-o724q5tpk6],
    .update-record-modal .close-btn[b-o724q5tpk6] {
        transition: none !important;
    }
}

/* =============================================================
   IN PROCESS FILTER + UPDATE RECORD STATUS
   ============================================================= */

/* Keep the original three-filter layout: Queue, Dealership, Breakdown. */
.toolbar-group[b-o724q5tpk6] {
    grid-template-columns: minmax(120px, .65fr) minmax(155px, 1fr) minmax(205px, 1.25fr);
}

.process-section[b-o724q5tpk6] {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, .12);
}

.route-option-process[b-o724q5tpk6]::before {
    background: #8b5cf6;
}

.route-option-process[b-o724q5tpk6]::after {
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .08));
}

.route-option-process:hover[b-o724q5tpk6] {
    border-color: rgba(167, 139, 250, .50);
}

.route-option-process .route-option-icon[b-o724q5tpk6] {
    color: #a78bfa;
}

.route-option.selected.route-option-process[b-o724q5tpk6] {
    border-color: rgba(167, 139, 250, .72);
    background: linear-gradient(90deg, rgba(139, 92, 246, .10), #182231 42%);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, .07), 0 10px 24px rgba(109, 40, 217, .08);
}

    .route-option.selected.route-option-process .route-option-icon[b-o724q5tpk6] {
        border-color: rgba(167, 139, 250, .28);
        background: rgba(139, 92, 246, .10);
    }

    .route-option.selected.route-option-process .route-option-state[b-o724q5tpk6] {
        border-color: #8b5cf6;
        background: #7c3aed;
        box-shadow: 0 0 0 3px rgba(139, 92, 246, .10);
    }

@media (max-width: 1050px) {
    .toolbar-group[b-o724q5tpk6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .breakdown-filter[b-o724q5tpk6],
    .in-process-filter[b-o724q5tpk6] {
        grid-column: auto;
    }
}

@media (max-width: 650px) {
    .toolbar-group[b-o724q5tpk6] {
        grid-template-columns: 1fr;
    }
}


/* =============================================================
   MISSING ITEM - LIST ONLY
   ============================================================= */

/* Missing items are chosen from a real select control now, not a datalist,
   so the user cannot enter arbitrary missing-item text. */
.missing-select-box[b-o724q5tpk6] {
    padding-left: 16px !important;
    padding-right: 42px !important;
    cursor: pointer;
}

    .missing-select-box:invalid[b-o724q5tpk6] {
        color: var(--text-muted);
    }
/* /Pages/Auto/ScanTitle.razor.rz.scp.css */
.scan-page[b-gc0l1dumy5] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-header[b-gc0l1dumy5] {
    text-align: center;
    margin-bottom: 40px;
}

    .page-header h1[b-gc0l1dumy5] {
        font-size: 2.3rem;
        margin-bottom: 10px;
    }

    .page-header p[b-gc0l1dumy5] {
        max-width: 550px;
        margin: auto;
        color: var(--text-muted);
    }

.scan-card[b-gc0l1dumy5] {
    width: 100%;
    max-width: 700px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px;
    text-align: center;
}

.step-header[b-gc0l1dumy5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
}

.step-number[b-gc0l1dumy5] {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.35rem;
    font-weight: bold;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
}

    .step-number.active[b-gc0l1dumy5] {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    .step-number.completed[b-gc0l1dumy5] {
        background: var(--success);
        border-color: var(--success);
        color: white;
    }

.stock-input[b-gc0l1dumy5] {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

    .stock-input label[b-gc0l1dumy5] {
        display: block;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .stock-input .form-control[b-gc0l1dumy5] {
        width: 100%;
        height: 58px;
        text-align: center;
        font-size: 1.4rem;
        font-weight: 600;
        letter-spacing: .5px;
    }

.continue-btn[b-gc0l1dumy5] {
    width: 100%;
    height: 52px;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.completed-step[b-gc0l1dumy5] {
    text-align: center;
    padding: 20px;
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.30);
    border-radius: 12px;
}

    .completed-step strong[b-gc0l1dumy5] {
        display: block;
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

.upload-area[b-gc0l1dumy5] {
    margin-top: 30px;
    padding: 40px;
    border: 2px dashed var(--border);
    border-radius: 16px;
    text-align: center;
    transition: .2s;
}

    .upload-area:hover[b-gc0l1dumy5] {
        border-color: var(--primary);
        background: rgba(10,132,255,.04);
    }

    .upload-area .form-control[b-gc0l1dumy5] {
        max-width: 350px;
        margin: 25px auto 0;
    }

.upload-icon[b-gc0l1dumy5] {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.upload-area:hover[b-gc0l1dumy5] {
    background: rgba(10,132,255,.05);
}

.upload-area h5[b-gc0l1dumy5] {
    margin-top: 25px;
    font-size: 1.35rem;
}

.upload-area input[type=file][b-gc0l1dumy5] {
    max-width: 350px;
    margin: auto;
}

.selected-files[b-gc0l1dumy5] {
    margin-top: 40px;
}

    .selected-files table[b-gc0l1dumy5] {
        margin-top: 15px;
    }

    .selected-files .btn[b-gc0l1dumy5] {
        margin-top: 25px;
        min-width: 220px;
    }

hr[b-gc0l1dumy5] {
    margin: 45px 0;
    border-color: var(--border);
}


.drag-over[b-gc0l1dumy5] {
    border-color: var(--success) !important;
    background: rgba(34,197,94,.15);
    transform: scale(1.02);
}

.upload-icon[b-gc0l1dumy5] {
    font-size: 3rem;
    color: var(--primary);
    display: block;
    margin-bottom: 20px;
}

.missing-items-overlay[b-gc0l1dumy5] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .55);
}

.missing-items-notice[b-gc0l1dumy5] {
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 28px;
    border: 1px solid var(--border, #d1d5db);
    border-radius: 16px;
    background: var(--card, #fff);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    text-align: center;
}

    .missing-items-notice h2[b-gc0l1dumy5] {
        margin: 0 0 16px;
        font-size: 1.35rem;
    }

    .missing-items-notice p[b-gc0l1dumy5] {
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .missing-items-notice .btn[b-gc0l1dumy5] {
        min-width: 100px;
    }
/* /Pages/Auto/ViewScans.razor.rz.scp.css */
.view-scans-page[b-3c8gy8owgn] {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 clamp(8px, 1.4vw, 24px) 48px;
    box-sizing: border-box;
    animation: pageIn-b-3c8gy8owgn .22s ease;
}

/* =============================================================
   HERO
   ============================================================= */

.scans-hero[b-3c8gy8owgn] {
    position: relative;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
    padding: clamp(26px, 3vw, 38px);
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, .18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 86% 18%, rgba(59, 130, 246, .18), transparent 31%),
        radial-gradient(circle at 12% 118%, rgba(14, 165, 233, .08), transparent 35%),
        linear-gradient(135deg, rgba(25, 34, 48, .99), rgba(17, 24, 36, .99));
    box-shadow: 0 20px 55px rgba(0, 0, 0, .24);
}

.scans-hero[b-3c8gy8owgn]::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -118px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(96, 165, 250, .12);
    border-radius: 50%;
}

.hero-copy[b-3c8gy8owgn] {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-eyebrow[b-3c8gy8owgn] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #93c5fd;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.hero-dot[b-3c8gy8owgn] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 6px rgba(96, 165, 250, .10);
}

.scans-hero h1[b-3c8gy8owgn] {
    margin: 0 0 9px;
    color: #f4f7fb;
    font-size: clamp(2rem, 3.3vw, 2.85rem);
    line-height: 1.05;
    font-weight: 850;
    letter-spacing: -.035em;
}

.scans-hero p[b-3c8gy8owgn] {
    max-width: 760px;
    margin: 0;
    color: #9aa9bd;
    font-size: 1rem;
    line-height: 1.65;
}

.hero-mark[b-3c8gy8owgn] {
    position: relative;
    z-index: 1;
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, .28);
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(59, 130, 246, .20), rgba(59, 130, 246, .05));
    color: #bfdbfe;
    font-size: 1.85rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 38px rgba(0,0,0,.24);
}

/* =============================================================
   MODE SWITCH
   ============================================================= */

.lookup-mode-switch[b-3c8gy8owgn] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    padding: 7px;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 16px;
    background: rgba(15, 23, 42, .26);
}

.lookup-mode-button[b-3c8gy8owgn] {
    min-width: 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #9ba9bc;
    text-align: left;
    cursor: pointer;
    transition: .15s ease;
}

.lookup-mode-button:hover[b-3c8gy8owgn] {
    background: rgba(255,255,255,.025);
    color: #e6edf7;
}

.lookup-mode-button.active[b-3c8gy8owgn] {
    border-color: rgba(96, 165, 250, .27);
    background:
        radial-gradient(circle at 94% 10%, rgba(59, 130, 246, .11), transparent 35%),
        rgba(30, 41, 59, .68);
    color: #f2f6fc;
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
}

.lookup-mode-icon[b-3c8gy8owgn] {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
    color: #8090a6;
    font-size: 1rem;
}

.lookup-mode-button.active .lookup-mode-icon[b-3c8gy8owgn] {
    border-color: rgba(96,165,250,.30);
    background: rgba(59,130,246,.11);
    color: #60a5fa;
}

.lookup-mode-button strong[b-3c8gy8owgn],
.lookup-mode-button small[b-3c8gy8owgn] {
    display: block;
}

.lookup-mode-button strong[b-3c8gy8owgn] {
    margin-bottom: 4px;
    font-size: .95rem;
}

.lookup-mode-button small[b-3c8gy8owgn] {
    color: #77869a;
    font-size: .76rem;
}

.lookup-mode-button.active small[b-3c8gy8owgn] {
    color: #8fa0b6;
}

/* =============================================================
   SHARED CARDS
   ============================================================= */

.lookup-card[b-3c8gy8owgn],
.results-card[b-3c8gy8owgn],
.bulk-results-card[b-3c8gy8owgn] {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 19px;
    background: linear-gradient(180deg, rgba(31, 41, 55, .98), rgba(25, 33, 46, .98));
    box-shadow: 0 16px 42px rgba(0,0,0,.20);
}

.lookup-card[b-3c8gy8owgn] {
    padding: clamp(20px, 2.2vw, 28px);
    margin-bottom: 22px;
}

.lookup-card-header[b-3c8gy8owgn],
.results-header[b-3c8gy8owgn],
.bulk-results-toolbar[b-3c8gy8owgn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.lookup-card-header[b-3c8gy8owgn] {
    margin-bottom: 20px;
}

.lookup-card-header h2[b-3c8gy8owgn],
.results-header h2[b-3c8gy8owgn],
.bulk-results-toolbar h2[b-3c8gy8owgn] {
    margin: 2px 0 0;
    color: #eef4fc;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.lookup-card-header p[b-3c8gy8owgn] {
    max-width: 700px;
    margin: 7px 0 0;
    color: #8695a9;
    font-size: .86rem;
}

.section-kicker[b-3c8gy8owgn] {
    display: block;
    color: #60a5fa;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .11em;
}

/* =============================================================
   SINGLE LOOKUP
   ============================================================= */

.search-kind-switch[b-3c8gy8owgn] {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 4px;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 10px;
    background: rgba(15,23,42,.30);
}

.search-kind-switch button[b-3c8gy8owgn] {
    min-width: 80px;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #7f8da1;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    transition: .14s ease;
}

.search-kind-switch button.active[b-3c8gy8owgn] {
    background: rgba(59,130,246,.15);
    color: #bfdbfe;
    box-shadow: inset 0 0 0 1px rgba(96,165,250,.18);
}

.single-search-row[b-3c8gy8owgn] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.single-search-input-wrap[b-3c8gy8owgn] {
    position: relative;
    min-width: 0;
}

.single-search-input-wrap > .oi[b-3c8gy8owgn] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    z-index: 1;
    pointer-events: none;
}

.single-search-input[b-3c8gy8owgn] {
    width: 100%;
    height: 52px;
    padding-left: 46px;
    border: 1px solid #3b475b;
    border-radius: 11px;
    background: #192332;
    color: #eef4fc;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: .01em;
    transition: .14s ease;
}

.single-search-input:focus[b-3c8gy8owgn] {
    border-color: #3b82f6;
    background: #1b2636;
    color: white;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

.single-search-input[b-3c8gy8owgn]::placeholder {
    color: #68778b;
    font-weight: 500;
}

.single-search-button[b-3c8gy8owgn] {
    min-width: 158px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid rgba(96,165,250,.20);
    border-radius: 11px;
    background: linear-gradient(135deg, #2877e6, #2563c7);
    color: white;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(37,99,235,.18);
    transition: .14s ease;
}

.single-search-button:hover:not(:disabled)[b-3c8gy8owgn] {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37,99,235,.25);
}

.single-search-button:disabled[b-3c8gy8owgn] {
    opacity: .58;
    cursor: not-allowed;
}

.inline-message[b-3c8gy8owgn] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: .84rem;
}

.error-message[b-3c8gy8owgn] {
    border: 1px solid rgba(239,68,68,.22);
    background: rgba(239,68,68,.075);
    color: #fca5a5;
}

/* =============================================================
   UPLOAD / DROP ZONE
   ============================================================= */

.spreadsheet-card[b-3c8gy8owgn] {
    overflow: hidden;
}

.spreadsheet-header[b-3c8gy8owgn] {
    align-items: flex-start;
}

.upload-dropzone[b-3c8gy8owgn] {
    position: relative;
    min-height: 265px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px;
    overflow: hidden;
    border: 1.5px dashed #46556c;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 110%, rgba(59,130,246,.08), transparent 45%),
        rgba(15,23,42,.28);
    text-align: center;
    cursor: pointer;
    transition: .18s ease;
}

.upload-dropzone:hover[b-3c8gy8owgn],
.upload-dropzone:focus-within[b-3c8gy8owgn] {
    border-color: #60a5fa;
    background:
        radial-gradient(circle at 50% 110%, rgba(59,130,246,.14), transparent 48%),
        rgba(20,31,47,.42);
    box-shadow: inset 0 0 0 1px rgba(96,165,250,.07);
}

.upload-file-input[b-3c8gy8owgn] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

.upload-icon[b-3c8gy8owgn] {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border: 1px solid rgba(96,165,250,.24);
    border-radius: 18px;
    background: rgba(59,130,246,.10);
    color: #60a5fa;
    font-size: 1.55rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
    transition: transform .18s ease;
}

.upload-dropzone:hover .upload-icon[b-3c8gy8owgn] {
    transform: translateY(-3px);
}

.upload-dropzone strong[b-3c8gy8owgn] {
    color: #eef4fc;
    font-size: 1.08rem;
    font-weight: 800;
}

.upload-dropzone > span:not(.upload-icon):not(.upload-format-pill)[b-3c8gy8owgn] {
    color: #8493a7;
    font-size: .86rem;
}

.upload-format-pill[b-3c8gy8owgn] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 7px 10px;
    border: 1px solid rgba(148,163,184,.13);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    color: #91a0b4;
    font-size: .75rem;
    font-weight: 700;
}

.reset-upload-button[b-3c8gy8owgn] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 9px;
    background: rgba(255,255,255,.025);
    color: #c4cfdd;
    font-size: .8rem;
    font-weight: 750;
    cursor: pointer;
}

.reset-upload-button:hover[b-3c8gy8owgn] {
    border-color: rgba(96,165,250,.38);
    background: rgba(59,130,246,.07);
    color: white;
}

.bulk-processing-card[b-3c8gy8owgn],
.file-loaded-banner[b-3c8gy8owgn] {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(148,163,184,.13);
    border-radius: 14px;
    background: rgba(15,23,42,.25);
}

.bulk-processing-spinner[b-3c8gy8owgn] {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 4px solid rgba(96,165,250,.13);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: scanSpin-b-3c8gy8owgn .75s linear infinite;
}

.bulk-processing-card strong[b-3c8gy8owgn],
.bulk-processing-card span[b-3c8gy8owgn],
.file-loaded-copy strong[b-3c8gy8owgn],
.file-loaded-copy span[b-3c8gy8owgn] {
    display: block;
}

.bulk-processing-card strong[b-3c8gy8owgn],
.file-loaded-copy strong[b-3c8gy8owgn] {
    margin-bottom: 4px;
    color: #eef4fc;
    font-size: .96rem;
}

.bulk-processing-card span[b-3c8gy8owgn],
.file-loaded-copy span[b-3c8gy8owgn] {
    color: #8291a5;
    font-size: .82rem;
}

.file-loaded-icon[b-3c8gy8owgn] {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34,197,94,.22);
    border-radius: 12px;
    background: rgba(34,197,94,.08);
    color: #4ade80;
    font-size: 1.1rem;
}

.file-loaded-copy[b-3c8gy8owgn] {
    min-width: 0;
    flex: 1;
}

.file-loaded-copy strong[b-3c8gy8owgn] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-ready-pill[b-3c8gy8owgn] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(34,197,94,.20);
    border-radius: 999px;
    background: rgba(34,197,94,.07);
    color: #86efac;
    font-size: .73rem;
    font-weight: 800;
}

.bulk-error[b-3c8gy8owgn] {
    margin-bottom: 0;
}

/* =============================================================
   BULK SUMMARY
   ============================================================= */

.bulk-summary-grid[b-3c8gy8owgn] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.bulk-summary-card[b-3c8gy8owgn] {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.13);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(31,41,55,.94), rgba(25,33,46,.94));
}

.bulk-summary-card[b-3c8gy8owgn]::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -47px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: currentColor;
    opacity: .025;
}

.bulk-summary-card.total[b-3c8gy8owgn] { color: #60a5fa; }
.bulk-summary-card.found[b-3c8gy8owgn] { color: #4ade80; }
.bulk-summary-card.missing[b-3c8gy8owgn] { color: #94a3b8; }
.bulk-summary-card.documents[b-3c8gy8owgn] { color: #a78bfa; }

.bulk-summary-icon[b-3c8gy8owgn] {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 11px;
    background: rgba(255,255,255,.025);
    font-size: 1rem;
    opacity: .9;
}

.bulk-summary-card span:not(.bulk-summary-icon)[b-3c8gy8owgn],
.bulk-summary-card strong[b-3c8gy8owgn] {
    display: block;
}

.bulk-summary-card div > span[b-3c8gy8owgn] {
    margin-bottom: 3px;
    color: #8796aa;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.bulk-summary-card strong[b-3c8gy8owgn] {
    color: #f0f5fc;
    font-size: 1.55rem;
    line-height: 1;
}

/* =============================================================
   BULK RESULTS
   ============================================================= */

.bulk-results-card[b-3c8gy8owgn] {
    overflow: hidden;
}

.bulk-results-toolbar[b-3c8gy8owgn] {
    align-items: flex-end;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(148,163,184,.12);
}

.bulk-filter-actions[b-3c8gy8owgn] {
    min-width: 0;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.bulk-filter-tabs[b-3c8gy8owgn] {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(148,163,184,.13);
    border-radius: 10px;
    background: rgba(15,23,42,.28);
}

.bulk-filter-tabs button[b-3c8gy8owgn] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #8291a5;
    font-size: .75rem;
    font-weight: 750;
    cursor: pointer;
}

.bulk-filter-tabs button span[b-3c8gy8owgn] {
    min-width: 23px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(148,163,184,.09);
    font-size: .65rem;
    text-align: center;
}

.bulk-filter-tabs button.active[b-3c8gy8owgn] {
    background: rgba(59,130,246,.13);
    color: #bfdbfe;
}

.bulk-result-search-wrap[b-3c8gy8owgn] {
    position: relative;
    width: min(240px, 28vw);
}

.bulk-result-search-wrap .oi[b-3c8gy8owgn] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6f7d90;
    font-size: .8rem;
    pointer-events: none;
}

.bulk-result-search[b-3c8gy8owgn] {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 35px;
    border: 1px solid #3a4659;
    border-radius: 9px;
    background: #192230;
    color: #eaf1fa;
    font-size: .82rem;
    outline: none;
}

.bulk-result-search:focus[b-3c8gy8owgn] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.10);
}

.bulk-list[b-3c8gy8owgn] {
    display: flex;
    flex-direction: column;
}

.bulk-vin-card[b-3c8gy8owgn] {
    border-bottom: 1px solid rgba(148,163,184,.10);
    background: rgba(255,255,255,.005);
    transition: background .14s ease;
}

.bulk-vin-card:last-child[b-3c8gy8owgn] {
    border-bottom: 0;
}

.bulk-vin-card:hover[b-3c8gy8owgn] {
    background: rgba(255,255,255,.016);
}

.bulk-vin-card.has-scans[b-3c8gy8owgn] {
    box-shadow: inset 3px 0 0 rgba(34,197,94,.62);
}

.bulk-vin-card.no-scans[b-3c8gy8owgn] {
    box-shadow: inset 3px 0 0 rgba(100,116,139,.28);
}

.bulk-vin-main[b-3c8gy8owgn] {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
}

.bulk-vin-icon[b-3c8gy8owgn] {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 11px;
    background: rgba(255,255,255,.025);
    color: #77869a;
}

.has-scans .bulk-vin-icon[b-3c8gy8owgn] {
    border-color: rgba(34,197,94,.18);
    background: rgba(34,197,94,.065);
    color: #4ade80;
}

.bulk-vin-identity[b-3c8gy8owgn] {
    min-width: 0;
}

.bulk-vin-label[b-3c8gy8owgn] {
    display: block;
    margin-bottom: 3px;
    color: #6f7f93;
    font-size: .63rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.bulk-vin-identity > strong[b-3c8gy8owgn] {
    display: block;
    overflow: hidden;
    color: #edf3fb;
    font-size: .94rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-vin-meta[b-3c8gy8owgn] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin-top: 6px;
    color: #8190a4;
    font-size: .75rem;
}

.bulk-vin-meta span[b-3c8gy8owgn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bulk-vin-meta .oi[b-3c8gy8owgn] {
    color: #66768b;
    font-size: .68rem;
}

.bulk-vin-status[b-3c8gy8owgn] {
    min-width: 142px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.coverage-pill[b-3c8gy8owgn] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.coverage-pill.found[b-3c8gy8owgn] {
    border-color: rgba(34,197,94,.20);
    background: rgba(34,197,94,.07);
    color: #86efac;
}

.coverage-pill.missing[b-3c8gy8owgn] {
    border-color: rgba(148,163,184,.14);
    background: rgba(148,163,184,.055);
    color: #94a3b8;
}

.coverage-dot[b-3c8gy8owgn] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.bulk-vin-status small[b-3c8gy8owgn] {
    color: #6e7d90;
    font-size: .68rem;
}

.bulk-document-details[b-3c8gy8owgn] {
    border-top: 1px solid rgba(148,163,184,.08);
    background: rgba(10,17,28,.18);
}

.bulk-document-details > summary[b-3c8gy8owgn] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 22px;
    padding: 11px 0;
    color: #8fa5c0;
    font-size: .77rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.bulk-document-details > summary[b-3c8gy8owgn]::-webkit-details-marker {
    display: none;
}

.bulk-document-details > summary .oi[b-3c8gy8owgn] {
    font-size: .64rem;
    transition: transform .12s ease;
}

.bulk-document-details[open] > summary .oi[b-3c8gy8owgn] {
    transform: rotate(180deg);
}

.bulk-document-list[b-3c8gy8owgn] {
    margin: 0 20px 16px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.10);
    border-radius: 12px;
    background: rgba(17,24,36,.65);
}

.bulk-pagination[b-3c8gy8owgn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 22px;
    border-top: 1px solid rgba(148,163,184,.12);
    color: #7f8da1;
    font-size: .78rem;
}

.bulk-pagination strong[b-3c8gy8owgn] {
    color: #dce5f2;
}

.bulk-pagination-controls[b-3c8gy8owgn] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.bulk-pagination-controls button[b-3c8gy8owgn] {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.025);
    color: #d6deea;
    font-size: .75rem;
    font-weight: 750;
    cursor: pointer;
}

.bulk-pagination-controls button:hover:not(:disabled)[b-3c8gy8owgn] {
    border-color: rgba(96,165,250,.42);
    background: rgba(59,130,246,.07);
}

.bulk-pagination-controls button:disabled[b-3c8gy8owgn] {
    opacity: .35;
    cursor: not-allowed;
}

/* =============================================================
   SCAN RESULTS
   ============================================================= */

.results-card[b-3c8gy8owgn] {
    overflow: hidden;
}

.results-header[b-3c8gy8owgn] {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(148,163,184,.12);
}

.results-header p[b-3c8gy8owgn] {
    margin: 5px 0 0;
    color: #7f8ea2;
    font-size: .82rem;
}

.result-count-badge[b-3c8gy8owgn] {
    flex: 0 0 auto;
    min-width: 88px;
    padding: 9px 13px;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 11px;
    background: rgba(15,23,42,.25);
    text-align: center;
}

.result-count-badge.has-results[b-3c8gy8owgn] {
    border-color: rgba(34,197,94,.19);
    background: rgba(34,197,94,.06);
}

.result-count-badge strong[b-3c8gy8owgn],
.result-count-badge span[b-3c8gy8owgn] {
    display: block;
}

.result-count-badge strong[b-3c8gy8owgn] {
    color: #eef4fc;
    font-size: 1.28rem;
    line-height: 1;
}

.result-count-badge span[b-3c8gy8owgn] {
    margin-top: 3px;
    color: #8493a7;
    font-size: .67rem;
    font-weight: 750;
    text-transform: uppercase;
}

.scan-list[b-3c8gy8owgn] {
    display: flex;
    flex-direction: column;
}

.scan-row[b-3c8gy8owgn] {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 17px 22px;
    border-bottom: 1px solid rgba(148,163,184,.09);
    transition: background .14s ease;
}

.scan-row:last-child[b-3c8gy8owgn] {
    border-bottom: 0;
}

.scan-row:hover[b-3c8gy8owgn] {
    background: rgba(59,130,246,.025);
}

.scan-row.compact[b-3c8gy8owgn] {
    padding: 13px 15px;
}

.document-icon[b-3c8gy8owgn] {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96,165,250,.17);
    border-radius: 11px;
    background: rgba(59,130,246,.065);
    color: #60a5fa;
}

.scan-information[b-3c8gy8owgn] {
    min-width: 0;
}

.scan-title[b-3c8gy8owgn] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.scan-title strong[b-3c8gy8owgn] {
    max-width: 100%;
    overflow: hidden;
    color: #ecf2fa;
    font-size: .91rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scan-source-badge[b-3c8gy8owgn] {
    padding: 3px 7px;
    border: 1px solid rgba(148,163,184,.13);
    border-radius: 6px;
    background: rgba(148,163,184,.055);
    color: #8fa0b5;
    font-size: .62rem;
    font-weight: 750;
}

.scan-meta[b-3c8gy8owgn] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 14px;
    color: #7d8ca0;
    font-size: .72rem;
}

.scan-actions[b-3c8gy8owgn] {
    flex: 0 0 auto;
}

.view-button[b-3c8gy8owgn] {
    min-width: 112px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(96,165,250,.18);
    border-radius: 9px;
    background: rgba(59,130,246,.12);
    color: #bfdbfe;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: .13s ease;
}

.view-button:hover[b-3c8gy8owgn] {
    border-color: rgba(96,165,250,.45);
    background: rgba(59,130,246,.19);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.view-button.disabled[b-3c8gy8owgn] {
    border-color: rgba(148,163,184,.12);
    background: rgba(148,163,184,.045);
    color: #718096;
    cursor: not-allowed;
    transform: none;
}

/* =============================================================
   EMPTY / LOADING
   ============================================================= */

.loading-card[b-3c8gy8owgn] {
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 18px;
    background: rgba(31,41,55,.92);
    text-align: center;
}

.loading-card h3[b-3c8gy8owgn] {
    margin: 17px 0 5px;
    color: #edf3fb;
    font-size: 1.05rem;
}

.loading-card p[b-3c8gy8owgn] {
    margin: 0;
    color: #8291a5;
    font-size: .83rem;
}

.empty-state[b-3c8gy8owgn] {
    padding: 62px 24px;
    text-align: center;
}

.empty-state.compact[b-3c8gy8owgn] {
    padding: 46px 20px;
}

.empty-icon[b-3c8gy8owgn] {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 1px solid rgba(148,163,184,.13);
    border-radius: 16px;
    background: rgba(148,163,184,.05);
    color: #748297;
    font-size: 1.35rem;
}

.empty-state h3[b-3c8gy8owgn] {
    margin: 0 0 6px;
    color: #e8eef7;
    font-size: 1.04rem;
}

.empty-state p[b-3c8gy8owgn] {
    margin: 0;
    color: #7f8ea2;
    font-size: .82rem;
}

.scan-spinner[b-3c8gy8owgn] {
    width: 16px;
    height: 16px;
    display: inline-block;
    border: 2px solid rgba(255,255,255,.32);
    border-top-color: white;
    border-radius: 50%;
    animation: scanSpin-b-3c8gy8owgn .7s linear infinite;
}

.scan-spinner.large[b-3c8gy8owgn] {
    width: 38px;
    height: 38px;
    border-width: 3px;
    border-color: rgba(96,165,250,.14);
    border-top-color: #60a5fa;
}

@keyframes scanSpin-b-3c8gy8owgn {
    to { transform: rotate(360deg); }
}

@keyframes pageIn-b-3c8gy8owgn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1050px) {
    .bulk-summary-grid[b-3c8gy8owgn] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bulk-results-toolbar[b-3c8gy8owgn] {
        align-items: stretch;
        flex-direction: column;
    }

    .bulk-filter-actions[b-3c8gy8owgn] {
        width: 100%;
    }

    .bulk-result-search-wrap[b-3c8gy8owgn] {
        flex: 1;
        width: auto;
    }
}

@media (max-width: 760px) {
    .view-scans-page[b-3c8gy8owgn] {
        padding-inline: 6px;
    }

    .scans-hero[b-3c8gy8owgn] {
        min-height: 0;
        padding: 23px;
        border-radius: 18px;
    }

    .hero-mark[b-3c8gy8owgn] {
        display: none;
    }

    .lookup-mode-switch[b-3c8gy8owgn] {
        grid-template-columns: 1fr;
    }

    .lookup-mode-button[b-3c8gy8owgn] {
        min-height: 62px;
    }

    .lookup-card-header[b-3c8gy8owgn],
    .results-header[b-3c8gy8owgn] {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-kind-switch[b-3c8gy8owgn] {
        align-self: stretch;
    }

    .search-kind-switch button[b-3c8gy8owgn] {
        flex: 1;
    }

    .single-search-row[b-3c8gy8owgn] {
        grid-template-columns: 1fr;
    }

    .single-search-button[b-3c8gy8owgn] {
        width: 100%;
    }

    .bulk-filter-actions[b-3c8gy8owgn] {
        flex-direction: column;
        align-items: stretch;
    }

    .bulk-filter-tabs[b-3c8gy8owgn] {
        width: 100%;
    }

    .bulk-filter-tabs button[b-3c8gy8owgn] {
        flex: 1;
        justify-content: center;
    }

    .bulk-result-search-wrap[b-3c8gy8owgn] {
        width: 100%;
    }

    .bulk-vin-main[b-3c8gy8owgn] {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 15px 17px;
    }

    .bulk-vin-status[b-3c8gy8owgn] {
        grid-column: 2;
        align-items: flex-start;
        min-width: 0;
    }

    .scan-row[b-3c8gy8owgn],
    .scan-row.compact[b-3c8gy8owgn] {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 14px;
    }

    .scan-actions[b-3c8gy8owgn] {
        grid-column: 2;
    }

    .view-button[b-3c8gy8owgn] {
        width: 100%;
    }

    .bulk-pagination[b-3c8gy8owgn] {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .bulk-pagination-controls[b-3c8gy8owgn] {
        justify-content: space-between;
    }
}

@media (max-width: 520px) {
    .scans-hero h1[b-3c8gy8owgn] {
        font-size: 1.85rem;
    }

    .bulk-summary-grid[b-3c8gy8owgn] {
        grid-template-columns: 1fr;
    }

    .upload-dropzone[b-3c8gy8owgn] {
        min-height: 225px;
        padding: 22px 16px;
    }

    .file-loaded-banner[b-3c8gy8owgn] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .file-ready-pill[b-3c8gy8owgn] {
        margin-left: 62px;
    }

    .bulk-filter-tabs[b-3c8gy8owgn] {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bulk-document-list[b-3c8gy8owgn] {
        margin-inline: 10px;
    }

    .bulk-pagination-controls[b-3c8gy8owgn] {
        flex-wrap: wrap;
    }

    .bulk-pagination-controls > span[b-3c8gy8owgn] {
        order: -1;
        width: 100%;
    }

    .bulk-pagination-controls button[b-3c8gy8owgn] {
        flex: 1;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .view-scans-page[b-3c8gy8owgn],
    .lookup-mode-button[b-3c8gy8owgn],
    .single-search-button[b-3c8gy8owgn],
    .upload-dropzone[b-3c8gy8owgn],
    .upload-icon[b-3c8gy8owgn],
    .view-button[b-3c8gy8owgn],
    .bulk-document-details > summary .oi[b-3c8gy8owgn] {
        animation: none !important;
        transition: none !important;
    }
}

/* Keep the native file input mounted while Blazor Server is streaming the file.
   The visual dropzone is locked during processing, but the DOM input remains alive
   so BrowserFileStream can continue reading from it. */
.upload-dropzone.processing[b-3c8gy8owgn] {
    pointer-events: none;
    cursor: wait;
    opacity: .48;
    transform: none;
}

.upload-dropzone.processing:hover[b-3c8gy8owgn],
.upload-dropzone.processing:focus-within[b-3c8gy8owgn] {
    border-color: #46556c;
    box-shadow: none;
}

.upload-dropzone.processing .upload-icon[b-3c8gy8owgn] {
    transform: none;
}

/* =============================================================
   SCAN ACTION UX REFRESH
   Makes each scan easier to identify and the primary action clearer.
   ============================================================= */

.scan-row[b-3c8gy8owgn] {
    position: relative;
}

.scan-row[b-3c8gy8owgn]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 0;
    box-shadow: inset 0 0 0 0 rgba(96, 165, 250, 0);
    transition: box-shadow .15s ease;
}

.scan-row:hover[b-3c8gy8owgn]::after {
    box-shadow: inset 3px 0 0 rgba(96, 165, 250, .45);
}

.document-icon[b-3c8gy8owgn] {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.document-icon.source-titletool[b-3c8gy8owgn] {
    border-color: rgba(96, 165, 250, .22);
    background: linear-gradient(145deg, rgba(59,130,246,.11), rgba(59,130,246,.045));
    color: #60a5fa;
}

.document-icon.source-tekion[b-3c8gy8owgn] {
    border-color: rgba(167, 139, 250, .24);
    background: linear-gradient(145deg, rgba(139,92,246,.12), rgba(139,92,246,.045));
    color: #a78bfa;
}

.document-icon.source-legacy[b-3c8gy8owgn] {
    border-color: rgba(245, 158, 11, .24);
    background: linear-gradient(145deg, rgba(245,158,11,.11), rgba(245,158,11,.04));
    color: #fbbf24;
}

.scan-source-badge[b-3c8gy8owgn] {
    border-radius: 999px;
    padding: 4px 8px;
    letter-spacing: .015em;
}

.scan-source-badge.source-titletool[b-3c8gy8owgn] {
    border-color: rgba(96,165,250,.18);
    background: rgba(59,130,246,.075);
    color: #93c5fd;
}

.scan-source-badge.source-tekion[b-3c8gy8owgn] {
    border-color: rgba(167,139,250,.20);
    background: rgba(139,92,246,.075);
    color: #c4b5fd;
}

.scan-source-badge.source-legacy[b-3c8gy8owgn] {
    border-color: rgba(245,158,11,.20);
    background: rgba(245,158,11,.07);
    color: #fcd34d;
}

.scan-meta[b-3c8gy8owgn] {
    gap: 7px 9px;
}

.scan-meta-item[b-3c8gy8owgn] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    padding: 3px 7px;
    border: 1px solid rgba(148,163,184,.09);
    border-radius: 7px;
    background: rgba(15,23,42,.18);
    color: #8998ac;
    line-height: 1.2;
}

.scan-meta-item > .oi[b-3c8gy8owgn] {
    color: #68798f;
    font-size: .65rem;
}

.scan-meta-label[b-3c8gy8owgn] {
    color: #6f8096;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.scan-actions[b-3c8gy8owgn] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.view-button.scan-open-button[b-3c8gy8owgn] {
    min-width: 172px;
    height: 54px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border: 1px solid rgba(96,165,250,.28);
    border-radius: 12px;
    background:
        radial-gradient(circle at 100% 0%, rgba(96,165,250,.13), transparent 45%),
        linear-gradient(135deg, rgba(37,99,235,.20), rgba(30,64,175,.12));
    color: #dbeafe;
    text-align: left;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 7px 18px rgba(15,23,42,.18);
    transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}

.view-button.scan-open-button:hover[b-3c8gy8owgn] {
    border-color: rgba(96,165,250,.62);
    background:
        radial-gradient(circle at 100% 0%, rgba(96,165,250,.20), transparent 48%),
        linear-gradient(135deg, rgba(37,99,235,.30), rgba(30,64,175,.18));
    color: white;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 11px 24px rgba(37,99,235,.16);
}

.view-button.scan-open-button:focus-visible[b-3c8gy8owgn] {
    outline: 2px solid #60a5fa;
    outline-offset: 3px;
}

.scan-open-icon[b-3c8gy8owgn] {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(147,197,253,.22);
    border-radius: 9px;
    background: rgba(59,130,246,.13);
    color: #93c5fd;
    font-size: .86rem;
    transition: transform .14s ease, background .14s ease;
}

.scan-open-button:hover .scan-open-icon[b-3c8gy8owgn] {
    transform: scale(1.04);
    background: rgba(59,130,246,.20);
}

.scan-open-copy[b-3c8gy8owgn] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.scan-open-copy strong[b-3c8gy8owgn] {
    overflow: hidden;
    color: #eef6ff;
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scan-open-copy small[b-3c8gy8owgn] {
    overflow: hidden;
    color: #8da6c7;
    font-size: .63rem;
    font-weight: 650;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scan-open-arrow[b-3c8gy8owgn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7aaaf4;
    font-size: 1rem;
    font-weight: 800;
    transition: transform .14s ease, color .14s ease;
}

.scan-open-button:hover .scan-open-arrow[b-3c8gy8owgn] {
    color: #bfdbfe;
    transform: translate(2px, -2px);
}

.view-button.scan-open-button.disabled[b-3c8gy8owgn] {
    border-color: rgba(148,163,184,.11);
    background: rgba(148,163,184,.035);
    color: #718096;
    box-shadow: none;
    cursor: not-allowed;
}

.view-button.scan-open-button.disabled .scan-open-icon[b-3c8gy8owgn] {
    border-color: rgba(148,163,184,.10);
    background: rgba(148,163,184,.045);
    color: #69788c;
}

.view-button.scan-open-button.disabled .scan-open-copy strong[b-3c8gy8owgn] {
    color: #8190a4;
}

.view-button.scan-open-button.disabled .scan-open-copy small[b-3c8gy8owgn] {
    color: #657489;
}

.scan-row.compact .view-button.scan-open-button[b-3c8gy8owgn] {
    min-width: 158px;
    height: 48px;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 8px;
    padding: 6px 8px;
}

.scan-row.compact .scan-open-icon[b-3c8gy8owgn] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.scan-row.compact .scan-open-copy strong[b-3c8gy8owgn] {
    font-size: .74rem;
}

.scan-row.compact .scan-open-copy small[b-3c8gy8owgn] {
    font-size: .59rem;
}

@media (max-width: 760px) {
    .scan-actions[b-3c8gy8owgn] {
        width: 100%;
        justify-content: stretch;
    }

    .view-button.scan-open-button[b-3c8gy8owgn],
    .scan-row.compact .view-button.scan-open-button[b-3c8gy8owgn] {
        width: 100%;
        min-width: 0;
        height: 52px;
        grid-template-columns: 34px minmax(0, 1fr) 20px;
        padding: 7px 10px;
    }

    .scan-open-arrow[b-3c8gy8owgn] {
        justify-self: end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scan-row[b-3c8gy8owgn]::after,
    .view-button.scan-open-button[b-3c8gy8owgn],
    .scan-open-icon[b-3c8gy8owgn],
    .scan-open-arrow[b-3c8gy8owgn] {
        transition: none !important;
    }
}

/* =============================================================
   EXISTING SCANS / DOCUMENT CARD REDESIGN
   IMPORTANT: scan rows are created with RenderTreeBuilder in this
   component. CSS-isolation attributes are therefore not stamped on
   those generated child elements. The ::deep selectors below anchor
   to the scoped Razor containers and correctly style those rows.
   ============================================================= */

.bulk-document-details[b-3c8gy8owgn] {
    margin: 0;
    border-top: 1px solid rgba(148, 163, 184, .10);
    background:
        linear-gradient(180deg, rgba(12, 19, 30, .16), rgba(8, 14, 24, .28));
}

.bulk-document-details > .scan-toggle-summary[b-3c8gy8owgn] {
    width: auto;
    min-height: 66px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto 22px;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 20px;
    color: #d8e5f5;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background .16s ease, border-color .16s ease;
}

.bulk-document-details > .scan-toggle-summary[b-3c8gy8owgn]::-webkit-details-marker {
    display: none;
}

.bulk-document-details > .scan-toggle-summary:hover[b-3c8gy8owgn] {
    background: rgba(59, 130, 246, .055);
}

.scan-toggle-icon[b-3c8gy8owgn] {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, .20);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(59,130,246,.12), rgba(59,130,246,.045));
    color: #60a5fa;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.scan-toggle-copy[b-3c8gy8owgn] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.scan-toggle-copy strong[b-3c8gy8owgn] {
    color: #eaf2fc;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.15;
}

.scan-toggle-copy small[b-3c8gy8owgn] {
    overflow: hidden;
    color: #73849a;
    font-size: .70rem;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scan-toggle-count[b-3c8gy8owgn] {
    min-width: 30px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid rgba(34, 197, 94, .22);
    border-radius: 999px;
    background: rgba(34, 197, 94, .075);
    color: #86efac;
    font-size: .70rem;
    font-weight: 850;
}

.scan-toggle-chevron[b-3c8gy8owgn] {
    color: #72839a;
    font-size: .68rem;
    transition: transform .16s ease, color .16s ease;
}

.bulk-document-details[open] > .scan-toggle-summary[b-3c8gy8owgn] {
    background: rgba(59, 130, 246, .035);
    border-bottom: 1px solid rgba(148, 163, 184, .09);
}

.bulk-document-details[open] > .scan-toggle-summary .scan-toggle-chevron[b-3c8gy8owgn] {
    color: #93c5fd;
    transform: rotate(180deg);
}

.bulk-document-list[b-3c8gy8owgn] {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px 18px 18px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

/* ---------- RenderTreeBuilder generated scan cards ---------- */

.scan-list[b-3c8gy8owgn]  .scan-row,
.bulk-document-list[b-3c8gy8owgn]  .scan-row {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 15px 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(59,130,246,.055), transparent 35%),
        linear-gradient(145deg, rgba(26,35,49,.96), rgba(20,28,40,.96));
    box-shadow: 0 8px 22px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.025);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.scan-list[b-3c8gy8owgn]  .scan-row + .scan-row {
    border-top: 1px solid rgba(148, 163, 184, .13);
}

.scan-list[b-3c8gy8owgn]  .scan-row:hover,
.bulk-document-list[b-3c8gy8owgn]  .scan-row:hover {
    z-index: 1;
    border-color: rgba(96, 165, 250, .28);
    background:
        radial-gradient(circle at 100% 0%, rgba(59,130,246,.09), transparent 38%),
        linear-gradient(145deg, rgba(29,40,56,.98), rgba(21,30,43,.98));
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0,0,0,.18), inset 3px 0 0 rgba(96,165,250,.50);
}

.scan-list[b-3c8gy8owgn]  .scan-row::after,
.bulk-document-list[b-3c8gy8owgn]  .scan-row::after {
    display: none;
}

.scan-list[b-3c8gy8owgn]  .document-icon,
.bulk-document-list[b-3c8gy8owgn]  .document-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96,165,250,.20);
    border-radius: 13px;
    background: rgba(59,130,246,.075);
    color: #60a5fa;
    font-size: 1.05rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.scan-list[b-3c8gy8owgn]  .document-icon.source-titletool,
.bulk-document-list[b-3c8gy8owgn]  .document-icon.source-titletool {
    border-color: rgba(96, 165, 250, .24);
    background: linear-gradient(145deg, rgba(59,130,246,.13), rgba(59,130,246,.05));
    color: #60a5fa;
}

.scan-list[b-3c8gy8owgn]  .document-icon.source-tekion,
.bulk-document-list[b-3c8gy8owgn]  .document-icon.source-tekion {
    border-color: rgba(167, 139, 250, .26);
    background: linear-gradient(145deg, rgba(139,92,246,.14), rgba(139,92,246,.05));
    color: #b9a4ff;
}

.scan-list[b-3c8gy8owgn]  .document-icon.source-legacy,
.bulk-document-list[b-3c8gy8owgn]  .document-icon.source-legacy {
    border-color: rgba(245, 158, 11, .27);
    background: linear-gradient(145deg, rgba(245,158,11,.14), rgba(245,158,11,.05));
    color: #fbbf24;
}

.scan-list[b-3c8gy8owgn]  .scan-information,
.bulk-document-list[b-3c8gy8owgn]  .scan-information {
    min-width: 0;
}

.scan-list[b-3c8gy8owgn]  .scan-title,
.bulk-document-list[b-3c8gy8owgn]  .scan-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 9px;
}

.scan-list[b-3c8gy8owgn]  .scan-title strong,
.bulk-document-list[b-3c8gy8owgn]  .scan-title strong {
    min-width: 0;
    max-width: min(520px, 58vw);
    overflow: hidden;
    color: #f2f6fc;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scan-list[b-3c8gy8owgn]  .scan-source-badge,
.bulk-document-list[b-3c8gy8owgn]  .scan-source-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 8px;
    border: 1px solid rgba(148,163,184,.14);
    border-radius: 999px;
    background: rgba(148,163,184,.055);
    color: #9aabc0;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .025em;
    line-height: 1;
    white-space: nowrap;
}

.scan-list[b-3c8gy8owgn]  .scan-source-badge.source-titletool,
.bulk-document-list[b-3c8gy8owgn]  .scan-source-badge.source-titletool {
    border-color: rgba(96,165,250,.20);
    background: rgba(59,130,246,.08);
    color: #93c5fd;
}

.scan-list[b-3c8gy8owgn]  .scan-source-badge.source-tekion,
.bulk-document-list[b-3c8gy8owgn]  .scan-source-badge.source-tekion {
    border-color: rgba(167,139,250,.22);
    background: rgba(139,92,246,.085);
    color: #c4b5fd;
}

.scan-list[b-3c8gy8owgn]  .scan-source-badge.source-legacy,
.bulk-document-list[b-3c8gy8owgn]  .scan-source-badge.source-legacy {
    border-color: rgba(245,158,11,.22);
    background: rgba(245,158,11,.075);
    color: #fcd34d;
}

.scan-list[b-3c8gy8owgn]  .scan-meta,
.bulk-document-list[b-3c8gy8owgn]  .scan-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #8190a4;
    font-size: .72rem;
}

.scan-list[b-3c8gy8owgn]  .scan-meta-item,
.bulk-document-list[b-3c8gy8owgn]  .scan-meta-item {
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid rgba(148,163,184,.10);
    border-radius: 8px;
    background: rgba(9,15,25,.25);
    color: #93a2b5;
    line-height: 1.1;
}

.scan-list[b-3c8gy8owgn]  .scan-meta-item > .oi,
.bulk-document-list[b-3c8gy8owgn]  .scan-meta-item > .oi {
    color: #64768d;
    font-size: .68rem;
}

.scan-list[b-3c8gy8owgn]  .scan-meta-label,
.bulk-document-list[b-3c8gy8owgn]  .scan-meta-label {
    color: #66788e;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.scan-list[b-3c8gy8owgn]  .scan-actions,
.bulk-document-list[b-3c8gy8owgn]  .scan-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.scan-list[b-3c8gy8owgn]  .view-button.scan-open-button,
.bulk-document-list[b-3c8gy8owgn]  .view-button.scan-open-button {
    min-width: 176px;
    height: 52px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid rgba(96,165,250,.30);
    border-radius: 12px;
    background:
        radial-gradient(circle at 100% 0%, rgba(96,165,250,.15), transparent 44%),
        linear-gradient(135deg, rgba(37,99,235,.23), rgba(30,64,175,.14));
    color: #dbeafe;
    text-align: left;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 8px 20px rgba(15,23,42,.18);
    transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}

.scan-list[b-3c8gy8owgn]  .view-button.scan-open-button:hover,
.bulk-document-list[b-3c8gy8owgn]  .view-button.scan-open-button:hover {
    border-color: rgba(96,165,250,.65);
    background:
        radial-gradient(circle at 100% 0%, rgba(96,165,250,.22), transparent 48%),
        linear-gradient(135deg, rgba(37,99,235,.34), rgba(30,64,175,.22));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 26px rgba(37,99,235,.17);
}

.scan-list[b-3c8gy8owgn]  .scan-open-icon,
.bulk-document-list[b-3c8gy8owgn]  .scan-open-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(147,197,253,.23);
    border-radius: 9px;
    background: rgba(59,130,246,.14);
    color: #a8d0ff;
    font-size: .86rem;
}

.scan-list[b-3c8gy8owgn]  .scan-open-copy,
.bulk-document-list[b-3c8gy8owgn]  .scan-open-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scan-list[b-3c8gy8owgn]  .scan-open-copy strong,
.bulk-document-list[b-3c8gy8owgn]  .scan-open-copy strong {
    color: #f1f7ff;
    font-size: .77rem;
    font-weight: 850;
    line-height: 1.1;
}

.scan-list[b-3c8gy8owgn]  .scan-open-copy small,
.bulk-document-list[b-3c8gy8owgn]  .scan-open-copy small {
    color: #8fa9ca;
    font-size: .61rem;
    font-weight: 650;
    line-height: 1.1;
}

.scan-list[b-3c8gy8owgn]  .scan-open-arrow,
.bulk-document-list[b-3c8gy8owgn]  .scan-open-arrow {
    color: #84b5ff;
    font-size: .96rem;
    font-weight: 800;
    transition: transform .14s ease, color .14s ease;
}

.scan-list[b-3c8gy8owgn]  .scan-open-button:hover .scan-open-arrow,
.bulk-document-list[b-3c8gy8owgn]  .scan-open-button:hover .scan-open-arrow {
    color: #dbeafe;
    transform: translate(2px, -2px);
}

.scan-list[b-3c8gy8owgn]  .view-button.scan-open-button.disabled,
.bulk-document-list[b-3c8gy8owgn]  .view-button.scan-open-button.disabled {
    border-color: rgba(148,163,184,.11);
    background: rgba(148,163,184,.035);
    color: #718096;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 860px) {
    .scan-list[b-3c8gy8owgn]  .scan-row,
    .bulk-document-list[b-3c8gy8owgn]  .scan-row {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
    }

    .scan-list[b-3c8gy8owgn]  .scan-actions,
    .bulk-document-list[b-3c8gy8owgn]  .scan-actions {
        grid-column: 2;
        justify-content: flex-start;
        width: 100%;
    }

    .scan-list[b-3c8gy8owgn]  .view-button.scan-open-button,
    .bulk-document-list[b-3c8gy8owgn]  .view-button.scan-open-button {
        width: min(230px, 100%);
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .bulk-document-details > .scan-toggle-summary[b-3c8gy8owgn] {
        grid-template-columns: 36px minmax(0, 1fr) auto 18px;
        gap: 9px;
        padding: 11px 13px;
    }

    .scan-toggle-icon[b-3c8gy8owgn] {
        width: 36px;
        height: 36px;
    }

    .scan-toggle-copy small[b-3c8gy8owgn] {
        display: none;
    }

    .bulk-document-list[b-3c8gy8owgn] {
        padding: 10px;
    }

    .scan-list[b-3c8gy8owgn]  .scan-row,
    .bulk-document-list[b-3c8gy8owgn]  .scan-row {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .scan-list[b-3c8gy8owgn]  .document-icon,
    .bulk-document-list[b-3c8gy8owgn]  .document-icon {
        width: 40px;
        height: 40px;
    }

    .scan-list[b-3c8gy8owgn]  .scan-actions,
    .bulk-document-list[b-3c8gy8owgn]  .scan-actions {
        grid-column: 1;
    }

    .scan-list[b-3c8gy8owgn]  .view-button.scan-open-button,
    .bulk-document-list[b-3c8gy8owgn]  .view-button.scan-open-button {
        width: 100%;
    }

    .scan-list[b-3c8gy8owgn]  .scan-title strong,
    .bulk-document-list[b-3c8gy8owgn]  .scan-title strong {
        max-width: 100%;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bulk-document-details > .scan-toggle-summary[b-3c8gy8owgn],
    .scan-toggle-chevron[b-3c8gy8owgn],
    .scan-list[b-3c8gy8owgn]  .scan-row,
    .bulk-document-list[b-3c8gy8owgn]  .scan-row,
    .scan-list[b-3c8gy8owgn]  .view-button.scan-open-button,
    .bulk-document-list[b-3c8gy8owgn]  .view-button.scan-open-button,
    .scan-list[b-3c8gy8owgn]  .scan-open-arrow,
    .bulk-document-list[b-3c8gy8owgn]  .scan-open-arrow {
        transition: none !important;
    }
}
/* /Pages/Auto/Wholesale-Plating.razor.rz.scp.css */
.scan-page[b-v05umoaxmz] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .scan-page h1[b-v05umoaxmz] {
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

.page-description[b-v05umoaxmz] {
    max-width: 650px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ================================
   Table Card
================================ */

.table-card[b-v05umoaxmz] {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    animation: fadeIn-b-v05umoaxmz .25s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

/* ================================
   Toolbar / Filters
================================ */

.table-toolbar[b-v05umoaxmz] {
    display: flex;
    gap: 18px;
    align-items: end;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.filter-group[b-v05umoaxmz] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 190px;
}

    .filter-group label[b-v05umoaxmz] {
        font-size: .85rem;
        color: var(--text-muted);
        font-weight: 600;
    }

.search-filter[b-v05umoaxmz] {
    flex: 1;
    min-width: 320px;
}

.form-select[b-v05umoaxmz],
.search-box[b-v05umoaxmz] {
    height: 46px;
    border-radius: 10px;
}

.search-box[b-v05umoaxmz] {
    width: 100%;
}

/* ================================
   Table
================================ */

.table[b-v05umoaxmz] {
    margin-bottom: 0;
    color: var(--text);
}

    .table thead[b-v05umoaxmz] {
        border-bottom: 2px solid var(--border);
    }

        .table thead th[b-v05umoaxmz] {
            border: none;
            padding: 16px;
            color: var(--text-muted);
            font-size: .85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .05em;
        }

    .table tbody td[b-v05umoaxmz] {
        border-top: 1px solid var(--border);
        padding: 16px;
        vertical-align: middle;
    }

    .table tbody tr[b-v05umoaxmz] {
        transition: .15s;
    }

        .table tbody tr:hover[b-v05umoaxmz] {
            background: rgba(255,255,255,.03);
        }

/* ================================
   Missing Item Highlight
================================ */

.missing-row[b-v05umoaxmz] {
    background: rgba(239,68,68,.06);
}

    .missing-row:hover[b-v05umoaxmz] {
        background: rgba(239,68,68,.12) !important;
    }

    .missing-row td:first-child[b-v05umoaxmz] {
        border-left: 4px solid #ef4444;
    }

/* ================================
   Actions
================================ */

.actions-cell[b-v05umoaxmz] {
    width: 170px;
    position: relative;
}

.dropdown[b-v05umoaxmz] {
    position: relative;
    display: inline-block;
}

.action-btn[b-v05umoaxmz] {
    width: 140px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-weight: 600;
    transition: .2s;
}

    .action-btn:hover[b-v05umoaxmz] {
        border-color: var(--primary);
        background: rgba(59,130,246,.08);
    }

.dropdown-menu[b-v05umoaxmz] {
    position: absolute;
    right: 0;
    top: 46px;
    width: 235px;
    background: #1b1f28;
    border: 1px solid #313743;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    animation: dropdownFade-b-v05umoaxmz .15s ease;
}

.dropdown-item[b-v05umoaxmz] {
    width: 100%;
    border: none;
    background: transparent;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-align: left;
    transition: .15s;
    font-size: .95rem;
}

    .dropdown-item .oi[b-v05umoaxmz] {
        width: 18px;
    }

    /* Transfer */

    .dropdown-item.transfer .oi[b-v05umoaxmz] {
        color: #22c55e;
    }

    .dropdown-item.transfer:hover[b-v05umoaxmz] {
        background: rgba(34,197,94,.12);
        color: #22c55e;
    }

    /* Missing */

    .dropdown-item.missing .oi[b-v05umoaxmz] {
        color: #f59e0b;
    }

    .dropdown-item.missing:hover[b-v05umoaxmz] {
        background: rgba(245,158,11,.12);
        color: #f59e0b;
    }

    /* Disabled */

    .dropdown-item.disabled[b-v05umoaxmz] {
        opacity: .45;
        cursor: not-allowed;
    }

        .dropdown-item.disabled:hover[b-v05umoaxmz] {
            background: transparent;
            color: inherit;
        }

/* ================================
   Modal
================================ */

.modal-backdrop[b-v05umoaxmz] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn-b-v05umoaxmz .15s ease;
}

.transfer-modal[b-v05umoaxmz] {
    width: 560px;
    max-width: 95%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    animation: modalIn-b-v05umoaxmz .18s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.modal-header[b-v05umoaxmz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
}

.modal-body[b-v05umoaxmz] {
    padding: 28px;
}

    .modal-body label[b-v05umoaxmz] {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .modal-body .form-control[b-v05umoaxmz],
    .modal-body .form-select[b-v05umoaxmz] {
        height: 48px;
        margin-bottom: 20px;
    }

    .modal-body input[readonly][b-v05umoaxmz] {
        background: #1f2633 !important;
        color: #dce3ec !important;
        opacity: 1;
    }

.readonly-field[b-v05umoaxmz] {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    background: #1f2633;
    border: 1px solid #3b4556;
    color: #dce3ec;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-footer[b-v05umoaxmz] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 22px 28px;
    border-top: 1px solid var(--border);
}

.close-btn[b-v05umoaxmz] {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
}

/* ================================
   Animations
================================ */

@keyframes dropdownFade-b-v05umoaxmz {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalIn-b-v05umoaxmz {

    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn-b-v05umoaxmz {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {

    .table-toolbar[b-v05umoaxmz] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-filter[b-v05umoaxmz] {
        min-width: 100%;
    }

    .table-card[b-v05umoaxmz] {
        overflow-x: auto;
    }

    .table[b-v05umoaxmz] {
        min-width: 1100px;
    }
}



/* ==========================================
   Transfer Modal
========================================== */

.modal-backdrop[b-v05umoaxmz] {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 18, .72);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn-b-v05umoaxmz .18s ease;
}

.transfer-modal[b-v05umoaxmz] {
    width: 560px;
    max-width: 95%;
    background: #171c24;
    border: 1px solid #313743;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    animation: modalIn-b-v05umoaxmz .2s ease;
}

.modal-header[b-v05umoaxmz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: rgba(255,255,255,.02);
    border-bottom: 1px solid #313743;
}

    .modal-header h4[b-v05umoaxmz] {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 700;
        color: #fff;
    }

.close-btn[b-v05umoaxmz] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #b7c0ce;
    font-size: 1.2rem;
    transition: .2s;
}

    .close-btn:hover[b-v05umoaxmz] {
        background: rgba(255,255,255,.06);
        color: white;
    }

.modal-body[b-v05umoaxmz] {
    padding: 30px;
}

    .modal-body .form-group[b-v05umoaxmz] {
        margin-bottom: 24px;
    }

    .modal-body label[b-v05umoaxmz] {
        display: block;
        margin-bottom: 8px;
        font-size: .9rem;
        font-weight: 600;
        color: #c8d1dd;
    }

    .modal-body .form-control[b-v05umoaxmz] {
        height: 52px;
        border-radius: 10px;
        border: 1px solid #3a4453;
        background: #232a36;
        color: white;
        transition: .2s;
    }

        .modal-body .form-control:focus[b-v05umoaxmz] {
            border-color: var(--primary);
            box-shadow: 0 0 0 .15rem rgba(59,130,246,.20);
        }

    .modal-body input[readonly][b-v05umoaxmz] {
        background: #1b212b !important;
        color: #dbe5f3 !important;
        cursor: default;
        opacity: 1;
    }

.readonly-field[b-v05umoaxmz] {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 10px;
    background: #1b212b;
    border: 1px solid #364050;
    color: #dbe5f3;
    font-weight: 600;
}

.transfer-info[b-v05umoaxmz] {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

    .transfer-info .info-box[b-v05umoaxmz] {
        flex: 1;
        background: #202733;
        border: 1px solid #313b4a;
        border-radius: 12px;
        padding: 14px 16px;
    }

        .transfer-info .info-box span[b-v05umoaxmz] {
            display: block;
            font-size: .75rem;
            text-transform: uppercase;
            letter-spacing: .08em;
            color: #8f99a8;
            margin-bottom: 4px;
        }

        .transfer-info .info-box strong[b-v05umoaxmz] {
            color: white;
            font-size: 1rem;
        }

.modal-footer[b-v05umoaxmz] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 22px 28px;
    background: rgba(255,255,255,.02);
    border-top: 1px solid #313743;
}

    .modal-footer .btn[b-v05umoaxmz] {
        min-width: 140px;
        height: 46px;
        font-weight: 600;
        border-radius: 10px;
    }

    .modal-footer .btn-secondary[b-v05umoaxmz] {
        background: #2a3342;
        border: 1px solid #3b4555;
        color: white;
    }

        .modal-footer .btn-secondary:hover[b-v05umoaxmz] {
            background: #374355;
        }

    .modal-footer .btn-primary[b-v05umoaxmz] {
        background: #22c55e;
        border-color: #22c55e;
    }

        .modal-footer .btn-primary:hover[b-v05umoaxmz] {
            background: #16a34a;
            border-color: #16a34a;
        }

.spinner[b-v05umoaxmz] {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: white;
    animation: spin .7s linear infinite;
}






.missing-modal[b-v05umoaxmz] {
    width: 700px;
    max-width: 95%;
    background: #171c24;
    border: 1px solid #313743;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    animation: modalIn-b-v05umoaxmz .2s ease;
}

.btn-warning[b-v05umoaxmz] {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

    .btn-warning:hover[b-v05umoaxmz] {
        background: #d97706;
        border-color: #d97706;
        color: white;
    }
/* /Pages/Index.razor.rz.scp.css */
.dashboard-page[b-4g3apyufnn] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 clamp(8px, 1.4vw, 24px) 40px;
    box-sizing: border-box;
    animation: fadeIn-b-4g3apyufnn .24s ease;
}

/* =============================================================
   HERO
   ============================================================= */

.dashboard-hero[b-4g3apyufnn] {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
    padding: clamp(26px, 3vw, 40px);
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, .18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 18%, rgba(59, 130, 246, .20), transparent 31%),
        radial-gradient(circle at 10% 125%, rgba(14, 165, 233, .09), transparent 38%),
        linear-gradient(135deg, rgba(24, 32, 45, .99), rgba(16, 23, 34, .99));
    box-shadow: 0 22px 60px rgba(0, 0, 0, .26);
}

.dashboard-hero[b-4g3apyufnn]::before,
.dashboard-hero[b-4g3apyufnn]::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-hero[b-4g3apyufnn]::before {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: -190px;
    border: 1px solid rgba(96, 165, 250, .12);
}

.dashboard-hero[b-4g3apyufnn]::after {
    width: 180px;
    height: 180px;
    right: 70px;
    top: -118px;
    background: rgba(59, 130, 246, .035);
}

.hero-copy[b-4g3apyufnn],
.hero-side[b-4g3apyufnn] {
    position: relative;
    z-index: 1;
}

.hero-copy[b-4g3apyufnn] {
    min-width: 0;
    max-width: 760px;
}

.hero-eyebrow[b-4g3apyufnn] {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #93c5fd;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.hero-eyebrow-dot[b-4g3apyufnn],
.live-dot[b-4g3apyufnn] {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #60a5fa;
}

.hero-eyebrow-dot[b-4g3apyufnn] {
    box-shadow: 0 0 0 6px rgba(96, 165, 250, .10);
}

.dashboard-hero h1[b-4g3apyufnn] {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(2.15rem, 3.4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.04em;
}

.dashboard-hero p[b-4g3apyufnn] {
    max-width: 720px;
    margin: 0;
    color: #9aa9bd;
    font-size: 1rem;
    line-height: 1.65;
}

.hero-meta[b-4g3apyufnn] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.live-pill[b-4g3apyufnn] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid rgba(34, 197, 94, .18);
    border-radius: 999px;
    background: rgba(34, 197, 94, .07);
    color: #86efac;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.live-dot[b-4g3apyufnn] {
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .08);
}

.hero-meta-copy[b-4g3apyufnn] {
    color: #728198;
    font-size: .82rem;
}

.hero-side[b-4g3apyufnn] {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.hero-mark[b-4g3apyufnn] {
    width: 84px;
    min-width: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, .26);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(59, 130, 246, .18), rgba(59, 130, 246, .045));
    color: #bfdbfe;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -.05em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 32px rgba(0,0,0,.20);
}

.dashboard-date[b-4g3apyufnn] {
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 18px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 18px;
    background: rgba(15, 23, 42, .32);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.dashboard-date .oi[b-4g3apyufnn] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(59, 130, 246, .10);
    color: #60a5fa;
    font-size: 1.15rem;
}

.dashboard-date small[b-4g3apyufnn],
.dashboard-date strong[b-4g3apyufnn] {
    display: block;
}

.dashboard-date small[b-4g3apyufnn] {
    margin-bottom: 2px;
    color: #7e8da3;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dashboard-date strong[b-4g3apyufnn] {
    color: #e5edf8;
    font-size: .93rem;
    white-space: nowrap;
}

/* =============================================================
   LOADING
   ============================================================= */

.dashboard-loading-card[b-4g3apyufnn] {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 40px;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(31, 41, 55, .96), rgba(24, 32, 45, .96));
    box-shadow: 0 18px 48px rgba(0,0,0,.20);
}

.dashboard-loading-card strong[b-4g3apyufnn] {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 1.05rem;
}

.dashboard-loading-card p[b-4g3apyufnn] {
    margin: 0;
    color: var(--text-muted);
    font-size: .9rem;
}

.dashboard-spinner[b-4g3apyufnn] {
    width: 34px;
    height: 34px;
    display: inline-block;
    flex: 0 0 auto;
    border: 3px solid rgba(255,255,255,.16);
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: spin-b-4g3apyufnn .72s linear infinite;
}

.dashboard-spinner.small[b-4g3apyufnn] {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

/* =============================================================
   METRIC CARDS
   ============================================================= */

.metric-grid[b-4g3apyufnn] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 24px;
}

.metric-card[b-4g3apyufnn] {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 20px;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(31, 41, 55, .98), rgba(23, 31, 43, .98));
    color: var(--text);
    box-shadow: 0 11px 30px rgba(0,0,0,.19);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.metric-card[b-4g3apyufnn]::before,
.metric-card[b-4g3apyufnn]::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.metric-card[b-4g3apyufnn]::before {
    inset: 0 0 auto;
    height: 2px;
    background: currentColor;
    opacity: .82;
}

.metric-card[b-4g3apyufnn]::after {
    width: 135px;
    height: 135px;
    right: -55px;
    bottom: -62px;
    border-radius: 50%;
    background: currentColor;
    opacity: .035;
}

.metric-card:hover[b-4g3apyufnn] {
    transform: translateY(-3px);
    box-shadow: 0 17px 40px rgba(0,0,0,.29);
}

.metric-card.retail-waiting[b-4g3apyufnn] {
    color: #60a5fa;
}

.metric-card.retail-completed[b-4g3apyufnn] {
    color: #4ade80;
}

.metric-card.wholesale-waiting[b-4g3apyufnn] {
    color: #a78bfa;
}

.metric-card.missing-items[b-4g3apyufnn] {
    color: #fbbf24;
}

.metric-card:hover.retail-waiting[b-4g3apyufnn] { border-color: rgba(96, 165, 250, .34); }
.metric-card:hover.retail-completed[b-4g3apyufnn] { border-color: rgba(74, 222, 128, .30); }
.metric-card:hover.wholesale-waiting[b-4g3apyufnn] { border-color: rgba(167, 139, 250, .32); }
.metric-card:hover.missing-items[b-4g3apyufnn] { border-color: rgba(251, 191, 36, .30); }

.metric-card-top[b-4g3apyufnn] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 17px;
}

.metric-icon[b-4g3apyufnn] {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    border: 1px solid currentColor;
    border-radius: 14px;
    background: color-mix(in srgb, currentColor 8%, transparent);
    font-size: 1.12rem;
    opacity: .95;
}

.metric-arrow[b-4g3apyufnn] {
    color: #728198;
    font-size: .9rem;
    transition: color .14s ease, transform .14s ease;
}

.metric-card:hover .metric-arrow[b-4g3apyufnn] {
    color: currentColor;
    transform: translateX(3px);
}

.metric-content[b-4g3apyufnn] {
    position: relative;
    z-index: 1;
    flex: 1;
}

.metric-label[b-4g3apyufnn] {
    display: block;
    color: #95a4b8;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.metric-value[b-4g3apyufnn] {
    display: block;
    margin: 7px 0 6px;
    color: var(--text);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
}

.metric-caption[b-4g3apyufnn] {
    display: block;
    color: #7f8da1;
    font-size: .82rem;
}

.metric-footer[b-4g3apyufnn] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, .10);
    color: #6f7e92;
    font-size: .72rem;
    font-weight: 700;
}

.metric-status-dot[b-4g3apyufnn] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* =============================================================
   CHART PANELS
   ============================================================= */

.chart-grid[b-4g3apyufnn] {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(340px, .9fr);
    gap: 18px;
    margin-bottom: 18px;
}

.chart-card[b-4g3apyufnn],
.activity-card[b-4g3apyufnn] {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .13);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(31, 41, 55, .985), rgba(24, 32, 45, .985));
    box-shadow: 0 17px 46px rgba(0,0,0,.22);
}

.chart-card[b-4g3apyufnn] {
    padding: clamp(19px, 2vw, 28px);
}

.chart-card-accent[b-4g3apyufnn],
.activity-card-accent[b-4g3apyufnn] {
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(96, 165, 250, .8), rgba(96, 165, 250, 0));
}

.missing-chart-card .chart-card-accent[b-4g3apyufnn] {
    background: linear-gradient(90deg, rgba(245, 158, 11, .78), rgba(245, 158, 11, 0));
}

.chart-header[b-4g3apyufnn] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-eyebrow[b-4g3apyufnn] {
    display: inline-block;
    margin-bottom: 5px;
    color: #60a5fa;
    font-size: .70rem;
    font-weight: 850;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.missing-chart-card .section-eyebrow[b-4g3apyufnn] {
    color: #fbbf24;
}

.chart-header h2[b-4g3apyufnn],
.activity-header h2[b-4g3apyufnn] {
    margin: 0 0 5px;
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 760;
    letter-spacing: -.015em;
}

.chart-header p[b-4g3apyufnn],
.activity-header p[b-4g3apyufnn] {
    margin: 0;
    color: #7e8da3;
    font-size: .86rem;
    line-height: 1.5;
}

.chart-summary[b-4g3apyufnn] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.summary-pill[b-4g3apyufnn] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 999px;
    background: rgba(15, 23, 42, .28);
    color: #8fa0b6;
    font-size: .73rem;
    font-weight: 700;
}

.summary-pill strong[b-4g3apyufnn] {
    color: #dce5f2;
    font-size: .78rem;
}

.summary-dot[b-4g3apyufnn] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.summary-dot.retail[b-4g3apyufnn] { background: #3b82f6; }
.summary-dot.wholesale[b-4g3apyufnn] { background: #22c55e; }

.panel-link[b-4g3apyufnn] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(245, 158, 11, .18);
    border-radius: 9px;
    background: rgba(245, 158, 11, .06);
    color: #fbbf24;
    text-decoration: none;
    font-size: .73rem;
    font-weight: 800;
    transition: .14s ease;
}

.panel-link:hover[b-4g3apyufnn] {
    border-color: rgba(245, 158, 11, .38);
    background: rgba(245, 158, 11, .11);
    color: #fde68a;
}

.panel-link .oi[b-4g3apyufnn] {
    font-size: .72rem;
}

.chart-container[b-4g3apyufnn] {
    position: relative;
    min-width: 0;
    height: 350px;
}

.chart-container canvas[b-4g3apyufnn] {
    max-width: 100%;
}

/* Doughnut center text is drawn by Chart.js so it stays aligned with the actual arc center. */

.chart-empty-state[b-4g3apyufnn] {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
}

.chart-empty-state .oi[b-4g3apyufnn] {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid rgba(96, 165, 250, .18);
    border-radius: 16px;
    background: rgba(59, 130, 246, .07);
    color: #60a5fa;
    font-size: 1.45rem;
}

.chart-empty-state.success .oi[b-4g3apyufnn] {
    border-color: rgba(34, 197, 94, .18);
    background: rgba(34, 197, 94, .07);
    color: #4ade80;
}

.chart-empty-state h3[b-4g3apyufnn] {
    margin: 0 0 5px;
    color: #dfe8f5;
    font-size: 1rem;
}

.chart-empty-state p[b-4g3apyufnn] {
    max-width: 330px;
    margin: 0;
    color: #718096;
    font-size: .82rem;
    line-height: 1.5;
}

/* =============================================================
   RECENT ACTIVITY
   ============================================================= */

.activity-card[b-4g3apyufnn] {
    padding: clamp(18px, 2vw, 28px);
}

.activity-card-accent[b-4g3apyufnn] {
    background: linear-gradient(90deg, rgba(139, 92, 246, .78), rgba(139, 92, 246, 0));
}

.activity-header[b-4g3apyufnn] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.activity-header .section-eyebrow[b-4g3apyufnn] {
    color: #a78bfa;
}

.activity-actions[b-4g3apyufnn] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-count[b-4g3apyufnn] {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(139, 92, 246, .14);
    border-radius: 10px;
    background: rgba(139, 92, 246, .055);
    color: #8795aa;
    font-size: .73rem;
    font-weight: 700;
}

.activity-count strong[b-4g3apyufnn] {
    color: #c4b5fd;
    font-size: .95rem;
}

.refresh-button[b-4g3apyufnn] {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #3a4659;
    border-radius: 10px;
    background: rgba(15, 23, 42, .30);
    color: #d9e2ef;
    font-size: .82rem;
    font-weight: 750;
    transition: border-color .14s ease, background .14s ease, transform .14s ease;
}

.refresh-button:hover:not(:disabled)[b-4g3apyufnn] {
    border-color: rgba(96, 165, 250, .52);
    background: rgba(59, 130, 246, .09);
    transform: translateY(-1px);
}

.refresh-button:disabled[b-4g3apyufnn] {
    opacity: .58;
    cursor: wait;
}

.activity-table-wrapper[b-4g3apyufnn] {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 14px;
    background: rgba(15, 23, 42, .18);
    scrollbar-width: thin;
    scrollbar-color: #455267 transparent;
}

.activity-table[b-4g3apyufnn] {
    width: 100%;
    min-width: 940px;
    border-collapse: separate;
    border-spacing: 0;
}

.activity-table thead th[b-4g3apyufnn] {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
    background: rgba(15, 23, 42, .33);
    color: #8291a6;
    text-align: left;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .065em;
    text-transform: uppercase;
    white-space: nowrap;
}

.activity-table tbody td[b-4g3apyufnn] {
    padding: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .08);
    color: #cfd8e5;
    font-size: .84rem;
    vertical-align: middle;
}

.activity-table tbody tr:last-child td[b-4g3apyufnn] {
    border-bottom: none;
}

.activity-table tbody tr[b-4g3apyufnn] {
    transition: background .13s ease;
}

.activity-table tbody tr:hover[b-4g3apyufnn] {
    background: rgba(96, 165, 250, .032);
}

.activity-type[b-4g3apyufnn] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-icon[b-4g3apyufnn] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: white;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

.activity-icon.retail[b-4g3apyufnn] { background: linear-gradient(145deg, #3b82f6, #2563eb); }
.activity-icon.wholesale[b-4g3apyufnn] { background: linear-gradient(145deg, #22c55e, #16a34a); }
.activity-icon.missing-created[b-4g3apyufnn] { background: linear-gradient(145deg, #f59e0b, #d97706); }
.activity-icon.missing-received[b-4g3apyufnn] { background: linear-gradient(145deg, #8b5cf6, #7c3aed); }
.activity-icon.default[b-4g3apyufnn] { background: linear-gradient(145deg, #64748b, #475569); }

.activity-copy[b-4g3apyufnn],
.record-reference[b-4g3apyufnn],
.activity-date[b-4g3apyufnn] {
    min-width: 0;
}

.activity-copy strong[b-4g3apyufnn],
.activity-copy span[b-4g3apyufnn],
.record-reference strong[b-4g3apyufnn],
.record-reference span[b-4g3apyufnn],
.activity-date strong[b-4g3apyufnn],
.activity-date span[b-4g3apyufnn] {
    display: block;
}

.activity-copy strong[b-4g3apyufnn],
.record-reference strong[b-4g3apyufnn],
.activity-date strong[b-4g3apyufnn] {
    color: #dbe4f0;
    font-weight: 720;
}

.activity-copy span[b-4g3apyufnn],
.record-reference span[b-4g3apyufnn],
.activity-date span[b-4g3apyufnn] {
    margin-top: 3px;
    color: #78879b;
    font-size: .76rem;
}

.activity-copy span[b-4g3apyufnn] {
    max-width: 360px;
    overflow-wrap: anywhere;
}

.user-cell[b-4g3apyufnn] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.user-avatar[b-4g3apyufnn] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, .22);
    border-radius: 11px;
    background: rgba(59, 130, 246, .10);
    color: #bfdbfe;
    font-size: .72rem;
    font-weight: 850;
}

.user-name[b-4g3apyufnn] {
    overflow-wrap: anywhere;
}

.activity-empty[b-4g3apyufnn] {
    padding: 58px 20px !important;
    text-align: center;
    color: #718096 !important;
}

.activity-empty .oi[b-4g3apyufnn] {
    display: block;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 1.8rem;
}

.activity-empty strong[b-4g3apyufnn] {
    display: block;
    margin-bottom: 5px;
    color: #d5dfec;
}

.activity-empty p[b-4g3apyufnn] {
    margin: 0;
    font-size: .82rem;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1250px) {
    .dashboard-hero[b-4g3apyufnn] {
        align-items: stretch;
    }

    .hero-side[b-4g3apyufnn] {
        flex-direction: column;
        min-width: 210px;
    }

    .hero-mark[b-4g3apyufnn] {
        width: 100%;
        min-width: 0;
        min-height: 62px;
    }

    .metric-grid[b-4g3apyufnn] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chart-grid[b-4g3apyufnn] {
        grid-template-columns: 1fr;
    }

    .missing-chart-card .chart-container[b-4g3apyufnn] {
        max-width: 620px;
        margin-inline: auto;
    }
}

@media (max-width: 850px) {
    .dashboard-page[b-4g3apyufnn] {
        padding-inline: 8px;
    }

    .dashboard-hero[b-4g3apyufnn] {
        flex-direction: column;
        min-height: 0;
        padding: 25px;
    }

    .hero-side[b-4g3apyufnn] {
        width: 100%;
        flex-direction: row;
        min-width: 0;
    }

    .hero-mark[b-4g3apyufnn] {
        width: 70px;
        min-width: 70px;
        min-height: 70px;
    }

    .dashboard-date[b-4g3apyufnn] {
        flex: 1;
        min-width: 0;
    }

    .chart-header[b-4g3apyufnn],
    .activity-header[b-4g3apyufnn] {
        align-items: stretch;
        flex-direction: column;
    }

    .chart-summary[b-4g3apyufnn],
    .activity-actions[b-4g3apyufnn] {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .dashboard-page[b-4g3apyufnn] {
        padding-inline: 4px;
        padding-bottom: 24px;
    }

    .dashboard-hero[b-4g3apyufnn] {
        padding: 21px;
        border-radius: 18px;
    }

    .dashboard-hero h1[b-4g3apyufnn] {
        font-size: 2rem;
    }

    .hero-meta-copy[b-4g3apyufnn],
    .hero-mark[b-4g3apyufnn] {
        display: none;
    }

    .dashboard-date[b-4g3apyufnn] {
        width: 100%;
    }

    .metric-grid[b-4g3apyufnn] {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .metric-card[b-4g3apyufnn] {
        min-height: 0;
        padding: 17px;
    }

    .metric-card-top[b-4g3apyufnn] {
        margin-bottom: 13px;
    }

    .metric-footer[b-4g3apyufnn] {
        margin-top: 14px;
    }

    .chart-card[b-4g3apyufnn],
    .activity-card[b-4g3apyufnn] {
        border-radius: 15px;
    }

    .chart-container[b-4g3apyufnn] {
        height: 310px;
    }

    .chart-summary[b-4g3apyufnn] {
        width: 100%;
    }

    .summary-pill[b-4g3apyufnn] {
        flex: 1 1 auto;
        justify-content: center;
    }

    .missing-chart-header[b-4g3apyufnn] {
        gap: 12px;
    }

    .panel-link[b-4g3apyufnn] {
        align-self: flex-start;
    }

    .activity-actions[b-4g3apyufnn] {
        width: 100%;
    }

    .activity-count[b-4g3apyufnn],
    .refresh-button[b-4g3apyufnn] {
        flex: 1 1 0;
        justify-content: center;
    }

    /* Convert recent activity into stacked cards instead of a wide table. */
    .activity-table-wrapper[b-4g3apyufnn] {
        overflow: visible;
        border: none;
        background: transparent;
    }

    .activity-table[b-4g3apyufnn] {
        min-width: 0;
        display: block;
    }

    .activity-table thead[b-4g3apyufnn] {
        display: none;
    }

    .activity-table tbody[b-4g3apyufnn] {
        display: block;
    }

    .activity-table tbody tr[b-4g3apyufnn] {
        display: block;
        margin-bottom: 11px;
        overflow: hidden;
        border: 1px solid rgba(148, 163, 184, .11);
        border-radius: 12px;
        background: rgba(15, 23, 42, .20);
    }

    .activity-table tbody tr:last-child[b-4g3apyufnn] {
        margin-bottom: 0;
    }

    .activity-table tbody td[b-4g3apyufnn] {
        display: grid;
        grid-template-columns: 102px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 10px 12px;
        border-bottom: 1px solid rgba(148, 163, 184, .075);
    }

    .activity-table tbody td:last-child[b-4g3apyufnn] {
        border-bottom: none;
    }

    .activity-table tbody td[b-4g3apyufnn]::before {
        content: attr(data-label);
        color: #718096;
        font-size: .66rem;
        font-weight: 850;
        letter-spacing: .055em;
        text-transform: uppercase;
    }

    .activity-table tbody td.activity-empty[b-4g3apyufnn] {
        display: block;
    }

    .activity-table tbody td.activity-empty[b-4g3apyufnn]::before {
        display: none;
    }

    .activity-type[b-4g3apyufnn] {
        align-items: flex-start;
    }

    .activity-copy span[b-4g3apyufnn] {
        max-width: none;
    }
}

@media (max-width: 440px) {
    .hero-meta[b-4g3apyufnn] {
        margin-top: 15px;
    }

    .dashboard-date[b-4g3apyufnn] {
        padding: 14px;
    }

    .dashboard-date .oi[b-4g3apyufnn] {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .activity-actions[b-4g3apyufnn] {
        flex-direction: column;
        align-items: stretch;
    }

    .activity-count[b-4g3apyufnn],
    .refresh-button[b-4g3apyufnn] {
        width: 100%;
    }

    .activity-table tbody td[b-4g3apyufnn] {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-page[b-4g3apyufnn],
    .metric-card[b-4g3apyufnn],
    .dashboard-spinner[b-4g3apyufnn] {
        animation: none !important;
        transition: none !important;
    }
}

/* =============================================================
   ANIMATIONS
   ============================================================= */

@keyframes spin-b-4g3apyufnn {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn-b-4g3apyufnn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Pages/PowerSports/PS-Dashboard.razor.rz.scp.css */
.dashboard-page[b-5zbbqzmkm6] {
    width: 100%;
    animation: fadeIn-b-5zbbqzmkm6 .25s ease;
}

/* ===================================
   Header
=================================== */

.dashboard-header[b-5zbbqzmkm6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.page-eyebrow[b-5zbbqzmkm6] {
    display: inline-block;
    color: var(--primary);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 8px;
}

.dashboard-header h1[b-5zbbqzmkm6] {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.dashboard-header p[b-5zbbqzmkm6] {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0;
}

.dashboard-date[b-5zbbqzmkm6] {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 8px 30px rgba(0,0,0,.20);
}

    .dashboard-date .oi[b-5zbbqzmkm6] {
        font-size: 1.6rem;
        color: var(--primary);
    }

    .dashboard-date small[b-5zbbqzmkm6] {
        display: block;
        color: var(--text-muted);
    }

    .dashboard-date strong[b-5zbbqzmkm6] {
        font-size: 1rem;
    }

/* ===================================
   Metric Cards
=================================== */

.metric-grid[b-5zbbqzmkm6] {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
    margin-bottom: 32px;
}

.metric-card[b-5zbbqzmkm6] {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px;
    text-decoration: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: all .2s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.22);
    animation: fadeIn-b-5zbbqzmkm6 .25s ease;
}

    .metric-card:hover[b-5zbbqzmkm6] {
        transform: translateY(-4px);
        border-color: var(--primary);
        box-shadow: 0 16px 45px rgba(0,0,0,.35);
    }

    .metric-card[b-5zbbqzmkm6]::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .05;
    }

.retail-waiting[b-5zbbqzmkm6]::before {
    background: #3b82f6;
}

.retail-completed[b-5zbbqzmkm6]::before {
    background: #22c55e;
}

.wholesale-waiting[b-5zbbqzmkm6]::before {
    background: #8b5cf6;
}

.missing-items[b-5zbbqzmkm6]::before {
    background: #f59e0b;
}

.metric-icon[b-5zbbqzmkm6] {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.retail-waiting .metric-icon[b-5zbbqzmkm6] {
    color: #3b82f6;
}

.retail-completed .metric-icon[b-5zbbqzmkm6] {
    color: #22c55e;
}

.wholesale-waiting .metric-icon[b-5zbbqzmkm6] {
    color: #8b5cf6;
}

.missing-items .metric-icon[b-5zbbqzmkm6] {
    color: #f59e0b;
}

.metric-content[b-5zbbqzmkm6] {
    flex: 1;
}

.metric-label[b-5zbbqzmkm6] {
    display: block;
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.metric-value[b-5zbbqzmkm6] {
    display: block;
    margin: 6px 0;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
}

.metric-caption[b-5zbbqzmkm6] {
    color: var(--text-muted);
    font-size: .9rem;
}

.metric-arrow[b-5zbbqzmkm6] {
    color: var(--text-muted);
    opacity: .5;
    transition: .2s;
}

.metric-card:hover .metric-arrow[b-5zbbqzmkm6] {
    opacity: 1;
    transform: translateX(4px);
}

/* ===================================
   Charts
=================================== */

.chart-grid[b-5zbbqzmkm6] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.chart-card[b-5zbbqzmkm6] {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,.22);
    animation: fadeIn-b-5zbbqzmkm6 .25s ease;
}

.chart-header[b-5zbbqzmkm6] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.section-eyebrow[b-5zbbqzmkm6] {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.chart-header h2[b-5zbbqzmkm6] {
    margin: 0 0 8px;
    font-size: 1.4rem;
}

.chart-header p[b-5zbbqzmkm6] {
    color: var(--text-muted);
    margin: 0;
}

.chart-container[b-5zbbqzmkm6] {
    position: relative;
    height: 360px;
}

.chart-center-label[b-5zbbqzmkm6] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transform: translateY(-80px);
}

    .chart-center-label strong[b-5zbbqzmkm6] {
        font-size: 2rem;
    }

    .chart-center-label span[b-5zbbqzmkm6] {
        color: var(--text-muted);
    }

/* ===================================
   Chart Summary
=================================== */

.chart-summary[b-5zbbqzmkm6] {
    display: flex;
    gap: 26px;
}

    .chart-summary div[b-5zbbqzmkm6] {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .chart-summary strong[b-5zbbqzmkm6] {
        margin-left: 6px;
    }

.summary-dot[b-5zbbqzmkm6] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .summary-dot.retail[b-5zbbqzmkm6] {
        background: #3b82f6;
    }

    .summary-dot.wholesale[b-5zbbqzmkm6] {
        background: #22c55e;
    }

/* ===================================
   Activity
=================================== */

.activity-card[b-5zbbqzmkm6] {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,.22);
    animation: fadeIn-b-5zbbqzmkm6 .25s ease;
}

.activity-header[b-5zbbqzmkm6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.refresh-button[b-5zbbqzmkm6] {
    height: 46px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .2s;
}

    .refresh-button:hover[b-5zbbqzmkm6] {
        border-color: var(--primary);
        background: rgba(59,130,246,.08);
    }

.activity-table[b-5zbbqzmkm6] {
    width: 100%;
    border-collapse: collapse;
}

    .activity-table thead th[b-5zbbqzmkm6] {
        text-align: left;
        padding: 16px;
        color: var(--text-muted);
        text-transform: uppercase;
        font-size: .8rem;
        border-bottom: 1px solid var(--border);
    }

    .activity-table tbody td[b-5zbbqzmkm6] {
        padding: 18px 16px;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .activity-table tbody tr[b-5zbbqzmkm6] {
        transition: .15s;
    }

        .activity-table tbody tr:hover[b-5zbbqzmkm6] {
            background: rgba(255,255,255,.03);
        }

.activity-type[b-5zbbqzmkm6] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.activity-icon[b-5zbbqzmkm6] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

    .activity-icon.retail[b-5zbbqzmkm6] {
        background: #3b82f6;
    }

    .activity-icon.wholesale[b-5zbbqzmkm6] {
        background: #22c55e;
    }

    .activity-icon.missing-created[b-5zbbqzmkm6] {
        background: #f59e0b;
    }

    .activity-icon.missing-received[b-5zbbqzmkm6] {
        background: #8b5cf6;
    }

.record-reference strong[b-5zbbqzmkm6],
.activity-date strong[b-5zbbqzmkm6] {
    display: block;
}

.record-reference span[b-5zbbqzmkm6],
.activity-date span[b-5zbbqzmkm6] {
    color: var(--text-muted);
    font-size: .85rem;
}

.user-cell[b-5zbbqzmkm6] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar[b-5zbbqzmkm6] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.activity-empty[b-5zbbqzmkm6] {
    padding: 60px !important;
    text-align: center;
    color: var(--text-muted);
}

/* ===================================
   Loading
=================================== */

.dashboard-loading[b-5zbbqzmkm6] {
    padding: 80px;
    text-align: center;
}

.dashboard-spinner[b-5zbbqzmkm6] {
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-5zbbqzmkm6 .8s linear infinite;
}

    .dashboard-spinner.small[b-5zbbqzmkm6] {
        width: 16px;
        height: 16px;
    }

/* ===================================
   Empty Chart
=================================== */

.chart-empty-state[b-5zbbqzmkm6] {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

    .chart-empty-state .oi[b-5zbbqzmkm6] {
        font-size: 2.5rem;
        margin-bottom: 14px;
        color: var(--primary);
    }

/* ===================================
   Responsive
=================================== */

@media (max-width:1200px) {

    .metric-grid[b-5zbbqzmkm6] {
        grid-template-columns: repeat(2,1fr);
    }

    .chart-grid[b-5zbbqzmkm6] {
        grid-template-columns: 1fr;
    }
}

@media (max-width:768px) {

    .dashboard-header[b-5zbbqzmkm6] {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .metric-grid[b-5zbbqzmkm6] {
        grid-template-columns: 1fr;
    }

    .activity-card[b-5zbbqzmkm6],
    .chart-card[b-5zbbqzmkm6] {
        overflow-x: auto;
    }

    .activity-table[b-5zbbqzmkm6] {
        min-width: 900px;
    }

    .chart-container[b-5zbbqzmkm6] {
        height: 300px;
    }
}

/* ===================================
   Animations
=================================== */

@keyframes spin-b-5zbbqzmkm6 {

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn-b-5zbbqzmkm6 {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* ===================================
   PowerSports Dashboard Additions
=================================== */

.missing-received[b-5zbbqzmkm6]::before {
    background: #8b5cf6;
}

.missing-received .metric-icon[b-5zbbqzmkm6] {
    color: #8b5cf6;
}

.summary-dot.missing[b-5zbbqzmkm6] {
    background: #22c55e;
}

.activity-icon.default[b-5zbbqzmkm6] {
    background: #64748b;
}
/* /Pages/PowerSports/PS-Missing-Items.razor.rz.scp.css */
.scan-page[b-dgtwhi9q9f] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .scan-page h1[b-dgtwhi9q9f] {
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

.page-description[b-dgtwhi9q9f] {
    max-width: 650px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ================================
   Table Card
================================ */

.table-card[b-dgtwhi9q9f] {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    animation: fadeIn-b-dgtwhi9q9f .25s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

/* ================================
   Toolbar
================================ */

.table-toolbar[b-dgtwhi9q9f] {
    display: flex;
    gap: 18px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.filter-group[b-dgtwhi9q9f] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 190px;
}

    .filter-group label[b-dgtwhi9q9f] {
        color: var(--text-muted);
        font-size: .85rem;
        font-weight: 600;
    }

.search-filter[b-dgtwhi9q9f] {
    flex: 1;
    min-width: 320px;
}

.search-box[b-dgtwhi9q9f],
.form-select[b-dgtwhi9q9f] {
    height: 46px;
    border-radius: 10px;
}

/* ================================
   Table
================================ */

.table[b-dgtwhi9q9f] {
    margin-bottom: 0;
    color: var(--text);
}

    .table thead[b-dgtwhi9q9f] {
        border-bottom: 2px solid var(--border);
    }

        .table thead th[b-dgtwhi9q9f] {
            border: none;
            padding: 16px;
            color: var(--text-muted);
            text-transform: uppercase;
            font-size: .85rem;
            letter-spacing: .05em;
            font-weight: 600;
        }

    .table tbody td[b-dgtwhi9q9f] {
        border-top: 1px solid var(--border);
        padding: 16px;
        vertical-align: middle;
    }

    .table tbody tr[b-dgtwhi9q9f] {
        transition: .15s;
    }

        .table tbody tr:hover[b-dgtwhi9q9f] {
            background: rgba(255,255,255,.03);
        }

/* ================================
   Received Highlight
================================ */

.received-row[b-dgtwhi9q9f] {
    background: rgba(34,197,94,.06);
}

    .received-row:hover[b-dgtwhi9q9f] {
        background: rgba(34,197,94,.12) !important;
    }

    .received-row td:first-child[b-dgtwhi9q9f] {
        border-left: 4px solid #22c55e;
    }

/* ================================
   Badge
================================ */

.badge[b-dgtwhi9q9f] {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* ================================
   Actions
================================ */

.actions-cell[b-dgtwhi9q9f] {
    width: 170px;
    position: relative;
}

.dropdown[b-dgtwhi9q9f] {
    position: relative;
    display: inline-block;
}

.action-btn[b-dgtwhi9q9f] {
    width: 140px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    font-weight: 600;
    transition: .2s;
}

    .action-btn:hover[b-dgtwhi9q9f] {
        border-color: var(--primary);
        background: rgba(59,130,246,.08);
    }

.dropdown-menu[b-dgtwhi9q9f] {
    position: absolute;
    right: 0;
    top: 46px;
    width: 235px;
    background: #1b1f28;
    border: 1px solid #313743;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    animation: dropdownFade-b-dgtwhi9q9f .15s ease;
    z-index: 1000;
}

.dropdown-item[b-dgtwhi9q9f] {
    width: 100%;
    border: none;
    background: transparent;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-align: left;
    transition: .15s;
    font-size: .95rem;
}

    .dropdown-item .oi[b-dgtwhi9q9f] {
        width: 18px;
    }

    /* Receive */

    .dropdown-item.receive .oi[b-dgtwhi9q9f] {
        color: #22c55e;
    }

    .dropdown-item.receive:hover[b-dgtwhi9q9f] {
        background: rgba(34,197,94,.12);
        color: #22c55e;
    }

    /* Archive */

    .dropdown-item.archive .oi[b-dgtwhi9q9f] {
        color: #ef4444;
    }

    .dropdown-item.archive:hover[b-dgtwhi9q9f] {
        background: rgba(239,68,68,.12);
        color: #ef4444;
    }

/* ================================
   Modal
================================ */

.modal-backdrop[b-dgtwhi9q9f] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn-b-dgtwhi9q9f .15s ease;
}

.transfer-modal[b-dgtwhi9q9f] {
    width: 620px;
    max-width: 95%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    animation: modalIn-b-dgtwhi9q9f .18s ease;
}

.modal-header[b-dgtwhi9q9f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border);
}

    .modal-header h4[b-dgtwhi9q9f] {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.modal-body[b-dgtwhi9q9f] {
    padding: 30px;
}

.transfer-info[b-dgtwhi9q9f] {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.info-box[b-dgtwhi9q9f] {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

    .info-box span[b-dgtwhi9q9f] {
        display: block;
        color: var(--text-muted);
        font-size: .8rem;
        margin-bottom: 6px;
    }

    .info-box strong[b-dgtwhi9q9f] {
        font-size: 1rem;
        color: var(--text);
    }

.form-group[b-dgtwhi9q9f] {
    margin-top: 10px;
}

    .form-group label[b-dgtwhi9q9f] {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

.readonly-field[b-dgtwhi9q9f] {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 10px;
    background: #1f2633;
    border: 1px solid #3b4556;
    color: #dce3ec;
    font-weight: 600;
}

.modal-footer[b-dgtwhi9q9f] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px 30px;
    border-top: 1px solid var(--border);
}

.close-btn[b-dgtwhi9q9f] {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
}

/* Spinner */

.spinner[b-dgtwhi9q9f] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: white;
    border-radius: 50%;
    display: inline-block;
    animation: spin-b-dgtwhi9q9f .7s linear infinite;
}

/* ================================
   Animations
================================ */

@keyframes spin-b-dgtwhi9q9f {
    to {
        transform: rotate(360deg);
    }
}

@keyframes dropdownFade-b-dgtwhi9q9f {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalIn-b-dgtwhi9q9f {

    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn-b-dgtwhi9q9f {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Responsive
================================ */

@media (max-width:900px) {

    .table-toolbar[b-dgtwhi9q9f] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-filter[b-dgtwhi9q9f] {
        min-width: 100%;
    }

    .table-card[b-dgtwhi9q9f] {
        overflow-x: auto;
    }

    .table[b-dgtwhi9q9f] {
        min-width: 1100px;
    }

    .transfer-info[b-dgtwhi9q9f] {
        grid-template-columns: 1fr;
    }
}



/* ===========================
   Comments Modal
=========================== */

.comments-modal[b-dgtwhi9q9f] {
    width: 700px;
    max-width: 95%;
}

.comments-list[b-dgtwhi9q9f] {
    max-height: 380px;
    overflow-y: auto;
    margin-bottom: 24px;
    padding-right: 6px;
}

.comment-card[b-dgtwhi9q9f] {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}

.comment-header[b-dgtwhi9q9f] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comment-user[b-dgtwhi9q9f] {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.comment-date[b-dgtwhi9q9f] {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.comment-body[b-dgtwhi9q9f] {
    white-space: pre-wrap;
    line-height: 1.6;
    color: var(--text);
}

.new-comment-section[b-dgtwhi9q9f] {
    margin-top: 20px;
}

.comment-textarea[b-dgtwhi9q9f] {
    min-height: 110px;
    resize: vertical;
}

.empty-comments[b-dgtwhi9q9f] {
    text-align: center;
    padding: 55px 20px;
    color: var(--text-muted);
}

    .empty-comments .oi[b-dgtwhi9q9f] {
        font-size: 2.5rem;
        margin-bottom: 12px;
        display: block;
    }

    .empty-comments h4[b-dgtwhi9q9f] {
        color: white;
        margin-bottom: 8px;
    }



.comment-link[b-dgtwhi9q9f] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
}

.comment-count[b-dgtwhi9q9f] {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .75rem;
}



.table-toolbar[b-dgtwhi9q9f] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.export-btn[b-dgtwhi9q9f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 165px;
    height: 46px;
    padding: 0 20px;
    border: none;
    border-radius: 10px;
    background: #16a34a;
    color: white;
    font-weight: 600;
    transition: .2s;
    box-shadow: 0 6px 18px rgba(22,163,74,.22);
}

    .export-btn:hover:not(:disabled)[b-dgtwhi9q9f] {
        background: #15803d;
        transform: translateY(-1px);
    }

    .export-btn:disabled[b-dgtwhi9q9f] {
        opacity: .6;
    }


.mention-dropdown[b-dgtwhi9q9f] {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: #1d2430;
    border: 1px solid #394150;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    max-height: 260px;
    overflow-y: auto;
    z-index: 10000;
}

.mention-user[b-dgtwhi9q9f] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: none;
    border: none;
    color: white;
    transition: .15s;
    text-align: left;
}

    .mention-user:hover[b-dgtwhi9q9f] {
        background: #2d3748;
    }

.mention-avatar[b-dgtwhi9q9f] {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #3b82f6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.mention-name[b-dgtwhi9q9f] {
    font-weight: 600;
}

.mention-email[b-dgtwhi9q9f] {
    color: #94a3b8;
    font-size: .8rem;
}
/* /Pages/PowerSports/PS-Retail-Plating.razor.rz.scp.css */
.scan-page[b-1aqxjlnokf] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .scan-page h1[b-1aqxjlnokf] {
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

.page-description[b-1aqxjlnokf] {
    max-width: 650px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Dashboard Cards */

.dashboard-cards[b-1aqxjlnokf] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card[b-1aqxjlnokf] {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    animation: fadeIn-b-1aqxjlnokf .25s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,.20);
}

    .dashboard-card span[b-1aqxjlnokf] {
        display: block;
        color: var(--text-muted);
        font-size: .95rem;
        margin-bottom: 8px;
    }

    .dashboard-card h2[b-1aqxjlnokf] {
        font-size: 2.3rem;
        margin: 0;
        font-weight: 700;
    }

    .dashboard-card.waiting h2[b-1aqxjlnokf] {
        color: #fbbf24;
    }

    .dashboard-card.plated h2[b-1aqxjlnokf] {
        color: #22c55e;
    }


.table-toolbar[b-1aqxjlnokf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.toolbar-group[b-1aqxjlnokf] {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.toolbar-actions[b-1aqxjlnokf] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.search-box[b-1aqxjlnokf] {
    flex: 1;
    min-width: 260px;
    max-width: none;
    height: 48px;
}

.export-btn[b-1aqxjlnokf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 165px;
    height: 48px;
    padding: 0 20px;
    background: #16a34a;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: .95rem;
    transition: all .18s ease;
    box-shadow: 0 6px 18px rgba(22,163,74,.22);
}

    .export-btn:hover:not(:disabled)[b-1aqxjlnokf] {
        background: #15803d;
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(22,163,74,.30);
    }

    .export-btn:active:not(:disabled)[b-1aqxjlnokf] {
        transform: translateY(0);
    }

    .export-btn:disabled[b-1aqxjlnokf] {
        opacity: .65;
        cursor: not-allowed;
        transform: none;
    }

    .export-btn .oi[b-1aqxjlnokf] {
        font-size: 1rem;
    }

@media (max-width:900px) {

    .table-toolbar[b-1aqxjlnokf] {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-group[b-1aqxjlnokf] {
        flex-direction: column;
    }

    .toolbar-actions[b-1aqxjlnokf] {
        flex-direction: column;
    }

    .search-box[b-1aqxjlnokf],
    .export-btn[b-1aqxjlnokf] {
        width: 100%;
    }
}



.missing-row[b-1aqxjlnokf] {
    background: rgba(239,68,68,.08);
}

    .missing-row:hover[b-1aqxjlnokf] {
        background: rgba(239,68,68,.14) !important;
    }

    .missing-row td:first-child[b-1aqxjlnokf] {
        border-left: 4px solid #ef4444;
    }

.dropdown-item.disabled[b-1aqxjlnokf] {
    opacity: .45;
    cursor: not-allowed;
}

    .dropdown-item.disabled:hover[b-1aqxjlnokf] {
        background: transparent;
        color: inherit;
    }


/* Table */

.table-card[b-1aqxjlnokf] {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    animation: fadeIn-b-1aqxjlnokf .35s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.table-toolbar[b-1aqxjlnokf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.search-box[b-1aqxjlnokf] {
    max-width: 420px;
    height: 50px;
    border-radius: 10px;
    font-size: 1rem;
}

.table[b-1aqxjlnokf] {
    margin-bottom: 0;
    color: var(--text);
}

    .table thead[b-1aqxjlnokf] {
        border-bottom: 2px solid var(--border);
    }

        .table thead th[b-1aqxjlnokf] {
            border: none;
            color: var(--text-muted);
            font-size: .9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: .05em;
            padding: 16px;
        }

    .table tbody td[b-1aqxjlnokf] {
        border-top: 1px solid var(--border);
        padding: 16px;
        vertical-align: middle;
    }

    .table tbody tr[b-1aqxjlnokf] {
        transition: .15s;
    }

        .table tbody tr:hover[b-1aqxjlnokf] {
            background: rgba(255,255,255,.03);
        }

/* Status */

.status[b-1aqxjlnokf] {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
}

    .status.waiting[b-1aqxjlnokf] {
        background: rgba(251,191,36,.15);
        color: #fbbf24;
    }

    .status.plated[b-1aqxjlnokf] {
        background: rgba(34,197,94,.15);
        color: #22c55e;
    }

/* Buttons */

.btn-primary[b-1aqxjlnokf] {
    min-width: 120px;
    font-weight: 600;
}

/* Responsive */

@media (max-width: 900px) {

    .dashboard-cards[b-1aqxjlnokf] {
        grid-template-columns: 1fr;
    }

    .table-toolbar[b-1aqxjlnokf] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-1aqxjlnokf] {
        max-width: none;
        width: 100%;
    }

    .table-card[b-1aqxjlnokf] {
        overflow-x: auto;
    }

    .table[b-1aqxjlnokf] {
        min-width: 900px;
    }
}


.actions-cell[b-1aqxjlnokf] {
    position: relative;
    width: 170px;
}

.dropdown[b-1aqxjlnokf] {
    position: relative;
    display: inline-block;
}

.action-btn[b-1aqxjlnokf] {
    width: 135px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    transition: .2s;
}

    .action-btn:hover[b-1aqxjlnokf] {
        border-color: var(--primary);
        background: rgba(59,130,246,.08);
    }

.dropdown-menu[b-1aqxjlnokf] {
    position: absolute;
    top: 46px;
    right: 0;
    width: 220px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0,0,0,.35);
    z-index: 1000;
    animation: dropdownFade-b-1aqxjlnokf .15s ease;
}

.dropdown-item[b-1aqxjlnokf] {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-align: left;
    transition: .15s;
}

    .dropdown-item:hover[b-1aqxjlnokf] {
        background: rgba(59,130,246,.08);
    }

    .dropdown-item .oi[b-1aqxjlnokf] {
        width: 18px;
    }


.actions-cell[b-1aqxjlnokf] {
    position: relative;
    width: 170px;
}

.dropdown[b-1aqxjlnokf] {
    position: relative;
    display: inline-block;
}

.action-btn[b-1aqxjlnokf] {
    width: 135px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    transition: all .2s ease;
}

    .action-btn:hover[b-1aqxjlnokf] {
        border-color: var(--primary);
        background: rgba(59,130,246,.08);
    }

.dropdown-menu[b-1aqxjlnokf] {
    position: absolute;
    top: 46px;
    right: 0;
    width: 235px;
    background: #1b1f28;
    border: 1px solid #313743;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    z-index: 1000;
    animation: dropdownFade-b-1aqxjlnokf .15s ease;
}

.dropdown-item[b-1aqxjlnokf] {
    width: 100%;
    border: none;
    background: transparent;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    font-size: .95rem;
    font-weight: 500;
    text-align: left;
    transition: all .15s ease;
}

    .dropdown-item .oi[b-1aqxjlnokf] {
        width: 18px;
        font-size: 1rem;
    }

    /* Plate Record */

    .dropdown-item.plate .oi[b-1aqxjlnokf] {
        color: #22c55e;
    }

    .dropdown-item.plate:hover[b-1aqxjlnokf] {
        background: rgba(34,197,94,.12);
        color: #22c55e;
    }

    /* Missing Item */

    .dropdown-item.missing .oi[b-1aqxjlnokf] {
        color: #f59e0b;
    }

    .dropdown-item.missing:hover[b-1aqxjlnokf] {
        background: rgba(245,158,11,.12);
        color: #f59e0b;
    }

    /* Wholesale */

    .dropdown-item.wholesale .oi[b-1aqxjlnokf] {
        color: #3b82f6;
    }

    .dropdown-item.wholesale:hover[b-1aqxjlnokf] {
        background: rgba(59,130,246,.12);
        color: #3b82f6;
    }

@keyframes dropdownFade-b-1aqxjlnokf {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownFade-b-1aqxjlnokf {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.modal-backdrop[b-1aqxjlnokf] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn-b-1aqxjlnokf .15s;
}

.plate-modal[b-1aqxjlnokf] {
    width: 500px;
    max-width: 95%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    animation: modalIn-b-1aqxjlnokf .18s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.modal-header[b-1aqxjlnokf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
}

.modal-body[b-1aqxjlnokf] {
    padding: 28px;
}

    .modal-body input[readonly][b-1aqxjlnokf] {
        background: #1f2633 !important;
        color: #d6dde8 !important;
        opacity: 1;
        cursor: default;
    }


.readonly-field[b-1aqxjlnokf] {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 10px;
    background: #1f2633;
    border: 1px solid #3b4556;
    color: #dce3ec;
    font-weight: 600;
}


.modal-body label[b-1aqxjlnokf] {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-footer[b-1aqxjlnokf] {
    padding: 20px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border);
}

.close-btn[b-1aqxjlnokf] {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
}

.modal-body .form-control[b-1aqxjlnokf] {
    height: 50px;
}

@keyframes modalIn-b-1aqxjlnokf {

    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Animations */

@keyframes fadeIn-b-1aqxjlnokf {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* ===========================
   Missing Item Modal
=========================== */

.missing-modal[b-1aqxjlnokf] {
    width: 650px;
    max-width: 95%;
}

    .missing-modal .modal-header[b-1aqxjlnokf] {
        padding: 24px 30px;
    }

        .missing-modal .modal-header h3[b-1aqxjlnokf] {
            margin: 0;
            display: flex;
            align-items: center;
            font-size: 1.45rem;
            font-weight: 700;
        }

        .missing-modal .modal-header small[b-1aqxjlnokf] {
            display: block;
            margin-top: 6px;
            color: var(--text-muted);
            font-size: .9rem;
        }

/* ===========================
   Summary Card
=========================== */

.record-summary[b-1aqxjlnokf] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 28px;
    padding: 22px;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.summary-item[b-1aqxjlnokf] {
    display: flex;
    flex-direction: column;
}

    .summary-item label[b-1aqxjlnokf] {
        font-size: .75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--text-muted);
        margin-bottom: 6px;
    }

    .summary-item span[b-1aqxjlnokf] {
        font-size: 1.05rem;
        font-weight: 600;
        color: white;
    }

/* ===========================
   Form Section
=========================== */

.form-section[b-1aqxjlnokf] {
    margin-top: 12px;
}

.field-label[b-1aqxjlnokf] {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: .95rem;
}

.form-section .form-control[b-1aqxjlnokf] {
    height: 54px;
    border-radius: 10px;
    font-size: 1rem;
    transition: .2s;
}

    .form-section .form-control:focus[b-1aqxjlnokf] {
        border-color: var(--primary);
        box-shadow: 0 0 0 .2rem rgba(59,130,246,.18);
    }

/* ===========================
   DLR Card
=========================== */

.manual-entry-card[b-1aqxjlnokf] {
    margin-top: 24px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(59,130,246,.35);
    background: rgba(59,130,246,.08);
    animation: fadeIn-b-1aqxjlnokf .18s ease;
}

.manual-header[b-1aqxjlnokf] {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #60a5fa;
}

.manual-entry-card .form-control[b-1aqxjlnokf] {
    margin-top: 6px;
    height: 54px;
    border-radius: 10px;
}

/* ===========================
   Searchable Missing Item
=========================== */

input[list][b-1aqxjlnokf] {
    background: var(--card);
}

    input[list][b-1aqxjlnokf]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        opacity: .65;
    }

    input[list]:focus[b-1aqxjlnokf] {
        border-color: var(--primary);
    }

/* ===========================
   Footer
=========================== */

.missing-modal .modal-footer[b-1aqxjlnokf] {
    padding: 22px 30px;
}

.missing-modal .btn-warning[b-1aqxjlnokf] {
    min-width: 190px;
    font-weight: 600;
    background: #f59e0b;
    border: none;
    color: white;
}

    .missing-modal .btn-warning:hover[b-1aqxjlnokf] {
        background: #d97706;
    }

.missing-modal .btn-outline-secondary[b-1aqxjlnokf] {
    min-width: 120px;
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 700px) {

    .record-summary[b-1aqxjlnokf] {
        grid-template-columns: 1fr;
    }

    .missing-modal[b-1aqxjlnokf] {
        width: 95%;
    }

        .missing-modal .modal-footer[b-1aqxjlnokf] {
            flex-direction: column-reverse;
        }

            .missing-modal .modal-footer .btn[b-1aqxjlnokf] {
                width: 100%;
            }
}



/* ===========================
   Missing Item Search
=========================== */

.missing-search[b-1aqxjlnokf] {
    position: relative;
}

.search-icon[b-1aqxjlnokf] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
}

.missing-search-box[b-1aqxjlnokf] {
    height: 56px !important;
    padding-left: 48px !important;
    border-radius: 12px;
    font-size: 1rem;
    background: #1f2633;
    border: 1px solid #394150;
    transition: .2s;
}

    .missing-search-box:focus[b-1aqxjlnokf] {
        border-color: var(--primary);
        box-shadow: 0 0 0 .2rem rgba(59,130,246,.15);
    }

    .missing-search-box[b-1aqxjlnokf]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        opacity: .75;
    }

/* ===========================
   Selected Item Card
=========================== */

.selected-item-card[b-1aqxjlnokf] {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(245,158,11,.35);
    background: rgba(245,158,11,.08);
    animation: fadeIn-b-1aqxjlnokf .15s ease;
}

.selected-label[b-1aqxjlnokf] {
    display: block;
    color: #fbbf24;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.selected-item-card h4[b-1aqxjlnokf] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
}

/* ===========================
   DLR Card
=========================== */

.manual-entry-card[b-1aqxjlnokf] {
    margin-top: 22px;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(59,130,246,.30);
    background: rgba(59,130,246,.08);
    animation: fadeIn-b-1aqxjlnokf .15s ease;
}

.manual-header[b-1aqxjlnokf] {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #60a5fa;
}

.manual-description[b-1aqxjlnokf] {
    margin: 10px 0 16px;
    color: var(--text-muted);
    line-height: 1.5;
}

.manual-textbox[b-1aqxjlnokf] {
    height: 54px !important;
    border-radius: 10px;
}





/* ===========================
   Comments Modal
=========================== */

.comments-modal[b-1aqxjlnokf] {
    width: 700px;
    max-width: 95%;
}

.comments-list[b-1aqxjlnokf] {
    max-height: 380px;
    overflow-y: auto;
    margin-bottom: 24px;
    padding-right: 6px;
}

.comment-card[b-1aqxjlnokf] {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 14px;
}

.comment-header[b-1aqxjlnokf] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comment-user[b-1aqxjlnokf] {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.comment-date[b-1aqxjlnokf] {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.comment-body[b-1aqxjlnokf] {
    white-space: pre-wrap;
    line-height: 1.6;
    color: var(--text);
}

.new-comment-section[b-1aqxjlnokf] {
    margin-top: 20px;
}

.comment-textarea[b-1aqxjlnokf] {
    min-height: 110px;
    resize: vertical;
}

.empty-comments[b-1aqxjlnokf] {
    text-align: center;
    padding: 55px 20px;
    color: var(--text-muted);
}

    .empty-comments .oi[b-1aqxjlnokf] {
        font-size: 2.5rem;
        margin-bottom: 12px;
        display: block;
    }

    .empty-comments h4[b-1aqxjlnokf] {
        color: white;
        margin-bottom: 8px;
    }



.comment-link[b-1aqxjlnokf] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
}

.comment-count[b-1aqxjlnokf] {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .75rem;
}



.new-comment-section[b-1aqxjlnokf] {
    position: relative;
}

.mention-dropdown[b-1aqxjlnokf] {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: #1d2430;
    border: 1px solid #394150;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    max-height: 260px;
    overflow-y: auto;
    z-index: 10000;
}

.mention-user[b-1aqxjlnokf] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: none;
    border: none;
    color: white;
    transition: .15s;
    text-align: left;
}

    .mention-user:hover[b-1aqxjlnokf] {
        background: #2d3748;
    }

.mention-avatar[b-1aqxjlnokf] {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #3b82f6;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.mention-name[b-1aqxjlnokf] {
    font-weight: 600;
}

.mention-email[b-1aqxjlnokf] {
    color: #94a3b8;
    font-size: .8rem;
}
/* /Pages/PowerSports/PS_CheckInDeals.razor.rz.scp.css */
.scan-page[b-jo9hqra9xt] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .scan-page h1[b-jo9hqra9xt] {
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

.page-description[b-jo9hqra9xt] {
    max-width: 600px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.scan-card[b-jo9hqra9xt] {
    width: 100%;
    max-width: 650px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 45px;
    animation: fadeIn-b-jo9hqra9xt .25s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.step-header[b-jo9hqra9xt] {
    text-align: center;
    margin-bottom: 35px;
}

    .step-header h3[b-jo9hqra9xt] {
        margin-bottom: 8px;
        font-size: 1.6rem;
    }

    .step-header p[b-jo9hqra9xt] {
        color: var(--text-muted);
        margin: 0;
    }

.step-circle[b-jo9hqra9xt] {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    transition: .2s;
}

    .step-circle.active[b-jo9hqra9xt] {
        background: var(--primary);
        border-color: var(--primary);
        color: white;
    }

    .step-circle.completed[b-jo9hqra9xt] {
        background: #22c55e;
        border-color: #22c55e;
        color: white;
    }

.confirmed-value[b-jo9hqra9xt] {
    margin: 18px 0 10px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.form-group[b-jo9hqra9xt] {
    margin-bottom: 30px;
}

    .form-group label[b-jo9hqra9xt] {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        text-align: left;
    }

.stock-box[b-jo9hqra9xt] {
    height: 60px;
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    transition: .15s;
}

    .stock-box:focus[b-jo9hqra9xt] {
        transform: scale(1.01);
    }

.submit-btn[b-jo9hqra9xt] {
    width: 100%;
    height: 56px;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-link[b-jo9hqra9xt] {
    margin-top: 10px;
    text-decoration: none;
    color: var(--primary);
}

    .btn-link:hover[b-jo9hqra9xt] {
        text-decoration: underline;
    }

.alert-success[b-jo9hqra9xt] {
    margin-top: 30px;
    padding: 16px;
    text-align: center;
    border-radius: 12px;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.30);
    color: #6ee7b7;
    animation: fadeIn-b-jo9hqra9xt .2s ease;
}

.spinner[b-jo9hqra9xt] {
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-jo9hqra9xt .7s linear infinite;
    vertical-align: middle;
}

hr[b-jo9hqra9xt] {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

@keyframes spin-b-jo9hqra9xt {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn-b-jo9hqra9xt {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.dms-grid[b-jo9hqra9xt] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin: 35px 0;
}

.dms-card[b-jo9hqra9xt] {
    background: #1b1f28;
    border: 2px solid var(--border);
    border-radius: 18px;
    padding: 30px 20px;
    color: white;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

    .dms-card[b-jo9hqra9xt]::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(10,132,255,.12), transparent 60%);
        opacity: 0;
        transition: opacity .2s ease;
    }

    .dms-card:hover[b-jo9hqra9xt] {
        border-color: var(--primary);
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0,0,0,.35);
    }

        .dms-card:hover[b-jo9hqra9xt]::before {
            opacity: 1;
        }

    .dms-card.selected[b-jo9hqra9xt] {
        border-color: var(--primary);
        background: rgba(10,132,255,.12);
        box-shadow: 0 0 0 2px rgba(10,132,255,.35);
    }

        .dms-card.selected[b-jo9hqra9xt]::after {
            content: "✓";
            position: absolute;
            top: 14px;
            right: 14px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #22c55e;
            color: white;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.dms-icon[b-jo9hqra9xt] {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.dms-name[b-jo9hqra9xt] {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.dms-description[b-jo9hqra9xt] {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: .95rem;
}

.selection-summary[b-jo9hqra9xt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.25);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 18px;
}

.summary-check[b-jo9hqra9xt] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 18px;
}

.summary-label[b-jo9hqra9xt] {
    display: block;
    color: var(--text-muted);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.summary-value[b-jo9hqra9xt] {
    display: block;
    font-size: 1.15rem;
    margin-top: 3px;
}

.summary-change[b-jo9hqra9xt] {
    margin-left: auto;
    text-decoration: none;
    color: var(--primary);
}

    .summary-change:hover[b-jo9hqra9xt] {
        text-decoration: underline;
    }

.alert-danger[b-jo9hqra9xt] {
    margin-top: 20px;
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.3);
    color: #fca5a5;
    border-radius: 12px;
    padding: 14px;
}

.status-message[b-jo9hqra9xt] {
    margin-top: 30px;
}

.success-icon[b-jo9hqra9xt] {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    font-weight: bold;
}

@media (max-width: 700px) {

    .dms-grid[b-jo9hqra9xt] {
        grid-template-columns: 1fr;
    }

    .selection-summary[b-jo9hqra9xt] {
        flex-wrap: wrap;
        gap: 12px;
    }

    .summary-change[b-jo9hqra9xt] {
        margin-left: 0;
    }
}



.results-card[b-jo9hqra9xt] {
    width: 100%;
    margin-top: 35px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    animation: fadeIn-b-jo9hqra9xt .25s ease;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.results-header[b-jo9hqra9xt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

    .results-header h2[b-jo9hqra9xt] {
        margin: 0;
        font-size: 1.8rem;
    }

    .results-header p[b-jo9hqra9xt] {
        margin: 5px 0 0;
        color: var(--text-muted);
    }

.deal-info-grid[b-jo9hqra9xt] {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.info-card[b-jo9hqra9xt] {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}

.info-label[b-jo9hqra9xt] {
    display: block;
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.info-value[b-jo9hqra9xt] {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
}

.badge[b-jo9hqra9xt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .85rem;
    font-weight: 600;
}

.badge-success[b-jo9hqra9xt] {
    background: rgba(34,197,94,.15);
    color: #6ee7b7;
}

.badge-warning[b-jo9hqra9xt] {
    background: rgba(245,158,11,.15);
    color: #fbbf24;
}

.table-wrapper[b-jo9hqra9xt] {
    overflow-x: auto;
}

.deal-table[b-jo9hqra9xt] {
    width: 100%;
    border-collapse: collapse;
}

    .deal-table thead th[b-jo9hqra9xt] {
        background: rgba(255,255,255,.03);
        color: var(--text-muted);
        font-size: .8rem;
        text-transform: uppercase;
        letter-spacing: .05em;
        padding: 15px;
        border-bottom: 1px solid var(--border);
    }

    .deal-table tbody td[b-jo9hqra9xt] {
        padding: 16px;
        border-bottom: 1px solid rgba(255,255,255,.06);
        vertical-align: middle;
    }

    .deal-table tbody tr:hover[b-jo9hqra9xt] {
        background: rgba(255,255,255,.03);
    }

.stock-cell[b-jo9hqra9xt] {
    font-weight: 700;
    color: var(--primary);
}

.vin-cell[b-jo9hqra9xt] {
    font-family: Consolas, monospace;
    font-size: .92rem;
}

.permit-input[b-jo9hqra9xt] {
    min-width: 180px;
    text-align: center;
}

@media (max-width:900px) {

    .results-header[b-jo9hqra9xt] {
        flex-direction: column;
        align-items: stretch;
    }

    .deal-info-grid[b-jo9hqra9xt] {
        grid-template-columns: repeat(2,1fr);
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.app-layout[b-9kaqdeo0vj] {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}

.sidebar[b-9kaqdeo0vj] {
    width: 270px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    background: var(--bg-secondary);
}

.main-content[b-9kaqdeo0vj] {
    flex: 1;
    overflow-y: auto;
    background: var(--bg);
}

.page-content[b-9kaqdeo0vj] {
    padding: 32px;
    max-width: 1800px;
}

/* Tablet */

@media (max-width: 1024px) {

    .sidebar[b-9kaqdeo0vj] {
        width: 230px;
    }

    .page-content[b-9kaqdeo0vj] {
        padding: 24px;
    }
}

/* Mobile */

@media (max-width: 768px) {

    .app-layout[b-9kaqdeo0vj] {
        flex-direction: column;
    }

    .sidebar[b-9kaqdeo0vj] {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .page-content[b-9kaqdeo0vj] {
        padding: 18px;
    }
}




/* Decorative layer covering the browser window */
.halloween-animation-layer[b-9kaqdeo0vj] {
    position: fixed;
    inset: 0;
    z-index: 50;
    overflow: hidden;
    pointer-events: none;
}

/* Shared bat styling */
.halloween-bat[b-9kaqdeo0vj] {
    position: absolute;
    pointer-events: none;
    opacity: 0.82;
    will-change: transform;
    filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.45));
}

/* Large bat: upper-left to upper-right */
.bat-one[b-9kaqdeo0vj] {
    top: 7vh;
    left: -180px;
    animation: bat-left-to-right-b-9kaqdeo0vj 19s linear infinite;
}

/* Medium bat: right to left through the middle */
.bat-two[b-9kaqdeo0vj] {
    top: 35vh;
    right: -140px;
    animation: bat-right-to-left-b-9kaqdeo0vj 25s linear infinite;
    animation-delay: -9s;
}

/* Flip the artwork so it faces the other direction */
.bat-mirrored[b-9kaqdeo0vj] {
    transform: scaleX(-1);
}

/* Small bat: diagonal flight */
.bat-three[b-9kaqdeo0vj] {
    left: -100px;
    bottom: 12vh;
    animation: bat-diagonal-b-9kaqdeo0vj 22s linear infinite;
    animation-delay: -15s;
}

@keyframes bat-left-to-right-b-9kaqdeo0vj {
    0%, 12% {
        transform: translate3d(0, 0, 0) rotate(-4deg);
    }

    42% {
        transform: translate3d(45vw, 55px, 0) rotate(5deg);
    }

    70% {
        transform: translate3d(75vw, -20px, 0) rotate(-3deg);
    }

    88%, 100% {
        transform: translate3d(calc(100vw + 350px), 35px, 0) rotate(4deg);
    }
}

@keyframes bat-right-to-left-b-9kaqdeo0vj {
    0%, 15% {
        transform: translate3d(0, 0, 0) rotate(3deg);
    }

    45% {
        transform: translate3d(-50vw, -65px, 0) rotate(-5deg);
    }

    85%, 100% {
        transform: translate3d(calc(-100vw - 280px), 30px, 0) rotate(3deg);
    }
}

@keyframes bat-diagonal-b-9kaqdeo0vj {
    0%, 18% {
        transform: translate3d(0, 0, 0) rotate(-8deg);
    }

    50% {
        transform: translate3d(50vw, -30vh, 0) rotate(5deg);
    }

    85%, 100% {
        transform: translate3d(calc(100vw + 220px), -65vh, 0) rotate(-4deg);
    }
}

/* Use fewer animations on small screens */
@media (max-width: 768px) {
    .bat-three[b-9kaqdeo0vj] {
        display: none;
    }

    .bat-one[b-9kaqdeo0vj] {
        opacity: 0.65;
    }
}

/* Respect accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    .halloween-animation-layer[b-9kaqdeo0vj] {
        display: none;
    }
}

/* /Shared/NavMenu.razor.rz.scp.css */
.sidebar[b-jl7yniizvf] {
    width: 270px;
    height: 100vh;
    background: #1b2430;
    border-right: 1px solid #364152;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
}

.sidebar-header[b-jl7yniizvf] {
    padding: 30px 20px;
    border-bottom: 1px solid #364152;
    text-align: center;
}

.sidebar-logo[b-jl7yniizvf] {
    width: 180px;
    display: block;
    margin: 0 auto 18px;
}

.sidebar-title[b-jl7yniizvf] {
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
}

.sidebar-nav[b-jl7yniizvf] {
    flex: 1;
    padding: 18px 12px;
}

    .sidebar-nav[b-jl7yniizvf]  .nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        color: #cbd5e1;
        padding: 14px 18px;
        margin-bottom: 6px;
        border-radius: 10px;
        transition: .15s;
        text-decoration: none;
    }

        .sidebar-nav[b-jl7yniizvf]  .nav-link:hover {
            background: #273445;
            color: white;
        }

        .sidebar-nav[b-jl7yniizvf]  .nav-link.active {
            background: #0A84FF;
            color: white;
        }

    .sidebar-nav .oi[b-jl7yniizvf] {
        width: 22px;
        font-size: 18px;
        text-align: center;
    }

.sidebar-footer[b-jl7yniizvf] {
    border-top: 1px solid #364152;
    padding: 18px;
    text-align: center;
    color: #9ca3af;
}

@media (max-width: 900px) {

    .sidebar[b-jl7yniizvf] {
        width: 100%;
        height: auto;
        position: relative;
    }

    .sidebar-nav[b-jl7yniizvf] {
        padding-bottom: 25px;
    }
}


.sidebar-nav[b-jl7yniizvf] {
    flex: 1;
    padding: 20px 12px;
    overflow-y: auto;
}

.nav-section[b-jl7yniizvf] {
    margin-bottom: 26px;
}

.nav-section-title[b-jl7yniizvf] {
    color: #7faefc;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    padding: 0 18px;
    margin-bottom: 10px;
    opacity: .85;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .nav-section-title[b-jl7yniizvf]::after {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,.08);
    }


.sidebar-nav[b-jl7yniizvf]  .nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    margin-bottom: 4px;
    border-radius: 12px;
    color: #cbd5e1;
    transition: all .18s ease;
}

    .sidebar-nav[b-jl7yniizvf]  .nav-link:hover {
        background: rgba(10,132,255,.10);
        color: #fff;
        transform: translateX(3px);
    }

    .sidebar-nav[b-jl7yniizvf]  .nav-link.active {
        background: linear-gradient(90deg,#0A84FF,#3B82F6);
        color: white;
        box-shadow: 0 8px 18px rgba(10,132,255,.25);
    }


.nav-section-title[b-jl7yniizvf] {
    width: 100%;
    border: none;
    background: transparent;
    color: #7faefc;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    cursor: pointer;
    transition: .15s;
}

    .nav-section-title:hover[b-jl7yniizvf] {
        color: white;
    }

    .nav-section-title .oi[b-jl7yniizvf] {
        font-size: .7rem;
        transition: transform .2s;
    }

.nav-items[b-jl7yniizvf] {
    margin-top: 6px;
}
