.ps-5c170912-wrapper {
    box-sizing: border-box;
    width: 100%;
}

.ps-5c170912-wrapper *,
.ps-5c170912-wrapper *::before,
.ps-5c170912-wrapper *::after {
    box-sizing: border-box;
}

.ps-5c170912-steps {
    position: relative;
}

/* Connector line row - absolutely positioned behind badges */
.ps-5c170912-line-row {
    position: absolute;
    top: 35px; /* half of badge height (70/2) */
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.ps-5c170912-line {
    height: 2px;
    background-color: #D5CFE1;
    width: calc(100% - (100% / var(--ps-step-count)));
}

/* Columns grid */
.ps-5c170912-columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.ps-5c170912-step {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

/* Badge */
.ps-5c170912-badge {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background-color: #FFFFFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

/* Title */
.ps-5c170912-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.3;
}

/* Description */
.ps-5c170912-desc {
    font-size: 14px;
    font-weight: 400;
    color: #6B6B80;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    max-width: 260px;
}

/* Use CSS custom property for line width calc */
.ps-5c170912-steps[data-steps="2"] { --ps-step-count: 2; }
.ps-5c170912-steps[data-steps="3"] { --ps-step-count: 3; }
.ps-5c170912-steps[data-steps="4"] { --ps-step-count: 4; }
.ps-5c170912-steps[data-steps="5"] { --ps-step-count: 5; }
.ps-5c170912-steps[data-steps="6"] { --ps-step-count: 6; }
.ps-5c170912-steps[data-steps="7"] { --ps-step-count: 7; }
.ps-5c170912-steps[data-steps="8"] { --ps-step-count: 8; }

/* Tablet */
@media (max-width: 1024px) {
    .ps-5c170912-step {
        padding: 0 10px;
    }

    .ps-5c170912-title {
        font-size: 16px;
    }

    .ps-5c170912-desc {
        font-size: 13px;
        max-width: 220px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ps-5c170912-line-row {
        display: none;
    }

    .ps-5c170912-columns {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .ps-5c170912-step {
        padding: 0;
        width: 100%;
        max-width: 300px;
    }

    .ps-5c170912-badge {
        margin-bottom: 16px;
    }

    .ps-5c170912-title {
        font-size: 16px;
    }

    .ps-5c170912-desc {
        font-size: 13px;
        max-width: none;
    }
}
