/* Styles pour la barre de progression */
.progress-container {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.progress-stats, .progress-time {
    display: flex;
    gap: 15px;
}

.progress-bar-container {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0096c7 0%, #00b4d8 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
}

/* Animation de la barre de progression */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
    transform: translateX(-100%);
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Styles pour les différents états */
.result-container.progress {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

#progress-percent {
    font-weight: bold;
    color: #0096c7;
}

#progress-speed {
    color: #0096c7;
}

/* Styles responsifs */
@media (max-width: 768px) {
    .progress-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .progress-stats, .progress-time {
        justify-content: space-between;
    }
}
