.horizontal-steps-wrapper-c831fed3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 40px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}

.step-item-c831fed3 {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-item-c831fed3:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px; /* Default - overridden by controls */
    left: calc(50% + 50px); /* Default - overridden by controls */
    width: calc(100% - 20px); /* Default - overridden by controls */
    height: 0;
    border-top: 2px dotted #a855f7;
    z-index: 1;
    opacity: 0.5;
}

.step-icon-wrapper-c831fed3 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px; /* Default - overridden by controls */
    height: 100px; /* Default - overridden by controls */
    background-color: #f3e8ff; /* Pale lavender - default */
    border-radius: 50%;
    z-index: 2;
    margin-bottom: 24px;
    color: #a855f7; /* Purple icon - default */
    font-size: 32px; /* Default - overridden by controls */
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.15);
    transition: transform 0.3s ease;
}

.step-item-c831fed3:hover .step-icon-wrapper-c831fed3 {
    transform: translateY(-5px);
}

.step-icon-wrapper-c831fed3 svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.step-badge-c831fed3 {
    position: absolute;
    top: -5px;
    right: 0;
    width: 28px;
    height: 28px;
    background-color: #a855f7;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-title-c831fed3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #374151; /* Dark gray */
}

.step-desc-c831fed3 {
    font-size: 15px;
    color: #6b7280; /* Medium gray */
    line-height: 1.6;
    margin: 0;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .horizontal-steps-wrapper-c831fed3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
        padding: 40px 30px;
    }
    
    /* Remove horizontal lines between rows and at edges */
    .step-item-c831fed3:not(:last-child)::after {
        display: none; 
    }
    
    /* Add specific lines for tablet layout */
    .step-item-c831fed3:nth-child(odd)::after {
        display: block;
        width: calc(100% - 40px);
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .horizontal-steps-wrapper-c831fed3 {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 40px 20px;
    }
    
    /* Remove all horizontal lines */
    .step-item-c831fed3::after {
        display: none !important;
    }
    
    /* Add vertical dotted line connecting items */
    .step-item-c831fed3:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 100px; /* Default - overridden by controls */
        left: 50%;
        width: 0;
        height: calc(100% - 50px); /* Default - overridden by controls */
        border-left: 2px dotted #a855f7;
        z-index: 1;
        opacity: 0.5;
        transform: translateX(-50%);
    }
}