.steps {
    --ar-steps-padding-y: 1.5rem;
    --ar-steps-padding-x: 1.5rem;
    --ar-steps-number-size: 4.5rem;
    --ar-steps-number-inner-size: 3.5rem;
    --ar-steps-number-border-radius: 50%;
    --ar-steps-number-font-size: calc(1rem * 1.25);
    --ar-steps-number-inner-bg: #f6f9fc;
    --ar-steps-number-color: #613121;
    --ar-steps-connect-width: 1px;
    --ar-steps-connect-style: dashed;
    --ar-steps-connect-color: #d7dde2;
    --ar-steps-active-number-bg: #613121a;
    --ar-steps-active-number-inner-bg: #613121;
    --ar-steps-active-number-color: #fff;
    display: flex;
    flex-direction: column;
    margin: calc(1.5rem * -1) 0;
}
.step {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--ar-steps-padding-y) 0;
}
.step::before, .step::after {
    position: absolute;
    left: calc(var(--ar-steps-number-size) * 0.5);
    height: calc(50% - var(--ar-steps-number-size) * 0.5);
    border-left: var(--ar-steps-connect-width) var(--ar-steps-connect-style) var(--ar-steps-connect-color);
}
.step::before {
    top: 0;
}
.step::after {
    bottom: 0;
}
.step:not(:first-child)::before {
    content: "";
}
.step:not(:last-child)::after {
    content: "";
}

.step-number {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: var(--ar-steps-number-size);
    height: var(--ar-steps-number-size);
}
.step-number::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: var(--ar-steps-active-number-bg);
    border-radius: var(--ar-steps-number-border-radius);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.2s;
    transform: scale(0.5);
}

.step-number-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--ar-steps-number-inner-size);
    height: var(--ar-steps-number-inner-size);
    color: var(--ar-steps-number-color);
    background-color: var(--ar-steps-number-inner-bg);
    border-radius: var(--ar-steps-number-border-radius);
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    font-size: var(--ar-steps-number-font-size);
    font-weight: 700;
}

.step-body {
    padding-left: var(--ar-steps-padding-x);
}

.steps-hoverable .step:hover .step-number::before,
.step.active .step-number::before {
    opacity: 1;
    transform: scale(1);
}
.steps-hoverable .step:hover .step-number-inner,
.step.active .step-number-inner {
    color: var(--ar-steps-active-number-color);
    background-color: var(--ar-steps-active-number-inner-bg);
}

.steps-no-connector .step::before, .steps-no-connector .step::after {
    display: none !important;
}

@media (min-width: 576px) {
    .steps-horizontal-sm.steps {
        flex-direction: row;
        margin: 0 calc(var(--ar-steps-padding-x) * -1);
    }
    .steps-horizontal-sm .step {
        display: block;
        flex-basis: 0;
        flex-grow: 1;
        padding: 0 var(--ar-steps-padding-x);
    }
    .steps-horizontal-sm .step::before, .steps-horizontal-sm .step::after {
        top: calc(var(--ar-steps-number-size) * 0.5);
        border-top: var(--ar-steps-connect-width) var(--ar-steps-connect-style) var(--ar-steps-connect-color);
        border-left: 0;
    }
    .steps-horizontal-sm .step::before {
        display: none;
    }
    .steps-horizontal-sm .step::after {
        right: calc(var(--ar-steps-padding-y) * -1);
        left: auto;
        width: calc(100% - var(--ar-steps-number-size));
        height: auto;
    }
    .steps-horizontal-sm .step-body {
        padding-top: var(--ar-steps-padding-y);
        padding-left: 0;
    }
    .steps-horizontal-sm.steps-center {
        text-align: center;
    }
    .steps-horizontal-sm.steps-center .step::before, .steps-horizontal-sm.steps-center .step::after {
        display: block;
        width: calc(50% - var(--ar-steps-number-size) * 0.5);
    }
    .steps-horizontal-sm.steps-center .step::before {
        left: 0;
    }
    .steps-horizontal-sm.steps-center .step::after {
        right: 0;
    }
    .steps-horizontal-sm.steps-center .step:first-child::before {
        display: none;
    }
    .steps-horizontal-sm.steps-center .step:last-child::after {
        display: none;
    }
    .steps-horizontal-sm.steps-center .step-number {
        margin-right: auto;
        margin-left: auto;
    }
    .steps-horizontal-sm.steps-end {
        text-align: right;
    }
    .steps-horizontal-sm.steps-end .step::after {
        right: auto;
        left: calc(var(--ar-steps-padding-y) * -1);
    }
    .steps-horizontal-sm.steps-end .step:first-child::after {
        display: none;
    }
    .steps-horizontal-sm.steps-end .step:last-child::after {
        content: "";
    }
    .steps-horizontal-sm.steps-end .step-number {
        margin-left: auto;
    }
}
@media (min-width: 768px) {
    .steps-horizontal-md.steps {
        flex-direction: row;
        margin: 0 calc(var(--ar-steps-padding-x) * -1);
    }
    .steps-horizontal-md .step {
        display: block;
        flex-basis: 0;
        flex-grow: 1;
        padding: 0 var(--ar-steps-padding-x);
    }
    .steps-horizontal-md .step::before, .steps-horizontal-md .step::after {
        top: calc(var(--ar-steps-number-size) * 0.5);
        border-top: var(--ar-steps-connect-width) var(--ar-steps-connect-style) var(--ar-steps-connect-color);
        border-left: 0;
    }
    .steps-horizontal-md .step::before {
        display: none;
    }
    .steps-horizontal-md .step::after {
        right: calc(var(--ar-steps-padding-y) * -1);
        left: auto;
        width: calc(100% - var(--ar-steps-number-size));
        height: auto;
    }
    .steps-horizontal-md .step-body {
        padding-top: var(--ar-steps-padding-y);
        padding-left: 0;
    }
    .steps-horizontal-md.steps-center {
        text-align: center;
    }
    .steps-horizontal-md.steps-center .step::before, .steps-horizontal-md.steps-center .step::after {
        display: block;
        width: calc(50% - var(--ar-steps-number-size) * 0.5);
    }
    .steps-horizontal-md.steps-center .step::before {
        left: 0;
    }
    .steps-horizontal-md.steps-center .step::after {
        right: 0;
    }
    .steps-horizontal-md.steps-center .step:first-child::before {
        display: none;
    }
    .steps-horizontal-md.steps-center .step:last-child::after {
        display: none;
    }
    .steps-horizontal-md.steps-center .step-number {
        margin-right: auto;
        margin-left: auto;
    }
    .steps-horizontal-md.steps-end {
        text-align: right;
    }
    .steps-horizontal-md.steps-end .step::after {
        right: auto;
        left: calc(var(--ar-steps-padding-y) * -1);
    }
    .steps-horizontal-md.steps-end .step:first-child::after {
        display: none;
    }
    .steps-horizontal-md.steps-end .step:last-child::after {
        content: "";
    }
    .steps-horizontal-md.steps-end .step-number {
        margin-left: auto;
    }
}
@media (min-width: 992px) {
    .steps-horizontal-lg.steps {
        flex-direction: row;
        margin: 0 calc(var(--ar-steps-padding-x) * -1);
    }
    .steps-horizontal-lg .step {
        display: block;
        flex-basis: 0;
        flex-grow: 1;
        padding: 0 var(--ar-steps-padding-x);
    }
    .steps-horizontal-lg .step::before, .steps-horizontal-lg .step::after {
        top: calc(var(--ar-steps-number-size) * 0.5);
        border-top: var(--ar-steps-connect-width) var(--ar-steps-connect-style) var(--ar-steps-connect-color);
        border-left: 0;
    }
    .steps-horizontal-lg .step::before {
        display: none;
    }
    .steps-horizontal-lg .step::after {
        right: calc(var(--ar-steps-padding-y) * -1);
        left: auto;
        width: calc(100% - var(--ar-steps-number-size));
        height: auto;
    }
    .steps-horizontal-lg .step-body {
        padding-top: var(--ar-steps-padding-y);
        padding-left: 0;
    }
    .steps-horizontal-lg.steps-center {
        text-align: center;
    }
    .steps-horizontal-lg.steps-center .step::before, .steps-horizontal-lg.steps-center .step::after {
        display: block;
        width: calc(50% - var(--ar-steps-number-size) * 0.5);
    }
    .steps-horizontal-lg.steps-center .step::before {
        left: 0;
    }
    .steps-horizontal-lg.steps-center .step::after {
        right: 0;
    }
    .steps-horizontal-lg.steps-center .step:first-child::before {
        display: none;
    }
    .steps-horizontal-lg.steps-center .step:last-child::after {
        display: none;
    }
    .steps-horizontal-lg.steps-center .step-number {
        margin-right: auto;
        margin-left: auto;
    }
    .steps-horizontal-lg.steps-end {
        text-align: right;
    }
    .steps-horizontal-lg.steps-end .step::after {
        right: auto;
        left: calc(var(--ar-steps-padding-y) * -1);
    }
    .steps-horizontal-lg.steps-end .step:first-child::after {
        display: none;
    }
    .steps-horizontal-lg.steps-end .step:last-child::after {
        content: "";
    }
    .steps-horizontal-lg.steps-end .step-number {
        margin-left: auto;
    }
}
@media (min-width: 1200px) {
    .steps-horizontal-xl.steps {
        flex-direction: row;
        margin: 0 calc(var(--ar-steps-padding-x) * -1);
    }
    .steps-horizontal-xl .step {
        display: block;
        flex-basis: 0;
        flex-grow: 1;
        padding: 0 var(--ar-steps-padding-x);
    }
    .steps-horizontal-xl .step::before, .steps-horizontal-xl .step::after {
        top: calc(var(--ar-steps-number-size) * 0.5);
        border-top: var(--ar-steps-connect-width) var(--ar-steps-connect-style) var(--ar-steps-connect-color);
        border-left: 0;
    }
    .steps-horizontal-xl .step::before {
        display: none;
    }
    .steps-horizontal-xl .step::after {
        right: calc(var(--ar-steps-padding-y) * -1);
        left: auto;
        width: calc(100% - var(--ar-steps-number-size));
        height: auto;
    }
    .steps-horizontal-xl .step-body {
        padding-top: var(--ar-steps-padding-y);
        padding-left: 0;
    }
    .steps-horizontal-xl.steps-center {
        text-align: center;
    }
    .steps-horizontal-xl.steps-center .step::before, .steps-horizontal-xl.steps-center .step::after {
        display: block;
        width: calc(50% - var(--ar-steps-number-size) * 0.5);
    }
    .steps-horizontal-xl.steps-center .step::before {
        left: 0;
    }
    .steps-horizontal-xl.steps-center .step::after {
        right: 0;
    }
    .steps-horizontal-xl.steps-center .step:first-child::before {
        display: none;
    }
    .steps-horizontal-xl.steps-center .step:last-child::after {
        display: none;
    }
    .steps-horizontal-xl.steps-center .step-number {
        margin-right: auto;
        margin-left: auto;
    }
    .steps-horizontal-xl.steps-end {
        text-align: right;
    }
    .steps-horizontal-xl.steps-end .step::after {
        right: auto;
        left: calc(var(--ar-steps-padding-y) * -1);
    }
    .steps-horizontal-xl.steps-end .step:first-child::after {
        display: none;
    }
    .steps-horizontal-xl.steps-end .step:last-child::after {
        content: "";
    }
    .steps-horizontal-xl.steps-end .step-number {
        margin-left: auto;
    }
}
@media (min-width: 1400px) {
    .steps-horizontal-xxl.steps {
        flex-direction: row;
        margin: 0 calc(var(--ar-steps-padding-x) * -1);
    }
    .steps-horizontal-xxl .step {
        display: block;
        flex-basis: 0;
        flex-grow: 1;
        padding: 0 var(--ar-steps-padding-x);
    }
    .steps-horizontal-xxl .step::before, .steps-horizontal-xxl .step::after {
        top: calc(var(--ar-steps-number-size) * 0.5);
        border-top: var(--ar-steps-connect-width) var(--ar-steps-connect-style) var(--ar-steps-connect-color);
        border-left: 0;
    }
    .steps-horizontal-xxl .step::before {
        display: none;
    }
    .steps-horizontal-xxl .step::after {
        right: calc(var(--ar-steps-padding-y) * -1);
        left: auto;
        width: calc(100% - var(--ar-steps-number-size));
        height: auto;
    }
    .steps-horizontal-xxl .step-body {
        padding-top: var(--ar-steps-padding-y);
        padding-left: 0;
    }
    .steps-horizontal-xxl.steps-center {
        text-align: center;
    }
    .steps-horizontal-xxl.steps-center .step::before, .steps-horizontal-xxl.steps-center .step::after {
        display: block;
        width: calc(50% - var(--ar-steps-number-size) * 0.5);
    }
    .steps-horizontal-xxl.steps-center .step::before {
        left: 0;
    }
    .steps-horizontal-xxl.steps-center .step::after {
        right: 0;
    }
    .steps-horizontal-xxl.steps-center .step:first-child::before {
        display: none;
    }
    .steps-horizontal-xxl.steps-center .step:last-child::after {
        display: none;
    }
    .steps-horizontal-xxl.steps-center .step-number {
        margin-right: auto;
        margin-left: auto;
    }
    .steps-horizontal-xxl.steps-end {
        text-align: right;
    }
    .steps-horizontal-xxl.steps-end .step::after {
        right: auto;
        left: calc(var(--ar-steps-padding-y) * -1);
    }
    .steps-horizontal-xxl.steps-end .step:first-child::after {
        display: none;
    }
    .steps-horizontal-xxl.steps-end .step:last-child::after {
        content: "";
    }
    .steps-horizontal-xxl.steps-end .step-number {
        margin-left: auto;
    }
}
.steps-horizontal.steps {
    flex-direction: row;
    margin: 0 calc(var(--ar-steps-padding-x) * -1);
}
.steps-horizontal .step {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    padding: 0 var(--ar-steps-padding-x);
}
.steps-horizontal .step::before, .steps-horizontal .step::after {
    top: calc(var(--ar-steps-number-size) * 0.5);
    border-top: var(--ar-steps-connect-width) var(--ar-steps-connect-style) var(--ar-steps-connect-color);
    border-left: 0;
}
.steps-horizontal .step::before {
    display: none;
}
.steps-horizontal .step::after {
    right: calc(var(--ar-steps-padding-y) * -1);
    left: auto;
    width: calc(100% - var(--ar-steps-number-size));
    height: auto;
}
.steps-horizontal .step-body {
    padding-top: var(--ar-steps-padding-y);
    padding-left: 0;
}
.steps-horizontal.steps-center {
    text-align: center;
}
.steps-horizontal.steps-center .step::before, .steps-horizontal.steps-center .step::after {
    display: block;
    width: calc(50% - var(--ar-steps-number-size) * 0.5);
}
.steps-horizontal.steps-center .step::before {
    left: 0;
}
.steps-horizontal.steps-center .step::after {
    right: 0;
}
.steps-horizontal.steps-center .step:first-child::before {
    display: none;
}
.steps-horizontal.steps-center .step:last-child::after {
    display: none;
}
.steps-horizontal.steps-center .step-number {
    margin-right: auto;
    margin-left: auto;
}
.steps-horizontal.steps-end {
    text-align: right;
}
.steps-horizontal.steps-end .step::after {
    right: auto;
    left: calc(var(--ar-steps-padding-y) * -1);
}
.steps-horizontal.steps-end .step:first-child::after {
    display: none;
}
.steps-horizontal.steps-end .step:last-child::after {
    content: "";
}
.steps-horizontal.steps-end .step-number {
    margin-left: auto;
}
