/* Match the existing architects consent control. Text typography stays with each form. */
:is(
 form.elementor-form .elementor-field-type-acceptance input[type="checkbox"],
 .wpcf7 .wpcf7-acceptance input[type="checkbox"],
 .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy_policy"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy"],
 form:not(.nbap-form) input[type="checkbox"][name^="consent"],
 form:not(.nbap-form) input[type="checkbox"][name^="acceptance"],
 .comment-form-cookies-consent input[type="checkbox"]
) {
 box-sizing: border-box !important;
 appearance: none !important;
 -webkit-appearance: none !important;
 display: inline-block !important;
 position: relative !important;
 flex: 0 0 16px;
 width: 16px !important;
 height: 16px !important;
 min-width: 16px !important;
 max-width: 16px !important;
 min-height: 16px !important;
 padding: 0 !important;
 margin: 3px 12px 0 0 !important;
 border: 1px solid #25211e !important;
 border-radius: 0 !important;
 background: transparent !important;
 background-image: none !important;
 box-shadow: none !important;
 clip: auto !important;
 clip-path: none !important;
 overflow: visible !important;
 opacity: 1 !important;
 visibility: visible !important;
 vertical-align: top;
 cursor: pointer;
}
:is(
 form.elementor-form .elementor-field-type-acceptance input[type="checkbox"],
 .wpcf7 .wpcf7-acceptance input[type="checkbox"],
 .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy_policy"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy"],
 form:not(.nbap-form) input[type="checkbox"][name^="consent"],
 form:not(.nbap-form) input[type="checkbox"][name^="acceptance"],
 .comment-form-cookies-consent input[type="checkbox"]
):checked {
 background: #25211e !important;
 box-shadow: inset 0 0 0 3px #e9e3dc !important;
}
:is(
 form.elementor-form .elementor-field-type-acceptance input[type="checkbox"],
 .wpcf7 .wpcf7-acceptance input[type="checkbox"],
 .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy_policy"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy"],
 form:not(.nbap-form) input[type="checkbox"][name^="consent"],
 form:not(.nbap-form) input[type="checkbox"][name^="acceptance"],
 .comment-form-cookies-consent input[type="checkbox"]
):focus-visible {
 outline: 2px solid #6f4e3e !important;
 outline-offset: 5px !important;
}
:is(
 form.elementor-form .elementor-field-type-acceptance input[type="checkbox"],
 .wpcf7 .wpcf7-acceptance input[type="checkbox"],
 .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy_policy"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy"],
 form:not(.nbap-form) input[type="checkbox"][name^="consent"],
 form:not(.nbap-form) input[type="checkbox"][name^="acceptance"],
 .comment-form-cookies-consent input[type="checkbox"]
)::before,
:is(
 form.elementor-form .elementor-field-type-acceptance input[type="checkbox"],
 .wpcf7 .wpcf7-acceptance input[type="checkbox"],
 .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy_policy"],
 form:not(.nbap-form) input[type="checkbox"][name="privacy"],
 form:not(.nbap-form) input[type="checkbox"][name^="consent"],
 form:not(.nbap-form) input[type="checkbox"][name^="acceptance"],
 .comment-form-cookies-consent input[type="checkbox"]
)::after {
 display: none !important;
 content: none !important;
}
form.elementor-form .elementor-field-type-acceptance .elementor-field-option,
.wpcf7 .wpcf7-acceptance label,
.woocommerce-terms-and-conditions-wrapper label:has(input[type="checkbox"]) {
 display: inline-flex;
 align-items: flex-start;
 gap: 12px;
}
form.elementor-form .elementor-field-type-acceptance .elementor-field-option > input[type="checkbox"],
.wpcf7 .wpcf7-acceptance label > input[type="checkbox"],
.woocommerce .woocommerce-terms-and-conditions-wrapper label > input[type="checkbox"],
.nbap .nbap-checkbox > input[type="checkbox"] {
 margin: 3px 0 0 !important;
}
form.elementor-form .elementor-field-type-acceptance .elementor-field-option > label {
 margin: 0;
 cursor: pointer;
}
.woocommerce-terms-and-conditions-wrapper .checkbox-sign,
.wpcf7 .wpcf7-acceptance .checkbox-sign,
form.elementor-form .elementor-field-type-acceptance .checkbox-sign {
 display: none !important;
}
