/* Carousel Styles for InfoWindow */
.ssl-iw-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ssl-carousel-container {
  position: relative;
  width: 100%;
  height: 150px;
}

.ssl-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.ssl-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.ssl-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ssl-carousel-prev,
.ssl-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
}

.ssl-carousel-prev:hover,
.ssl-carousel-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

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

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

.ssl-carousel-prev i,
.ssl-carousel-next i {
  font-size: 14px;
}

.ssl-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

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

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

.ssl-carousel-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* Modern style specific */
.ssl-infowindow-modern .ssl-iw-carousel {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

/* Default style specific */
.ssl-infowindow .ssl-iw-carousel {
  margin-bottom: 15px;
}
