.quiz-v2 {
    width: 100%;
}
.quiz-v2-pages {
    width: 100%;
    overflow-x: scroll;
    position: relative;
}
.quiz-v2-pages:has(.quiz-v2-fullscreen-modal2.visible) {
    overflow-x: hidden;
}
.quiz-v2-page {
    overflow: hidden;
    width: 930px;
    border-radius: 16px;
    position: relative;
}
.quiz-v2-page-bg {
    display: block;
    width: 100%;
    max-width: unset !important;
}
.quiz-v2-page-container {
    position: absolute;
    inset: 0;
    padding: 16px;
}
.quiz-v2-controls {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
}
.quiz-v2-controls-left,
.quiz-v2-controls-right {
    display: flex;
    gap: 16px;
}
.quiz-v2-controls-small {
    box-sizing: border-box;
    background-color: #41c4bb;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    height: 58px;
    cursor: pointer;
}
.quiz-v2-controls-small.disabled {
    background-color: #d3d3d3;
    pointer-events: none;
}
.quiz-v2-controls-check {
    height: 58px;
    font-size: 32px;
    padding: 0 32px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #09205c;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-family: PT Root UI;
}
.quiz-v2-controls-exit {
    height: 58px;
    font-size: 20px;
    padding: 0 16px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #007fff;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-family: PT Root UI;
}
.quiz-v2-question-title {
    font-weight: 700;
    font-family: PT Root UI;
    font-size: 28px;
    margin-bottom: 16px;
}
.quiz-v2-question-answers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.quiz-v2-question-answer {
    display: flex;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}
.quiz-v2-question-answer-input {
    display: none;
}
.quiz-v2-question-answer-checkbox.unchecked {
    display: block;
}
.quiz-v2-question-answer-checkbox.checked {
    display: none;
}
.quiz-v2-question-answer:has(.quiz-v2-question-answer-input:checked)
    .quiz-v2-question-answer-checkbox.unchecked {
    display: none;
}
.quiz-v2-question-answer:has(.quiz-v2-question-answer-input:checked)
    .quiz-v2-question-answer-checkbox.checked {
    display: block;
}
.quiz-v2-fullscreen-modal,
.quiz-v2-fullscreen-modal2 {
    display: none;
}
@media (max-width: 769px) {
    .quiz-v2 {
        position: relative;
    }
    .quiz-v2-controls {
        margin-top: 8px;
    }
    .quiz-v2-controls-left,
    .quiz-v2-controls-right {
        gap: 8px;
    }
    .quiz-v2-controls-small {
        height: 48px;
        padding: 0 20px;
    }
    .quiz-v2-controls-check {
        height: 48px;
        font-size: 20px;
        padding: 0 20px;
    }
    .quiz-v2-controls-exit {
        height: 48px;
    }
    .quiz-v2-question-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    .quiz-v2-question-answers,
    .quiz-v2-question-answer {
        gap: 8px;
    }
    .quiz-v2-fullscreen-modal {
        display: block;
        position: absolute;
        inset: 0;
        background-color: #151a2099;
    }
    .quiz-v2-fullscreen-modal-container {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }
    .quiz-v2-fullscreen-modal-button {
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 50px;
        padding: 0 34px;
        gap: 10px;
        background-color: #fff;
        box-shadow: 0 3.84px 15.36px #1042750f;
        border-radius: 100000px;
        color: #000;
        transition:
            background-color 0.2s,
            color 0.2s;
        font-family: PT Root UI;
        font-weight: 600;
        cursor: pointer;
    }
    .quiz-v2-fullscreen-modal-button:hover,
    .quiz-v2-fullscreen-modal-button:active {
        background-color: #000;
        color: #fff;
    }
    .quiz-v2-fullscreen-modal-text {
        font-family: PT Root UI;
        font-weight: 400;
        text-align: center;
        color: #fff;
    }
    .quiz-v2-fullscreen-modal2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        position: absolute;
        inset: 0;
        background-color: #151a2099;
        font-family: PT Root UI;
        font-weight: 400;
        text-align: center;
        color: #fff;
    }
    section.content:has(.quiz-v2), section.content:has(.quiz-v2) > .content-left {
        padding: 0;
        width: 100vw;
        max-width: 100vw;
    }
}
