:root {
    --color-white: #fff;
    --color-black: #333;
    --color-gray: #75787b;
    --color-gray-light: #bbb;
    --color-gray-disabled: #e8e8e8;
    --color-green: #199abd;
    --color-green-dark: #383;
    --font-size-small: .75rem;
    --font-size-default: .875rem;
}

.custom-progress-bar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.custom-progress-bar li {
    flex: 2;
    position: relative;
    padding: 0 0 14px 0;
    font-size: var(--font-size-default);
    line-height: 1.5;
    color: var(--color-green);
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    text-align: center;
    cursor: pointer;
    border-bottom: 2px solid var(--color-gray-disabled);
}

.custom-progress-bar li:first-child,
.custom-progress-bar li:last-child {
    flex: 1;
}

.custom-progress-bar li:last-child {
    text-align: right;
}

.custom-progress-bar li:before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    background-color: var(--color-gray-disabled);
    border-radius: 50%;
    border: 2px solid var(--color-green);
    position: absolute;
    left: calc(50% - 6px);
    bottom: -7px;
    z-index: 3;
    transition: all .2s ease-in-out;
}

.custom-progress-bar li:first-child:before {
    left: 0;
}

.custom-progress-bar li:last-child:before {
    right: 0;
    left: auto;
}

.custom-progress-bar span {
    transition: opacity .3s ease-in-out;
}

.custom-progress-bar li:not(.is-active) span {
    opacity: 0;
}

.custom-progress-bar .is-complete:not(:first-child):after,
.custom-progress-bar .is-active:not(:first-child):after {
    content: "";
    display: block;
    width: 100%;
    animation: animate 2s ease-in-out;
    position: absolute;
    bottom: -5px;
    transition: all .5s;
    left: -50%;
    z-index: 2;
    height: 7px;
    background: repeating-linear-gradient(45deg, #1ea4ec, #1ea4ec 4px, #1f8bc5 4px, #1f8bc5 10px);
}

@keyframes animate {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.custom-progress-bar li:last-child span {
    width: 200%;
    display: inline-block;
    position: absolute;
    left: -100%;
}

.custom-progress-bar .is-complete:last-child:after,
.custom-progress-bar .is-active:last-child:after {
    width: 200%;
    left: -100%;
}

.custom-progress-bar .is-complete:before {
    background-color: var(--color-green);
}

.custom-progress-bar .is-active:before,
.custom-progress-bar li:hover:before,
.custom-progress-bar .is-hovered:before {
    background-color: var(--color-green);
    border-color: var(--color-green);
}

.custom-progress-bar li:hover:before,
.custom-progress-bar .is-hovered:before {
    transform: scale(1.33);
}

.custom-progress-bar li:hover span,
.custom-progress-bar li.is-hovered span {
    opacity: 1;
}

.custom-progress-bar:hover li:not(:hover) span {
    opacity: 0;
}

.x-ray .custom-progress-bar,
.x-ray .custom-progress-bar li {
    border: 1px dashed red;
}

.custom-progress-bar .has-changes {
    opacity: 1 !important;
}

.custom-progress-bar .has-changes:before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    position: absolute;
    left: calc(50% - 4px);
    bottom: -20px;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%208%208%22%3E%3Cpath%20fill%3D%22%23ed1c24%22%20d%3D%22M4%200l4%208H0z%22%2F%3E%3C%2Fsvg%3E');
}

body .progress_inner__bar,
body .progress_inner__bar--set {
    height: 6px;
    left: 10%;
    background: repeating-linear-gradient(45deg, #1ea4ec, #1ea4ec 4px, #1f8bc5 4px, #1f8bc5 10px);
    transition: width 800ms cubic-bezier(0.915, 0.015, 0.3, 1.005);
    border-radius: 6px;
    width: 0;
    position: relative;
    z-index: -1;
}