.blank-input {
    outline: 3px solid var(--first-color);
    outline-offset: 0;
}

.hint {
    display: none;
    font-size: 20px;
    margin: 0 10px;
}

.feedback {
    display: none;
    font-weight: bold;
    text-align: center;
    font-size: 20px;
}

.quiz-success {
    text-align: center;
    display: none;
}

.quiz-result {
    margin: 10px 0;
    background: #fff;
    border-radius: 15px;
    border: 2px solid var(--first-color);
    color: #000;
    padding: 10px;
    text-align: center;
    line-height: 1.75;
}

.quiz-result p .score {
    font-size: 17px;
    font-weight: bold;
    color: green;
}

.quiz-success .checkmark {
    font-size: 50px;
    color: #5aff5a;
    display: block;
}

.quiz-success p {
    font-size: 20px;
    color: #5aff5a;
    margin: 0 0 10px 0!important;
}

.blank-input {
    border-bottom: 2px solid #000;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-top: none;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 17px;
    margin: 0 10px;
    width: 150px;
}

.btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.btn-container button {
    width: 100%;
}

.start-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #FFFFFF;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 10px 20px;
    min-width: 200px;
    font-size: 20px;
    margin: 0 auto;
    cursor: pointer;
}

.time-elapsed {
    margin: 0 10px;
}

audio::-webkit-media-controls-enclosure {
    overflow: hidden !important;
}

audio::-webkit-media-controls-download-button {
    display: none !important;
}

audio::-webkit-media-controls-panel {
    display: flex !important;
    justify-content: space-between !important;
}

.widget-box {
    position: relative;
    border: 1px solid;
    padding: 15px;
    border-radius: 20px;
}

.widget-box h3 {
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 20px;
}

.widget-box button {
    border-radius: 20px;
    padding: 10px;
    border: 1px solid #fff;
    font-size: 20px;
    cursor: pointer;
}

.widget-box button:not(:disabled):hover {
    background: var(--first-color);
    transition: 0.3s;
    color: #fff;
}

.widget-box button:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
    transition: none;
}

.widget-box .timer {
    font-size: 17px;
}

.widget-box .question-container,
.widget-box .sentence-container {
    flex-direction: column;
    gap: 10px;
}

.widget-box .question-text,
.widget-box .sentence-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    background: #fff;
    padding: 20px 10px;
    border-radius: 15px;
    border: 2px solid var(--first-color);
    color: #000;
    line-height: normal;
}

.widget-box .question-text img,
.widget-box .sentence-text img {
    width: 200px;
    border-radius: 15px;
    box-shadow: 0 0 10px #00000017;
}

.widget-box .question-text .filled-option-cart {
    border: 2px solid var(--first-color);
    border-radius: 15px;
    padding: 5px;
    cursor: pointer;
}

.completion-checkmark {
    position: absolute;
    top: 8px;
    left: 8px;
}

.review-answers-button,
.next-question-button,
.prev-question-button {
    background-color: var(--first-color);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1em;
}

.review-answers-button:hover,
.next-question-button:hover,
.prev-question-button:hover {
    background-color: var(--first-color);
}

.next-question-button:disabled,
.prev-question-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.close-review-button {
    width: fit-content;
    font-size: 15px!important;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-review-button:hover {
    background: rgba(255, 255, 255, 0.1)!important;
}

.widget-box button svg {
    width: 24px;
    height: 24px;
}

.correct-answer-section {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.correct-answer {
    color: #5aff5a;
}

.view-correct-answer {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 10px;
}

pre.widget {
    overflow-x: auto;
}

pre code {
    padding: 0!important;
}

.code-runner-container pre code {
    padding: 16px!important;
}

@media only screen and (max-width: 800px) {
    .blank-input {
        font-size: 15px;
        width: 80px;
        margin: 0 5px;
    }

    .feedback {
        font-size: 17px;
    }

    .hint {
        font-size: 17px;
    }

    .widget-box {
        padding: 10px;
    }

    .widget-box button {
        font-size: 17px;
    }

    .widget-box .timer {
        font-size: 15px;
    }

    .widget-box h3 {
        font-size: 15px;
    }

    .widget-box .question-text,
    .widget-box .sentence-text {
        gap: 5px;
        padding: 20px 10px;
        font-size: 15px;
    }
}