/* Quiz Styles
 * @package Amiy Child
 * @since 1.0.0
 */

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.quiz-question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--wdtBodyBGColor);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quiz-question h3 {
    color: var(--wdtPrimaryColor);
    margin-bottom: 1rem;
}

.quiz-answers {
    list-style: none;
    padding: 0;
}

.quiz-answer-item {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--wdtBorderColor);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-answer-item:hover {
    background: var(--wdtPrimaryColorRgb);
    color: white;
}

.quiz-answer-item.selected {
    background: var(--wdtPrimaryColor);
    color: white;
}

.quiz-progress {
    margin: 2rem 0;
    text-align: center;
}

.quiz-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--wdtBorderColor);
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--wdtPrimaryColor);
    transition: width 0.3s ease;
}

.quiz-navigation {
    margin-top: 2rem;
    text-align: center;
}

.quiz-navigation button {
    padding: 1rem 2rem;
    background: var(--wdtPrimaryColor);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-navigation button:hover {
    background: var(--wdtPrimaryColorRgb);
    opacity: 0.9;
}

.quiz-results {
    text-align: center;
    padding: 2rem;
    background: var(--wdtBodyBGColor);
    border-radius: 8px;
    margin-top: 2rem;
}

.quiz-results h2 {
    color: var(--wdtPrimaryColor);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .quiz-container {
        padding: 1rem;
    }
    
    .quiz-question {
        padding: 1rem;
    }
    
    .quiz-answer-item {
        padding: 0.75rem;
    }
    
    .quiz-navigation button {
        width: 100%;
        margin: 0.5rem 0;
    }
}
