/* FearLess Schaal form 5 on page 991: checkbox artifact and navigation */
body.page-id-991 #form_fearless-schaal-v1 .frm_checkbox input[type="checkbox"]::before,
body.page-id-991 #form_fearless-schaal-v1 .frm_checkbox input[type="checkbox"]::after,
body.page-id-991 #frm_form_5_container .frm_checkbox input[type="checkbox"]::before,
body.page-id-991 #frm_form_5_container .frm_checkbox input[type="checkbox"]::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 > li.frm_rootline_single > input[type="button"]:not(.frm_rootline_show_more_btn) {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    margin: 0 auto 2px !important;
    text-indent: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
    border-radius: 50% !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 input.frm_page_back {
    color: var(--fs-gold, #e6c068) !important;
    background-color: #fff !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 li.frm_current_page > input[type="button"] {
    color: #fff !important;
    background-color: var(--fs-gold, #e6c068) !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 li.frm_rootline_single:not(.frm_current_page) > input[type="button"] {
    color: #111 !important;
    background-color: #f8f1df !important;
}

body.page-id-991 #frm_form_5_container .frm_submit.frm_flex > button.frm_button_submit,
body.page-id-991 #frm_form_5_container .frm_submit.frm_flex > button.frm_prev_page {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    flex: 0 0 160px !important;
    margin: 0 !important;
    padding: 13px 18px !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    body.page-id-991 #frm_form_5_container .frm_form_field { margin-bottom: 28px !important; }
    body.page-id-991 #frm_form_5_container .frm_primary_label { font-size: 17px !important; }
}

@media (max-width: 480px) {
    body.page-id-991 #frm_form_5_container .frm_submit.frm_flex { gap: 12px !important; }
    body.page-id-991 #frm_form_5_container .frm_submit.frm_flex > button.frm_prev_page,
    body.page-id-991 #frm_form_5_container .frm_submit.frm_flex > button.frm_button_submit {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        flex-basis: 140px !important;
    }
/* FearLess Schaal form 5 on page 991: checkbox artifact and navigation */
body.page-id-991 #form_fearless-schaal-v1 .frm_checkbox input[type="checkbox"]::before,
body.page-id-991 #form_fearless-schaal-v1 .frm_checkbox input[type="checkbox"]::after,
body.page-id-991 #frm_form_5_container .frm_checkbox input[type="checkbox"]::before,
body.page-id-991 #frm_form_5_container .frm_checkbox input[type="checkbox"]::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Match the test-page navigation: compact, narrow oval progress steps. */
body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 > li.frm_rootline_single {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 > li.frm_rootline_single > input[type="button"]:not(.frm_rootline_show_more_btn) {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 8px !important;
    min-width: 0 !important;
    min-height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: -9999px !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 input.frm_page_back {
    color: transparent !important;
    background-color: #fff !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 li.frm_current_page > input[type="button"] {
    color: transparent !important;
    background-color: var(--fs-gold, #e6c068) !important;
}

body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 li.frm_rootline_single:not(.frm_current_page) > input[type="button"] {
    color: transparent !important;
    background-color: #f8f1df !important;
}

body.page-id-991 #frm_form_5_container .frm_submit.frm_flex > button.frm_button_submit,
body.page-id-991 #frm_form_5_container .frm_submit.frm_flex > button.frm_prev_page {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    flex: 0 0 160px !important;
    margin: 0 !important;
    padding: 13px 18px !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    body.page-id-991 #frm_form_5_container .frm_form_field { margin-bottom: 28px !important; }
    body.page-id-991 #frm_form_5_container .frm_primary_label { font-size: 17px !important; }
    body.page-id-991 #frm_form_5_container .frm_page_bar.frm_rootline_12 { gap: 3px !important; }
}

@media (max-width: 480px) {
    body.page-id-991 #frm_form_5_container .frm_submit.frm_flex { gap: 12px !important; }
    body.page-id-991 #frm_form_5_container .frm_submit.frm_flex > button.frm_prev_page,
    body.page-id-991 #frm_form_5_container .frm_submit.frm_flex > button.frm_button_submit {
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        flex-basis: 140px !important;
    }
}