/* NUCLEAR OPTION: Force ALL input fields to have black text - NO EXCEPTIONS */
* input,
* input:disabled,
* input[readonly],
* input[type="text"],
* input[type="number"],
* .MuiInputBase-input,
* .MuiInputBase-input.Mui-disabled,
* .MuiOutlinedInput-input,
* .MuiOutlinedInput-input.Mui-disabled,
* .MuiSelect-select,
* .MuiSelect-select.Mui-disabled,
/* Specific targeting for all Material-UI components */
.MuiTextField-root input,
.MuiTextField-root input:disabled,
.MuiTextField-root input[readonly],
.MuiTextField-root .MuiInputBase-input,
.MuiTextField-root .MuiInputBase-input.Mui-disabled,
.MuiTextField-root .MuiOutlinedInput-input,
.MuiTextField-root .MuiOutlinedInput-input.Mui-disabled,
.MuiFormControl-root input,
.MuiFormControl-root input:disabled,
.MuiFormControl-root input[readonly],
.MuiFormControl-root .MuiInputBase-input,
.MuiFormControl-root .MuiInputBase-input.Mui-disabled,
.MuiFormControl-root .MuiOutlinedInput-input,
.MuiFormControl-root .MuiOutlinedInput-input.Mui-disabled,
.MuiFormControl-root .MuiSelect-select,
.MuiFormControl-root .MuiSelect-select.Mui-disabled,
.steam-id-input input,
.steam-id-input input:disabled,
.steam-id-input input[readonly],
.steam-id-input .MuiInputBase-input,
.steam-id-input .MuiInputBase-input.Mui-disabled,
.steam-id-input .MuiOutlinedInput-input,
.steam-id-input .MuiOutlinedInput-input.Mui-disabled {
  color: black !important;
  -webkit-text-fill-color: black !important;
  background-color: white !important;
  opacity: 1 !important;
}

/* NUCLEAR OPTION: Autofill states for ALL fields */
* input:-webkit-autofill,
* input:-webkit-autofill:hover,
* input:-webkit-autofill:focus,
* input:-webkit-autofill:active,
.MuiTextField-root input:-webkit-autofill,
.MuiTextField-root input:-webkit-autofill:hover,
.MuiTextField-root input:-webkit-autofill:focus,
.MuiTextField-root input:-webkit-autofill:active,
.MuiFormControl-root input:-webkit-autofill,
.MuiFormControl-root input:-webkit-autofill:hover,
.MuiFormControl-root input:-webkit-autofill:focus,
.MuiFormControl-root input:-webkit-autofill:active,
.steam-id-input input:-webkit-autofill,
.steam-id-input input:-webkit-autofill:hover,
.steam-id-input input:-webkit-autofill:focus,
.steam-id-input input:-webkit-autofill:active {
  color: black !important;
  -webkit-text-fill-color: black !important;
  background-color: white !important;
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  opacity: 1 !important;
}

/* Override Material-UI disabled styles for all fields */
.steam-id-input .MuiInputBase-root.Mui-disabled,
.steam-id-input .MuiOutlinedInput-root.Mui-disabled,
.MuiTextField-root .MuiInputBase-root.Mui-disabled,
.MuiTextField-root .MuiOutlinedInput-root.Mui-disabled,
.MuiFormControl-root .MuiInputBase-root.Mui-disabled,
.MuiFormControl-root .MuiOutlinedInput-root.Mui-disabled {
  background-color: white !important;
}

.steam-id-input .MuiInputBase-root.Mui-disabled input,
.steam-id-input .MuiOutlinedInput-root.Mui-disabled input,
.MuiTextField-root .MuiInputBase-root.Mui-disabled input,
.MuiTextField-root .MuiOutlinedInput-root.Mui-disabled input,
.MuiFormControl-root .MuiInputBase-root.Mui-disabled input,
.MuiFormControl-root .MuiOutlinedInput-root.Mui-disabled input {
  color: black !important;
  -webkit-text-fill-color: black !important;
  opacity: 1 !important;
}

/* Specific fixes for readonly and disabled states */
.MuiTextField-root .MuiInputBase-input[readonly],
.MuiTextField-root .MuiOutlinedInput-input[readonly],
.MuiFormControl-root .MuiInputBase-input[readonly],
.MuiFormControl-root .MuiOutlinedInput-input[readonly] {
  color: black !important;
  -webkit-text-fill-color: black !important;
  background-color: white !important;
  opacity: 1 !important;
}

/* NUCLEAR OPTION: Specific fixes for autofilled-field class */
.autofilled-field input,
.autofilled-field input:disabled,
.autofilled-field input[readonly],
.autofilled-field input[type="text"],
.autofilled-field input[type="number"],
.autofilled-field .MuiInputBase-input,
.autofilled-field .MuiInputBase-input.Mui-disabled,
.autofilled-field .MuiOutlinedInput-input,
.autofilled-field .MuiOutlinedInput-input.Mui-disabled,
.autofilled-field .MuiSelect-select,
.autofilled-field .MuiSelect-select.Mui-disabled {
  color: black !important;
  -webkit-text-fill-color: black !important;
  background-color: white !important;
  opacity: 1 !important;
}

.autofilled-field input:-webkit-autofill,
.autofilled-field input:-webkit-autofill:hover,
.autofilled-field input:-webkit-autofill:focus,
.autofilled-field input:-webkit-autofill:active {
  color: black !important;
  -webkit-text-fill-color: black !important;
  background-color: white !important;
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  opacity: 1 !important;
}

.autofilled-field .MuiInputBase-root.Mui-disabled,
.autofilled-field .MuiOutlinedInput-root.Mui-disabled {
  background-color: white !important;
}

.autofilled-field .MuiInputBase-root.Mui-disabled input,
.autofilled-field .MuiOutlinedInput-root.Mui-disabled input {
  color: black !important;
  -webkit-text-fill-color: black !important;
  opacity: 1 !important;
}

/* FINAL NUCLEAR OPTION: Override everything */
.MuiInputBase-input,
.MuiInputBase-input.Mui-disabled,
.MuiOutlinedInput-input,
.MuiOutlinedInput-input.Mui-disabled,
.MuiSelect-select,
.MuiSelect-select.Mui-disabled {
  color: black !important;
  -webkit-text-fill-color: black !important;
  background-color: white !important;
  opacity: 1 !important;
}

