body {
    margin: 0;
    padding: 0;
    box-sizing: content-box;
    font-family: "Lato", sans-serif !important;
}

p {
    font-family: "Lato", sans-serif !important;
}

i {
    color: #193655;
}

.quiz-block {
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: self-start;
    height: 100vh;
    margin: 0;
}

.quiz-container {
    background-color: #fff;
    padding: 40px 40px 10px 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 1290px;
    text-align: center;
    margin-top: 25px;
}

.quiz-logo__desk {
    display: flex;
    align-items: self-start;
    justify-content: space-between;
}

.quiz-logo__mob {
    display: none;
}



.pretitle {
    text-align: left;
    font-size: 32px;
    color: #08121D;
}

.pretitle__bottom {
    font-style: italic;
    font-weight: 400 !important;
    font-size: 20px !important;
    text-align: left !important;
}

#question-container {
    position: relative;
    margin-bottom: 20px;
}

#question-container p {
    font-size: 32px;
    color: #193655;
    margin-top: 50px;
    padding-left: 60px;
    font-weight: 500;
    text-align: left;
}

.answers-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.answer-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    padding: 16px;
    margin: 10px 0;
    border: 1px solid #99A5B2;
    border-radius: 16px;
    background-color: transparent;
    color: #193655;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: background 0.3s, border 0.3s;
    font-size: 22px;
}


.answer-option::before {
    box-sizing: border-box;
    content: '';
    width: 22px;
    height: 22px;
    border: 1px solid #99A5B2;
    border-radius: 50%;
    background: transparent;
    position: absolute;
    right: 16px;
    top: 16px;
}

.answer-option.selected {
    background-color: #193654 !important;
    color: #F8F8F8;
}

.answer-option.selected::before {
    border: 6px solid white;
    background: #193655;
}

.question-number {
    position: absolute;
    left: 0;
    top: 0; 
    border-radius: 50%;
    font-size: 32px;
    color: #193655; 
    font-weight: 500;
    margin-bottom: 10px;
    text-align: left;
}

.answer-option:hover {
    background-color: #e9e9e9;
}

.inputs-container {
    max-width: 600px;
    margin: 0 auto;
}


input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 20px 15px;
    font-size: 16px;
    border: 1px solid #99A5B2;
    border-radius: 8px;
    background: #EEEFF0;
    color: #193655;
    margin-bottom: 20px;
    box-sizing: border-box;

}


.input-container {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
}

.input-container input {
    width: 100%;
    padding: 20px 15px;
    font-size: 16px;
    border: 1px solid #99A5B2;
    border-radius: 8px;
    background: #EEEFF0;
    color: #193655;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    background-color: #193654;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:disabled {
    background: #E4E5E6 !important;
    color: #999DA2 !important;
    cursor: not-allowed;
}

.buttons.block-btn__form {
    width: 600px;
    margin: 0 auto;
}




#prev {
    width: 200px;
    border: 1px solid #193655;
    background: transparent;
    color: #193655;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    line-height: 2;

}

#next {
    width: 200px;
    text-align: center;
    background: #193655;
    align-items: center;
    color: #F8F8F8;
    justify-content: center;
    border-radius: 12px;
    line-height: 2;
}

#submit {
    width: 200px;
    text-align: center;
    background: #193655;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    display: none;
    line-height: 2;
}

#prev img {
    margin-right: 8px;
    margin-top: 3px;
}

#next svg {
    margin-top: 3px;
    margin-left: 8px;
}

#thank-you {
    font-size: 32px;
    color: #08121D;
    margin-top: 20px;
    display: none;
}

.footer__mob {
    display: none;
}

.footer-link {
    display: flex;
    margin-top: 100px;
    color: #193654;
    text-decoration: none;
}

.footer-link p {
    margin-right: 15px;
}

.footer a {
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .quiz-container {
        padding: 20px;
    }

    .quiz-logo__desk {
        display: none;
    }

    .quiz-logo__mob {
        display: block;
    }

    .quiz-logo__mob img {
        width: 100%;
    } 
    .pretitle {
        font-weight: 600;
        font-size: 22px;
        text-align: center;
    }

    .question-number {
        font-size: 18px;
    }

    #question-container p {
        font-size: 18px; 
        padding-left: 40px;
    }

    .answers-container {
        display: block;
    }

    .answer-option {
        padding-right: 35px;
        display: block;
        height: auto;
        font-size: 16px;
        font-weight: 400;
        border-radius: 8px;
        background: #EEEFF0;
    }

    #prev,
    #next,
    #submit {
        width: 150px;
        height: 58px;
        border-radius: 8px;
    }

    .input-container {
        width: 100%;
    }

    .buttons.block-btn__form {
        width: 100%;
    }

    .footer {
        display: none;
    }

    .footer__mob {
        display: block;
        margin-top: 40px;
    }

    .footer-link {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }

    .footer-link img {
        width: 28px;
        margin: 0 auto;
    }
}