.quiz-container {
    position: relative;
    width: 100%;
    background-color: #F4F4F4;
    padding: 38px;
    border-radius: 4px;
}

.quiz-content {
    display: none;
    height: 100%;
}

.quiz-step,
.quiz-final,
.quiz-success {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    flex-direction: column;
}

.quiz-step.active,
.quiz-final.active,
.quiz-success.active {
    display: flex !important;
    opacity: 1;
}

.quiz-step.active .quiz-step_body,
.quiz-final.active .quiz-step_body,
.quiz-success.active .quiz-step_body {
    display: block;
}
.quiz-container {
    height: 702px;
}
.quiz-step_body {
    flex-grow: 1;
    height: 420px;
}

.progress {
    height: 40px;
    background: #fff;
    margin-bottom: 36px;
    position: relative;
    z-index: 9;
}

.progress.final {
    height: 40px;
    border-radius: 4px;
}

.progress-bar {
    height: 100%;
    background: var(--bs-green);
    transition: width 0.5s ease;
}

.quiz-progress-text {
    margin-bottom: 25px;
    color: #425367;
    font-size: 20px;
    line-height: 1;
}

.quiz-progress-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    display: none;
    white-space: nowrap;
}

.btn-next,
.btn-prev,
.btn-submit {
    margin-top: 10px;
}

.btn-next:disabled,
.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.input-icon {
    position: relative;
}

.input-icon svg {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}

.input-icon input {
    padding-left: 66px;
}

.validate-ok {
    border-color: green !important;
}

.validate-error {
    border-color: red !important;
}

.form-check {
    cursor: pointer;
}

.custom-file-upload {
    cursor: pointer;
    display: inline-block;
    padding: 0 15px;
    border-radius: 4px;
    background-color: var(--bs-blue);
    color: #fff;
    line-height: 42px;
    transition: all 0.15s ease-in-out;
}
.custom-file-upload:hover {
    background-color: var(--bs-blue-hover);
}
.custom-file-upload:focus {
    background-color: var(--bs-blue-focus);
}

.custom-file-upload.has-file {
    background: var(--bs-blue-focus);
    white-space: nowrap;
}

input[type="file"] {
    display: none;
}
.quiz-step_title {
    color:#454545;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 26px;
}
.quiz-step label {
    cursor: pointer;
}

.quiz-container .form-check {
    margin: 0;
    min-height: 70px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
.quiz-container .form-check > div {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1;
}

.quiz-container .form-check.form-check_text {
    border: 1px solid #8C8C8C;
    padding: 0 13px;
}

.quiz-container .form-check .form-check-input {
    margin: 0;
}
.quiz-container  .form-check .form-check-label {
    margin-left: 15px;
}
.form-check-input:focus {
    box-shadow:none;
}
.form-check-input:checked ~ .form-check {
    border-color: var(--bs-blue-dark);
}
.quiz-container label {
    width: 100%;
}
.quiz-container .form-check img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    margin-bottom: 10px;
    border: 1px solid #274972;
    border-radius: 4px;
}
.quiz-container .two-row .form-check img {
    height: 124px;
}
.form-content input:not([type="checkbox"]), .form-content textarea {
    width: 100%;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    height: 75px;
    line-height: 1;
    font-size: 16px;
    color: #454545;
    outline: none;
}
.form-content textarea {
    resize: none;
    height: 200px;
    padding: 30px;
    line-height: 1.3;
}
.form-content.quiz-content textarea {
    height: 320px;
}
.form-content  input::placeholder, .form-content textarea::placeholder {
    color: #D9D9D9;
}
.form-content input:not([type="checkbox"]):hover, .form-content textarea:hover {
    border-color: var(--bs-blue);
}
.form-content input:not([type="checkbox"]):focus, .form-content textarea:focus {
    border-color: var(--bs-blue-dark);
}
.quiz-final, .quiz-success {
    position: relative;
}
.quiz-final div, .quiz-success div {
    position: relative;
    z-index: 9;
}
.quiz-final_bg {
    position: absolute;
    bottom: -38px;
    right: -38px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-bottom-right-radius: 4px;
}
.quiz-final_bg.quiz-final_bg__success {
    object-fit: contain;
    object-position: right;
    height: 130%;
}
.quiz-privacy {
    font-size: 14px;
}
.quiz-container .form-check:not(.form-check_text) {
    margin-bottom: auto;
}
/* Preloader */

#preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    animation: rotate 2s linear infinite;
    width: 100px;
    height: 100px;
}

.spinner .path {
    stroke: var(--bs-blue);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@media (max-width: 992px) {
    .progress {
        height: 20px;
        margin-bottom: 20px;
    }
    .quiz-container {
        padding: 20px;
        padding-top: 50px;
    }
    .quiz-progress-text {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .quiz-step_title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .quiz-container .form-check {
        margin-bottom: 20px;        
    }
    .quiz-container .form-check:not(.form-check_text) {
        height: 100%;
        margin-bottom: 20px;
    }
    .form-content.quiz-content textarea {
        height: 220px;
    }
    .quiz-container, .quiz-step_body {
        height: auto;
    }
    .quiz-step_body .row-gap-4 {
        row-gap: 0 !important;
    }
    .quiz-buttons .btn-next {
        margin-left: auto;
    }
    .quiz-container .form-check img {
        height: 130px;
    }
    .quiz-container .form-check .form-check-label {
        margin-left: 35px;
        margin-top: 3px;
        display: block;
    }
    .input-icon {
        margin-bottom: 20px;
    }
    .form-content textarea {
        height: 160px;
        padding: 20px;
    }
    .input-icon svg {
        position: absolute;
        left: 20px;
    }
    .input-icon input {
        padding-left: 56px;
    }
    .quiz-buttons .mtc-btn {
        line-height: 60px;
    }


}