body {
  min-height: 100vh;
}

.progress-thin {
  height: 4px;
}


.reviewer-summary-card {
  max-width: 760px;
}

.reviewer-stats-table th,
.reviewer-stats-table td {
  padding-top: .45rem;
  padding-bottom: .45rem;
}

.reviewer-count-link {
  min-width: 52px;
  display: inline-block;
}


.validator-table thead th {
  position: static;
  white-space: nowrap;
  vertical-align: middle;
  padding-top: .85rem;
  padding-bottom: .85rem;
  border-bottom-width: 2px;
}

.preview-cell {
  width: 240px;
}

.thumb {
  display: block;
  width: 220px;
  height: 150px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform .12s ease, box-shadow .12s ease;
}

.thumb:hover {
  transform: translateY(-1px);
  box-shadow: 0 .35rem .85rem rgba(0, 0, 0, .12);
}

.filename-cell {
  min-width: 260px;
  max-width: 440px;
}

.class-cell {
  min-width: 410px;
}

.class-picker {
  width: 100%;
}

.class-search {
  border-color: #adb5bd;
  background: #fff;
}

.class-search:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 .16rem rgba(13, 110, 253, .14);
}

.class-clear {
  min-width: 48px;
  font-size: 1.25rem;
  line-height: 1;
}

.class-suggestions {
  max-height: 260px;
  overflow-y: auto;
}

.class-suggestions[hidden] {
  display: none !important;
}

.class-suggestion {
  font-weight: 600;
  font-size: .95rem;
}

.class-suggestion.active,
.class-suggestion:active {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.class-search-help {
  min-height: 1rem;
}

.class-search:disabled,
.class-clear:disabled,
.class-all:disabled,
.class-unknown:disabled,
.class-pending:disabled {
  cursor: not-allowed;
}

.app-toast-container {
  z-index: 2000;
}

.row-status {
  width: 130px;
  white-space: nowrap;
}

.image-modal-body {
  min-height: 70vh;
}

.image-modal-body img {
  max-height: 86vh;
  width: auto;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 991.98px) {
  .preview-cell {
    width: 190px;
  }

  .thumb {
    width: 175px;
    height: 125px;
  }

  .class-cell {
    min-width: 310px;
  }
}


.guide-card {
  overflow: hidden;
}

.guide-image-button {
  width: 100%;
  height: 260px;
  cursor: zoom-in;
}

.guide-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f9fa;
}

.guide-image-button:hover .guide-thumb {
  transform: scale(1.01);
}

.guide-thumb {
  transition: transform .12s ease;
}


.guide-all-classes-scroll {
  max-height: 300px;
  overflow-y: auto;
}


.all-classes-modal-body {
  max-height: 75vh;
  overflow-y: auto;
}

.all-class-option {
  white-space: nowrap;
}


.class-action-buttons .btn {
  min-height: 38px;
}

.class-unknown {
  border-color: #d39e00;
}

.class-unknown:hover,
.class-unknown:focus {
  color: #212529;
}

@media (max-width: 767.98px) {
  body {
    background: #f3f4f6;
  }

  .validator-navbar {
    position: static;
  }

  .validator-navbar .container-fluid {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .validator-navbar .navbar-brand {
    font-size: 1rem;
  }

  .validator-navbar-actions {
    width: 100%;
    align-items: stretch !important;
  }

  .validator-navbar-actions > * {
    flex: 1 1 auto;
    text-align: center;
  }

  main.container-fluid {
    padding: .65rem !important;
  }

  main > .card .card-body {
    padding: .85rem;
  }

  .reviewer-summary-card {
    max-width: none;
  }

  .validator-table,
  .validator-table tbody,
  .validator-table tr,
  .validator-table td {
    display: block;
    width: 100%;
  }

  .validator-table thead {
    display: none;
  }

  .validator-table {
    border-collapse: separate;
  }

  .validator-table tbody {
    padding: .55rem;
  }

  .validator-table tr[data-file] {
    margin-bottom: 1rem;
    padding: .8rem;
    border: 1px solid #dee2e6;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 .15rem .45rem rgba(0, 0, 0, .06);
  }

  .validator-table td {
    border: 0 !important;
    padding: .4rem 0 !important;
  }

  .preview-cell,
  .filename-cell,
  .class-cell,
  .row-status {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .thumb {
    width: 100%;
    height: 220px;
    max-width: none;
    object-fit: contain;
    margin: 0 auto .35rem;
  }

  .filename-cell {
    padding-bottom: .65rem !important;
    border-bottom: 1px solid #eef0f2 !important;
  }

  .class-cell {
    padding-top: .75rem !important;
  }

  .class-search {
    min-height: 48px;
    font-size: 1rem !important;
  }

  .class-clear {
    min-width: 48px;
  }

  .class-action-buttons {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: .55rem !important;
  }

  .class-action-buttons .btn {
    width: 100%;
    min-height: 44px;
    font-size: .95rem;
  }

  .class-unknown {
    background: #ffc107;
    border-color: #d39e00;
    color: #212529 !important;
  }

  .class-search-help {
    margin-top: .45rem;
    font-size: .8rem;
    line-height: 1.3;
  }

  .row-status {
    text-align: left !important;
    padding-top: .7rem !important;
  }

  .row-status .badge {
    font-size: .85rem;
    padding: .5rem .65rem;
  }

  .class-suggestions {
    max-height: 220px;
  }

  .all-classes-modal-body {
    max-height: none;
    padding: .75rem;
  }

  .all-class-option {
    width: 100%;
    white-space: normal;
    text-align: left;
    padding: .6rem .75rem;
  }

  .modal-fullscreen-lg-down .modal-header {
    padding: .75rem;
  }
}


.guide-example-card {
  overflow: hidden;
}

.guide-example-thumb {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .guide-example-thumb {
    height: 240px;
  }

  .guide-more-btn {
    min-height: 44px;
    font-size: .95rem;
  }
}


.guide-example-image-wrap {
  background: #f8f9fa;
}

.guide-example-enlarge {
  position: absolute;
  left: 50%;
  bottom: .75rem;
  transform: translateX(-50%);
  min-width: 150px;
  box-shadow: 0 .2rem .65rem rgba(0, 0, 0, .25);
}

@media (max-width: 767.98px) {
  .guide-example-enlarge {
    width: calc(100% - 1.5rem);
    min-height: 42px;
    font-size: .95rem;
  }
}


.validator-summary-progress {
  width: min(100%, 520px);
  height: 14px;
  background: #e9ecef;
  border-radius: 999px;
  overflow: hidden;
}

.validator-summary-progress .progress-bar {
  transition: width .25s ease;
}
