.field {
  padding: 0.5rem;
  border: 2px solid silver;
}

.field:focus-within {
  border-color: teal;
  background-color: honeydew;
}