/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-indicator {
  display: flex;
  width: auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}
.nut-indicator-fixed-width {
  width: scale-px(21px);
}
.nut-indicator-dot, .nut-indicator-line {
  display: inline-block;
  vertical-align: middle;
  width: var(--nutui-indicator-dot-size, 6px);
  height: var(--nutui-indicator-dot-size, 6px);
  border-radius: 50%;
  background-color: var(--nutui-color-border-disabled, #c2c4cc);
  margin-left: var(--nutui-indicator-dot-margin, var(--nutui-spacing-xs));
  opacity: 0.4;
}
.nut-indicator-dot-0, .nut-indicator-line-0 {
  margin-left: 0;
}
.nut-indicator-dot-active, .nut-indicator-line-active {
  width: var(--nutui-indicator-dot-active-size, 20px);
  border-radius: var(--nutui-indicator-border-radius, 2px);
  background: var(--nutui-indicator-color, var(--nutui-color-primary));
  opacity: 1;
}
.nut-indicator-fixed-width .nut-indicator-dot {
  width: scale-px(12px);
  border-radius: var(--nutui-indicator-border-radius, 2px);
}
.nut-indicator-fixed-width .nut-indicator-dot-active {
  width: scale-px(6px);
}
.nut-indicator-vertical.nut-indicator-fixed-width {
  justify-content: flex-start;
  height: scale-px(21px);
  width: auto;
}
.nut-indicator-vertical.nut-indicator-fixed-width .nut-indicator-dot {
  width: scale-px(3px);
  height: scale-px(12px);
  border-radius: var(--nutui-indicator-border-radius, 2px);
}
.nut-indicator-vertical.nut-indicator-fixed-width .nut-indicator-dot-active {
  height: scale-px(6px);
}
.nut-indicator-vertical.nut-indicator-fixed-width.nut-indicator-fixed-width.nut-indicator-white .nut-indicator-dot-active {
  height: scale-px(6px);
}
.nut-indicator-line {
  width: var(--nutui-indicator-dot-active-size, 20px);
  margin: 0;
  border-radius: var(--nutui-indicator-border-radius, 2px);
  background-color: transparent;
}
.nut-indicator-line-active {
  transition: transform 0.3s ease-in-out;
  background: var(--nutui-indicator-color, var(--nutui-color-primary));
}

.nut-indicator-track {
  position: relative;
}
.nut-indicator-track:after {
  display: block;
  content: " ";
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: var(--nutui-indicator-border-radius, 2px);
  background-color: var(--nutui-color-border-disabled, #c2c4cc);
  opacity: 0.4;
}

.nut-indicator-white .nut-indicator-dot, .nut-indicator-white .nut-indicator-line {
  position: relative;
  /* #ifndef dynamic*/
  box-sizing: content-box;
  /* #endif */
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}
.nut-indicator-white .nut-indicator-line {
  opacity: 0;
}
.nut-indicator-white .nut-indicator-line-active {
  opacity: 1;
  background: rgb(255, 255, 255);
}
.nut-indicator-white .nut-indicator-dot-active {
  background: rgb(255, 255, 255);
}

.nut-indicator-track.nut-indicator-white:after {
  border: scale-px(1px) solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.4);
}

.nut-indicator-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nut-indicator-vertical .nut-indicator-dot {
  margin: 0;
  margin-top: var(--nutui-indicator-dot-margin, var(--nutui-spacing-xs));
}
.nut-indicator-vertical .nut-indicator-dot-0 {
  margin-top: 0;
}
.nut-indicator-vertical .nut-indicator-dot-active {
  width: var(--nutui-indicator-dot-size, 6px);
  height: var(--nutui-indicator-dot-active-size, 20px);
}
.nut-indicator-vertical.nut-indicator-track .nut-indicator-line {
  width: var(--nutui-indicator-dot-size, 6px);
  height: var(--nutui-indicator-dot-active-size, 20px);
}

[dir=rtl] .nut-indicator-dot-0,
.nut-rtl .nut-indicator-dot-0 {
  margin-right: var(--nutui-indicator-dot-margin, var(--nutui-spacing-xs));
  margin-left: 0;
}