@keyframes active-point {
  from {
    transform: translateX(-12px) scale(1);
  }
  50% {
    transform: translateX(-12px) scale(1.1);
  }
  to {
    transform: translateX(-12px) scale(1);
  }
}
@keyframes active-point-vertical {
  from {
    transform: translateY(12px) scale(1);
  }
  50% {
    transform: translateY(12px) scale(1.1);
  }
  to {
    transform: translateY(12px) scale(1);
  }
}
:root {
  --progress-bar-scale: var(--color-progress-bar-bg-neutral-sm-default);
  --progress-bar-drag: var(--color-progress-bar-bg-neutral-sm-active);
  --progress-bar-point-default: var(--color-progress-bar-bg-neutral-sm-default);
  --progress-bar-point-active: var(--color-progress-bar-bg-neutral-sm-active);
  --progress-bar-point-icon-default: var(--color-progress-bar-content-secondary-default);
  --progress-bar-point-icon-active: var(--color-progress-bar-content-secondary-active);
  --color-progress-bar-message-bg: var(--color-progress-bar-bg-neutral-sm-default);
}

.progress-bar.horizontal {
  position: relative;
  height: 24px;
  width: calc(100% - 12px);
}
.progress-bar.horizontal .progress-bar__scale {
  background: var(--progress-bar-scale);
  border-radius: 16px;
  height: 8px;
  width: 100%;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto 0;
  z-index: 1;
}
.progress-bar.horizontal .progress-bar__drag {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  margin: auto 0;
  z-index: 2;
  width: 0;
  height: 8px;
  border-radius: 16px;
  background: var(--progress-bar-drag);
  transition: width 0.6s;
}
.progress-bar.horizontal .progress-bar__point {
  border-radius: 50%;
  display: grid;
  align-items: center;
  justify-content: center;
  margin: auto 0;
  background: var(--progress-bar-point-default);
  width: 24px;
  height: 24px;
  position: absolute;
  left: auto;
  right: auto;
  top: 0;
  bottom: 0;
  z-index: 3;
  transform: translateX(-12px);
}
.progress-bar.horizontal .progress-bar__point svg {
  width: 16px;
  height: 16px;
  -o-object-fit: contain;
     object-fit: contain;
}
.progress-bar.horizontal .progress-bar__point svg path {
  fill: var(--progress-bar-point-icon-default);
}
.progress-bar.horizontal .progress-bar__point.active {
  background: var(--progress-bar-point-active);
  animation: active-point;
  animation-duration: 1s;
  animation-iteration-count: 1;
}
.progress-bar.horizontal .progress-bar__point.active svg path {
  fill: var(--progress-bar-point-icon-active);
}
.progress-bar.horizontal .progress-bar__icon {
  width: 0;
  height: 0;
  visibility: hidden;
}
.progress-bar.horizontal .progress-bar__messages {
  position: absolute;
  width: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
  bottom: auto;
  top: 38px;
  transform: translateX(-95%);
}
.progress-bar.horizontal .progress-bar__messages.active {
  opacity: 1;
  visibility: visible;
}
.progress-bar.horizontal .progress-bar__message {
  position: relative;
  font-size: 12px;
  color: var(--color-content-neutral-primary);
  background-color: var(--color-progress-bar-message-bg);
  font-weight: 400;
  line-height: 165%;
  border-radius: 5px;
  padding: 10px 15px;
  width: -moz-max-content;
  width: max-content;
  max-width: 200px;
}
.progress-bar.horizontal .progress-bar__message.active::before {
  background-color: green;
}
.progress-bar.horizontal .progress-bar__message::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: auto;
  left: 0;
  transform: translate(40%, -50%);
  background-color: red;
}
.progress-bar.horizontal .progress-bar__message::after {
  content: "";
  border: 7px solid transparent;
  border-bottom: 7px solid var(--color-progress-bar-message-bg);
  position: absolute;
  left: auto;
  right: 17px;
  top: -5px;
  bottom: auto;
  transform: translate(100%, -50%);
}
.progress-bar.vertical {
  height: 256px;
  width: 24px;
}
.progress-bar.vertical .progress-bar__scale {
  margin: 0 auto;
  height: 100%;
  width: 8px;
  background: var(--progress-bar-scale);
  border-radius: 16px;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.progress-bar.vertical .progress-bar__drag {
  position: absolute;
  z-index: 2;
  border-radius: 16px;
  background: var(--progress-bar-drag);
  margin: 0 auto;
  width: 8px;
  height: 0;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  transition: height 0.6s;
}
.progress-bar.vertical .progress-bar__point {
  border-radius: 50%;
  display: grid;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: var(--progress-bar-point-default);
  width: 24px;
  height: 24px;
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: auto;
  z-index: 3;
  transform: translateY(12px);
}
.progress-bar.vertical .progress-bar__point svg {
  width: 16px;
  height: 16px;
  -o-object-fit: contain;
     object-fit: contain;
}
.progress-bar.vertical .progress-bar__point svg path {
  fill: var(--progress-bar-point-icon-default);
}
.progress-bar.vertical .progress-bar__point.active {
  background: var(--progress-bar-point-active);
  animation: active-point-vertical;
  animation-duration: 1s;
  animation-iteration-count: 1;
}
.progress-bar.vertical .progress-bar__point.active svg path {
  fill: var(--progress-bar-point-icon-active);
}
.progress-bar.vertical .progress-bar__messages {
  right: 37px;
  transform: translateY(80%);
  bottom: 0;
  top: auto;
  position: absolute;
  width: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.progress-bar.vertical .progress-bar__messages.active {
  opacity: 1;
  visibility: visible;
}
.progress-bar.vertical .progress-bar__message {
  position: relative;
  font-size: 12px;
  color: var(--color-content-neutral-primary);
  background-color: var(--color-progress-bar-message-bg);
  font-weight: 400;
  line-height: 165%;
  border-radius: 5px;
  padding: 10px 15px;
  width: -moz-max-content;
  width: max-content;
  max-width: 200px;
}
.progress-bar.vertical .progress-bar__message.active::before {
  background-color: green;
}
.progress-bar.vertical .progress-bar__message::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: auto;
  left: 0;
  transform: translate(40%, -50%);
  background-color: red;
}
.progress-bar.vertical .progress-bar__message::after {
  content: "";
  border: 4px solid transparent;
  border-left: 8px solid var(--color-progress-bar-message-bg);
  position: absolute;
  left: auto;
  right: 2px;
  right: 2px;
  top: 15px;
  transform: translate(100%, -50%);
}
.progress-bar.vertical .progress-bar__icon {
  width: 0;
  height: 0;
  visibility: hidden;
}
.progress-bar__block.header-parent {
  padding: var(--size-base-0x-0) var(--size-card-padding-md) var(--size-card-padding-md) var(--size-card-padding-md);
}
.progress-bar__block.header-parent .progress-bar__container {
  position: static;
  width: 100%;
  transition: top var(--transition);
  height: -moz-max-content;
  height: max-content;
}
.progress-bar__block.header-out .progress-bar__container {
  position: fixed;
  z-index: 100;
  bottom: auto;
  top: var(--header-height);
  transform: translateY(12px);
  right: auto;
  width: auto;
  max-width: unset;
  top: var(--size-card-padding-md);
}
.progress-bar__block.header-out .progress-bar__container.header-full {
  top: calc(var(--header-height) + var(--size-grid-margin-sm));
}
.progress-bar--hidden {
  display: none;
}

@media (max-width: 1550px) {
  .progress-bar__block.header-out {
    padding: var(--size-base-0x-0) var(--size-card-padding-md) var(--size-card-padding-md) var(--size-card-padding-md);
  }
  .progress-bar__block.header-out .progress-bar {
    position: relative;
    height: 24px;
    width: calc(100% - 12px);
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.07)) drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.06)) drop-shadow(11px 20px 9px rgba(0, 0, 0, 0.01)) drop-shadow(18px 31px 10px rgba(0, 0, 0, 0));
  }
  .progress-bar__block.header-out .progress-bar__container {
    transform: unset;
    position: static;
    width: 100%;
    transition: top var(--transition);
    height: -moz-max-content;
    height: max-content;
  }
}
@media (max-width: 640px) {
  .progress-bar.vertical .progress-bar__messages, .progress-bar.horizontal .progress-bar__messages {
    left: 0;
    transform: unset;
  }
  .progress-bar.vertical .progress-bar__message, .progress-bar.horizontal .progress-bar__message {
    width: 100%;
    max-width: 220px;
  }
  .progress-bar.vertical .progress-bar__message::after, .progress-bar.horizontal .progress-bar__message::after {
    content: none;
  }
}/*# sourceMappingURL=progress-bar.css.map */