/* Quiz Answer Choice Component - Used in both SAT and Math Quiz */

html {
    margin-top: 0 !important;
}

/* Answer Row */
.answer-row {
    display: flex;
    align-items: center;
}

.answer-choice {
    flex: 1;
    position: relative;
    width: 100%;
    transition: width var(--transition-base);
}

.choice-label-right {
    font-weight: bold;
    color: var(--text-black);
    margin-right: 15px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 50%;
    border: 1px solid var(--text-black);
    font-size: var(--font-size-sm);
    margin-left: 20px;
}

.choice-label-right.hidden {
    display: flex;
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
}

.answer-choice.active-line::before {
    border-top: 1.5px solid var(--text-black);
    content: "";
    left: -8px;
    opacity: 0.8;
    pointer-events: none;
    position: absolute;
    right: -8px;
    top: 50%;
    height: 0;
}

.answer-choice.eliminated {
    opacity: 0.6;
}

.answer-choice.eliminated::before {
    border-top: 1.5px solid var(--text-black);
    content: "";
    left: -8px;
    opacity: 0.8;
    pointer-events: none;
    position: absolute;
    right: -8px;
    top: 50%;
    height: 0;
}

.answer-choice.eliminated + .choice-label-right {
    text-decoration: line-through;
}

.question-btn.bookmarked-btn {
    background: #ffe066 !important;
    color: #b8860b !important;
}

/* Ưu tiên màu vàng khi vừa bookmarked vừa answered */
.question-btn.bookmarked-btn.answered {
    background: #ffe066 !important;
    color: #b8860b !important;
}

.question-btn.answered {
    background: #334cc7 !important;
    color: var(--text-white) !important;
}

.colour_line_container {
    align-items: center;
    bottom: 0;
    display: flex;
    height: 2px;
    left: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    gap: 0.1%;
}

.colour_line_container-top {
    top: 0;
}

.colorline-container {
    display: flex;
    gap: 0.3%;
    height: 3px;
    line-height: 0;
    margin-bottom: 3%;
    margin-top: 0;
}

.colour_line_container span,
.colorline-container span {
    flex: 1 1 0;
    width: auto !important;
    margin-right: 0 !important;
    display: block;
}

