/* Add to existing styles or modify as needed */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 700px; /* Slightly narrower for single question view */
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    text-align: center;
    margin-bottom: 20px;
}

button {
    padding: 10px 15px; /* Adjusted padding */
    background-color: #007bff; /* Changed default color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px; /* Spacing for multiple buttons */
}
button:hover {
    background-color: #0056b3;
}
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#start-exam-btn, #resume-exam-btn, #start-new-exam-after-results-btn {
    display: block; /* Make these take full width in their context */
    margin: 15px auto;
    background-color: #5cb85c;
}
#start-exam-btn:hover, #resume-exam-btn:hover, #start-new-exam-after-results-btn:hover {
    background-color: #4cae4c;
}


#status-message, #loading-message {
    text-align: center;
    font-style: italic;
    color: #777;
    margin-bottom: 15px;
}

#question-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#question-display { /* For single question */
    min-height: 150px; /* Ensure space even if question is short */
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

#question-display h4 {
    margin-top: 0;
}

#question-display label {
    display: block;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
#question-display label:hover {
    background-color: #e9ecef;
}
#question-display input[type="radio"] {
    margin-right: 10px;
    vertical-align: middle;
}
#question-display input[type="radio"]:checked + span {
    font-weight: bold;
}


.navigation-buttons {
    text-align: center;
    margin-top: 20px;
}

#review-summary .review-item {
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
}
#review-summary .review-item.answered {
    background-color: #e6f7ff; /* Light blue for answered */
}
#review-summary .review-item.unanswered {
    background-color: #fff0f0; /* Light red for unanswered */
    border-left: 3px solid #dc3545;
}


.result-item {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}
.result-item.correct {
    background-color: #e6ffe6;
    border-left: 5px solid #28a745;
}
.result-item.incorrect {
    background-color: #ffe6e6;
    border-left: 5px solid #dc3545;
}
.result-item p { margin: 5px 0; }
.explanation { font-size: 0.9em; color: #555; margin-top: 5px; padding-left: 10px; border-left: 2px solid #eee; }

/* style.css */

/* ... your existing styles ... */

#start-exam-btn, #resume-exam-btn, #start-new-exam-after-results-btn, #go-to-home-btn { /* Added #go-to-home-btn here */
    display: block; 
    margin: 15px auto; /* Keeps them centered and spaced */
}

/* Keep specific styles for start new exam button if they exist */
#start-exam-btn:hover, #resume-exam-btn:hover, #start-new-exam-after-results-btn:hover {
    background-color: #4cae4c; /* Green hover */
}

/* Style for the new go-to-home button (example: a secondary color) */
#go-to-home-btn {
    background-color: #6c757d; /* A grey color, for example */
}
#go-to-home-btn:hover {
    background-color: #5a6268;
}

#go-to-home-btn {
    background-color: #6c757d; /* A grey color, for example */
}
#go-to-home-btn:hover {
    background-color: #5a6268;
}

/* Style for the go-to-note link to resemble a blue button */
#go-to-note-link {
    padding: 10px 15px;        /* Consistent with button padding */
    background-color: #007bff; /* Blue background (same as default button) */
    color: white;              /* White text (same as default button) */
    border: none;              /* No border (same as default button) */
    border-radius: 5px;        /* Rounded corners (same as default button) */
    font-size: 16px;           /* Consistent font size with buttons */
    text-decoration: none;     /* Remove hyperlink underline */
    text-align: center;        /* Center text within the link */
}

#go-to-note-link:hover {
    background-color: #0056b3; /* Darker blue on hover (same as default button:hover) */
}