* {
  box-sizing: border-box;
  -webkit-appearance: none;
}

body {
  min-height: 100vh;
  font-family: sans-serif;
}

input {
  border-radius: 0;
}

.wrapper {
  min-height: 100vh;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-element-set {
  display: flex;
  flex-direction: column;
  justify-content: left;
  margin: 2rem 0;
}

.form-element-set label {
  display: block;
  font-weight: bold;
  font-size: 75%;
  width: 100%;
  margin-bottom: 0.25rem;
}

.form-element-set input[type=text],
.form-element-set input[type=email],
.form-element-set input[type=password] {
  width: 100%;
  height: 48px;
  padding: 0.25rem 0.5rem;
  font-size: 125%;
  border: 1px solid black;
}

.form-element-set input[type=submit] {
  width: 50%;
  height: 48px;
  font-size: 125%;
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
}

.form-element-set input[type=submit][disabled] {
  background-color: gray;
}

.form-element-set .input-with-button {
position: relative;
display: flex;
}

.form-element-set .input-with-button input[type=text],
.form-element-set .input-with-button input[type=email],
.form-element-set .input-with-button input[type=password] {
height: 48px;
border-right: none;
}

.form-element-set .input-with-button button {
width: 52px;
height: 48px;
padding: 0;
line-height: 48px;
font-size: 150%;
border: 1px solid black;
text-align: center;
}

#info,
#error {
  padding: 1rem;
}

#info {
  background-color: green;
  color: white;
}

#error {
  background-color: red;
  color: white;
}