 
.sab-cf7-wizard {
    font-family: Inter, system-ui, sans-serif;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid #e4dfe9;
    border-radius: 20px;
    background: var(--background-color);
    box-shadow: 0 18px 45px #24113510;
    color: var(--text-color)
}

.sab-progress p{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-bottom: 12px
}

.sab-progress span {
    height: 6px;
    border-radius: 20px;
    background: #f0e5f6
}

.sab-progress span.is-active {
    background: var(--primary-color)
}

.sab-progress-label p {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 12px;
    margin-bottom: 27px
}

.sab-current-step {
    color: var(--secondary-color)
}

.sab-step-form {
    display: none
}

.sab-step-form.is-active {
    display: block
}

.sab-step-form h3 {
    font-size: clamp(19px, 2.5vw, 23px);
    font-weight: 800;
    color: var(--heading-color);
    margin: 0 0 9px
}

.sab-step-form>p {
    font-size: 13px;
    color: #797583;
    line-height: 1.6;
    margin: 0 0 20px
}

.sab-cf7-wizard .wpcf7-radio {
    display: grid;
    gap: 10px;
    max-height: 350px;
    overflow-y: auto;
    padding: 2px 8px 2px 2px
}

.sab-cf7-wizard .wpcf7-list-item {
    margin: 0;
    display: block
}

.sab-cf7-wizard .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    border: 1px solid #e0dfe4;
    border-radius: 13px;
    padding: 12px 14px;
    background: #fff;
    cursor: pointer;
    transition: .2s
}

.sab-cf7-wizard .wpcf7-list-item label:hover,
.sab-cf7-wizard .wpcf7-list-item label:has(input:checked) {
    border-color: var(--primary-color);
    background: #fbf2ff;
    box-shadow: 0 0 0 1px #a600e833
}

.sab-cf7-wizard .wpcf7-list-item input[type=radio] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    flex: none;
    margin: 0
}

.sab-cf7-wizard .wpcf7-list-item-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color)
}

.sab-field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--heading-color)
}

.sab-cf7-wizard input[type=text],
.sab-cf7-wizard input[type=email],
.sab-cf7-wizard input[type=tel] {
    width: 100%;
    border: 1px solid #ddd7e3;
    border-radius: 9px;
    padding: 12px;
    font-size: 14px;
    background: #fff
}

.sab-cf7-wizard input:focus {
    outline: 2px solid #a600e855;
    outline-offset: 1px
}

.sab-acceptance {
    font-size: 12px;
    color: #666
}

.sab-acceptance .wpcf7-list-item {
    display: inline
}

.sab-acceptance .wpcf7-list-item label {
    min-height: unset;
    border: 0;
    padding: 0;
    box-shadow: none !important;
    background: transparent !important
}

.sab-acceptance input {
    accent-color: var(--primary-color)
}

.sab-actions p, .sab-actions .blk {
    display: flex;
    gap: 10px; 
}

.sab-next,
.sab-submit {
    flex: 1
}

.sab-next,
.sab-submit input[type=submit] {
    width: 100%;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 11px;
    padding: 14px 18px;
    cursor: pointer
}

.sab-next:hover,
.sab-submit input[type=submit]:hover {
    background: var(--secondary-color)
}

.sab-back {
    border: 1px solid #ddd5e3;
    border-radius: 11px;
    background: #fff;
    color: var(--heading-color);
    font-size: 13px;
    font-weight: 700;
    padding: 0 20px;
    cursor: pointer
}

.sab-error {
    color: #b42349;
    font-size: 12px;
    margin-top: 12px;
    min-height: 16px
}

.sab-trust {
    text-align: center;
    color: #827c89;
    font-size: 11px;
    line-height: 1.9;
    margin-top: 16px
}

.sab-trust p {
    margin-bottom: 0;
}
.sab-cf7-wizard .wpcf7-not-valid-tip {
    font-size: 12px
}

.sab-cf7-wizard .wpcf7-response-output {
    margin: 16px 0 0 !important;
    font-size: 13px;
    border-radius: 8px
}

@media(max-width:575px) {
    .sab-cf7-wizard {
        padding: 20px 15px;
        border-radius: 15px
    }

    .sab-cf7-wizard .wpcf7-radio {
        max-height: 310px
    }

    .sab-back {
        padding: 0 12px
    }
}