.quiz-flow-app {
    font-family: inherit;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    max-width: 720px;
    margin: 0 auto 40px;
}

.quiz-flow-app h2,
.quiz-flow-app h3 {
    margin-top: 0;
}

.quiz-flow-meta {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.quiz-flow-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.quiz-flow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 28px;
    border: none;
    background: rgb(237, 68, 34);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quiz-flow-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.quiz-flow-button:hover:not([disabled]) {
    background: rgba(237, 68, 34, 0.9);
}

.quiz-flow-question {
    margin-bottom: 24px;
}

.quiz-flow-question-form fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.quiz-flow-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.quiz-flow-option:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.quiz-flow-option input {
    margin-top: 3px;
}

.quiz-flow-error {
    color: #b91c1c;
    background: #fee2e2;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
}

.quiz-flow-summary {
    display: grid;
    gap: 16px;
}

.quiz-flow-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quiz-flow-summary li {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
}


.quiz-flow-progress {
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-top: 8px;
}

.quiz-flow-progress span {
    display: block;
    height: 100%;
    background: rgb(237, 68, 34);
}

.quiz-flow-timer {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 16px;
}

.quiz-flow-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #475569;
    font-size: 0.95rem;
}
