@import '../styles/index';

.swiper {
  position: relative;
}

.active {
  background-color: @brand-primary;
  opacity: 1;
}

.lineWrap {
  background: rgba(@brand-primary, 0.3);
  height: 5px;
  border-radius: 3px;
  position: absolute;
  left: 50%;
  //transform: translateX(-50%);
  margin-left: -37.5px;
  bottom: 50px;
  width: 75px;
}

.line {
  width: 50px;
  height: 100%;
  border-radius: 3px;
  background: @brand-primary;
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.2s;
}

.roundWrap {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  /* 使用 margin 代替 gap，提升跨端兼容性 */
  z-index: 2;
}

.roundDot {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  margin-right: 8px;
}

.roundDotActive {
  width: 16px;
  height: 6px;
  border-radius: 6px;
  /* 先提供纯色回退，再提供渐变，提升兼容性 */
  background: @brand-primary;
  background: linear-gradient(90deg, fade(@brand-primary, 80%), @brand-primary);
  margin-right: 8px;
}
