/* quiz path — intro on a solid band with rising bars, questions one at a time in a card */
.quiz-path__bars {
    height: 70%;
    width: 50%;
    padding-right: 2rem;
}

.quiz-path__bar {
    flex: 1 1 0;
    height: 30%;
}

.quiz-path__bar:nth-child(2) { height: 38%; }
.quiz-path__bar:nth-child(3) { height: 34%; }
.quiz-path__bar:nth-child(4) { height: 48%; }
.quiz-path__bar:nth-child(5) { height: 56%; }
.quiz-path__bar:nth-child(6) { height: 68%; }
.quiz-path__bar:nth-child(7) { height: 82%; }
.quiz-path__bar:nth-child(8) { height: 100%; }

.quiz-path__track {
    height: 0.5rem;
}

.quiz-path__fill {
    width: 0;
    transition: width 300ms ease;
}

.quiz-path__option {
    transition: transform 150ms ease;
}

.quiz-path__option:hover {
    transform: scale(1.02);
}

.quiz-path__option:has(.quiz-path__radio:checked) {
    border-width: 2px;
    border-style: solid;
    border-color: currentColor;
}

.quiz-path__radio {
    flex: none;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
}

.quiz-path__next:disabled {
    cursor: not-allowed;
}

.quiz-path__start {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 1023px) {
    .quiz-path__bars {
        display: none;
    }
}

