/* 轮播图样式 */
.carousel-wrapper {
  position: relative;
  width: 640px;
  height: 300px;
  overflow: hidden;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.carousel-slides a.active {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.carousel-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.indicator-row {
  display: flex;
  gap: 5px;
}

.indicator {
  width: 30px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  border-radius: 3px;
}

.indicator:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.indicator.active {
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
}

/* 不同级别指示器的样式区分 */
.level1-indicator {
  background-color: rgba(255, 0, 0, 0.6);
}

.level1-indicator:hover {
  background-color: rgba(255, 0, 0, 0.8);
}

.level1-indicator.active {
  background-color: rgba(255, 0, 0, 0.9);
  color: white;
}

.level2-indicator {
  background-color: rgba(0, 128, 0, 0.6);
}

.level2-indicator:hover {
  background-color: rgba(0, 128, 0, 0.8);
}

.level2-indicator.active {
  background-color: rgba(0, 128, 0, 0.9);
  color: white;
}

.level3-indicator {
  background-color: rgba(0, 0, 255, 0.6);
}

.level3-indicator:hover {
  background-color: rgba(0, 0, 255, 0.8);
}

.level3-indicator.active {
  background-color: rgba(0, 0, 255, 0.9);
  color: white;
}