/*
 * Ninja Forms Wizard — estilos mínimos y neutros.
 * Fácilmente sobreescribibles desde el theme.
 */

.nf-wizard .nf-wizard__field--hidden {
    display: none !important;
}

.nf-wizard .nf-wizard__submit--hidden {
    display: none !important;
}

.nf-wizard__heading {
    font-weight: 600;
    margin: 0 0 1rem;
    outline: none;
}

.nf-wizard__progress {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    counter-reset: nf-wizard-step;
}

.nf-wizard__progress-item {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #f5f5f5;
    color: #555;
    font-size: 0.9rem;
    text-align: center;
}

.nf-wizard__progress-item--done {
    background: #e6f4ea;
    border-color: #b7dfc4;
    color: #1e6b3a;
}

.nf-wizard__progress-item--active {
    background: #fff;
    border-color: #3b82f6;
    color: #1d4ed8;
    font-weight: 600;
}

.nf-wizard__progress-label {
    display: block;
}

.nf-wizard__navigation {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

.nf-wizard__button {
    appearance: none;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    border: 1px solid #3b82f6;
    background: #3b82f6;
    color: #fff;
    font: inherit;
    line-height: 1.2;
}

.nf-wizard__button--previous {
    background: transparent;
    color: #3b82f6;
}

.nf-wizard__button--disabled,
.nf-wizard__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nf-wizard__error {
    color: #b00020;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.nf-wizard .nf-wizard__field--error .nf-field-element input,
.nf-wizard .nf-wizard__field--error .nf-field-element select,
.nf-wizard .nf-wizard__field--error .nf-field-element textarea {
    border-color: #b00020;
}
