.mail {
  background-color: honeydew;
  color: teal;
  border: 1px solid teal;
}

.mail:autofill,
.mail:-webkit-autofill {
  -webkit-text-fill-color: teal;
  box-shadow: inset 0 0 0 1000px honeydew;
}