.bp-container {
    width: 100%;
    position: relative;
    font-family: inherit;
    box-sizing: border-box;
}

.bp-steps-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
    gap: 20px;
}

.bp-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Connecting Line */
.bp-step-line {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
    transform: translateY(-50%);
}

.bp-step-line-fill {
    height: 100%;
    width: 0;
    background-color: var(--e-global-color-primary, #6366f1);
    transition: width 0.6s ease;
}

/* Badge Layout */
.bp-step-badge-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
}

.bp-step-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.bp-step-badge svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Custom Icon Styling */
.bp-badge-custom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 20px;
}
.bp-badge-custom-icon svg {
    fill: #94a3b8;
}

.bp-badge-num-fallback {
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
}

/* Status States Styling */
.bp-step.active .bp-step-badge {
    border-color: var(--e-global-color-primary, #6366f1);
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2), 0 4px 6px -2px rgba(99, 102, 241, 0.1);
}

.bp-step.active .bp-badge-custom-icon {
    color: var(--e-global-color-primary, #6366f1);
}
.bp-step.active .bp-badge-custom-icon svg {
    fill: var(--e-global-color-primary, #6366f1);
}

.bp-step.completed .bp-step-badge {
    background-color: var(--e-global-color-primary, #6366f1);
    border-color: var(--e-global-color-primary, #6366f1);
    color: #ffffff;
}

.bp-step.completed .bp-check-icon {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Step Content Info */
.bp-step-content {
    padding: 0 10px;
}

.bp-step-number {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #94a3b8;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.bp-step.active .bp-step-number {
    color: var(--e-global-color-primary, #6366f1);
}

.bp-step-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1e293b;
    transition: color 0.3s ease;
}

.bp-step.active .bp-step-title {
    color: var(--e-global-color-primary, #6366f1);
}

.bp-step-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

/* Hover Interaction effects */
.bp-step:hover .bp-step-badge {
    transform: translateY(-4px) scale(1.05);
}

/* Responsive & Layout Modifiers */
.bp-layout-vertical .bp-steps-wrapper {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

.bp-layout-vertical .bp-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    width: 100%;
}

.bp-layout-vertical .bp-step-badge-wrapper {
    margin-bottom: 0;
    margin-right: 20px;
    flex-shrink: 0;
}

.bp-layout-vertical .bp-step-line {
    position: absolute;
    top: 50px;
    left: 25px;
    width: 3px;
    height: 100%;
    transform: translateX(-50%) translateY(0);
}

.bp-layout-vertical .bp-step-line-fill {
    width: 100%;
    height: 0;
    transition: height 0.6s ease;
}

.bp-layout-vertical .bp-step.completed .bp-step-line-fill {
    height: 100%;
}

.bp-layout-vertical .bp-step-content {
    padding: 4px 0 0 0;
}

/* Mobile responsive defaults */
@media (max-width: 767px) {
    .bp-steps-wrapper {
        flex-direction: column;
        gap: 35px;
        align-items: flex-start;
    }

    .bp-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        width: 100%;
    }

    .bp-step-badge-wrapper {
        margin-bottom: 0;
        margin-right: 16px;
        flex-shrink: 0;
    }

    .bp-step-line {
        position: absolute;
        top: 50px;
        left: 25px;
        width: 3px;
        height: 100%;
        transform: translateX(-50%) translateY(0);
    }

    .bp-step-line-fill {
        width: 100%;
        height: 0;
        transition: height 0.6s ease;
    }

    .bp-step.completed .bp-step-line-fill {
        height: 100%;
    }

    .bp-step-content {
        padding: 4px 0 0 0;
    }
}
