html,
body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
  
  background-repeat: no-repeat;
  min-width: 100%;
  min-height: 100%;
}

.form {
  max-width: 480px;
  padding: 15px;
}

.form .form-floating:focus-within {
  z-index: 2;
}

.form input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}