/* ============================================
   KPI CARDS (shared: Overview, Location Report)
   Moved verbatim from Pages/Overview.razor.css
   ============================================ */
.kpi-card {
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    padding: 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.kpi-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.kpi-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bg-blue-light { background: #eff6ff; color: #3b82f6; }
.bg-green-light { background: #f0fdf4; color: #22c55e; }
.bg-orange-light { background: #fff7ed; color: #f97316; }
.bg-purple-light { background: #f5f3ff; color: #8b5cf6; }

.kpi-trend {
    color: #22c55e;
    font-size: 1rem;
    line-height: 1;
}

.kpi-trend-alert {
    color: #f97316;
}

.kpi-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.15;
    margin: 0.15rem 0 0.35rem;
}

.kpi-subtitle {
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 500;
}

.kpi-subtitle-alert {
    color: #94a3b8;
}

.kpi-card.kpi-alert {
    border-top: 3px solid #c0392b;
}
