body {
	font-family: sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 20px;
	background-color: #f4f4f4;
	color: #333;
}

.container {
	max-width: 800px;
	margin: 20px auto;
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

h1,
h2,
h3 {
	text-align: center;
	color: #0056b3; /* Dark blue */
	margin-bottom: 20px;
}

.controls {
	text-align: center;
	margin-bottom: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px; /* Space between buttons and timer */
}

.btn {
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1em;
	transition: background-color 0.3s ease;
}

.btn:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.btn-start {
	background-color: #28a745; /* Green */
	color: white;
}
.btn-start:hover:not(:disabled) {
	background-color: #218838;
}

.btn-pause {
	background-color: #ffc107; /* Yellow */
	color: #333;
}
.btn-pause:hover:not(:disabled) {
	background-color: #e0a800;
}

.btn-finish {
	background-color: #dc3545; /* Red */
	color: white;
}
.btn-finish:hover:not(:disabled) {
	background-color: #c82333;
}

.btn-nav {
	background-color: #007bff; /* Blue */
	color: white;
}
.btn-nav:hover:not(:disabled) {
	background-color: #0056b3;
}

.timer-display {
	font-size: 1.1em;
	font-weight: bold;
	color: #555;
	background-color: #e9ecef;
	padding: 8px 15px;
	border-radius: 5px;
	min-width: 100px; /* Ensure it has some width */
	text-align: center;
}

#examArea {
	border: 1px solid #ddd;
	padding: 20px;
	margin-top: 20px;
	border-radius: 8px;
	background-color: #fdfdfd;
}

#questionContainer {
	margin-bottom: 25px;
}

#questionNumber {
	font-size: 1.2em;
	color: #555;
	margin-bottom: 5px;
}

#questionText {
	font-size: 1.1em;
	margin-bottom: 10px;
	font-weight: bold;
}

.theme-text {
	font-size: 0.9em;
	color: #777;
	display: block; /* Ensure it takes its own line */
}

.options label {
	display: block;
	margin-bottom: 12px;
	padding: 10px;
	border: 1px solid #eee;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.options label:hover {
	background-color: #f0f8ff; /* Light blue on hover */
}

.options input[type="radio"] {
	margin-right: 10px;
	vertical-align: middle; /* Align radio button nicely with text */
}

.options span {
	vertical-align: middle;
}

.navigation {
	margin-top: 25px;
	display: flex;
	justify-content: space-between;
}

#resultsArea {
	margin-top: 30px;
	border: 1px solid #ddd;
	padding: 20px;
	border-radius: 8px;
	background-color: #fdfdfd;
}

#score {
	font-size: 1.4em;
	font-weight: bold;
	text-align: center;
	margin-bottom: 25px;
}

#detailedResults {
	list-style: none;
	padding: 0;
}

#detailedResults li {
	border-bottom: 1px solid #eee;
	padding: 15px 0;
	margin-bottom: 15px;
}

#detailedResults li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

#detailedResults strong {
	display: block;
	margin-bottom: 5px;
	color: #333;
}

#detailedResults p {
	margin: 5px 0;
	font-size: 0.95em;
}

.correct-answer {
	background-color: #d4edda; /* Light green */
	border-left: 5px solid #28a745; /* Green */
	padding-left: 10px;
	border-radius: 4px;
}

.incorrect-answer {
	background-color: #f8d7da; /* Light red */
	border-left: 5px solid #dc3545; /* Red */
	padding-left: 10px;
	border-radius: 4px;
}

.correct-answer .user-answer,
.incorrect-answer .user-answer {
	font-weight: bold;
}

.correct-answer .correct-ans-text,
.incorrect-answer .correct-ans-text {
	color: #155724; /* Darker green for correct answer text */
	font-weight: bold;
}

.incorrect-answer .correct-ans-text {
	color: #721c24; /* Darker red for correct answer text when user was wrong */
}

.user-answer-none {
	font-style: italic;
	color: #888;
}

.main-nav {
	background-color: #0056b3; /* Dark blue from your theme */
	color: white;
	padding: 10px 20px;
	margin-bottom: 20px; /* Space below nav */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
	max-width: 900px; /* Or your preferred max-width */
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-brand {
	font-size: 1.2em;
	font-weight: bold;
}

.nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px; /* Space between links */
}

.nav-link {
	color: white;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
	/* You can add 'active' class via JS if needed, or style based on current page */
	background-color: #00418a; /* Slightly darker blue on hover */
}
