/* Skeleton pulse loader — shown while analytics data loads */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #e3e3e3;
    border-radius: 4px;
}

.dark .skeleton {
    background: #464646;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-card {
    height: 88px;
    border-radius: 8px;
}

.skeleton-chart {
    height: 300px;
    border-radius: 12px;
}

.skeleton-table-row {
    height: 48px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text {
    display: inline-block;
    height: 14px;
    border-radius: 3px;
}

.skeleton-text-sm {
    height: 10px;
    width: 60%;
}

.skeleton-text-md {
    height: 14px;
    width: 80%;
}

.skeleton-text-lg {
    height: 24px;
    width: 40%;
}

.skeleton-badge {
    display: inline-block;
    height: 20px;
    width: 48px;
    border-radius: 10px;
}
