.img-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-img-container {
  position: relative;
  overflow: hidden;
  width: 400px;
  height: 400px;
  border-radius: 10px;
  touch-action: pan-y;
  background: #fff;
}

/* Normal image */
#main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  margin: 0;
}

/* High-resolution zoom image */
#zoom-img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;

  opacity: 0;
  pointer-events: none;

  transform: scale(2);
  transform-origin: center center;

  user-select: none;
  -webkit-user-drag: none;

  transition: opacity 0.15s ease;
}

/* Zoom active */
.main-img-container.zoom-active #zoom-img {
  opacity: 1;
}
/* Main image container for zoom effect 
.main-img-container {
  position: relative;
  overflow: hidden;
  width: 400px;
  height: 400px;
  border-radius: 10px;
}

/* Main image 
#main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  margin: inherit;
}

/* Zoom on hover 
.main-img-container:hover #main-img {
  transform: scale(2);
  cursor: zoom-out;
}
*/
/* Thumbnails container */
#thumbnails {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 5px;
}

#thumbnails::-webkit-scrollbar {
  height: 6px;
}

#thumbnails::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}

.thumb-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, border 0.2s ease;
}

.thumb-img:hover {
  transform: scale(1.05);
  border: 2px solid #555;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
  .main-img-container {
    width: 90vw;
    height: 90vw;
    max-width: 500px;
    max-height: 500px;
  }

  #thumbnails {
    width: 90vw;
  }

  .thumb-img {
    width: 80px;
    height: 80px;
  }
}

/* Report Item Styles */

.report-item-container {
    margin-top: 15px;
    padding: 0 10px;
      text-align: center;
  }

.report-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: #b02a37;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* icon */
.report-item-link i {
  font-size: 0.9rem;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* hover */
.report-item-link:hover {
  color: #7a1c25; /* slightly darker red */
}

/* subtle interaction */
.report-item-link:hover i {
  opacity: 1;
  transform: translateY(-1px);
}

/* focus (don’t skip this) */
.report-item-link:focus {
  outline: 2px solid #b02a37;
  outline-offset: 2px;
}
.report-item-link:hover {
  text-decoration: underline;
}