/* Gallery container */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(10, 1fr); /* 10 images per row */
  gap: 10px;
  margin: 20px 0;
}

/* Image selection styling */
.image-selection {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

/* Hide the radio button */
.image-selection input[type="radio"] {
  display: none;
}

/* Image styles */
.gallery-image {
  width: 100%; /* Full width of the grid cell */
  height: 100px; /* Fixed height */
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease; /* Smooth zoom effect and background transition */
  border: 2px solid transparent; /* No border initially */
}

/* Highlight selected image */
.selected {
  border: 2px solid #3498db; /* Blue border for selected images */
  background-color: rgba(52, 152, 219, 0.2); /* Light blue background */
  transform: scale(1.05); /* Slight zoom effect */
}

/* Optional hover effect for unselected images */
.gallery-image:hover {
  transform: scale(1.1); /* Zoom effect on hover */
  border: 2px solid #ddd; /* Add a light gray border on hover */
}
