body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

#exam-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: bold;
    color: #555;
}

#question-area {
    margin-bottom: 30px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

#question-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

#options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    background-color: #e9e9e9;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.option-label:hover {
    background-color: #dcdcdc;
}

.option-label.selected {
    background-color: #cce0ff;
    border: 1px solid #007bff;
}

.option-label input[type="radio"], 
.option-label input[type="checkbox"] {
    margin-right: 10px;
}

#feedback-area {
    margin-top: 20px;
    padding: 15px;
    background-color: #e0ffe0;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    text-align: left;
}

#correct-answer {
    font-weight: bold;
    color: #28a745;
}

#explanation {
    font-size: 0.9em;
    color: #666;
}

#navigation-buttons button,
#start-screen button,
#end-screen button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin: 5px;
    transition: background-color 0.2s ease;
}

#navigation-buttons button:hover,
#start-screen button:hover,
#end-screen button:hover {
    background-color: #0056b3;
}

#end-exam-btn {
    background-color: #dc3545;
}

#end-exam-btn:hover {
    background-color: #c82333;
}

#next-question-btn {
    margin-top: 15px;
    background-color: #28a745;
}

#next-question-btn:hover {
    background-color: #218838;
}

#end-screen {
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: left;
}

#end-screen h2 {
    text-align: center;
    color: #333;
}

#review-area {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.review-question {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.review-question p {
    margin: 5px 0;
}

.review-question .question-text {
    font-weight: bold;
    color: #333;
}

.review-question .user-choice {
    color: #007bff;
}

.review-question .correct-answer-review {
    color: #28a745;
    font-weight: bold;
}

.review-question .incorrect-answer-review {
    color: #dc3545;
    font-weight: bold;
}

.review-question .explanation-review {
    font-size: 0.9em;
    color: #666;
    border-top: 1px dashed #eee;
    padding-top: 10px;
    margin-top: 10px;
}

.review-question.correct {
    border-color: #28a745;
}

.review-question.incorrect {
    border-color: #dc3545;
}
