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

.login-error {
  display: inline-block;
  margin: 1rem 0 1rem 0;
  padding: 2rem 4rem 2rem 4rem;
}

.user-icon {
  width: 2rem;
  height: 2rem;
  float: right;
}

/* Tomselect dark mode theme */
[data-bs-theme="dark"] .ts-control,
[data-bs-theme="dark"] .ts-dropdown {
  color: #f8f9fa !important;
  border-color: #444 !important;
}

[data-bs-theme="dark"] .ts-control input,
[data-bs-theme="dark"] .ts-dropdown .option,
[data-bs-theme="dark"] .ts-dropdown .item {
  color: #f8f9fa !important;
}

[data-bs-theme="dark"] .ts-dropdown .option:hover,
[data-bs-theme="dark"] .ts-dropdown .active {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .ts-control .item {
  color: #f8f9fa !important;
  border-color: #666 !important;
}

h3.modal-title {
  font-size: 1.25rem;
}

h4.fw-bold, h4.card-title {
  font-size: 1rem;
}

.table button {
  word-break: normal;
}

.skip-link:focus {
  left: 10px !important;
  top: 10px;
  outline: none;
}

input[readonly] {
  background-color: #343a40 !important;
  box-shadow: none;
  opacity: 1;
  border-color: var(--bs-border-color) !important;
}
