/**
 * Modern Progress Bar Styles for The Leaflet Maker Artwork Management System
 */

/* Progress bar container */
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
    max-width: 100%;
    width: 100%;
}

/* Progress line */
.progress-steps::before {
    content: '';
    background-color: #e9ecef;
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    width: 100%;
    z-index: 1;
}

/* Progress line active */
.progress-steps .progress-bar-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    background-color: #007bff;
    transition: width 0.5s ease;
    z-index: 2;
}

/* Step item */
.progress-step {
    position: relative;
    z-index: 3;
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

/* Step circle */
.progress-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #e9ecef;
}

/* Step icon */
.progress-step-circle i {
    color: #6c757d;
    transition: all 0.3s ease;
}

/* Step text */
.progress-step-text {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Active step */
.progress-step.active .progress-step-circle {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.progress-step.active .progress-step-circle i {
    color: #fff;
}

.progress-step.active .progress-step-text {
    color: #007bff;
    font-weight: 600;
}

/* Completed step */
.progress-step.completed .progress-step-circle {
    background-color: #28a745;
    border-color: #28a745;
}

.progress-step.completed .progress-step-circle i {
    color: #fff;
}

.progress-step.completed .progress-step-text {
    color: #28a745;
}

/* Responsive styles */
@media (max-width: 768px) {
    .progress-step-text {
        font-size: 12px;
    }
    
    .progress-step-circle {
        width: 35px;
        height: 35px;
    }
    
    .progress-steps::before,
    .progress-steps .progress-bar-line {
        top: 17px;
    }
}

@media (max-width: 576px) {
    .progress-step-text {
        font-size: 10px;
    }
    
    .progress-step.active .progress-step-text {
        font-size: 10px;
    }
}