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

/* Library stars (_LibraryControls.cshtml): filled when aria-pressed is true, muted otherwise. The glyph never changes. */
.library-star {
  font-size: 1.25rem;
  line-height: 1;
  color: #adb5bd;
}

.library-star[aria-pressed="true"] {
  color: #f5a623;
}
/* AI search history rows (_AiHistoryList.cshtml): the requirement is cut to two lines; the full text is in its title attribute. */
.ai-history-requirement {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
