/* Esconder los pasos por defecto */
.form-step {
    display: none;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Mostrar solo el paso activo con una transición */
.form-step.active {
    display: block;
    opacity: 1;
}

/* Estilos para los botones */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

#prevBtn {
    display: none;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Estilo para el contador de pasos */
.step-counter {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 18px;
}

.error,
.error-message {
    color: red;
    display: none;
    font-size: 0.875em;
    font-family: var(--secundaria);
    margin-top: 10px;
}

/* Estilo para el botón deshabilitado */
.btn-disabled {
    background-color: #d3d3d3;
    /* Color de fondo apagado */
    color: #a9a9a9;
    /* Color del texto apagado */
    cursor: not-allowed;
    /* Cambiar el cursor al pasar por encima */
    border: 1px solid #a9a9a9;
    /* Borde apagado */
    opacity: 0.6;
    /* Opacidad reducida */
}

.btn-disabled:hover {
    background-color: #d3d3d3;
    /* Mantener el color de fondo cuando se pasa el ratón por encima */
    color: #a9a9a9;
    /* Mantener el color del texto cuando se pasa el ratón por encima */
}

.disabled {
    background-color: #ddd;
    color: #888;
    cursor: not-allowed;
}
.form-step .sub-ttl{
 color: #000;   
}