html,
body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-signin .checkbox {
  font-weight: 400;
}

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

.vertical-input-group .form-floating:first-child {
  padding-bottom: 0;
}
.vertical-input-group .form-floating:first-child * {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;    
}
.vertical-input-group .form-floating:last-child {
  padding-top: 0;
}
.vertical-input-group .form-floating:last-child * {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-bottom: 10px;
}
.vertical-input-group .form-floating:not(:last-child):not(:first-child) {
  padding-top: 0;
  padding-bottom: 0;
}
.vertical-input-group .form-floating:not(:last-child):not(:first-child) * {
  border-radius: 0;
}
.vertical-input-group .form-floating:not(:first-child) * {
  border-top: 0;
}