/* Nur für den Quiz-Builder (quiz-builder.html). */

/* Farbbalken: wie lange ist das Thema her (zusätzlich steht der Text im title und im Screenreader-Text) */
.practiced-bar {
    display: inline-block;
    width: 60px;
    height: 8px;
    border-radius: 4px;
}

.practiced-bar.practiced-today {
    background-color: var(--color-success);
}

.practiced-bar.practiced-recent {
    background-color: #5f9a10;
}

.practiced-bar.practiced-medium {
    background-color: #f0ad4e;
}

.practiced-bar.practiced-old {
    background-color: #c4701f;
}

.practiced-bar.practiced-never {
    background-color: #9a9a9a;
}

.quiz-setup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-setup-actions button,
.quiz-setup-actions .button-link {
    width: 100%;
}

.question-count-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: var(--color-card);
    color: #444;
    font-size: 0.9rem;
}

.question-count-label select {
    width: auto;
    min-width: 5rem;
}

.next-btn {
    margin-top: 1rem;
}

/* Liste der Übungen unter der Themenauswahl */
#exerciseListBlock {
    margin-top: 1.5rem;
}

ul.exercise-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

ul.exercise-list li {
    margin: 0;
    padding: 0;
}

.exercise-list .exercise-open {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    text-align: left;
}

.exercise-list .exercise-open .small-hint {
    flex-basis: 100%;
    margin: 0;
}

/* Suchfeld über der Themenliste */
.module-filter {
    margin-bottom: 2rem;
}

.module-filter input {
    width: 100%;
}
