html, body {
  height: 100%;
}

body {
  margin: 0;                 /* important */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Bootstrap container holding main content should be able to grow */
body > .container {
  flex: 1 1 auto;
  min-height: 0;             /* critical: allows inner scroll areas */
  display: flex;
  flex-direction: column;
}

/* Your main should fill container */
main[role="main"] {
  flex: 1 1 auto;
  min-height: 0;             /* critical */
  padding-bottom: 0 !important; /* you had pb-3, optional to keep/remove */
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}