/* Virtual List Styles */

.virtual-list-viewport {
    position: relative;
    will-change: height;
}

.virtual-list-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    will-change: transform;
}

/* Optimisations de performance */
.virtual-list-viewport,
.virtual-list-content {
    contain: layout style paint;
}

/* Smooth scrolling */
.virtual-list-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Items de la liste virtuelle */
.virtual-list-item {
    box-sizing: border-box;
    overflow: hidden;
}

/* Animation de chargement optionnelle */
.virtual-list-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #666;
}

.virtual-list-loading::after {
    content: "Chargement...";
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
