.gwt-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.gwt-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gwt-carousel-slide {
  flex: none;
  width: 100%;
  min-width: 100%;
  opacity: 1;
}

.gwt-carousel-slide.gwt-active {
  opacity: 1;
}

.gwt-carousel-slide.gwt-prev {
  /* 用於 slide 效果的樣式，由 JS 控制 */
}

.gwt-carousel-slide.gwt-next {
  /* 用於 slide 效果的樣式，由 JS 控制 */
}

/* Fade effect */
.gwt-carousel-container.gwt-fade-effect .gwt-carousel-wrapper {
  display: block;
}

.gwt-carousel-container.gwt-fade-effect .gwt-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.gwt-carousel-container.gwt-fade-effect .gwt-carousel-slide.gwt-active {
  opacity: 1;
}

/* Scale effect */
.gwt-carousel-container.gwt-scale-effect .gwt-carousel-wrapper {
  display: block;
}

.gwt-carousel-container.gwt-scale-effect .gwt-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0.8);
  opacity: 0;
}

.gwt-carousel-container.gwt-scale-effect .gwt-carousel-slide.gwt-active {
  transform: scale(1);
  opacity: 1;
}


.gwt-carousel-link {
  display: block;
  width: 100%;
}

/* 導航按鈕 */
.gwt-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f05a23!important;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF;
  transition: all 0.3s ease;
  z-index: 10;
}

.gwt-carousel-nav:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.1);
}

.gwt-carousel-prev {
  left: 20px;
}

.gwt-carousel-next {
  right: 20px;
}

/* 指示點 */
.gwt-carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.gwt-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%!important;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.gwt-carousel-dot.gwt-active {
  background: white;
  transform: scale(1.2);
}

.gwt-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}



/* 響應式設計 */
@media (max-width: 768px) {
  .gwt-carousel-nav {
      width: 40px;
      height: 40px;
      font-size: 16px;
  }

  .gwt-carousel-prev {
      left: 10px;
  }

  .gwt-carousel-next {
      right: 10px;
  }

  .gwt-carousel-indicators {
      bottom: 10px;
  }
}

.gwt-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  font-size: 18px;
  color: #666;
}