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

#gs-loading-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.gs-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);
  }
}

#gs-viewer-container {
  height: 500px;
  border: 1px solid #ccc;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 10px;
}

#gs-viewer-left, #gs-viewer-right {
  flex: 1;
  height: 100%;
  position: relative;
  border: 1px solid #ddd;
}

#gs-canvas-left, #gs-canvas-right {
  width: 100%;
  height: 100%;
  display: block;
}

.gs-viewer-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  z-index: 5;
}

.gs-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;
}

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

.gs-viewer #gs-button-block {
  text-align: center;
  margin: 20px auto;
}

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

.gs-swiper .swiper-wrapper {
  display: flex;
}

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

.gs-swiper .swiper-slide img {
  width: auto;
  height: 130px;
  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;
}

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

.gs-swiper .swiper-slide img.active {
  border: 2px solid #007bff;
  box-shadow: 0px 4px 6px rgba(0, 123, 255, 0.4);
} 