/* Contextual Quiz System Styles */

/* Intro Section */
.contextual-quiz-intro {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border: 2px solid #93c5fd;
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  text-align: center;
}

.quiz-intro-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.contextual-quiz-intro h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.contextual-quiz-intro p {
  font-size: 16px;
  color: #475569;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.quiz-intro-progress {
  max-width: 400px;
  margin: 0 auto;
}

.quiz-intro-progress-bar {
  background: #e0e7ff;
  height: 12px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quiz-intro-progress-fill {
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  height: 100%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
}

.quiz-intro-progress-text {
  font-size: 14px;
  color: #1e293b;
  font-weight: 600;
}

/* Inline Question Styles */
.contextual-quiz-question {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 100px;
}

.quiz-progress {
  margin-bottom: 20px;
}

.quiz-progress-bar {
  background: #e2e8f0;
  height: 8px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 8px;
}

.quiz-progress-fill {
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  height: 100%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
}

.quiz-progress-text {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}

.contextual-quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.contextual-quiz-badge {
  background: #3b82f6;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contextual-quiz-answered-badge {
  background: #10b981;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.contextual-quiz-unanswered-badge {
  background: #f59e0b;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.contextual-quiz-question-text {
  font-size: 19px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.contextual-quiz-context {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  margin: 0 0 20px 0;
  font-size: 14px;
  color: #78350f;
  border-radius: 6px;
}

.contextual-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.contextual-quiz-option {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  position: relative;
}

.contextual-quiz-option:not(.answered):hover {
  border-color: #3b82f6;
  background: #eff6ff;
  transform: scale(1.02);
}

.contextual-quiz-option input[type="radio"] {
  margin: 0 12px 0 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #3b82f6;
}

.contextual-quiz-option-text {
  flex: 1;
  font-size: 16px;
  color: #1e293b;
  line-height: 1.5;
}

/* Correct/Incorrect States */
.contextual-quiz-option-correct {
  border-color: #10b981 !important;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
  animation: correctPulse 0.5s ease;
  pointer-events: none;
}

.contextual-quiz-option-correct::after {
  content: '✓';
  position: absolute;
  right: 16px;
  background: #10b981;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.contextual-quiz-option-incorrect {
  border-color: #ef4444 !important;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
  animation: incorrectShake 0.5s ease;
  pointer-events: none;
}

.contextual-quiz-option-incorrect::after {
  content: '×';
  position: absolute;
  right: 16px;
  background: #ef4444;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.contextual-quiz-option-correct-reveal {
  border-color: #10b981 !important;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  pointer-events: none;
}

.contextual-quiz-option-correct-reveal::after {
  content: '✓';
  position: absolute;
  right: 16px;
  background: #10b981;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  opacity: 0.8;
}

/* Feedback */
.contextual-quiz-feedback {
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  animation: slideDown 0.3s ease;
}

.contextual-quiz-feedback-correct {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #10b981;
}

.contextual-quiz-feedback-incorrect {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #ef4444;
}

.contextual-quiz-feedback-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.contextual-quiz-feedback-correct .contextual-quiz-feedback-icon {
  background: #10b981;
}

.contextual-quiz-feedback-incorrect .contextual-quiz-feedback-icon {
  background: #ef4444;
}

.contextual-quiz-feedback-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contextual-quiz-feedback-correct .contextual-quiz-feedback-title {
  color: #065f46;
}

.contextual-quiz-feedback-incorrect .contextual-quiz-feedback-title {
  color: #991b1b;
}

.contextual-quiz-feedback-explanation {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

/* Action Buttons */
.contextual-quiz-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.contextual-quiz-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contextual-quiz-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
}

.contextual-quiz-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.contextual-quiz-btn-secondary {
  background: white;
  color: #475569;
  border: 2px solid #cbd5e1;
}

.contextual-quiz-btn-secondary:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  color: #3b82f6;
}

.contextual-quiz-btn-skip {
  background: #f1f5f9;
  color: #64748b;
  border: 2px solid #e2e8f0;
}

.contextual-quiz-btn-skip:hover {
  background: #e2e8f0;
  color: #475569;
}

.contextual-quiz-btn-continue {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.contextual-quiz-btn-continue:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

/* Final Summary */
.contextual-quiz-summary {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.contextual-quiz-summary-incomplete {
  max-width: 600px;
  margin: 0 auto;
}

.summary-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.contextual-quiz-summary h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px 0;
}

.contextual-quiz-summary p {
  font-size: 16px;
  color: #475569;
  margin: 0 0 24px 0;
}

.unanswered-questions {
  background: #fef3c7;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  padding: 20px;
  margin-top: 24px;
}

.unanswered-questions h4 {
  font-size: 16px;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 16px 0;
}

.unanswered-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.unanswered-question-link {
  background: white;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #78350f;
  font-weight: 600;
  transition: all 0.2s;
}

.unanswered-question-link:hover {
  background: #fffbeb;
  transform: translateX(4px);
}

/* Results Display */
.contextual-quiz-results {
  max-width: 700px;
  margin: 0 auto;
}

.quiz-results-icon {
  font-size: 80px;
  margin-bottom: 16px;
  animation: scaleIn 0.5s ease;
}

.contextual-quiz-results h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 24px 0;
}

.quiz-score-display {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border: 2px solid #93c5fd;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.quiz-score-number {
  font-size: 64px;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1;
}

.quiz-score-details {
  font-size: 16px;
  color: #64748b;
  margin-top: 8px;
}

.quiz-results-message {
  font-size: 18px;
  color: #475569;
  line-height: 1.7;
  margin: 24px 0;
}

/* Share Section */
.quiz-share-section {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  margin: 32px 0;
}

.quiz-share-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 16px 0;
}

.quiz-name-input {
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  margin-bottom: 12px;
  font-family: inherit;
}

.quiz-name-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quiz-share-output {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border: 2px solid #10b981;
  border-radius: 8px;
}

.quiz-share-success {
  color: #10b981;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 16px;
}

.quiz-share-url {
  width: 100%;
  padding: 12px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  margin-bottom: 12px;
  background: #f8fafc;
}

.quiz-share-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Social share buttons */
.contextual-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-width: 2px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-left: 10px;
  padding-right: 12px;
  line-height: 1.4;
}

/* Icon enhancement - targets first character (emoji) */
.contextual-social-btn::first-letter {
  font-size: 1.2em;
  font-weight: 600;
  margin-right: -1px;
  display: inline-block;
  transform: translateX(-0.33px);
}

.contextual-social-x { border-color: #1D9BF0; color: #0f172a; }
.contextual-social-linkedin { border-color: #0A66C2; color: #0f172a; }
.contextual-social-facebook { border-color: #1877F2; color: #0f172a; }
.contextual-social-reddit { border-color: #FF4500; color: #0f172a; }
.contextual-social-whatsapp { border-color: #25D366; color: #0f172a; }
.contextual-social-telegram { border-color: #229ED9; color: #0f172a; }
.contextual-social-hn { border-color: #FF6600; color: #0f172a; }

.contextual-social-btn:hover {
  transform: translateY(-1px);
}

.quiz-review-toggle {
  margin-top: 24px;
}

/* Shared Banner */
.contextual-quiz-shared-banner {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border: 2px solid #93c5fd;
  border-radius: 10px;
  padding: 32px;
  margin: 0 0 32px 0;
  position: relative;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
  animation: slideDown 0.5s ease;
}

.quiz-shared-content {
  display: flex;
  gap: 24px;
  align-items: center;
}

.quiz-shared-icon {
  font-size: 64px;
  flex-shrink: 0;
}

.quiz-shared-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.quiz-shared-score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.quiz-shared-percentage {
  font-size: 32px;
  font-weight: 700;
  color: #3b82f6;
}

.quiz-shared-details {
  font-size: 16px;
  color: #64748b;
}

.quiz-shared-message {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.quiz-shared-challenge {
  font-size: 16px;
  color: #1e293b;
  font-weight: 600;
  margin: 0;
}

.quiz-shared-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
}

.quiz-shared-close:hover {
  background: #f1f5f9;
  color: #1e293b;
  transform: rotate(90deg);
}

/* Toast */
.contextual-quiz-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.contextual-quiz-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes correctPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes incorrectShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Review Section */
.quiz-review-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #e2e8f0;
}

.quiz-review-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 24px 0;
  text-align: center;
}

.review-question {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.review-question.review-correct {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.review-question.review-incorrect {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.review-question h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px 0;
}

.review-user-answer {
  font-size: 15px;
  color: #374151;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-check {
  color: #10b981;
  font-size: 20px;
  font-weight: 700;
}

.review-cross {
  color: #ef4444;
  font-size: 20px;
  font-weight: 700;
}

.review-correct-answer {
  font-size: 15px;
  color: #374151;
  margin: 8px 0;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10b981;
  border-radius: 4px;
}

.review-explanation {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 12px 0 0 0;
  padding: 12px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 6px;
  border-left: 3px solid #cbd5e1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contextual-quiz-intro {
    padding: 18px;
    margin: 20px 0;
    text-align: left;
  }

  .quiz-intro-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }

  .contextual-quiz-intro h3 {
    font-size: 20px;
  }

  .contextual-quiz-intro p {
    font-size: 15px;
    line-height: 1.5;
  }

  .quiz-intro-progress {
    width: 100%;
  }

  .quiz-intro-progress-text {
    font-size: 13px;
  }

  .contextual-quiz-question {
    padding: 16px;
    margin: 24px 0;
  }

  .contextual-quiz-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .contextual-quiz-question-text {
    font-size: 17px;
  }

  .contextual-quiz-context {
    font-size: 13px;
    padding: 10px 12px;
  }

  .contextual-quiz-option {
    padding: 12px 14px;
    padding-right: 50px;
  }

  .contextual-quiz-option-text {
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
  }

  /* Mobile icon adjustments for correct/incorrect states */
  .contextual-quiz-option-correct::after,
  .contextual-quiz-option-incorrect::after {
    width: 24px;
    height: 24px;
    font-size: 16px;
    right: 14px;
  }

  .contextual-quiz-option-correct-reveal::after {
    width: 22px;
    height: 22px;
    font-size: 14px;
    right: 14px;
  }

  .contextual-quiz-feedback {
    padding: 16px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .contextual-quiz-feedback-icon {
    width: 32px;
    height: 32px;
    font-size: 20px;
    margin-bottom: 4px;
  }

  .contextual-quiz-actions {
    flex-direction: column;
    gap: 10px;
  }

  .contextual-quiz-actions .contextual-quiz-btn {
    width: 100%;
  }

  .contextual-quiz-summary {
    padding: 24px;
    margin: 30px 0;
  }

  .summary-icon {
    font-size: 52px;
  }

  .contextual-quiz-summary h3 {
    font-size: 22px;
  }

  .contextual-quiz-summary p {
    font-size: 15px;
  }

  .unanswered-questions {
    padding: 16px;
  }

  .quiz-shared-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .quiz-shared-icon {
    font-size: 48px;
  }

  .quiz-shared-text h2 {
    font-size: 18px;
  }

  .quiz-share-actions {
    flex-direction: column;
  }

  .quiz-share-actions .contextual-quiz-btn {
    width: 100%;
  }

  .contextual-quiz-toast {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }

  .review-question h4 {
    font-size: 15px;
  }

  .review-user-answer,
  .review-correct-answer {
    font-size: 14px;
  }

  .review-explanation {
    font-size: 13px;
  }

  /* Mobile-optimized quiz results */
  .quiz-results-icon {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .contextual-quiz-results h2 {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .quiz-score-display {
    padding: 16px;
    margin: 16px 0;
  }

  .quiz-score-number {
    font-size: 48px;
  }

  .quiz-score-details {
    font-size: 14px;
  }

  .quiz-results-message {
    font-size: 15px;
    line-height: 1.6;
    margin: 16px 0;
  }
}

@media (max-width: 480px) {
  .contextual-quiz-intro {
    padding: 16px;
    border-radius: 10px;
  }

  .contextual-quiz-intro h3 {
    font-size: 19px;
  }

  .contextual-quiz-question {
    padding: 14px;
  }

  .contextual-quiz-question-text {
    font-size: 16px;
  }

  .contextual-quiz-option {
    padding: 10px 12px;
    padding-right: 46px;
  }

  .contextual-quiz-option-text {
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
  }

  /* Extra small mobile icon adjustments */
  .contextual-quiz-option-correct::after,
  .contextual-quiz-option-incorrect::after {
    width: 22px;
    height: 22px;
    font-size: 14px;
    right: 12px;
  }

  .contextual-quiz-option-correct-reveal::after {
    width: 20px;
    height: 20px;
    font-size: 12px;
    right: 12px;
  }

  .contextual-quiz-feedback {
    padding: 14px;
    gap: 10px;
  }

  .contextual-quiz-feedback-title {
    font-size: 16px;
  }

  .contextual-quiz-feedback-explanation {
    font-size: 13px;
  }

  .contextual-quiz-summary {
    padding: 20px;
  }

  .quiz-intro-progress-text {
    font-size: 12px;
  }

  .contextual-quiz-toast {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  /* Extra small mobile - quiz results */
  .quiz-results-icon {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .contextual-quiz-results h2 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .quiz-score-display {
    padding: 12px;
    margin: 12px 0;
  }

  .quiz-score-number {
    font-size: 40px;
  }

  .quiz-score-details {
    font-size: 13px;
  }

  .quiz-results-message {
    font-size: 14px;
    line-height: 1.5;
    margin: 12px 0;
  }

  .quiz-share-section {
    padding: 16px;
    margin: 20px 0;
  }

  .quiz-share-section h3 {
    font-size: 17px;
  }
}

/* IMPORTANT: Center align questions, left align answers in summary section */
.unanswered-questions-section h4.contextual-quiz-question-text,
#unanswered-questions-container h4.contextual-quiz-question-text,
div[id^="summary-question-"] h4.contextual-quiz-question-text,
.contextual-quiz-summary-incomplete h4.contextual-quiz-question-text {
  text-align: center !important;
}

.unanswered-questions-section .contextual-quiz-option-text,
#unanswered-questions-container .contextual-quiz-option-text,
div[id^="summary-question-"] .contextual-quiz-option-text,
.contextual-quiz-summary-incomplete .contextual-quiz-option-text {
  text-align: left !important;
}
