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%;
}

body {
  margin-bottom: 60px;
}

.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;
}

/* Show/hide password eye toggle — anchored to the input row of the form-floating,
   not the validation message that can render below it. */
.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: calc(3.5rem + 2px); /* matches form-floating input height */
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
  z-index: 5;
}

.password-toggle:hover, .password-toggle:focus-visible {
  color: #212529;
}