/* Main Quiz Container */
.mwtsu-quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Quiz Header */
.quiz-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.quiz-header h1 {
    margin: 0 0 1rem;
    color: #2b6cb0;
}

.quiz-description {
    color: #4a5568;
    line-height: 1.6;
}

/* Question Styling */
.quiz-question {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid #4299e1;
}

.question-header {
    margin-bottom: 1rem;
}

.question-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #4a5568;
}

.question-text {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2d3748;
}

/* Question Options */
.question-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.question-option {
    margin-bottom: 0.5rem;
}

.question-option label {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.question-option label:hover {
    background: #ebf8ff;
    border-color: #bee3f8;
}

.question-option input[type="radio"] {
    margin-right: 1rem;
}

/* Quiz Actions */
.quiz-actions {
    margin-top: 2rem;
    text-align: center;
}

.quiz-actions .button {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Results Page Styles */
.mwtsu-quiz-results {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.results-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.results-score {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
}

.results-status {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.results-status.passed {
    background: #c6f6d5;
    color: #22543d;
}

.results-status.failed {
    background: #fed7d7;
    color: #822727;
}

/* Results Details */
.results-details {
    margin-top: 2rem;
}

.results-details h2 {
    margin: 0 0 1.5rem;
    color: #2b6cb0;
    font-size: 1.5rem;
}

.result-question {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid;
}

.result-question.correct {
    background: #f0fff4;
    border-left-color: #48bb78;
}

.result-question.incorrect {
    background: #fff5f5;
    border-left-color: #f56565;
}

.question-text {
    font-weight: 500;
    margin-bottom: 1rem;
}

.user-answer,
.correct-answer,
.question-explanation {
    margin: 0.5rem 0;
    display: flex;
    gap: 0.5rem;
}

.user-answer .label,
.correct-answer .label,
.question-explanation .label {
    font-weight: 600;
    color: #4a5568;
}

.user-answer .answer {
    color: #2d3748;
}

.correct-answer .answer {
    color: #2f855a;
    font-weight: 500;
}

.question-explanation .explanation {
    flex: 1;
    color: #4a5568;
    line-height: 1.6;
}

/* Results Actions */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.results-actions .button {
    padding: 0.75rem 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mwtsu-quiz-container,
    .mwtsu-quiz-results {
        padding: 1.5rem;
    }
    
    .results-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .button {
        width: 100%;
        text-align: center;
    }
}

/* Quiz Notices */
.mwtsu-alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.mwtsu-alert-warning {
    background: #fffaf0;
    border-left-color: #dd6b20;
    color: #9c4221;
}

.mwtsu-alert-error {
    background: #fff5f5;
    border-left-color: #f56565;
    color: #c53030;
}

.mwtsu-alert-info {
    background: #ebf8ff;
    border-left-color: #4299e1;
    color: #2b6cb0;
}