/* ========================================
   CSS para Wizard de Bloqueos
   ======================================== */

/* Contenedor de pasos del wizard */
.wizard-steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

/* Cada paso del wizard */
.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 0 0 auto;
}

/* Número del paso */
.wizard-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    z-index: 1;
}

/* Título del paso */
.wizard-step .step-title {
    margin-top: 8px;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    max-width: 120px;
    transition: all 0.3s ease;
}

/* Línea conectora entre pasos */
.wizard-line {
    flex: 1;
    height: 2px;
    background-color: #e9ecef;
    margin: 0 10px;
    position: relative;
    top: -20px;
    transition: all 0.3s ease;
}

/* Paso activo */
.wizard-step.active .step-number {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.wizard-step.active .step-title {
    color: #0d6efd;
    font-weight: 600;
}

/* Paso completado */
.wizard-step.completed .step-number {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.wizard-step.completed .step-title {
    color: #198754;
}

/* Línea completada */
.wizard-line.completed {
    background-color: #198754;
}

/* Contenido del wizard */
.wizard-content {
    min-height: 250px;
    padding: 15px 0;
}

/* Animación de aparición */
.wizard-content.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card de resumen */
.wizard-content .card {
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wizard-content .card-body {
    padding: 20px;
}

.wizard-content .card-body .row {
    padding: 5px 0;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .wizard-steps-container {
        padding: 15px 0;
    }

    .wizard-step .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .wizard-step .step-title {
        font-size: 10px;
        max-width: 80px;
    }

    .wizard-line {
        margin: 0 5px;
        top: -17px;
    }

    .wizard-content {
        min-height: 200px;
    }
}

/* Estilos para los botones del wizard */
.modal-footer .btn {
    min-width: 100px;
}

/* Spinner de carga */
#formWizardLoading {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}