/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

main {
    display: block
}

h1 {
    font-size: 2em;
    margin: 0.67em 0
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

img {
    border-style: none
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: 0.35em 0.75em 0.625em
}

legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type="checkbox"],
[type="radio"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

[hidden] {
    display: none
}


p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    outline: none;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    overflow-x: hidden;
    background: #F4F5F8;
    color: #111111;
    font-family: "Inter", sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1130px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.quiz {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 30px 0;
}

.quiz_main {
    box-shadow: 0px 0px 30px 0px #0000000D;
    background-color: #fff;
    border-radius: 5px;
    width: calc(100% + 100px);
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    margin-left: -50px;
    padding: 30px;
}

.quiz_main.done {
    display: none;
}

.quiz_main-info {
    padding-bottom: 174px;
    position: relative;
    width: 692px;
}

.quiz_main-img {
    position: absolute;
    bottom: -30px;
    display: flex;
    left: 0;
}

.quiz_main-img picture,
.quiz_main-img img {
    max-width: 100%;
}

.quiz_main-logo {
    display: flex;
    margin-bottom: 24px;
}

.quiz_main-title {
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0.4px;
    margin-bottom: 26px;
}

.quiz_main-text {
    letter-spacing: -0.43px;
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 24px;
}

.quiz_main-subtitle {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -0.36px;
}

.quiz_main-list {
    list-style: disc;
    columns: 2;
    padding-left: 20px;
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 24px;
    gap: 40px;
}

.quiz_main-list li {
    padding-right: 50px;
    letter-spacing: -0.3px;
}

.quiz_main-desc {
    border: 1px solid #ECECEC;
    padding: 20px 20px 20px 76px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 140%;
    position: relative;
    letter-spacing: -0.4px;
}

.quiz_main-desc::before {
    position: absolute;
    content: "";
    background-image: url(../img/quiz_main-desc.svg);
    background-size: cover;
    width: 32px;
    height: 32px;
    top: 20px;
    left: 20px;
}

.quiz_right {
    width: 400px;
    box-shadow: 0px 0px 30px 0px #0000001A;
    background: #FFFFFF;
    padding: 30px;
    border-radius: 5px;
}

.quiz_right-title {
    font-size: 24px;
    margin-bottom: 8px;
    line-height: 1;
}

.quiz_right-text {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 24px;
    letter-spacing: -0.4px;
}

.quiz_right-inp {
    background: #FDFDFD;
    border: 1px solid #ECECEC;
    width: 100%;
    height: 52px;
    margin-bottom: 8px;
    border-radius: 5px;
    padding-left: 16px;
    font-size: 14px;

}

.custom-select {
    margin-bottom: 8px;
    position: relative;
}

.custom-select__option--value {
    border: 1px solid #ECECEC;
    background: #FDFDFD;
    border-radius: 5px;
    padding: 0;
    align-items: center;
    font-size: 14px;
    line-height: 140%;
    padding-left: 16px;
    min-height: 52px;
    cursor: pointer;
    width: 100%;
    padding-right: 40px;
    display: flex;
    position: relative;
    color: #111111;
    text-align: left;
}

.custom-select__option--value::before {
    position: absolute;
    content: "";
    background-image: url(../img/select_arrow.svg);
    background-size: cover;
    width: 16px;
    height: 16px;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-select--active {
    z-index: 1;
}

.custom-select__dropdown {
    position: absolute;
    width: 100%;
    box-shadow: 0px 0px 30px 0px #0000001A;
    border: 1px solid #ECECEC;
    background: #FDFDFD;
    border-radius: 5px;
    padding: 6px 0;
    top: calc(100% + 8px);
}

.custom-select__dropdown .custom-select__option {
    background: none;
    display: block;
    width: 100%;
    color: #111111;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 10px 16px;
    align-items: center;
}

.quiz_right-number {
    display: flex;
    margin-bottom: 8px;
}

.quiz_right-number .quiz_right-inp {
    width: calc(100% - 92px);
    border-radius: 0 5px 5px 0;
    margin: 0;
}

.quiz_right-number .custom-select {
    width: 92px;
}

.quiz_right-number .custom-select__option--value {
    border-right: none;
    border-radius: 5px 0 0 5px;
    white-space: nowrap;
}

.quiz_ok {
    margin-bottom: 36px;
    padding-left: 20px;
    position: relative;
    display: block;
    font-size: 10px;
    line-height: 140%;
    cursor: pointer;
}

.quiz_ok span {
    width: 12px;
    height: 12px;
    border: 1px solid #7D7D7D;
    border-radius: 3px;
    top: 2px;
    left: 2px;
    display: block;
    position: absolute;
}

.quiz_ok input {
    display: none;
}

.quiz_ok input:checked+span {
    background: #000000;
    border: 1px solid #000000;
    background-image: url(../img/check.svg);
    background-repeat: no-repeat;
    background-position: 50%;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F42532;
    border-radius: 5px;
    gap: 10px;
    height: 52px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    width: 100%;
}

.quiz_steps-wrapper {
    background: #FFFFFF;
    box-shadow: 0px 0px 30px 0px #0000000D;
    border-radius: 5px;
    display: none;
    padding: 30px;
}

.quiz_steps-wrapper.active {
    display: block;
}

.quiz_tabs {
    gap: 8px;
    display: flex;
    margin-bottom: 24px;
}

.quiz_tab {
    background: #F7F7F7;
    border-radius: 5px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 36px;
    opacity: 0.5;
    font-size: 14px;
    line-height: 140%;
    color: #CCCCCC;
}

.quiz_tab.done,
.quiz_tab.active {
    opacity: 1;
    color: #111111;
}

.quiz_tab.done::after {
    background-image: url(../img/done_icon.svg);
}

.quiz_tab.active::after {
    background-image: url(../img/active_icon.svg);
}

.quiz_tab::after {
    position: relative;
    content: "";
    background-image: url(../img/close_icon.svg);
    background-size: cover;
    width: 16px;
    height: 16px;
    display: flex;
}

.quiz_step {
    display: none;
}

.quiz_step.active {
    display: block;
}

.quiz_step-title {
    font-weight: 500;
    font-size: 30px;
    line-height: 140%;
    margin-bottom: 8px;
}

.quiz_step-subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 24px;
}

.quiz_item {
    border: 1px solid #ECECEC;
    background: #FFFFFF;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 10px;
}

.quiz_item.error {
    background: #FFF3F3;
    border: 1px solid #FFBCC0;
}

.quiz_item:last-child {
    margin-bottom: 0;
}

.quiz_item-subtitle {
    font-size: 12px;
    line-height: 140%;
    margin-bottom: 8px;
    color: #9B9B9B;
}

.quiz_item-text {
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.1px;
    margin-bottom: 8px;
}

.quiz_item-radio {
    display: flex;
    align-items: center;
    padding: 9px 3px;
    color: #000000;
    font-size: 14px;
    line-height: 140%;
    cursor: pointer;
    gap: 8px;
}

.quiz_item-radio input {
    display: none;
}

.quiz_item-radio span {
    border: 1px solid #807F84;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
    display: block;
}

.quiz_item-radio input:checked+span::before {
    position: absolute;
    content: "";
    background: #000000;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

.quiz_btns {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
}

.quiz_btn.next {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F42532;
    border-radius: 5px;
    gap: 10px;
    height: 52px;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    width: 190px;
}

.quiz_btn.prev {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #111111;
    border-radius: 5px;
    gap: 10px;
    height: 52px;
    font-weight: 500;
    font-size: 14px;
    color: #111111;
    cursor: pointer;
    width: 200px;
}

.quiz_steps-wrapper:has(.quiz_step.active:first-child) .quiz_btn.prev {
    background: #F7F7F7;
    border: 1px solid #F7F7F7;
    color: #CCCCCC;
    pointer-events: none;
}

.quiz_steps-wrapper:has(.quiz_step.active:first-child) .quiz_btn.prev path {
    stroke: #CCCCCC;
}

.quiz_popup {
    position: fixed;
    z-index: 11;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.quiz_popup.active {
    opacity: 1;
    visibility: visible;
}

.quiz_popup-overtlay {
    background: #00000026;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    position: absolute;
    backdrop-filter: blur(7px);
}

.quiz_popup-wrapper {
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 592px;
}

.quiz_popup-title {
    font-weight: 500;
    font-size: 32px;
    line-height: 140%;
    margin-bottom: 8px;
}

.quiz_popup-text {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 24px;
}

.quiz_steps-wrapper:has(.quiz_step.active:last-child) .quiz_btns {
    display: none;
}

.quiz_steps-wrapper:has(.quiz_step.active:last-child) .quiz_tab {
    opacity: 0.5;
    color: #CCCCCC;
}

.quiz_steps-wrapper:has(.quiz_step.active:last-child) .quiz_tab::after {
    opacity: 0.3;
}

.quiz_steps-wrapper:has(.quiz_step.active:last-child) .quiz_tab:last-child {
    opacity: 1;
    background: #F42532;
    color: #fff;
}

.quiz_steps-wrapper:has(.quiz_step.active:last-child) .quiz_tab:last-child::after {
    opacity: 1;
    background-image: url(../img/done_icon2.svg);
}

.quiz_resalt {
    box-shadow: 0px 0px 30px 0px #0000001A;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.quiz_resalt:last-child {
    margin-bottom: 0;
}

.quiz_resalt-title {
    font-weight: 500;

    font-size: 24px;
    margin-bottom: 15px;
}

.quiz_resalt-subtile {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 16px;
    color: #8B8B8B;
}

.quiz_resalt-inner {
    border: 1px solid #ECECEC;
    border-radius: 5px;
    padding: 30px 20px 83px;
    position: relative;
}

.quiz_resalt-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    margin-bottom: 8px;
}

.quiz_resalt-subtitle {
    font-size: 12px;
    line-height: 140%;
    width: 190px;
}

.quiz_resalt-progress {
    background: #E4E4E4;
    border-radius: 34px;
    height: 10px;
    width: 580px;
    position: relative;
}

.quiz_resalt-value {
    width: 25px;
    font-size: 12px;
    line-height: 140%;
    text-align: right;
}

.quiz_resalt-status {
    width: 110px;
    color: #fff;
    height: 22px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 500;
    font-size: 10px;
    line-height: 140%;
    position: relative;
}

.quiz_resalt-progress span {
    position: absolute;
    left: 0;
    height: 100%;
    border-radius: 99px;
}

.quiz_resalt-option.middling .quiz_resalt-status,
.quiz_resalt-option.middling .quiz_resalt-progress span {
    background: #FFB673;
}

.quiz_resalt-option.high .quiz_resalt-status,
.quiz_resalt-option.high .quiz_resalt-progress span {
    background: #A8E17B;
}



.quiz_resalt:nth-child(1) .quiz_resalt-row:nth-child(1) {
    width: 45%;
}

.quiz_resalt:nth-child(1) .quiz_resalt-row:nth-child(2) {
    width: 31%;
}

.quiz_resalt:nth-child(1) .quiz_resalt-row:nth-child(3) {
    width: 24%;
}

.quiz_resalt-row_title {
    font-size: 12px;
    text-align: center;
    color: #969696;
}

.quiz_resalt-row_value {
    font-size: 12px;
    line-height: 140%;
    color: #969696;
}

.quiz_resalt-bot {
    width: 582px;
    pointer-events: none;
    display: flex;
    align-items: flex-end;

    position: absolute;
    bottom: 20px;
    left: 20px;
    height: calc(100% - 40px);
    margin-left: 206px;
}

.quiz_resalt-row {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding-bottom: 26px;
}

.quiz_resalt-row::before {
    position: absolute;
    content: "";
    height: calc(100% - 26px);
    left: 0;
    top: 0;
    border-left: 1px solid #E6E5E9;
}

.quiz_resalt-row_value {
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateX(-50%);
}

.quiz_resalt-row:last-child::after {
    position: absolute;
    content: "";
    height: calc(100% - 26px);
    right: 0;
    top: 0;
    border-left: 1px solid #E6E5E9;
}

.quiz_resalt-row:last-child .quiz_resalt-row_value:nth-child(3) {
    right: 0;
    left: auto;
    transform: translateX(50%);
}

.quiz_resalt:nth-child(2) .quiz_resalt-row:nth-child(1) {
    width: 50%;
}

.quiz_resalt:nth-child(2) .quiz_resalt-row:nth-child(2) {
    width: 20%;
}

.quiz_resalt:nth-child(2) .quiz_resalt-row:nth-child(3) {
    width: 30%;
}

.quiz_resalt-option.low .quiz_resalt-status,
.quiz_resalt-option.low .quiz_resalt-progress span {
    background: #FF7373;
}

.quiz_resalt-subtitle span {
    display: none;
}









.quiz_resalt:nth-child(2) .quiz_resalt-value span {
    display: none;
}









@media (max-width: 1200px) {
    .container {
        max-width: 950px;
    }

    .quiz_main {
        width: 100%;
        margin: 0;
    }

    .quiz_main {
        max-width: 100%;
    }

    .quiz_main-info {
        width: 500px;
    }

    .quiz_right {
        width: 350px;
    }

    .quiz_tab {
        gap: 6px;
        font-size: 12px;
    }

    .quiz_resalt-subtitle {
        width: 120px;
    }

    .quiz_resalt-progress {
        width: 480px;
    }

    .quiz_resalt-bot {
        width: 480px;
        margin-left: 134px;
    }
}

@media (max-width: 991.98px) {
    .container {
        max-width: 730px;
    }

    .quiz_main {
        gap: 20px;
        flex-direction: column;
    }

    .quiz_main-info {
        width: 100%;
    }

    .quiz_right {
        width: 100%;
    }

    .quiz_main-img {
        position: relative;
        width: 100%;
        inset: auto;
    }

    .quiz_main-img picture,
    .quiz_main-img img {
        width: 100%;
    }

    .quiz_main-info {
        padding-bottom: 0;
    }

    .quiz_tabs {
        gap: 10px;
        flex-wrap: wrap;
    }

    .quiz_tab {
        width: calc(25% - 7.5px);
        flex: none;
    }

    .quiz_resalt-inner {
        padding: 0;
        border: none;
    }

    .quiz_resalt:nth-child(1) .quiz_resalt-bot {
        position: relative;
        margin: 0;
        width: 100%;
        inset: auto;
        height: 96px;
        margin-top: 24px;
    }

    .quiz_resalt-row_title,
    .quiz_resalt-row_value {
        font-size: 10px;
    }

    .quiz_resalt-option {
        padding: 0;
    }

    .quiz_resalt:nth-child(1) .quiz_resalt-option:nth-child(1) .quiz_resalt-progress {
        position: absolute;
        bottom: 80px;
        width: 100%;
    }

    .quiz_resalt:nth-child(1) .quiz_resalt-option:nth-child(2) .quiz_resalt-progress {
        position: absolute;
        bottom: 54px;
        width: 100%;
    }

    .quiz_resalt:nth-child(1) .quiz_resalt-value {
        display: none;
    }

    .quiz_resalt-subtitle {
        width: auto;
    }

    .quiz_resalt-subtitle span {
        display: contents;
    }

    .quiz_resalt:nth-child(2) .quiz_resalt-option {
        flex-wrap: wrap;
        padding: 24px 0 78px;
        border-top: 1px solid #00000012;
        position: relative;
        margin: 0;
    }

    .quiz_resalt:nth-child(2) .quiz_resalt-option::before {
        position: absolute;
        content: "";
        width: 105%;
        height: 70px;
        background-image: url(../img/quiz_resalt-option.svg);
        background-size: cover;
        background-position: bottom;
        bottom: 24px;
        left: -7px;
    }

    .quiz_resalt:nth-child(2) .quiz_resalt-subtitle {
        font-size: 16px;
        margin-bottom: 16px;
        font-weight: 500;
        width: 100%;
    }

    .quiz_resalt:nth-child(2) .quiz_resalt-progress {
        order: 1;
        width: 100%;
        margin-top: 32px;
    }

    .quiz_resalt:nth-child(2) .quiz_resalt-bot {
        display: none;
    }

    .quiz_resalt:nth-child(2) .quiz_resalt-value span {
        display: contents;
    }

    .quiz_resalt-value {
        width: auto;
    }
}

@media (max-width: 767.98px) {
    .container {
        max-width: 380px;
    }

    .quiz_main {
        padding: 20px;
    }

    .quiz {
        padding: 20px 0;
    }

    .quiz_main-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .quiz_main-list {
        columns: 1;
    }

    .quiz_main-list li {
        padding-right: 20px;
    }

    .quiz_main-desc {
        padding: 76px 20px 20px;
    }

    .quiz_main-desc::before {
        top: 20px;
        left: 20px;
        transform: none;
    }

    .quiz_right {
        padding: 20px;
    }

    .quiz_right-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .quiz_steps-wrapper {
        padding: 20px;
    }

    .quiz_tabs {
        gap: 8px;
    }

    .quiz_tab {
        width: calc(50% - 4px);
        font-size: 14px;
    }

    .quiz_step-title {
        font-size: 28px;
        line-height: 1;
    }

    .quiz_btns {
        flex-direction: column;
        gap: 12px;
    }

    .quiz_btn {
        width: 100% !important;
    }

    .quiz_resalt-status {
        min-width: 110px;
    }

    .quiz_resalt:nth-child(1) .quiz_resalt-subtitle {
        width: 140px;
    }

    .quiz_resalt:nth-child(2) .quiz_resalt-option::before {
        background-image: url(../img/quiz_resalt-option2.svg);
        left: -4px;
        width: 104%;
    }

    .quiz_resalt-value {
        max-width: calc(100% - 116px);
        text-align: left;
    }

    .quiz_resalt-subtile {
        margin-bottom: 24px;
        margin-top: -11px;
    }
}

@media (max-width: 370px) {
    .quiz_resalt:nth-child(2) .quiz_resalt-option::before {
        height: 18vw;
    }

    .quiz_resalt:nth-child(2) .quiz_resalt-option {
        padding-bottom: 20.5vw;
    }
}