/* Styles pour les barres de progression horizontales */
.progress-bars-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px 0;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.progress-bar-wrapper h3 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    position: relative;
}

.progress-bar-label {
    position: absolute;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Space Grotesk', sans-serif;
}

.progress-bar-label.admin {
    right: 10px;
    color: #FF6B6B;
}

.progress-bar-label.productive {
    left: 10px;
    color: #4ECDC4;
}

.progress-bar {
    height: 100%;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    width: 100%;
}

.progress-bar-segment {
    height: 100%;
    position: absolute;
    top: 0;
    transition: width 1.5s ease-out;
}

.progress-bar-segment.admin {
    right: 0;
    background-color: #FF6B6B;
    width: 0;
}

.progress-bar-segment.productive {
    left: 0;
    background-color: #4ECDC4;
    width: 0;
}

/* Animation de fade-in pour les barres */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.progress-bar-wrapper {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.progress-bar-wrapper:nth-child(2) {
    animation-delay: 0.3s;
}

/* Ajustements responsifs */
@media (max-width: 768px) {
    .progress-bars-container {
        gap: 30px;
    }
    
    .progress-bar-container {
        height: 50px;
    }
    
    .progress-bar-label {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .progress-bar-container {
        height: 40px;
    }
    
    .progress-bar-label {
        font-size: 14px;
    }
}

/* Ajustements spécifiques pour iPhone */
@media (max-width: 390px) {
    .progress-bars-container {
        gap: 25px;
    }
    
    .progress-bar-container {
        height: 35px;
    }
}
