/**
 * Estilos específicos para los iconos del itinerario
 * Estos estilos aseguran que los iconos se muestren correctamente
 */

/* Estilos para los iconos en los pasos */
.wptc-step-title i,
.wptc-step-option i,
.wptc-step i,
.wptc-btn i,
.wptc-continue-btn i {
    display: inline-block;
    margin-right: 8px;
    font-size: 1.1em;
    color: #2196F3;
    transition: all 0.3s ease;
}

/* Estilos para los iconos en los botones */
.wptc-continue-btn i {
    color: white;
    margin-right: 10px;
}

/* Estilos para los iconos en los pasos activos */
.wptc-step.active i,
.wptc-step-option.selected i {
    color: white;
}

/* Estilos para los iconos en los pasos completados */
.wptc-step.completed i {
    color: white;
}

/* Estilos para los iconos de dólar en el presupuesto */
.wptc-step-option[data-budget="económico"] i,
.wptc-step-option[data-budget="moderado"] i,
.wptc-step-option[data-budget="premium"] i,
.wptc-step-option[data-budget="lujo"] i {
    margin-right: 2px;
    font-size: 0.9em;
}

/* Estilos para los iconos en los mensajes de error */
.wptc-error-message i {
    color: #f44336;
    margin-right: 8px;
    font-size: 1.2em;
}

/* Estilos para los iconos en los mensajes de éxito */
.wptc-success-message i {
    color: #4CAF50;
    margin-right: 8px;
    font-size: 1.2em;
}

/* Animación para el icono de carga */
@keyframes wptc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wptc-loading-spinner i {
    animation: wptc-spin 2s infinite linear;
    font-size: 2em;
    color: #2196F3;
    margin-bottom: 15px;
}

/* Fallback para iconos que no se cargan */
.wptc-step-title i:before,
.wptc-step-option i:before,
.wptc-step i:before,
.wptc-btn i:before,
.wptc-continue-btn i:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    border-radius: 50%;
    margin-right: 0.2em;
    vertical-align: -0.1em;
}

/* Ocultar el fallback si Font Awesome está cargado */
.fontawesome-loaded .wptc-step-title i:before,
.fontawesome-loaded .wptc-step-option i:before,
.fontawesome-loaded .wptc-step i:before,
.fontawesome-loaded .wptc-btn i:before,
.fontawesome-loaded .wptc-continue-btn i:before {
    content: none;
    display: none;
    width: 0;
    height: 0;
    margin: 0;
}
