/* Summary cards for the identification review page */
.summary-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.summary-cards .card {
  flex: 1 1 160px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.summary-cards .card h3 {
  margin: 0;
  font-size: 2rem;
  color: #212529;
}

.summary-cards .card p {
  margin: 0.5rem 0 0;
  color: #6c757d;
}

/* Observable table images */
.ojs-table img {
  max-height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
}

/* Catalog sidebar layout */
.catalog-layout {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.catalog-sidebar {
  flex: 0 0 260px;
  min-width: 260px;
  max-width: 260px;
  padding: 1rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  height: fit-content;
}

.catalog-main {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 768px) {
  .catalog-layout {
    flex-direction: column;
  }
  .catalog-sidebar {
    flex: 1 1 auto;
    max-width: 100%;
  }
}

/* Custom catalog table */
.catalog-table {
  width: 100%;
  max-height: 600px;
  overflow: auto;
  display: block;
  font-size: 0.9rem;
}

.catalog-table th {
  white-space: nowrap;
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 1;
}

.catalog-table td {
  vertical-align: middle;
}

.catalog-table img {
  max-height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
}
