.quiz-service .quiz__item-inner {
    max-width: 650px;
}

.quiz__dot {
    flex-direction: column;
}

.quiz__dot:last-child .quiz__dot_number::after,
.quiz__dot:last-child .quiz__dot_number::before {
    display: none;
}

.quiz__dot_number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #B2BABD;
    background-color: #ffffff;
    line-height: 52px;
    color: #B2BABD;
    font-weight: 700;
    font-size: 24px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    margin-bottom: 8px;
    position: relative;
}

.quiz__dot_number::after,
.quiz__dot_number::before {
    content: '';
    height: 1px;
    width: 479px;
    position: absolute;
    left: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.quiz__dot_number::before {
    background-color: #666B6E;
}

.quiz__dot_number::after {
    width: 0;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    background-color: var(--bwt-dark-blue);
}

.quiz__dot_title {
    text-align: center;
    color: #00174B;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.quiz__header {
    margin-bottom: 40px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.quiz__form {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
}

.quiz__form.step-1 .quiz__dot:first-child .quiz__dot_number {
    color: #ffffff;
    border-color: var(--bwt-pink);
    background-color: #FF88BD;
}

.quiz__item {
    height: 100%;
    flex-grow: 1;
    flex-direction: column;
}

.quiz__form.step-1 .quiz__item {
    display: none !important;
}

.quiz__form.step-1 .quiz__item-1 {
    display: flex !important;
}

.quiz__form.step-2 .quiz__dot:nth-child(1) .quiz__dot_number::after {
    width: 479px;
}

.quiz__form.step-2 .quiz__dot:nth-child(2) .quiz__dot_number {
    border-color: var(--bwt-pink);
    background-color: var(--bwt-pink);
    color: #ffffff;
}

.quiz__form.step-2 .quiz__item {
    display: none !important;
}

.quiz__form.step-2 .quiz__item-2 {
    display: flex !important;
}

.quiz__form.step-3 .quiz__dot:nth-child(2) .quiz__dot_number::after {
    width: 479px;
}

.quiz__form.step-3 .quiz__dot:nth-child(3) .quiz__dot_number {
    border-color: var(--bwt-pink);
    background-color: var(--bwt-pink);
    color: #ffffff;
}

.quiz__form.step-3 .quiz__item {
    display: none !important;
}

.quiz__form.step-3 .quiz__item-3 {
    display: flex !important;
}

.quiz__form.step-4 .quiz__dot:nth-child(3) .quiz__dot_number::after {
    width: 479px;
}

.quiz__form.step-4 .quiz__dot:nth-child(4) .quiz__dot_number {
    border-color: var(--bwt-pink);
    background-color: var(--bwt-pink);
    color: #ffffff;
}

.quiz__form.step-4 .quiz__item {
    display: none !important;
}

.quiz__form.step-4 .quiz__item-4 {
    display: block !important;
}

.quiz__item_title {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
}

.quiz__item-inner {
    margin: 0 auto;
    width: 100%;
}

.quiz__item-2 .quiz__item-inner,
.quiz__item-3 .quiz__item-inner {
    max-width: 530px;
}

.quiz__item-3 .quiz__item-inner {
    margin-top: 40px;
}

.quiz__item_element {
    margin-bottom: 12px;
    display: block;
    width: 50%;
}

.quiz__item_element .checkbox__title {
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    color: #1D1D1D;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.quiz__item-top_element .checkbox__title {
    color: #1D1D1D;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.quiz__group {
    display: flex;
    flex-direction: row;
    gap: 80px;
    padding: 12px 0;
}

.quiz__item_btn {
    margin-top: auto;
    align-self: flex-end;
}

.quiz__item-3 .quiz__item_btn {
    margin-top: 20px;
}

.quiz__item_next {
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 8px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.quiz__item-top {
    margin-bottom: 24px;
}

.quiz__item-top_element {
    margin: 0 16px;
}

.quiz__item-radios_item {
    margin-right: 24px;
}

.quiz__item-radios_item:last-child {
    margin-right: 0;
}

.step-2 .quiz__dot:nth-child(1) {
    cursor: pointer;
}

.step-3 .quiz__dot:nth-child(2) {
    cursor: pointer;
}

.step-4 .quiz__dot:nth-child(3) {
    cursor: pointer;
}

.quiz .quiz__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #f3f3f3;
    border-radius: 10px;
    padding: 40px;
    min-height: 590px;
}

.quiz__bottom {
    height: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.quiz__inner .section__title {
    margin-bottom: 24px;
    text-align: left;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #00174b;
}

.quiz__group .checkbox__custom {
    display: inline-block;
    color: #999;
    border-radius: 4px;
    width: 16px;
    height: 16px;
    border: 2px solid #666B6E;
}

.quiz__checkbox {
    display: none;
}

.quiz__checkbox:checked~.checkbox__custom:after {
    content: '';
    position: absolute;
    background-image: url(/local/lib/img/icons/icon-check-blue.svg);
    height: 90%;
    top: 8px;
    right: -6px;
    transform: translate(-50%, -50%);
    width: 90%;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
}

@media screen and (max-width: 1459px) {
    .quiz__dot_number::before {
        width: 395px;
    }

    .quiz__form.step-2 .quiz__dot:nth-child(1) .quiz__dot_number::after {
        width: 395px;
    }

    .quiz__form.step-3 .quiz__dot:nth-child(2) .quiz__dot_number::after {
        width: 395px;
    }

    .quiz__form.step-4 .quiz__dot:nth-child(3) .quiz__dot_number::after {
        width: 395px;
    }

}

@media screen and (max-width: 1199px) {

    .quiz__dot_number::before {
        width: 303px;
    }

    .quiz__form.step-2 .quiz__dot:nth-child(1) .quiz__dot_number::after {
        width: 303px;
    }

    .quiz__form.step-3 .quiz__dot:nth-child(2) .quiz__dot_number::after {
        width: 303px;
    }

    .quiz__form.step-4 .quiz__dot:nth-child(3) .quiz__dot_number::after {
        width: 303px;
    }

    .quiz__group {
        flex-direction: column;
        gap: 8px;
        padding: 4px;
    }

    .quiz__item_element {
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .quiz__inner {
        padding: 0;
    }

    .quiz__dot_number::before {
        width: 252px;
    }

    .quiz__form.step-2 .quiz__dot:nth-child(1) .quiz__dot_number::after {
        width: 252px;
    }

    .quiz__form.step-3 .quiz__dot:nth-child(2) .quiz__dot_number::after {
        width: 252px;
    }

    .quiz__form.step-4 .quiz__dot:nth-child(3) .quiz__dot_number::after {
        width: 252px;
    }

    .dealer-page__features-list {
        row-gap: 10px;
        margin-top: 18px;
    }
}

@media screen and (max-width: 887px) {
    .quiz .quiz__inner {
        max-width: 640px;
    }

    .quiz__dot_number::before {
        width: 155px;
    }

    .quiz__form.step-2 .quiz__dot:nth-child(1) .quiz__dot_number::after {
        width: 155px;
    }

    .quiz__form.step-3 .quiz__dot:nth-child(2) .quiz__dot_number::after {
        width: 155px;
    }

    .quiz__form.step-4 .quiz__dot:nth-child(3) .quiz__dot_number::after {
        width: 155px;
    }
}

@media screen and (max-width: 767px) {
    .quiz {
        overflow: hidden;
    }

    .quiz__header {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }

    .quiz__dot {
        flex-direction: row;
        align-items: center;
        gap: 7px;
        margin-bottom: 0;
    }

    .quiz__dot_number {
        width: 32px;
        height: 32px;
        font-size: 20px;
        line-height: 32px;
    }

    .quiz__dot_number::before {
        width: 2px;
        height: 18px;
        left: 14px;
        bottom: -28px;
        top: unset;
    }

    .quiz__dot_number::after {
        width: 2px;
        height: 18px;
        left: 14px;
        bottom: -28px;
        top: unset;
    }

    .quiz__dot_title {
        font-size: 14px;
        line-height: 20px;
        text-align: left;
    }

    .quiz__item_title {
        text-align: left;
    }

    .quiz__item-top_element {
        margin: 0 0 5px;
        width: 100%;
    }

    .quiz__form.step-2 .quiz__dot:nth-child(1) .quiz__dot_number::after {
        width: 2px;
        height: 18px;
    }

    .quiz__form.step-3 .quiz__dot:nth-child(2) .quiz__dot_number::after {
        width: 2px;
        height: 18px;
    }

    .quiz__form.step-4 .quiz__dot:nth-child(3) .quiz__dot_number::after {
        width: 2px;
        height: 18px;
    }

    .quiz__item_element .checkbox__title {
        font-size: 14px;
        line-height: 20px;
    }

    .quiz__item-top_element .checkbox__title {
        font-size: 14px;
        line-height: 20px;
    }

}

@media screen and (max-width: 575px) {
    .quiz__item_btn {
        flex-direction: column;
        align-items: center;
    }
}