/* Dashboard page - "bold SaaS dashboard" pass: Sora display type on the page title,
   tinted-panel headers, dealer color chips, and a real empty-state illustration for
   Unmapped Feeds instead of one line of muted text. */

.dashboard-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.dashboard-panel {
    border-radius: var(--m3-shape-lg);
    box-shadow: var(--m3-shadow-card);
    overflow: hidden;
}

.dashboard-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 1.1rem 0.75rem;
}

.dashboard-panel__title {
    font-family: var(--font-display);
    font-weight: 700;
}

.dashboard-panel__count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    background: var(--m3-surface-tint-2);
    padding: 3px 9px;
    border-radius: var(--m3-shape-full);
}

.dashboard-panel__table thead th {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mud-palette-text-secondary);
    background: var(--m3-surface-tint-2);
}

.dashboard-panel__num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.dashboard-empty-state {
    margin: 0 1.1rem 1.1rem;
    padding: 1.75rem 1rem;
    border: 1px dashed var(--mud-palette-lines-inputs, rgba(0, 0, 0, 0.15));
    border-radius: var(--m3-shape-md);
    text-align: center;
}

.dashboard-empty-state__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--m3-shape-md);
    background: color-mix(in srgb, var(--mud-palette-success) 16%, var(--mud-palette-surface));
    color: var(--mud-palette-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.dashboard-empty-state__title {
    font-weight: 600;
}

.dashboard-dealer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.dashboard-dealer-chip__dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-dealer-chip__dot--0 { background: var(--m3-primary); }
.dashboard-dealer-chip__dot--1 { background: var(--m3-tertiary); }
.dashboard-dealer-chip__dot--2 { background: var(--m3-secondary); }

.dashboard-offer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--m3-shape-full);
    font-size: 0.71875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--mud-palette-text-secondary);
    background: var(--m3-surface-tint-2);
}

.dashboard-offer-badge--active {
    color: var(--mud-palette-success);
    background: color-mix(in srgb, var(--mud-palette-success) 14%, var(--mud-palette-surface));
}
