/**
 * Minimal Skeleton Loading System
 * Clean gray animation for loading states with theme-consistent spacing
 */

/* Base skeleton animation - cleaner implementation */
.skeleton {
    background: linear-gradient(90deg, #e0e0e0 25%, #f4f4f4 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.2s infinite;
    border-radius: 4px;
    color: transparent !important;
    pointer-events: none;
    user-select: none;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Basic content types with default sizes and theme-consistent margins */
.skeleton-text {
    height: 1em;
    width: 100%;
    margin-bottom: 10px;
}

.skeleton-text:last-child {
    margin-bottom: 0;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
}

.skeleton-image:last-child {
    margin-bottom: 0;
}

.skeleton-video {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
}

.skeleton-video:last-child {
    margin-bottom: 0;
}

/* Additional skeleton variants for better spacing */
.skeleton-title {
    height: 1.5em;
    width: 70%;
    margin-bottom: 15px;
}

.skeleton-subtitle {
    height: 1.2em;
    width: 50%;
    margin-bottom: 10px;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    margin: 10px 0;
    border-radius: 4px;
}

.skeleton-card {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
    .skeleton-text {
        margin-bottom: 8px;
    }
    
    .skeleton-image {
        margin-bottom: 12px;
    }
    
    .skeleton-video {
        margin-bottom: 15px;
    }
    
    .skeleton-card {
        padding: 15px;
        margin-bottom: 15px;
    }
}