/* Only bill-payment / urgent-care pages. Keep Ninja's markup and handlers intact. */
body.hdme-payment-page #content.hdme-page-shell {max-width:1000px!important;padding-top:28px;}
/* Hide the duplicate theme title, not the authored welcome heading. */
.hdme-payment-page .hdme-page-panel :is(.entry-title,.hdme-page-title) {display:none!important;}
.hdme-payment-page .hdme-page-panel {padding:clamp(20px,3vw,36px);border:1px solid #c5d8ee;border-radius:20px;box-shadow:0 12px 32px #183e6810;}
.hdme-payment-page .hdme-page-copy .fusion-fullwidth {margin:0!important;padding:0!important;background:transparent!important;}
.hdme-payment-page .hdme-page-copy .fusion-builder-row {width:100%!important;max-width:100%!important;margin:0!important;}
.hdme-payment-page .hdme-page-copy .fusion-layout-column {width:100%!important;margin:0!important;}
.hdme-payment-page .hdme-page-copy .fusion-column-wrapper {padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.hdme-payment-page .hdme-page-copy .fusion-title {margin:0!important;}
.hdme-payment-page .hdme-page-copy :is(h1,h2,.fusion-title-heading) {font-size:clamp(23px,2.6vw,30px)!important;line-height:1.35!important;color:#1e4575!important;margin:0 0 12px!important;}
.hdme-payment-page .hdme-page-copy .fusion-title-heading p {font:inherit!important;margin:0!important;}
.hdme-payment-page .nf-form-cont {width:100%!important;max-width:none!important;padding:0!important;margin:16px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
/* These two forms contain only a dot in this notice; field asterisks remain. */
.hdme-payment-page .nf-form-fields-required {display:none!important;}
.hdme-payment-page .nf-form-content {max-width:none!important;padding:0 24px 24px!important;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;}
.hdme-payment-page .nf-form-content nf-fields-wrap {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start;}
.hdme-payment-page .nf-form-content nf-field {display:block;min-width:0;}
.hdme-payment-page .nf-field-container {margin:0!important;padding:0!important;float:none!important;width:100%!important;clear:none!important;}
.hdme-payment-page .nf-field-label {margin-bottom:8px!important;}
.hdme-payment-page .nf-field-label label {font-size:14px!important;line-height:1.5!important;font-weight:600!important;color:#254664!important;letter-spacing:0!important;}
.hdme-payment-page .nf-field-element {width:100%!important;}
.hdme-payment-page .nf-form-content :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=button]):not([type=submit]),select,textarea) {width:100%!important;max-width:100%!important;height:46px!important;min-height:46px!important;margin:0!important;padding:10px 12px!important;border:1px solid #b7cbe2!important;border-radius:8px!important;box-shadow:none!important;background:#fff!important;color:#173555!important;font-size:16px!important;box-sizing:border-box;}
.hdme-payment-page .nf-form-content textarea {height:100px!important;}
.hdme-payment-page .nf-form-content select {padding-right:32px!important;}
.hdme-payment-page .nf-form-content :is(input,select,textarea):focus-visible {outline:3px solid #bad1f0;outline-offset:2px;}
.hdme-payment-page .nf-form-content nf-field:has(:is(.submit-container,.html-container,.total-container,.checkbox-container,.listcheckbox-container,.textarea-container,.file_upload-container,.stripe-container)) {grid-column:1/-1;}
.hdme-payment-page .nf-form-content .submit-container {padding-top:16px!important;border-top:0!important;text-align:center;}
.hdme-payment-page .nf-form-content :is(input[type=button],input[type=submit],button[type=submit]) {display:inline-block;min-width:220px;max-width:100%;min-height:46px;padding:12px 24px!important;background:#3366ad!important;color:#fff!important;border:0!important;border-radius:9px!important;font-size:15px!important;font-weight:600!important;letter-spacing:0!important;box-shadow:none!important;cursor:pointer;}
.hdme-payment-page .nf-error-msg {font-size:13px;line-height:1.5;margin-top:6px;}
.hdme-payment-page .nf-after-form-content {margin-top:16px;}
@media(max-width:650px) {
 .hdme-payment-page .nf-form-content nf-fields-wrap {grid-template-columns:1fr;gap:18px;}
 .hdme-payment-page .nf-form-content {padding:0 18px 18px!important;}
 .hdme-payment-page .nf-form-content :is(input[type=button],input[type=submit],button[type=submit]) {width:100%;min-width:0;}
 body.hdme-payment-page #content.hdme-page-shell {padding-top:20px;}
}
