.container {
  width: 100%;
  max-width: 100%;
  padding: 1em;
  box-sizing: border-box;
  overflow-x: auto;
}

.sort-icon {
  font-size: 0.8em;
  margin-left: 0.25em;
  font-family: Arial, sans-serif;  
}

.sort-asc::after {
  content: "▲";
}

.sort-desc::after {
  content: "▼";
}

th[data-sortable="true"] {
  cursor: pointer;
}

#lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}
#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
}
#lightbox-caption {
  margin-top: 0.5em;
  color: white;
  font-size: 1.2em;
}
#lightbox-close {
  position: absolute;
  top: -15px; right: -15px;
  background: white;
  color: black;
  font-size: 1.5em;
  border-radius: 50%;
  padding: 0 10px;
  cursor: pointer;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2em;
  color: white;
  background: rgba(0,0,0,0.4);
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  z-index: 10;
  border-radius: 5px;
  user-select: none;
}
#lightbox-prev {
  left: -60px;
}
#lightbox-next {
  right: -60px;
}
#lightbox-content {
  position: relative;
  display: inline-block;
}
.lightbox-arrow:hover {
  background: rgba(255,255,255,0.2);
}
