﻿.kpi-card {
    background: #fff;
    border-radius: 14px;
    padding: 14px 14px 12px 14px;
    height: 120px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.kpi-title {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    line-height: 1.2;
}

.kpi-icon {
    font-size: 28px;
    color: #9ca3af;
}

.kpi-value {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #111827;
}

.kpi-sub {
    font-size: 12px;
    color: #9ca3af;
}

/* basit skeleton */
.kpi-skeleton {
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f1f5f9, #e2e8f0, #f1f5f9);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

.kpi-skeleton-sm {
    height: 12px;
    width: 60px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9, #e2e8f0, #f1f5f9);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
