.adui-slider-wrapper {
  display: flex;
  align-items: center;
  user-select: none;
}
.adui-slider {
  flex: 1;
  list-style: none;
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
  padding: 4px 0;
  height: 12px;
  cursor: pointer;
}
.adui-slider-active {
  .adui-slider-rail {
    background-color: var(--gray-500);
  }
  .adui-slider-handle {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.1),
      0 2px 2px 0 rgba(0, 0, 0, 0.1);
  }
}
.adui-slider-hasMarks {
  padding-bottom: 12px;
}
.adui-slider-rail {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: var(--gray-300);
  border-radius: 2px;
  transition: background-color var(--motion-duration-slow);
}
.adui-slider-track {
  position: absolute;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: background-color var(--motion-duration-slow) var(--ease-in-out);
}
.adui-slider-handle {
  position: absolute;
  margin-top: -4px;
  cursor: pointer;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.1);
  transition: border-color var(--motion-duration-slow),
    transform var(--motion-duration-slow) cubic-bezier(0.18, 0.89, 0.32, 1.28),
    box-shadow var(--motion-duration-fast) ease;
}
.adui-slider-handle:hover {
  transform: scale(1.2);
}
.adui-slider-handle:focus {
  outline: none;
}
.adui-slider-handle.ant-tooltip-open {
  border-color: #1890ff;
}
.adui-slider:hover .adui-slider-rail {
  background-color: var(--gray-500);
}
.adui-slider:hover .adui-slider-handle:not(.ant-tooltip-open) {
  border-color: #69c0ff;
}
.adui-slider-step {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
}
.adui-slider-mark-text {
  position: absolute;
  top: 14px;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  color: #1f1f1f;
  word-break: keep-all;
  cursor: pointer;
}
.adui-slider-disabled {
  cursor: not-allowed;

  .adui-slider-mark-text,
  .adui-slider-handle {
    cursor: not-allowed;
  }
}
