/* CSS for JAB Quiz Output (Scoped to .jab-container) */
    body { font-family: -apple-system, sans-serif; background: #f0f2f5; color: #2c3e50; margin: 20px; }
    .jab-container { max-width: 1000px; margin: auto; background: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
    .jab-container h1, .jab-container h2, .jab-container h3, .jab-container h4 { color: #3498db; }
    .jab-container button { background: #3498db; color: white; border: none; padding: 12px 20px; } .jab-container .jab-check-answer-btn { background: #27ae60; }
    .jab-container button:hover { opacity: 0.9; cursor: pointer; }
    .jab-question-block { margin-bottom: 25px; padding: 15px; border: 1px solid #ddd; border-radius: 8px; }
    .jab-question-text { font-size: 1.1em; font-weight: 500; margin-bottom: 10px; }
    .jab-choices-list { display: grid; gap: 8px; }
    .jab-choice { display: block; padding: 12px; border: 1px solid #ddd; border-radius: 6px; cursor: pointer; background: #fdfdfd; transition: background 0.2s ease, border-color 0.2s ease; }
    .jab-choice:hover { background: #f5f5f5; }
    .jab-choice.selected { border-color: #3498db; background: #e8f4fd; box-shadow: 0 0 5px rgba(52, 152, 219, 0.3); }
    .jab-choice.correct { background: #d4edda; border-color: #a2bba8; }
    .jab-choice.incorrect { background: #f8d7da; border-color: #c6a5a8; }
    #jab-score, #jab-resultMessage { font-weight: bold; margin-top: 20px; text-align: center; }
    .jab-navigation-buttons { display: flex; justify-content: space-between; margin-top: 20px; }
    .jab-question-navigation { display: flex; gap: 10px; margin-bottom: 20px; justify-content: center; flex-wrap: wrap; }
    .jab-question-nav-btn { padding: 8px 12px; border: 1px solid #ddd; background: #f9f9f9; cursor: pointer; border-radius: 4px; }
    .jab-question-nav-btn.active { background: #3498db; color: white; border-color: #0266a9; }
    .jab-question-nav-btn:hover:not(.active) { background: #f0f0f0; }
    .jab-progress-bar { height: 8px; background: #f0f0f0; border-radius: 4px; margin: 20px 0; overflow: hidden; }
    .jab-progress { height: 100%; background: #3498db; transition: width 0.3s ease; }
    #jab-restartBtn { margin-top: 20px; display: block; margin-left: auto; margin-right: auto; }
    .jab-answer-feedback { margin-top: 15px; padding: 10px; border-radius: 6px; }
    .jab-correct-feedback { color: #155724; background-color: #d4edda; border: 1px solid #c3e6cb; }
    .jab-incorrect-feedback { color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb; }
    .jab-pass-message { color: #155724; font-weight: bold; margin-top: 15px; }
    .jab-fail-message { color: #721c24; font-weight: bold; margin-top: 15px; }
    .jab-check-answer-btn:hover { background: #219653; }
    .jab-check-answer-btn.gradient:hover { background: linear-gradient(45deg, #219653, #27ae60); }