/* Shared polish for the dense management tables (My Vehicles, My Listings, My Offers) -
   these stay MudTable (right fit for scanning many rows), this just sharpens header
   weight and row spacing slightly beyond MudBlazor's dense-table default. */

.dealer-table {
    border-radius: var(--m3-shape-lg);
    box-shadow: var(--m3-shadow-card);
    overflow: hidden;
}

/* Matches MudBlazor's own ".mud-table-root .mud-table-head .mud-table-cell" (3 classes)
   in specificity - the previous ".dealer-table .mud-table-head th" (2 classes + 1 type)
   silently lost that cascade despite loading later (found via the same
   document.styleSheets inspection used to fix the identical issue in the Admin Portal). */
.dealer-table.mud-table-root .mud-table-head .mud-table-cell,
.dealer-table .mud-table-head .mud-table-cell {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    color: var(--mud-palette-text-secondary);
    background: var(--m3-surface-tint-2);
}

.dealer-table .mud-table-cell {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

/* Matches the "Featured" badge treatment used on VehicleCard/ListingDetail - same M3
   secondary-container pill everywhere a listing is marked featured. */
.dealer-table__featured-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--m3-shape-full);
    background: var(--m3-secondary-container);
    color: var(--m3-on-secondary-container);
    font-size: 0.75rem;
    font-weight: 600;
}
