.gallerygpt {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.gallerygpt-thumbnail {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    cursor: pointer;
}

.gallerygpt-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallerygpt-modal {
    display: none;
    position: fixed;
    z-index: 9999; /* Increase this number to be higher than your nav */
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.gallerygpt-modal img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
}

.gallerygpt-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}
.gallerygpt-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 40px;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  color: black;
  z-index: 10000;
}

.gallerygpt-prev {
  left: 20px;
}

.gallerygpt-next {
  right: 20px;
}

.gallerygpt-arrow:hover {
  background: rgba(255,255,255,1);
}
