Chapter 6: Sequences & Series Mastery

:root {
–primary: #1E3A8A; –primary-hover: #1e40af; –background: #F3F4F6;
–surface: #FFFFFF; –text-main: #1F2937; –text-muted: #6B7280;
–success: #10B981; –success-light: #D1FAE5; –danger: #EF4444;
–danger-light: #FEE2E2; –border: #E5E7EB;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: ‘Segoe UI’, system-ui, sans-serif; }
body { background-color: var(–background); color: var(–text-main); display: flex; justify-content: center; padding: 15px; }
.quiz-container { width: 100%; max-width: 850px; background: var(–surface); border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); overflow: hidden; display: flex; flex-direction: column; }
header { background: var(–primary); color: white; padding: 1.5rem; text-align: center; }
header h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.mode-toggle { display: flex; justify-content: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.1); padding: 0.5rem; border-radius: 8px; width: fit-content; margin: 0 auto; }
.mode-btn { background: transparent; color: white; border: none; padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-weight: 600; transition: 0.3s; }
.mode-btn.active { background: white; color: var(–primary); }
.progress-container { background: var(–border); height: 6px; width: 100%; }
.progress-bar { height: 100%; background: var(–success); width: 0%; transition: 0.3s; }
.content-area { padding: 2rem; max-width: 100%; }
.question-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; color: var(–text-muted); font-size: 0.9rem; font-weight: 600; }
.meta-tag { background: #E0E7FF; color: var(–primary); padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; }
.question-text { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; }
.options-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.btn-container { display: flex; justify-content: flex-end; gap: 1rem; flex-wrap: wrap; }
.btn { background: var(–primary); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn:hover:not(:disabled) { background: var(–primary-hover); }
.btn:disabled { background: var(–text-muted); cursor: not-allowed; }
#results-area, #review-area { display: none; text-align: center; }
.score-display { font-size: 4rem; font-weight: bold; color: var(–primary); margin: 1rem 0; }
.explanation-box { display: none; background: #F8FAFC; border-left: 4px solid var(–primary); padding: 1.25rem; margin-bottom: 1.5rem; border-radius: 0 8px 8px 0; }
.speed-tip { margin-top: 12px; padding: 10px; background: #FFFBEB; border-radius: 6px; border-left: 4px solid #F59E0B; font-size: 0.9rem; color: #0F172A; }
/* CRITICAL ELEMENTOR & MATHJAX OVERRIDES */
.elementor-widget-html, .elementor-widget-container { overflow: visible !important; contain: none !important; }
.option { display: flex !important; align-items: center !important; min-height: min-content !important; padding: 12px 10px !important; border: 2px solid var(–border); border-radius: 8px; cursor: pointer; transition: 0.2s; overflow: visible !important; }
.option:hover:not(.disabled) { border-color: var(–primary); background: #F8FAFC; }
.option.correct { border-color: var(–success); background: var(–success-light); }
.option.wrong { border-color: var(–danger); background: var(–danger-light); }
.option-letter { flex-shrink: 0 !important; margin-right: 12px; font-weight: bold; background: var(–border); width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
mjx-container, mjx-math { line-height: normal !important; overflow: visible !important; padding: 0.2em 0 !important; display: inline-block !important; vertical-align: middle !important; white-space: nowrap !important; }
@media (min-width: 640px) { .options-grid { grid-template-columns: 1fr 1fr; } }



Explanation:

Quiz Complete!

0 /