body {
  background-color: white;
}

a.app:active, a.app:focus {
  background-color: yellow;
  cursor: pointer;
}

/* using classes for a elements to isolate the hover, active, focus effect didn't work, so the use of background-color white below is to silence the effect on a elements where I don't want it to work.*/
a.popup:hover, a.popup:active, a.popup:focus {
  background-color: white;
}

li > a:hover, li > a:active, li > a:focus {
  background-color: white;
}

a.top:hover, a.top:active, a.top:focus {
  background-color: white;
}

.active, .collapsible:hover {
  color: blue;
  cursor: pointer;
}

.active, .catalogue-title:hover {
  color: blue;
  cursor: pointer;
}

.notebook-facsimiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(187px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.notebook-facsimiles .pb {
  display: block;
  text-align: center;
  font-size: 0.9rem;
}

.notebook-facsimiles .thumb {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  transition: transform 0.2s;
}

.notebook-facsimiles .thumb:hover {
  transform: scale(1.05);
}

.image-credit {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.5rem;
}

/* New styles for the metadata header */
.notebook-metadata-header {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.5rem 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.notebook-metadata-header > div {
  margin-bottom: 0.25rem;
}

.notebook-metadata-header > div:last-child {
  margin-bottom: 0;
}

.notebook-metadata-header strong {
  color: #333;
}

/* Transcription status badges */
.notebook-transcription-badge {
  margin: 0.5rem 0;
}

.status-badge {
  font-size: 0.75em;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.transcribed-badge {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.transcribed-badge:hover {
  background-color: #a7f3d0;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.unedited-badge {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fbbf24;
}

