.#{$slider-prefix-cls} {
  position: relative;
  flex: 1;
  margin: $slider-handle-size/2 0;

  &-wrap {
    display: flex;
    align-items: center;

    // 带图标
    .aid {
      padding: 0 $slider-icon-padding-x;
      font-size: $slider-icon-font-size;
      color: $gray-11;
      text-align: center;
    }
  }

  &-rail,
  &-track {
    position: absolute;
    height: $slider-rail-height;
    border-radius: $slider-rail-height;
  }

  &-rail {
    left: 0;
    width: 100%;

    /* NOTE: 修改背景色 */
    // background-color: $gray-6;
    background: $slider-rail-background;
  }

  &-track {
    background-color: $brand-primary;
  }

  &-handle {
    position: absolute;
    width: $slider-handle-size;
    height: $slider-handle-size;
    margin-top: -($slider-handle-size - $slider-rail-height)/2;
    margin-left: -$slider-handle-size/2;
    background-color: $white;
    border-radius: 50%;
    border: 0.04rem solid $brand-primary;
    &.dragging {
      box-shadow: $slider-handle-box-shadow;
    }
  }

  &-step {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: $slider-step-height;
    margin-top: -($slider-step-height - $slider-rail-height)/2;
    background: transparent;

    &__dot {
      width: $slider-step-height;
      height: $slider-step-height;
      background-color: transparent;
      border-radius: 50%;

      &--active {
        background-color: $brand-primary;
      }
    }
  }

  &.disabled {
    .#{$slider-prefix-cls}-track {
      background-color: $primary-light-50;
    }
    .#{$slider-prefix-cls}-handle {
      border-color: $primary-light-50;
    }
  }

  @include status-disabled;
}
