@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Pages/Orders.razor.rz.scp.css */
/* ── Grid wrapper: horizontal scroll on small screens ── */
.grid-container[b-5rqkgfevpk] {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── Compact QuickGrid theme ── */
[b-5rqkgfevpk] [theme="compact"] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    line-height: 1.3;
}

[b-5rqkgfevpk] [theme="compact"] thead th {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #495057;
    padding: 0.4rem 0.5rem;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

[b-5rqkgfevpk] [theme="compact"] td {
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

[b-5rqkgfevpk] [theme="compact"] tbody tr:hover {
    background-color: #e9f0fb;
}

[b-5rqkgfevpk] [theme="compact"] tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

[b-5rqkgfevpk] [theme="compact"] tbody tr:nth-child(even):hover {
    background-color: #e9f0fb;
}

/* Sort-indicator spacing */
[b-5rqkgfevpk] [theme="compact"] .col-sort-asc::after,
[b-5rqkgfevpk] [theme="compact"] .col-sort-desc::after {
    margin-left: 0.25rem;
}

/* ── Paginator ── */
[b-5rqkgfevpk] .quickgrid-paginator {
    font-size: 0.8rem;
    padding: 0.35rem 0;
}

/* ── Mobile breakpoints ── */
@media (max-width: 768px) {
    [b-5rqkgfevpk] [theme="compact"] {
        font-size: 0.78rem;
    }

    [b-5rqkgfevpk] [theme="compact"] thead th {
        font-size: 0.72rem;
        padding: 0.3rem 0.35rem;
    }

    [b-5rqkgfevpk] [theme="compact"] td {
        padding: 0.25rem 0.35rem;
    }
}

@media (max-width: 480px) {
    [b-5rqkgfevpk] [theme="compact"] {
        font-size: 0.72rem;
    }

    [b-5rqkgfevpk] [theme="compact"] thead th {
        font-size: 0.68rem;
        padding: 0.25rem 0.3rem;
    }

    [b-5rqkgfevpk] [theme="compact"] td {
        padding: 0.2rem 0.3rem;
    }
}
