/* Progress Bar Component Styles */

.progress-component {
    width: 100%;
}

.progress-bar-container {
    background-color: #e9ecef;
    border-radius: 0.375rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.progress-bar-container .progress {
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 0;
}

.progress-bar-container .progress-bar {
    transition: width 0.3s ease-in-out;
}

/* Style spécifique pour les simulateurs */
.simulateur-progress .progress-bar-container {
    background-color: #f8f9fa;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.simulateur-progress .progress {
    height: 12px !important;
}

.simulateur-progress .progress-bar {
    background: linear-gradient(90deg, var(--bs-orange-vif) 0%, var(--bs-orange-clair) 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .progress-component .d-flex {
        margin-top: 0.5rem !important;
    }
    
    .progress-component small {
        font-size: 0.75rem;
    }
}

/* Animation pour l'état de chargement */
@keyframes progress-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.progress-component.loading .progress-bar {
    animation: progress-pulse 1.5s ease-in-out infinite;
}