/*
 * JS-driven step switching for the registration wizard. Not part of the
 * bookAbro design system (bookabro.css) — this is purely structural, kept
 * separate on purpose so bookabro.css stays an unmodified copy of the
 * delivered design.
 */
.register-step {
    display: none;
}

.register-step.is-active {
    display: block;
}

.field-error {
    color: var(--ba-red-strong, #D33100);
    font: var(--type-meta-plain);
    margin-top: 8px;
    margin-bottom: 8px;
    display: none;
}

.field-error.is-visible {
    display: block;
}

.ba-field.is-invalid {
    input, select, textarea {
        box-shadow: inset 0 0 0 1px var(--ba-red-strong, #D33100), 0 0 0 1px var(--ba-red-strong, #D33100);
    }
}
