/* Keeping existing styles */
body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
}

#quizContainer {
    max-width: 800px;
    margin: 0 auto;
}

.display-number,
.choice-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
}

.choice-text {
    display: inline-block;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: left;
    flex-grow: 1;
}

.form-check-label {
    display: flex;
    align-items: flex-start;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.display-number {
    margin-right: 0.5rem;
}

.form-check {
    margin-bottom: 16px;
}

#protectedContent {
    display: none;
}

.question.card {
    border: 0;
}

.question.card.p-4 {
    padding: 0 !important;
}

.feedback {
    margin-top: 16px;
    padding: 16px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

/* New styles for answer choice feedback */
.form-check-label.correct {
    background-color: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #155724;
}

.form-check-label.incorrect {
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #721c24;
}

.form-check-label.unselected {
    opacity: 0.7;
}

/* Correct answer indicator */
.form-check-label.correct::after {
    content: "✓";
    margin-left: auto;
    color: #28a745;
    font-weight: bold;
}

.form-check-label.incorrect::after {
    content: "×";
    margin-left: auto;
    color: #dc3545;
    font-weight: bold;
}

#submitButton {
    width: 100%;
    margin-bottom: 1rem;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 800px;
    padding: 0 1rem;
}

.navigation-buttons .btn {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation-buttons .btn.btn-secondary {
    width: 120px;
}

.navigation-buttons .btn.btn-primary {
    flex: 1;
}

.card-title {
    margin-bottom: 16px;
}