.cbse-test-container { max-width: 900px; margin: 40px auto; background: white; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.test-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 30px; display: flex; justify-content: space-between; align-items: center; }
.test-title h2 { font-size: 1.8em; }
.test-timer { display: flex; align-items: center; gap: 10px; font-size: 1.1em; font-weight: 700; }
.questions-container { padding: 30px; max-height: 70vh; overflow-y: auto; }
.question-item { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--border-gray); }
.question-item:last-child { border-bottom: none; }
.question-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 15px; }
.question-text { font-size: 1.1em; font-weight: 600; margin-bottom: 20px; line-height: 1.6; }
.question-meta { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
.meta-badge { display: inline-block; padding: 5px 12px; border-radius: 12px; font-size: 0.85em; font-weight: 600; }
.difficulty-easy { background: rgba(76,175,80,0.2); color: #2e7d32; }
.difficulty-medium { background: rgba(255,152,0,0.2); color: #e65100; }
.difficulty-hard { background: rgba(244,67,54,0.2); color: #c62828; }
.exam-badge { background: rgba(102,126,234,0.2); color: var(--primary); }
.options-list { display: flex; flex-direction: column; gap: 12px; }
.option-item { display: flex; align-items: center; padding: 15px; border: 2px solid var(--border-gray); border-radius: 8px; cursor: pointer; transition: var(--transition); }
.option-item:hover { border-color: var(--primary); background: rgba(102,126,234,0.05); }
.option-item input { width: 20px; height: 20px; margin-right: 15px; cursor: pointer; accent-color: var(--primary); }
.option-item label { flex: 1; cursor: pointer; }
.test-footer { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; background: var(--light-gray); border-top: 1px solid var(--border-gray); }
.test-results { padding: 40px; text-align: center; }
.result-score { font-size: 3em; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.result-status { font-size: 1.5em; margin-bottom: 30px; }
.result-status.passed { color: var(--success); }
.result-status.failed { color: var(--danger); }
.result-details { background: var(--light-gray); padding: 20px; border-radius: 8px; margin: 30px 0; text-align: left; }
.detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-gray); }
.detail-row:last-child { border-bottom: none; }
@media (max-width: 768px) { .test-header { flex-direction: column; gap: 15px; text-align: center; } .questions-container { padding: 20px; } .question-header { flex-direction: column; } }
