/* Progress Steps */
.steps {
    --step-padding-x: 30px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 60px auto 40px;
    padding: 20px var(--step-padding-x);
    background: white;
    border-radius: 15px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.steps .step:hover {
    transform: translateY(-5px);
}

.steps .circle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    color: #6c757d;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}


.steps .circle.active {
    border-color: #6c757d;
    background: #6c757d;
    color: white;
}


.steps p {
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.4;
}

.steps .active p {
    color: #495057;
    font-weight: 600;
}

.steps .progress-bar {
    position: absolute;
    top: 40px;
    left: calc(var(--step-padding-x) + (100% - (var(--step-padding-x) * 2)) / 8);
    right: calc(var(--step-padding-x) + (100% - (var(--step-padding-x) * 2)) / 8);
    height: 2px;
    background: #e9ecef;
    z-index: 0;
    border-radius: 1px;
}

.progress-bar .indicator {
    position: absolute;
    height: 100%;
    width: 0%;
    background: #6c757d;
    transition: width 0.6s ease;
}

.steps .circle.completed {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.steps .completed p {
    color: #495057;
}

@media (max-width: 768px) {
    .steps {
        --step-padding-x: 20px;
        padding: 15px var(--step-padding-x);
        margin: 0 auto 20px;
        gap: 12px;
    }
    
    .steps .circle {
        height: 35px;
        width: 35px;
        font-size: 14px;
    }
    
    .steps p {
        display: none;
    }

    .steps .progress-bar {
        top: 36px;
        left: calc(var(--step-padding-x) + (100% - (var(--step-padding-x) * 2)) / 8);
        right: calc(var(--step-padding-x) + (100% - (var(--step-padding-x) * 2)) / 8);
    }
}

@media (max-width: 576px) {
    .steps {
        --step-padding-x: 16px;
        margin: 0 auto 16px;
    }

    .steps .circle {
        height: 32px;
        width: 32px;
        font-size: 13px;
    }

    .steps .progress-bar {
        top: 32px;
        left: 32px;
        right: 32px;
    }
}
