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;
}

body.app-wait,
body.app-wait * {
  cursor: wait !important;
}

.sblist-class-picker {
  width: min(100%, 18rem);
}

.sblist-results-scroll {
  max-height: min(68vh, 48rem);
  overflow-y: auto;
}

.sblist-results-scroll thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

.sblist-result-row {
  cursor: pointer;
}

.sblist-result-row:focus {
  outline: 2px solid var(--bs-primary);
  outline-offset: -2px;
}

.sblist-details-card {
  min-height: 16rem;
}

.sblist-detail-list dt {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.sblist-detail-list dd {
  overflow-wrap: anywhere;
}

.form-card-narrow {
  max-width: 48rem;
}

.public-home-hero {
  background: linear-gradient(135deg, var(--bs-tertiary-bg), var(--bs-primary-bg-subtle));
}

.main-home-hero {
  background: linear-gradient(135deg, var(--bs-tertiary-bg), var(--bs-primary-bg-subtle));
}

.main-home-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.main-home-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bs-box-shadow) !important;
}

@media (prefers-reduced-motion: reduce) {
  .main-home-card {
    transition: none;
  }

  .main-home-card:hover {
    transform: none;
  }
}

.validation-summary-valid {
  display: none;
}

.audit-detail {
  min-width: 18rem;
  max-width: 36rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.other-edit-current-image {
  max-height: 24rem;
  overflow: hidden;
  border-radius: var(--bs-border-radius);
  background: var(--bs-tertiary-bg);
  text-align: center;
}

.other-edit-current-image img {
  max-height: 21rem;
  object-fit: contain;
}

.other-report-table-wrap {
  border-radius: var(--bs-border-radius);
}

.other-report-table {
  table-layout: fixed;
  margin-bottom: 0;
}

.other-report-table th {
  white-space: nowrap;
}

.other-report-comments {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 18rem;
  overflow-y: auto;
}

.other-report-comments-input {
  min-height: 6rem;
  white-space: pre-wrap;
}

.other-report-thumbnail {
  display: block;
  width: 100%;
  max-width: 12rem;
  height: 8rem;
  object-fit: contain;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background: var(--bs-tertiary-bg);
}

@media (max-width: 767.98px) {
  .other-report-table-wrap {
    overflow: visible;
  }

  .other-report-table,
  .other-report-table tbody {
    display: block;
    width: 100%;
  }

  .other-report-table thead,
  .other-report-table colgroup {
    display: none;
  }

  .other-report-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg);
    background: var(--bs-body-bg);
    box-shadow: var(--bs-box-shadow-sm);
    overflow: hidden;
  }

  .other-report-table tbody td {
    display: grid;
    grid-template-columns: minmax(5.5rem, 0.3fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.75rem;
    border: 0;
    border-bottom: 1px solid var(--bs-border-color-translucent);
    overflow-wrap: anywhere;
  }

  .other-report-table tbody td:last-child {
    border-bottom: 0;
  }

  .other-report-table tbody td::before {
    content: attr(data-label);
    color: var(--bs-secondary-color);
    font-size: 0.875rem;
    font-weight: 600;
  }

  .other-report-thumbnail {
    max-width: 100%;
  }
}

@media (max-width: 991.98px) {
  .sblist-details-pane {
    display: none;
  }

  .sblist-page.sblist-show-details .sblist-results-pane {
    display: none;
  }

  .sblist-page.sblist-show-details .sblist-details-pane {
    display: block;
  }

  .sblist-results-scroll {
    max-height: 70vh;
  }
}

.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;
}