/* EndoDental Carousel Widget Styles */

.endodental-carousel-wrapper {
  position: relative;
  width: 100%;
}

/* Carousel Container */
.endodental-carousel {
  overflow: hidden;
  position: relative;
  border-radius: 16px;
}

.endodental-carousel__container {
  display: flex;
}

.endodental-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
}

.endodental-carousel__slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Navigation Arrows */
.endodental-carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(201, 168, 76, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c1a2e;
  font-size: 1.4rem;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.endodental-carousel__button:hover {
  background: #e8c96e;
  transform: translateY(-50%) scale(1.1);
}

.endodental-carousel__button--prev {
  left: 16px;
}

.endodental-carousel__button--next {
  right: 16px;
}

/* Dots Navigation */
.endodental-carousel__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.endodental-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.endodental-carousel__dot.is-selected {
  background: #c9a84c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .endodental-carousel__slide img {
    height: 350px;
  }

  .endodental-carousel__button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .endodental-carousel__button--prev {
    left: 8px;
  }

  .endodental-carousel__button--next {
    right: 8px;
  }
}
