/* Step Progress Component - Horizontal Breadcrumb at Top */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #c7efb4 0%, #a8d88e 100%);
    border-bottom: 3px solid #9bc97f;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 140px;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.step.completed .step-number {
    background: #ffffff;
    color: #28a745;
    border-color: #28a745;
}

.step.completed .step-number::after {
    content: "?";
    font-size: 1.3rem;
    color: #28a745;
}

.step.active .step-number {
    background: #ffffff;
    color: #7cb342;
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.step.pending .step-number {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.step-label {
    font-size: 0.85rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
}

.step.active .step-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
}

.step.completed .step-label {
    color: #ffffff;
    font-weight: 600;
}

.step-connector {
    flex: 1;
    min-width: 60px;
    max-width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
    position: relative;
    top: -20px;
    transition: all 0.3s ease;
}

.step-connector.completed {
    background: #ffffff;
}

@media (max-width: 768px) {
    .step-progress {
        padding: 1rem;
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .step {
        min-width: 100px;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-connector {
        min-width: 40px;
        max-width: 60px;
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .step-progress {
        padding: 0.75rem 0.5rem;
    }
    
    .step {
        min-width: 80px;
    }
    
    .step-label {
        font-size: 0.7rem;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .step-connector {
        min-width: 20px;
        max-width: 40px;
        margin: 0 0.25rem;
    }
}
