/* Skeleton Loading Styles - Modern Shimmer Effect */

.skeleton-card {
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.skeleton-badge {
    width: 80px;
    height: 24px;
}

.skeleton-status {
    width: 100px;
    height: 24px;
}

.skeleton-title {
    width: 85%;
    height: 24px;
    margin-bottom: 0.75rem;
}

.skeleton-text {
    width: 60%;
    height: 16px;
    margin-bottom: 1.25rem;
}

.skeleton-details {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.skeleton-detail {
    width: 100%;
    height: 40px;
}

.skeleton-description {
    width: 95%;
    height: 48px;
    margin-bottom: 1rem;
}

.skeleton-actions {
    display: flex;
    gap: 0.75rem;
}

.skeleton-btn {
    flex: 1;
    height: 40px;
}

/* Fade in animation for real content */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exam-card:not(.skeleton-card) {
    animation: fadeIn 0.4s ease-out;
}
