.scene-viewer {
  font-family: Arial, sans-serif;
}

#loading-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.6); */
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#viewer-container {
  /* width: 500px; */
  height: 500px;
  border: 1px solid #ccc;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
}

.scene-viewer button {
  margin: 5px;
  padding: 8px 12px;
  font-size: 14px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.scene-viewer button:hover {
  background-color: #0056b3;
}

.scene-viewer #button-block {
  text-align: center;
  margin: 20px auto; /* Increase margin for more spacing */
}

#button-block input[type="range"] {
  -webkit-appearance: none;
  width: 400px; /* Increase width for a larger slider */
  height: 12px; /* Increase height for a thicker slider */
  background: linear-gradient(to right, #d1c4e9, #512da8); /* Light purple to deep purple */
  border-radius: 10px;
  outline: none;
  transition: background 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#button-block input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px; /* Increase thumb size */
  height: 25px; /* Increase thumb size */
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #512da8; /* Match deep purple */
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#button-block input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.3); /* Slightly larger hover effect */
  background-color: #ede7f6; /* Light purple hover effect */
}

#button-block input[type="range"]::-moz-range-thumb {
  width: 25px; /* Increase thumb size */
  height: 25px; /* Increase thumb size */
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #512da8;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#button-block input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.3); /* Slightly larger hover effect */
  background-color: #ede7f6;
}

#button-block input[type="range"]::-ms-thumb {
  width: 25px; /* Increase thumb size */
  height: 25px; /* Increase thumb size */
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #512da8;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#button-block input[type="range"]::-ms-thumb:hover {
  transform: scale(1.3); /* Slightly larger hover effect */
  background-color: #ede7f6;
}

#button-block span {
  font-size: 18px; /* Increase font size for the label */
  font-weight: bold;
  margin-right: 15px; /* Add spacing between label and slider */
}

.swiper {
  width: 100%;
  max-width: 100%;
  height: 200px;
  background: #e8e8f8;
  margin: 0 auto;
  position: relative;
  padding: 0 50px !important;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex: 0 0 calc((100% - 40px) / 5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  object-fit: cover;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.swiper-slide img:hover {
  transform: scale(1.1);
}
