/* General Quiz Container */
.excel-quiz-container {
    font-family: 'Segoe UI', sans-serif;
    max-width: 850px;
    margin: 20px auto;
    background-color: transparent;
}
.quiz-title {
    text-align: center;
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
    padding-bottom: 6px;
}
.quiz-content-area {
    min-height: 400px; /* To prevent layout shift */
}
.question-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}
.question-card p {
    font-weight: bold;
    margin: 0 0 25px 0;
    text-align: left; /* Aligned left for better readability */
    font-size: 22px;
    color: #333;
    line-height: 1.4;
}
.question-card .options-container {
    display: flex;
    flex-direction: column;
}
.question-card label {
    display: flex;
    align-items: center;
    margin: 8px 0;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 17px;
    position: relative;
}
.question-card label:hover {
    background-color: #f0f8ff;
    border-color: #3498db;
}
.question-card label strong {
    margin-right: 10px;
    color: #3498db;
}
.question-card input[type="radio"] {
    margin-right: 15px;
    min-width: 1.15em;
    height: 1.15em;
}

/* Answer Styles */
.correct-answer {
    background-color: #d4edda !important;
    border-color: #28a745 !important;
    color: #155724;
    font-weight: 500;
}
.wrong-answer {
    background-color: #f8d7da !important;
    border-color: #dc3545 !important;
    color: #721c24;
    font-weight: 500;
}
.correct-answer::after, .wrong-answer::after {
    font-weight: bold;
    font-size: 1.3em;
    position: absolute; right: 20px; top: 50%;
    transform: translateY(-50%);
}
.correct-answer::after { content: '✔'; color: #28a745; }
.wrong-answer::after { content: '✖'; color: #dc3545; }

.solution {
    font-size: 16px; color: #2c3e50; margin-top: 20px; padding: 12px;
    background-color: #eef3f8; border-left: 4px solid #3498db; border-radius: 4px;
    line-height: 1.6;
}

/* Batch Navigation (New Styles) */
.quiz-batch-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.batch-counter {
    font-size: 18px; font-weight: 600; color: #2c3e50;
}
.quiz-batch-navigation button {
    padding: 10px 20px; background-color: #3498db; color: white; border: none;
    border-radius: 8px; font-weight: 500; font-size: 16px; cursor: pointer;
    transition: background-color 0.2s;
}
.quiz-batch-navigation button:hover:not(:disabled) { background-color: #2980b9; }
.quiz-batch-navigation button:disabled { background-color: #bdc3c7; cursor: not-allowed; }