/**
 * Estilos de barra de progreso para TRAUMA 2025
 * Contiene los estilos para el indicador de progreso del formulario
 */

.progress-container {
    padding: var(--spacing-lg) var(--spacing-xxl);
    background-color: var(--white);
    box-shadow: var(--box-shadow-sm);
    position: relative;
    z-index: 5;
    border-radius: var(--border-radius-lg);
    margin-top: -20px;
    margin-bottom: var(--spacing-lg);
    margin-left: var(--spacing-lg);
    margin-right: var(--spacing-lg);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--medium-gray);
    transform: translateY(-50%);
    z-index: -1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 5px;
    transition: all var(--transition-normal);
}

.step-label {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    max-width: 80px;
    transition: all var(--transition-normal);
}

.step.active .step-circle {
    background-color: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(78, 177, 185, 0.4);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step.completed .step-circle {
    background-color: var(--secondary-color);
}

.progress-bar {
    height: 4px;
    background-color: var(--light-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width var(--transition-slow);
}

/* Estado de los íconos */
.step-circle i {
    font-size: var(--font-size-sm);
}

.step.completed .step-circle::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Responsive */
@media (max-width: 992px) {
    .progress-container {
        padding: var(--spacing-md);
        margin-left: var(--spacing-md);
        margin-right: var(--spacing-md);
    }
    
    .step-label {
        font-size: 10px;
        max-width: 60px;
    }
}

@media (max-width: 768px) {
    .progress-container {
        overflow-x: auto;
        margin-left: var(--spacing-sm);
        margin-right: var(--spacing-sm);
    }
    
    .progress-steps {
        min-width: 700px;
        padding-bottom: var(--spacing-sm);
    }
}