/* Skeleton Loaders - Placeholders animados durante carregamento */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.skeleton-title {
    height: 20px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-text {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-text-short {
    height: 14px;
    width: 40%;
}

.skeleton-progress {
    height: 8px;
    width: 100%;
    margin-top: 12px;
    border-radius: 4px;
}

/* Fade-in animation para elementos carregados */
.fade-in-progressive {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInProgressive 0.4s ease forwards;
}

@keyframes fadeInProgressive {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.loading-overlay {
    position: relative;
    pointer-events: none;
}

.loading-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Stagger animation para múltiplos elementos */
.stagger-item {
    animation-delay: calc(var(--stagger-index) * 0.05s);
}

