.custom-progress-bar {
    display: flex;
    width: 792px;
    height: 20px;
    align-items: center;
    gap: 4px;
    margin-bottom: 40px;
}

.progress-step {
    height: 6px;
    flex: 1 0 0;
    border-radius: var(--radius-full, 9999px);
    background: #E4E4E4;
}

.progress-step.active {
    background: #00B5D3;
}

.gform_page:has(.gfield--type-quiz) {
    max-width: 792px;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .gfield_label.gform-field-label {
    margin: 0;
    padding-bottom: 24px;
    color: #002B46;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600 !important;
    line-height: 120%;
    width: 100%;
    margin-bottom: 0 !important;
    order: 0;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .gfield_description {
    color: #002B46;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 19.2px */
    margin-bottom: 40px;
    width: 100%;
    order: 1;
    padding: 0 !important;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container.ginput_container_radio,
.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container.ginput_container_checkbox {
    padding-bottom: 40px;
    order: 2;
    row-gap: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container.ginput_container_radio .gfield_radio,
.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container.ginput_container_checkbox .gfield_checkbox {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 24px;
    margin: 0;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice,
.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_checkbox .gchoice {
    display: flex;
    padding: 0;
    align-items: flex-start;
    align-self: stretch;
    border: unset;
    /*gap: 14px;*/
    border-radius: 4px;
    border: 1px solid transparent;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice .gfield-choice-input {
    appearance: none;
    width: 20px;
    min-width: 20px;
    height: 21px;
    background-image: url(../../pages/quiz/assets/icons/radio-button.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-left: 24px;
    margin-top: 24px;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .gquiz-indicator {
    display: none;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice:has(.gfield-choice-input:checked + label.gquiz-incorrect-choice) {
    border: 1px solid #E53935;
    background: rgba(251, 219, 223, 0.7);
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice:has(label.gquiz-incorrect-choice) .gfield-choice-input:checked {
    background-image: url(../../pages/quiz/assets/icons/error-radio-button.svg);
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice:has(.gfield-choice-input:checked + label.gquiz-correct-choice) {
    border: 1px solid #43A047;
    background: #DEF7DF;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice:has(label.gquiz-correct-choice) .gfield-choice-input:checked {
    background-image: url(../../pages/quiz/assets/icons/correct-radio-button.svg);
}

.gform_wrapper.gravity-theme .gfield--type-quiz .gquiz-neutral-choice .ginput_container_radio .gchoice:has(label.gquiz-incorrect-choice) .gfield-choice-input:checked,
.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice .gfield-choice-input:checked {
    background-image: url(../../pages/quiz/assets/icons/checked-radio-button.svg);
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_checkbox .gchoice .gfield-choice-input {
    appearance: none;
    width: 20px !important;
    min-width: 20px !important;
    height: 20px;
    /*margin: 2px 0;*/
    display: flex;
    background-image: url(../../pages/quiz/assets/icons/checkbox.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-left: 24px;
    margin-top: 26px;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_checkbox .gchoice .gfield-choice-input:checked {
    background-image: url(../../pages/quiz/assets/icons/selected-checkbox.svg);
}

.gform_wrapper.gravity-theme .gfield--type-quiz .gquiz-neutral-choice .ginput_container_radio .gchoice:has(.gfield-choice-input:checked + label.gquiz-incorrect-choice),
.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice:has(.gfield-choice-input:checked),
.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_checkbox .gchoice:has(.gfield-choice-input:checked) {
    border: 1px solid #00B5D3;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 100%), #E9F5F8;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .gfield_radio:not(:has(.gquiz-incorrect-choice)):not(:has(.gquiz-correct-choice)) .gchoice:hover,
.gform_wrapper.gravity-theme .gfield--type-quiz .gfield_checkbox .gchoice:hover {
    border: 1px solid #00B5D3;
    background: unset !important;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .gfield_radio:has(.gquiz-incorrect-choice) .gchoice .gform-field-label,
.gform_wrapper.gravity-theme .gfield--type-quiz .gfield_radio:has(.gquiz-correct-choice) .gchoice .gform-field-label {
    cursor: default;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_checkbox .gchoice .gfield-choice-input::before {
    display: none;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice label,
.gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_checkbox .gchoice label {
    color: var(--Primary-blue, #002B46) !important;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 21.6px */
    text-align: left;
    padding: 24px 24px 24px 14px;
    width: 100% !important;
    cursor: pointer;
}

.gquiz-neutral-choice .ginput_container_radio .gchoice:has(label.gquiz-incorrect-choice) .gfield-choice-input:checked {
    background-image: url(../../pages/quiz/assets/icons/checked-radio-button.svg);
}

.gquiz-neutral-choice .ginput_container_radio .gchoice:has(.gfield-choice-input:checked + label.gquiz-incorrect-choice) {
    border: 1px solid #00B5D3;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 100%), #E9F5F8;
}

.gform_page_footer {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 24px;
    margin: 0 !important;
    padding: 0 !important;
}

.gform_previous_button {
    text-align: center;
    height: auto;
    min-height: 50px !important;
    width: 192px;
    padding: 10px;
    flex-shrink: 0;
    word-break: break-word;
    white-space: normal;
    border-radius: 5px;
    border: 1px solid var(--Primary-turquoise-blue, #00B5D3);
    background: unset;
    color: var(--Primary-turquoise-blue, #00B5D3) !important;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px !important;
    margin: 0 !important;
    cursor: pointer;
}

.gform_next_button, .gform_button, .retake-quiz-btn {
    text-align: center;
    min-height: 50px !important;
    height: auto;
    width: 192px;
    padding: 10px;
    flex-shrink: 0;
    border-radius: 5px;
    word-break: break-word;
    white-space: normal;
    background: var(--Primary-turquoise-blue, #00B5D3);
    border: unset;
    color: var(--white, #FFF);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal !important;
    margin: 0 !important;
    cursor: pointer;
}

.gform_page:has(.gfield_contains_required) .gform_next_button {
    background: #E4E4E4;
    color: #98989A;
    pointer-events: none;
}

.gform_page:has(.gfield_contains_required) .gform_next_button.required_field_active {
    background: var(--Primary-turquoise-blue, #00B5D3);
    color: var(--white, #FFF);
    pointer-events: unset;
    cursor: pointer;
}

.gform_wrapper.gravity-theme .gquiz-answer-explanation.gfield_description {
    margin-bottom: 0;
    border-radius: 4px;
    background: #E9F5F8;
    display: flex;
    width: 100%;
    padding: 24px !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    font-size: 18px;
}

.explanation-message {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    width: 100%;
    font-weight: 500;
}

.explanation-message ul {
    list-style: unset;
}

.gquiz-answer-explanation .youtube-video a.venobox {
    height: auto;
    flex-shrink: 0;
    align-self: stretch;
    width: 580px;
    position: relative;
}

.gquiz-answer-explanation .youtube-video a.venobox img {
    width: 580px;
    height: auto;
}

.gquiz-answer-explanation .youtube-video a.venobox::before {
    content: "";
    display: block;
    width: 65px;
    height: 70px;
    background-image: url(../../pages/quiz/assets/icons/playicon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.custom-quiz-confirmation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
    width: 100%;
}

.quiz-results-container {
    display: flex;
    width: 100%;
    padding-bottom: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.quiz-result-single {
    display: flex;
    padding: 24px;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-radius: 4px;
    background: rgba(132, 154, 166, 0.06);
}

.quiz-result-single.neutral {
    border-left: 6px rgba(0, 181, 211, 0.5) solid;
}

.quiz-result-single.incorrect {
    border-left: 6px rgba(229, 57, 53, 0.5) solid;
}

.quiz-result-single.correct {
    border-left: 6px rgba(67, 160, 71, 0.5) solid;
}

.quiz-result-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.neutral .quiz-result-icon {
    background-image: url(../../pages/quiz/assets/icons/Bulb.svg);
}

.correct .quiz-result-icon {
    background-image: url(../../pages/quiz/assets/icons/Sucsses.svg);
}

.incorrect .quiz-result-icon {
    background-image: url(../../pages/quiz/assets/icons/Error.svg);
}

.quiz-result-qa {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.quiz-result-question,
.quiz-result-answers {
    color: var(--Primary-blue, #002B46);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    margin: 0;
}

.quiz-result-answers {
    margin: 0;
}

.quiz-thank-you {
    color: #002B46;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.your-score-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.your-score {
    color: #002B46;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.score-number {
    font-size: 32px;
}

.correct-answers {
    color: #002B46;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.gform_wrapper.gravity-theme .gfield--type-quiz .gfield_required {
    color: #E53935 !important;
    font-family: Inter;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 600;
    line-height: 120%;
    margin-left: 2px;
}

.gform_confirmation_message.rich-text-wrap ul:not(ul.quiz-result-answers),
.gquiz-answer-explanation.rich-text-wrap ul:not(ul.quiz-result-answers) {
    list-style: unset;
    list-style-type: unset;
}

.gform_confirmation_message.rich-text-wrap li:not(.quiz-result-answers li),
.gquiz-answer-explanation.rich-text-wrap li:not(.quiz-result-answers li) {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .custom-progress-bar {
        width: 100%;
        margin-bottom: 32px;
    }

    .gform_wrapper.gravity-theme .gfield--type-quiz .gfield_label.gform-field-label {
        font-size: 18px;
        padding-bottom: 16px;
    }

    .gform_wrapper.gravity-theme .gfield--type-quiz .gfield_description {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container.ginput_container_radio,
    .gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container.ginput_container_checkbox {
        padding-bottom: 32px;
        row-gap: 16px;
    }

    .gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container.ginput_container_radio .gfield_radio,
    .gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container.ginput_container_checkbox .gfield_checkbox {
        row-gap: 12px;
    }

    .gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice .gfield-choice-input {
        width: 17px;
        min-width: 17px;
        height: 19px;
        margin-left: 12px;
        margin-top: 12px;
    }

    .gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_checkbox .gchoice .gfield-choice-input {
        width: 17px !important;
        min-width: 17px !important;
        margin-left: 12px;
        margin-top: 12px;
    }

    .gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_radio .gchoice label,
    .gform_wrapper.gravity-theme .gfield--type-quiz .ginput_container_checkbox .gchoice label {
        font-size: 16px;
        padding: 12px 12px 12px 8px;
    }

    .gform_page_footer {
        gap: 8px;
    }

    .gform_previous_button {
        width: calc(50% - 4px);
    }

    .gform_next_button, .gform_button, .retake-quiz-btn {
        width: calc(50% - 4px);
        font-size: 16px;
    }

    .gform_page .gform_button.button {
        min-width: unset !important;
    }

    .gform_wrapper.gravity-theme .gquiz-answer-explanation.gfield_description {
        margin-bottom: 0;
        padding: 16px !important;
        font-size: 16px;
    }

    .gquiz-answer-explanation .youtube-video a.venobox img {
        width: 100%;
    }

    .custom-quiz-confirmation {
        gap: 24px;
    }

    .quiz-results-container {
        padding-bottom: 0;
        gap: 20px;
    }

    .quiz-result-single {
        padding: 12px;
        gap: 8px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.01) 100%), #F8FCFD;
    }

    .quiz-result-single.neutral {
        border-left: 4px rgba(0, 181, 211, 0.5) solid;
    }

    .quiz-result-single.incorrect {
        border-left: 4px solid rgba(229, 57, 53, 0.5);
    }

    .quiz-result-single.correct {
        border-left: 4px solid rgba(67, 160, 71, 0.5);
    }

    .quiz-result-icon {
        width: 20px;
        min-width: 20px;
        height: 20px;
    }

    .quiz-result-qa {
        gap: 20px;
    }

    .quiz-result-question,
    .quiz-result-answers {
        font-size: 16px;
        line-height: 120%;
    }

    .quiz-thank-you {
        font-size: 16px;
    }

    .your-score {
        font-size: 20px;
    }

    .score-number {
        font-size: 28px;
    }

    .correct-answers {
        font-size: 16px;
    }

    .gform_wrapper.gravity-theme .gfield--type-quiz .gfield_required {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    .gform-loader {
        display: none !important;
    }
}

.gform_page .gform_ajax_spinner {
    display: none !important;
}