input[type=text],
input[type=password] {
    ...
    width: calc(100% - 20px);
}