/* Wspólna nawigacja: CTA nad wyśrodkowaną akcją drugorzędną. */
body.wizard-page[class*="page-stage"] .stage-shell :is(.stage-form-actions, .wizard-primary-actions, .wizard-start-actions) {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

body.wizard-page[class*="page-stage"] .stage-shell .wizard-back-btn,
body.wizard-page .wizard-secondary-navigation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: auto !important;
    min-width: 7.15rem;
    min-height: 44px !important;
    padding: .625rem 1.25rem !important;
    margin-inline: auto;
    border: 1px solid transparent !important;
    border-radius: .75rem;
    background: transparent !important;
    box-shadow: none !important;
    color: #425a70 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.wizard-page[class*="page-stage"] .stage-shell .wizard-back-btn {
    order: 2 !important;
}

body.wizard-page .stage5-order-card .wizard-secondary-navigation {
    display: flex;
}

body.wizard-page[class*="page-stage"] .stage-shell .wizard-back-btn:is(:hover, :focus-visible),
body.wizard-page .wizard-secondary-navigation:is(:hover, :focus-visible) {
    background: #f3f5f7 !important;
    color: #283e50 !important;
}

body.wizard-page[class*="page-stage"] .stage-shell .wizard-back-btn:focus-visible,
body.wizard-page .wizard-secondary-navigation:focus-visible {
    outline: 2px solid #425a70;
    outline-offset: 2px;
}

body.wizard-page[class*="page-stage"] .stage-shell .wizard-start-actions .wizard-back-btn {
    border-color: #ccd5dc !important;
    text-decoration: none;
}

body.wizard-page .wizard-start-reset-label > small {
    font-size: 13px;
    font-style: italic;
    opacity: 1;
}
