/* COMPLETED STEP */
.step_done .step__inner {
    background: #0098ff;
}

.step_done .step__name {
    color: #0098ff;
}

/* CLICKABLE */
.step__wraper {
    cursor: pointer;
}

/* DISABLED CONTINUE */
button.next:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#rc { max-width: 1100px; margin: auto }
.rc-step { display: none }
.rc-step.active { display: block }

.item {
    display: inline-block;
    border: 2px solid #ddd;
    padding: 10px;
    cursor: pointer;
    margin: 10px;
}

.item.active {
    border-color: #00bfa5;
}

/* STEP BAR */
.d-flex { display: flex }
.justify-center { justify-content: center }

.pt-8 { padding-top: 32px }
.pb-5 { padding-bottom: 20px }
.pt-7 { padding-top: 14px }

.step__wraper {
    margin: 0 30px;
    position: relative;
}

.step__box {
    text-align: center;
}

.step__inner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d6d6d6;
    margin: auto;
}

.step__name {
    font-size: 12px;
    font-weight: 600;
    color: #999;
}

/* ACTIVE STEP */
.step_current .step__inner {
    background: #0098ff;
}

.step_current .step__name {
    color: #0098ff;
}

/* CONNECTING LINE */
.step__wraper::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 100%;
    width: 60px;
    height: 2px;
    background: #d6d6d6;
}

.step__wraper:last-child::after {
    display: none;
}

.step_current ~ .step__wraper::after {
    background: #d6d6d6;
}

/* ================================
   RAILING CONFIGURATOR STEP BAR
================================ */

#rc-steps {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 80px;
    padding: 30px 0;
    width: 100%;
}

.rc-step-wrap {
    position: relative;
    text-align: center;
    cursor: pointer;
}

.rc-circle {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d6d6d6;
    margin: 0 auto;
}

.rc-label {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #9a9a9a;
    letter-spacing: 0.5px;
}

/* ACTIVE STEP */
.step_current .rc-circle {
    background: #0098ff;
}

.step_current .rc-label {
    color: #0098ff;
}

/* COMPLETED STEP */
.step_done .rc-circle {
    background: #0098ff;
}

/* CONNECTING LINE */
.rc-step-wrap::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 100%;
    width: 80px;
    height: 2px;
    background: #d6d6d6;
}

.rc-step-wrap:last-child::after {
    display: none;
}