/* Layered important declarations override the different form plugins' color rules.
   Keep their native controls, sizing, icons, and validation borders intact. */
@layer mugen-fields {
  body :is(input:not([type]),input:is([type=text],[type=email],[type=password],[type=search],[type=tel],[type=url],[type=number],[type=date],[type=time],[type=datetime-local],[type=month],[type=week]),textarea,select,[contenteditable="true"][role=textbox],.select2-selection,.select2-dropdown) {
    background-color:#302b35 !important;
    color:#faf7fc !important;
    caret-color:#b9f385 !important;
    color-scheme:dark;
  }
  body :is(input,textarea)::placeholder, body .select2-selection__placeholder {
    color:#c8bdce !important;
    opacity:1 !important;
  }
  body :is(input,textarea,select):focus-visible, body .select2-selection:focus-visible {
    outline:2px solid #b9f385 !important;
    outline-offset:2px;
  }
  body :is(input,textarea):-webkit-autofill {
    -webkit-text-fill-color:#faf7fc !important;
    box-shadow:inset 0 0 0 1000px #302b35 !important;
  }
  body :is(select option,.select2-results__option,.select2-selection__choice) {
    color:#faf7fc !important;
    background-color:#302b35 !important;
  }
  body .select2-results__option:is(.select2-results__option--highlighted,[aria-selected=true]) {
    color:#faf7fc !important;
    background-color:#554263 !important;
  }
  body :is(.select2-selection__rendered,.woocommerce .show-password-input) {color:#faf7fc !important}
}
