/**
 * Progress Bar - Barra di avanzamento step
 */

.at-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 0 20px;
    position: relative;
}

.at-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.at-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.at-progress-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: #999;
    transition: all 0.3s ease;
}

.at-progress-step .step-label {
    font-size: 13px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

/* Step completato */
.at-progress-step.completed .step-num {
    background: var(--at-primary-color, #2271b1);
    border-color: var(--at-primary-color, #2271b1);
    color: #fff;
}

.at-progress-step.completed .step-label {
    color: var(--at-primary-color, #2271b1);
}

/* Step cliccabile */
.at-progress-step.clickable {
    cursor: pointer;
}

.at-progress-step.clickable:hover .step-num {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.2);
}

.at-progress-step.clickable:hover .step-label {
    text-decoration: underline;
}

/* Step attivo */
.at-progress-step.active .step-num {
    background: var(--at-primary-color, #2271b1);
    border-color: var(--at-primary-color, #2271b1);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.2);
    transform: scale(1.1);
}

.at-progress-step.active .step-label {
    color: var(--at-primary-color, #2271b1);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .at-progress-bar {
        padding: 0 10px;
    }
    
    .at-progress-step .step-num {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .at-progress-step .step-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .at-progress-step .step-label {
        display: none;
    }
}
