.selection-info.success { color: #00ff41; } .radio-group { display: flex; flex-direction: column; gap: 8px; } .radio-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: 8px; cursor: pointer; transition: border-color 0.2s, background 0.2s; } .radio-option:hover { border-color: #00ff41; background: #f8f9ff; } .radio-option input[type="radio"] { accent-color: #00ff41; width: 18px; height: 18px; } .radio-option input[type="radio"]:checked + span { color: #00ff41; font-weight: 600; } /* Modal Overlay */ .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000; justify-content: center; align-items: center; padding: 20px; } .modal-overlay.active { display: flex; } .modal { background: white; border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); max-width: 500px; width: 100%; max-height: 80vh; display: flex; flex-direction: column; } .modal-header { padding: 24px 24px 16px; border-bottom: 1px solid #e0e0e0; } .modal-header h2 { margin-bottom: 0; color: #00ff41; } .modal-body { padding: 16px 24px; overflow-y: auto; flex: 1; } .modal-footer { padding: 16px 24px; border-top: 1px solid #e0e0e0; display: flex; gap: 12px; justify-content: flex-end; } .lesson-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid #e0e0e0; border-radius: 8px; margin-bottom: 8px; cursor: pointer; transition: border-color 0.2s, background 0.2s; } .lesson-item:hover { border-color: #00ff41; background: #f8f9ff; } .lesson-item.selected { border-color: #00ff41; background: #e8f0fe; } .lesson-item input[type="checkbox"] { accent-color: #00ff41; width: 18px; height: 18px; flex-shrink: 0; } .lesson-details { flex: 1; } .lesson-name { font-weight: 600; color: #00ff41; font-size: 15px; } .lesson-subtitle { color: #00cc33; font-size: 13px; margin-top: 2px; } .lesson-count { color: #00ff41; font-weight: 600; font-size: 14px; flex-shrink: 0; } .loading-spinner { text-align: center; padding: 40px; color: #00cc33; } .error-message { text-align: center; padding: 20px; color: #ff3333; font-weight: 600; } /* Quiz screen */ .progress-bar { width: 100%; height: 8px; background: #e0e0e0; border-radius: 4px; margin-bottom: 8px; overflow: hidden; } .progress-fill { height: 100%; background: #00ff41; border-radius: 4px; transition: width 0.3s ease; } .progress-text { text-align: center; color: #00cc33; font-size: 14px; margin-bottom: 24px; } .question-label { text-align: center; color: #00cc33; font-size: 14px; margin-bottom: 8px; } .question-word { text-align: center; font-size: 32px; font-weight: 700; color: #001100; margin-bottom: 24px; } .answer-input { width: 100%; padding: 14px 16px; font-size: 18px; border: 2px solid #e0e0e0; border-radius: 8px; outline: none; transition: border-color 0.2s; } .answer-input:focus { border-color: #00ff41; } .answer-input.correct { border-color: #00ff41; background: #f0faf4; } .answer-input.wrong { border-color: #ff3333; background: #fef0ef; } .feedback { text-align: center; margin-top: 16px; font-size: 16px; font-weight: 600; min-height: 24px; } .feedback.correct { color: #00ff41; } .feedback.wrong { color: #ff3333; } .button-row { display: flex; gap: 12px; margin-top: 20px; } .button-row .btn { flex: 1; } /* Results */ .result-summary { text-align: center; padding: 24px; background: #f8f9fa; border-radius: 8px; margin-bottom: 24px; } .result-score { font-size: 48px; font-weight: 700; color: #00ff41; } .result-label { color: #00cc33; margin-top: 4px; } .wrong-list { margin-bottom: 24px; } .wrong-list h3 { margin-bottom: 12px; color: #ff3333; } .wrong-item { display: flex; justify-content: space-between; padding: 10px 14px; background: #fef0ef; border-radius: 6px; margin-bottom: 6px; font-size: 15px; } .wrong-item .given { color: #ff3333; font-size: 13px; } .screen { display: none; } .screen.active { display: block; } .spacer { height: 12px; }