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;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.theme-toggle {
  min-width: 2.6rem;
  white-space: nowrap;
}

.theme-toggle-icon {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(-.03rem);
}

[data-bs-theme="dark"] .bg-light {
  background-color: var(--bs-tertiary-bg) !important;
}

[data-bs-theme="dark"] .text-dark {
  color: var(--bs-body-color) !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: .75rem;
  }

  .navbar-nav .nav-link,
  .navbar-auth .btn.nav-link {
    padding: .65rem .75rem;
  }

  .navbar-nav .dropdown-menu {
    margin: 0 .75rem .5rem;
  }

  .navbar-auth {
    border-top: 1px solid var(--bs-border-color);
    margin-top: .5rem;
    padding-top: .5rem;
  }

  h1 {
    font-size: calc(1.35rem + 1vw);
  }

  .btn {
    min-height: 2.5rem;
  }
}

.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;
}
