.examinate-exam-list{list-style:disc;margin-left:1.5em}
.examinate-question{margin-bottom:1em;padding:20px 24px;border:1px solid #ebebeb}
.examinate-result.passed{color:green;font-weight:600}
.examinate-result.failed{color:#c00;font-weight:600}
/* Stronger failed status rules to override theme styles */
.examinate-status-failed,
.examinate-exam-status .examinate-status-failed,
.examinate-um-exams .examinate-status-failed,
.examinate-result.failed {
	color: #c00 !important;
	font-weight: 600 !important;
}

/* Ensure the date inside a failed status is not bold (override theme/parent rules) */
.examinate-status-failed .examinate-status-date {
	font-weight: 400 !important;
}
.examinate-status-passed,
.examinate-exam-status .examinate-status-passed,
.examinate-um-exams .examinate-status-passed,
.examinate-result.passed {
	color: #28a745 !important;
	font-weight: 600 !important;
}

/* Ensure the date inside a passed status is not bold (override theme/parent rules) */
.examinate-status-passed .examinate-status-date {
	font-weight: 400 !important;
}

/* Stronger rules to override themes that style `strong` or set specific colors */
.examinate-um-exams .examinate-status-left .examinate-status-passed,
.examinate-um-exams .examinate-status-left .examinate-status-passed strong,
.examinate-exam-status .examinate-status-passed,
.examinate-status-passed {
	color: #28a745 !important;
}
.examinate-status-passed strong {
	font-weight: 700 !important;
	text-transform: uppercase !important;
	color: #28a745 !important;
}
.examinate-status-passed .examinate-status-date {
	font-weight: 400 !important;
	color: inherit !important;
}
.examinate-um-exams p,
.examinate-exam-status p {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 1rem !important;
}

.examinate-status-left {
	flex: 1 1 auto !important;
	text-align: left !important;
}

.examinate-retake-exam{
	float: none !important;
	margin-left: 1rem !important;
	display: inline-block !important;
	font-size: 16px !important;
	color: #ffffff !important;
	background-color: #4058af !important;
	padding: 10px 25px !important;
	text-align: center !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	border-radius: 5px !important;
	border: none !important;
}

/* Style the Take exam link to match the Retake button */
.examinate-take-exam{
	display: inline-block !important;
	font-size: 16px !important;
	color: #ffffff !important;
	background-color: #4058af !important;
	padding: 10px 25px !important;
	text-align: center !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	border-radius: 5px !important;
	border: none !important;
}
.examinate-take-exam:hover,
.examinate-retake-exam:hover{
	opacity: 0.95 !important;
}

/* Make inline/injected exam containers responsive and fit their parent */
.examinate-inline-exam,
.examinate-exam-single,
.examinate-exam-footer-inject {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	margin: 0 0 1rem 0 !important;
}

/* Ensure the form and its inner elements don't overflow and stretch to container */
.examinate-exam-form {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}
.examinate-question { padding: 20px 24px !important; }
.examinate-question fieldset { border: none !important; padding: 0 !important; margin: 0 !important; }
.examinate-question p { margin: 0.35rem 0 !important; }
.examinate-question label { display: block !important; width: 100% !important; box-sizing: border-box !important; }
.examinate-question input[type="text"], .examinate-question textarea, .examinate-question select { width: 100% !important; box-sizing: border-box !important; }
.examinate-question input[type="radio"] { margin-right: 0.5rem !important; }

/* Position navigation inside questions: keep Previous at left and push Next/Submit to the right */
.examinate-question-nav {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
}
.examinate-question-nav .examinate-next,
.examinate-question-nav #examinate_submit_exam {
	margin-left: auto !important;
}

/* Keep results and messages responsive */
#examinate_exam_result { width: 100% !important; box-sizing: border-box !important; }

/* Radio button color (modern browsers) */
input[type="radio"] {
	accent-color: #4058af !important;
}

/* Style inline exam navigation buttons to match the primary blue button */
.examinate-next,
.examinate-prev,
#examinate_submit_exam {
	display: inline-block !important;
	font-size: 16px !important;
	color: #ffffff !important;
	background-color: #4058af !important;
	padding: 10px 25px !important;
	text-align: center !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	border-radius: 5px !important;
	border: none !important;
	cursor: pointer !important;
}

.examinate-prev { background-color: #6c79c9 !important; }
.examinate-um-exams p{margin:0 0 0.75em}

/* Expiry line styling (green, date not bold) */
.examinate-exam-expiry {
	display: block !important;
	color: #28a745 !important;
	margin-top: 4px !important;
	font-size: 0.98em !important;
	/* Make the 'Valid Until' line take a full row inside the flex container used by UM rows */
	flex-basis: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
}
.examinate-exam-expiry .examinate-status-expiry-date {
	font-weight: 400 !important;
	color: inherit !important;
}
.examinate-exam-expiry--warning {
	color: #ffb020 !important; /* amber */
}
.examinate-exam-expiry--warning .examinate-status-expiry-date {
	font-weight: 400 !important;
	color: inherit !important;
}
/* Expired state: red text for clearly invalid/expired certificates */
.examinate-exam-expiry--expired {
	color: #c00 !important;
}
.examinate-exam-expiry--expired .examinate-status-expiry-date {
	font-weight: 400 !important;
	color: inherit !important;
}

/* Animation for injected inline exam form */

