That is coming from the browser and isn’t actually changing the border of the element, rather it’s overlaying its own outline on top of the element when the input has focus. Different browsers will display this slightly differently, some around the element (Firefox) and some on top of it (Chrome).
To change this you’d need to target the input via the :focus selector and change the outline. Since there is no way to change the radius of the outline directly that I’m aware of, I’d recommend just setting a custom outline and offsetting it to be over the border of the input which should look consistent across most browsers.