/* === FF2-autofill-fix v2 === */
/* Force autofilled inputs in Fluent Form 2 to render black-on-white.
   The form's normal state CSS sets color:white; on focus the form sets color:black,
   but browser autofill (Chrome/Edge + 1Password) overrides with -webkit-text-fill-color
   which beats normal color: rules. We have to win specifically against autofill. */

.fluentform_wrapper_2 input:-webkit-autofill,
.fluentform_wrapper_2 input:-webkit-autofill:hover,
.fluentform_wrapper_2 input:-webkit-autofill:focus,
.fluentform_wrapper_2 input:-webkit-autofill:active,
#fluentform_2 input:-webkit-autofill,
#fluentform_2 input:-webkit-autofill:hover,
#fluentform_2 input:-webkit-autofill:focus,
#fluentform_2 input:-webkit-autofill:active,
#popmake-27011 input:-webkit-autofill,
#popmake-27011 input:-webkit-autofill:focus {
    -webkit-text-fill-color: #000 !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    caret-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Belt-and-braces — force the email field text to black ONLY on focus.
   (Do NOT add a non-:focus selector here, or the inactive state breaks.) */
#fluentform_2 input[type=email]:focus,
.fluentform_wrapper_2 .ff-el-input--content input[type=email]:focus,
#popmake-27011 input[type=email]:focus {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background-color: #fff !important;
    caret-color: #000 !important;
}
/* === FF2-autofill-fix-end === */
