/* ── Shared KPI stats grid ────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 1.25rem;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 640px)  { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .stats-grid { grid-template-columns: 1fr; } }

.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: box-shadow 0.18s, transform 0.18s;
    min-height: 68px;
}
.stat-card:hover { box-shadow: 0 6px 24px rgba(40, 137, 170, 0.10); transform: translateY(-2px); }

.stat-card .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Color variants */
.stat-icon.blue   { background: #eff6ff; color: #2563eb; }
.stat-icon.green  { background: #f0fdf4; color: #16a34a; }
.stat-icon.red    { background: #fef2f2; color: #dc2626; }
.stat-icon.orange { background: #fff7ed; color: #ea580c; }
.stat-icon.yellow { background: #fefce8; color: #ca8a04; }
.stat-icon.teal   { background: #ecfeff; color: #0891b2; }
.stat-icon.purple { background: #faf5ff; color: #9333ea; }
.stat-icon.pink   { background: #fdf2f8; color: #db2777; }
.stat-icon.lime   { background: #dcfce7; color: #15803d; }

.stat-card .stat-number {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.1;
}
.stat-card .stat-label {
    font-size: 0.67rem;
    color: #6b7280;
    font-weight: 600;
    margin: 2px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
