.page-dashboard {
    --accent: #7c3aed;
    --accent-2: #10b981;
    --accent-soft: rgba(124, 58, 237, 0.12);
    --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    background: radial-gradient(circle at 20% 15%, rgba(124, 58, 237, 0.12), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.15), transparent 45%),
        var(--bg);
}

.card-surface {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow);
    padding: 18px;
    height: 100%;
}

.kpi-value {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 4px;
}

.kpi-label {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.chart-wrap {
    height: 240px;
}

.table thead th {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.pill {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.range-filter {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.range-filter-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    color: #5b21b6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.range-filter-text {
    font-weight: 600;
    color: #0f172a;
}

.range-filter-sub {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 768px) {
    .chart-wrap {
        height: 200px;
    }
}
