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%;
}

/* Dark mode using Bootstrap 5 data-bs-theme attribute on html */
html[data-bs-theme="dark"], html[data-bs-theme="dark"] body {
  background-color: #121212;
  color: #e6e6e6;
}

html[data-bs-theme="dark"] .navbar, html[data-bs-theme="dark"] .footer {
  background-color: #1f1f1f !important;
}

html[data-bs-theme="dark"] .nav-link, html[data-bs-theme="dark"] .navbar-brand, html[data-bs-theme="dark"] .footer {
  color: #e6e6e6 !important;
}

html[data-bs-theme="dark"] .table {
  color: #e6e6e6;
  background-color: #1b1b1b;
}

html[data-bs-theme="dark"] .btn-outline-secondary {
  color: #e6e6e6;
  border-color: #555;
}

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;
}