/* --- Main Quiz Container --- */
.quiz-v2-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 1px solid #b3e5fc;
    border-radius: 8px;
    padding: 20px;
    max-width: 700px;
    margin: 20px auto;
    background-color: #e3f2fd; /* Light Blue Background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quiz-v2-loader { text-align: center; padding: 40px; font-size: 1.2em; color: #555; }
.quiz-v2-title { margin-top: 0; margin-bottom: 10px; font-size: 1.8em; color: #333; text-align: center; }
.quiz-v2-timer-wrapper { text-align: center; font-size: 1.1em; color: #e63946; font-weight: bold; margin-bottom: 25px; background-color: rgba(255, 255, 255, 0.7); padding: 8px; border-radius: 5px; }

/* --- Questions Area --- */
.quiz-v2-question-block { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #b3e5fc; }
.quiz-v2-question-block:last-child { border-bottom: none; margin-bottom: 0; }
.quiz-v2-question-text { font-size: 1.2em; margin-bottom: 15px; color: #444; line-height: 1.5; }
.quiz-v2-options-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz-v2-option-btn { width: 100%; padding: 12px 15px; font-size: 1em; text-align: left; background-color: #f8f9fa; border: 1px solid #ced4da; border-radius: 5px; cursor: pointer; transition: all 0.2s ease-in-out; color: #212529; }
.quiz-v2-option-btn:hover { background-color: #e9ecef; border-color: #adb5bd; transform: translateY(-2px); }

/* --- Explanation ki Styling --- */
.quiz-v2-explanation { margin-top: 15px; padding: 12px; background-color: #ffffff; border-left: 4px solid #0288d1; font-size: 0.95em; border-radius: 0 4px 4px 0; }
.explanation-title { color: red; font-weight: bold; display: block; margin-bottom: 5px; }
.explanation-text { color: black; margin: 0; padding: 0; line-height: 1.6; }

/* --- Answer Feedback --- */
.quiz-v2-option-btn.correct { background-color: #28a745; color: white; border-color: #28a745; }
.quiz-v2-option-btn.incorrect { background-color: #dc3545; color: white; border-color: #dc3545; }
.quiz-v2-question-block.answered .quiz-v2-option-btn { cursor: not-allowed; opacity: 0.7; }
.quiz-v2-question-block.answered .quiz-v2-option-btn:hover { transform: none; }
.quiz-v2-question-block.answered .quiz-v2-option-btn.correct, .quiz-v2-question-block.answered .quiz-v2-option-btn.incorrect { opacity: 1; }

/* --- Submit Button ki Styling --- */
.quiz-v2-submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    background-color: #0277bd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}
.quiz-v2-submit-btn:hover { background-color: #01579b; }

/* --- Score Area aur Share Buttons ki Styling --- */
.quiz-v2-final-score-area { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 2px solid #81d4fa; }
.quiz-v2-final-score-area h3 { font-size: 2em; color: #01579b; }
.quiz-v2-score-display { font-size: 1.5em; margin: 20px 0; font-weight: bold; }
.quiz-v2-share-buttons { margin-top: 25px; }
.quiz-v2-social-btn { display: inline-block; padding: 10px 20px; margin: 5px; border-radius: 5px; text-decoration: none; color: white; font-weight: bold; border: none; font-size: 1em; cursor: pointer; transition: background-color 0.2s; }
.quiz-v2-social-btn.share { background-color: #0d6efd; } /* Generic Share button */
.quiz-v2-social-btn.facebook { background-color: #1877F2; }
.quiz-v2-social-btn.whatsapp { background-color: #25D366; }
.quiz-v2-social-btn:hover { opacity: 0.9; }

/* --- Responsive Design --- */
@media (max-width: 600px) {
    .quiz-v2-options-container { grid-template-columns: 1fr; }
    .quiz-v2-title { font-size: 1.5em; }
}