/* 
#selection-panel.carousel {
  display: flex !important;
  justify-content: center !important; 
  align-items: center !important;
  overflow-x: hidden !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
} */

.carousel-item {
  margin: 5px !important; 
  padding: 5px !important; 
  width: auto !important; 
  display: inline-block !important; 
}

.selection-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  align-items: center;
  flex-direction: row !important;
  margin: 10px;
}

.selectable-image {
  flex: 0 1 0;
  border-radius: 10px;
  border: 0.5px solid #ccc;  
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); 
  max-height: 46%;
  object-fit: contain;
  padding: 1px;          
  background-color: #dde9f7;   
  margin: 1% 5px 1% 5px;
  cursor: pointer;
}

/* #enlarged-image {
  max-height: 600px;
  max-width: 600px;
  max-width: 80%;
  z-index: 100;
  box-sizing: content-box; 
  position: fixed;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  background-color: white;
  pointer-events: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: opacity 0.3s;
  opacity: 0%;
} */

#enlarged-images-container {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}

#enlarged-image, #enlarged-image-normal {
  max-width: 50%; /* 每张图片占据容器的一半宽度 */
  max-height: 600px; /* 限制最大高度 */
  box-sizing: content-box;
  border: 1px solid #ccc;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  background-color: white;
  border-radius: 10px;
  margin: 0 5px; /* 添加一些间距 */
}
/* image & normal show at the same time */


.selectable-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


.selectable-image.selected {
  border: 3px solid #4a7aa5; 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
}
