/**
 * Public styles for Holographic Training LMS Pro.
 */

.hcd-message,
.hcd-notice,
.hcd-policy-notice {
	border: 1px solid #dcdcde;
	margin: 16px 0;
	padding: 12px 16px;
}

.hcd-message-notice,
.hcd-notice {
	background: #f6f7f7;
}

.hcd-message-success {
	background: #edfaef;
	border-color: #68de7c;
}

.hcd-message-error {
	background: #fcf0f1;
	border-color: #d63638;
}

.hcd-form {
	margin: 20px 0;
}

.hcd-form p {
	margin: 0 0 16px;
}

.hcd-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.hcd-form input[type="text"],
.hcd-form input[type="email"],
.hcd-form input[type="password"],
.hcd-form input[type="number"],
.hcd-form input[type="url"],
.hcd-form textarea,
.hcd-form select {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

.hcd-form input[type="checkbox"],
.hcd-form input[type="radio"] {
	margin-right: 8px;
}

.hcd-form input[type="checkbox"] + label,
.hcd-form input[type="radio"] + label,
.hcd-form label input[type="checkbox"],
.hcd-form label input[type="radio"] {
	display: inline-block;
	font-weight: 400;
}

.hcd-button,
.hcd-button:visited {
	background: #111827;
	border: 1px solid #111827;
	color: #fff !important;
	display: inline-block;
	line-height: 1.2;
	margin: 4px 8px 4px 0;
	padding: 10px 16px;
	text-decoration: none;
}

.hcd-button:hover,
.hcd-button:focus {
	background: #1f2937;
	border-color: #1f2937;
	color: #fff !important;
	text-decoration: none;
}

.hcd-button-secondary,
.hcd-button-secondary:visited {
	background: #fff;
	border-color: #111827;
	color: #111827 !important;
}

.hcd-button-secondary:hover,
.hcd-button-secondary:focus {
	background: #f6f7f7;
	color: #111827 !important;
}

.hcd-table {
	border-collapse: collapse;
	margin: 20px 0;
	width: 100%;
}

.hcd-table th,
.hcd-table td {
	border: 1px solid #dcdcde;
	padding: 10px;
	text-align: left;
	vertical-align: top;
}

.hcd-table th {
	background: #f6f7f7;
	font-weight: 700;
}

.hcd-card,
.hcd-course-card,
.hcd-dashboard-section,
.hcd-corporate-section,
.hcd-checkout-summary,
.hcd-coupon-box,
.hcd-module-discussion,
.hcd-protected-downloads {
	border: 1px solid #dcdcde;
	margin: 20px 0;
	padding: 20px;
}

.hcd-card h3,
.hcd-course-card h2,
.hcd-dashboard-section h3,
.hcd-corporate-section h3,
.hcd-checkout-summary h3,
.hcd-coupon-box h3 {
	margin-top: 0;
}

.hcd-dashboard-summary,
.hcd-corporate-summary {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 20px 0;
}

.hcd-course-list {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 20px 0;
}

.hcd-course-card {
	margin: 0;
}

.hcd-course-price,
.hcd-module-price {
	font-weight: 700;
}

.hcd-course-actions,
.hcd-module-actions {
	margin-top: 20px;
}

.hcd-module-list,
.hcd-lesson-list,
.hcd-discussion-list {
	margin-left: 22px;
}

.hcd-module-list-item,
.hcd-lesson-list-item {
	margin-bottom: 100px;
}

.hcd-discussion-post {
	margin-bottom: 20px;
}

.hcd-price-spacer {
	height: 50px;
}

.hcd-locked-label {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	display: inline-block;
	padding: 6px 10px;
}

.hcd-progress-bar {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	height: 22px;
	margin: 12px 0;
	overflow: hidden;
	width: 100%;
}

.hcd-progress-bar-fill {
	background: #111827;
	height: 100%;
	min-width: 0;
}

.hcd-progress-text {
	margin: 0 0 16px;
}

.hcd-quiz-question,
.hcd-response-block {
	border: 1px solid #dcdcde;
	margin: 16px 0;
	padding: 16px;
}

.hcd-quiz-question {
	background: #fbfaf7;
	border: 1px solid #A10707;
	box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
	padding: 28px;
}

.hcd-quiz-form .hcd-quiz-question + .hcd-quiz-question {
	margin-top: 100px;
}

.hcd-quiz-question-text {
	color: #800000;
	font-size: 1.1rem;
	line-height: 1.45;
	margin: 0 0 40px;
}

.hcd-quiz-question label {
	align-items: flex-start;
	background: #ffffff;
	border: 1px solid #ead8d8;
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	gap: 12px;
	line-height: 1.5;
	margin: 0 0 14px;
	padding: 14px 16px;
}

.hcd-quiz-question label:hover {
	border-color: #A10707;
}

.hcd-quiz-question input[type="radio"],
.hcd-quiz-question input[type="checkbox"] {
	margin-top: 4px;
}

/* Child-friendly assessment and final exam screens. */
.hcd-assessment-form,
.hcd-final-exam-form {
	background: linear-gradient(135deg, #fff7d6 0%, #eaf7ff 48%, #f5eaff 100%);
	border: 2px solid #d8c4ff;
	border-radius: 24px;
	box-shadow: 0 16px 38px rgba(17, 24, 39, 0.12);
	box-sizing: border-box;
	color: #07182f;
	margin: 0 auto 80px;
	max-width: 1180px;
	padding: 42px;
	width: 100%;
}

.hcd-child-friendly-assessment-intro {
	background: linear-gradient(135deg, #ffe9f1 0%, #e8f8ff 50%, #efffe5 100%);
	border: 1px solid #A10707;
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.10);
	box-sizing: border-box;
	margin: 0 0 70px;
	padding: 34px;
	width: 100%;
}

.hcd-child-friendly-assessment-intro .hcd-assessment-eyebrow {
	color: #800000;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.hcd-child-friendly-assessment-intro h2 {
	color: #003366;
	font-size: clamp(1.8rem, 4vw, 3.2rem);
	line-height: 1.15;
	margin: 0 0 24px;
}

.hcd-assessment-no-timer,
.hcd-assessment-timer {
	background: #fff8cf;
	border: 1px solid #A10707;
	border-radius: 18px;
	box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
	box-sizing: border-box;
	margin: 28px 0;
	padding: 20px 24px;
	width: 100%;
}

.hcd-assessment-timer-label {
	color: #800000;
	font-weight: 800;
	letter-spacing: 0.04em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.hcd-assessment-timer-value {
	color: #003366;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 8px;
}

.hcd-assessment-timer-status,
.hcd-assessment-timer-expired {
	margin: 0;
}

.hcd-assessment-form .hcd-question-block,
.hcd-final-exam-form .hcd-question-block {
	background: linear-gradient(135deg, #ffffff 0%, #f3fbff 100%);
	border: 1px solid #A10707;
	border-radius: 22px;
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.10);
	box-sizing: border-box;
	margin: 0 0 70px;
	padding: 34px;
	width: 100%;
}

.hcd-assessment-form .hcd-question-block:nth-of-type(odd),
.hcd-final-exam-form .hcd-question-block:nth-of-type(odd) {
	background: linear-gradient(135deg, #fff8dc 0%, #f5edff 100%);
}

.hcd-assessment-form .hcd-question-block h3,
.hcd-final-exam-form .hcd-question-block h3 {
	align-items: center;
	color: #800000;
	display: flex;
	font-size: 1.35rem;
	gap: 10px;
	margin: 0 0 24px;
}

.hcd-assessment-form .hcd-question-block h3::before,
.hcd-final-exam-form .hcd-question-block h3::before {
	content: '⭐';
	font-size: 1.25rem;
}

.hcd-assessment-form .hcd-question-text,
.hcd-final-exam-form .hcd-question-text {
	color: #07182f;
	font-size: 1.08rem;
	line-height: 1.65;
	margin: 0 0 30px;
}

.hcd-assessment-form .hcd-answer-option,
.hcd-final-exam-form .hcd-answer-option {
	align-items: flex-start;
	background: #fffdf3;
	border: 2px solid #003366;
	border-radius: 16px;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	font-weight: 700;
	gap: 14px;
	line-height: 1.55;
	margin: 0 0 16px;
	padding: 16px 18px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
	width: 100%;
}

.hcd-assessment-form .hcd-answer-option:hover,
.hcd-final-exam-form .hcd-answer-option:hover,
.hcd-assessment-form .hcd-answer-option:focus-within,
.hcd-final-exam-form .hcd-answer-option:focus-within {
	border-color: #A10707;
	box-shadow: 0 8px 20px rgba(161, 7, 7, 0.14);
	transform: translateY(-1px);
}

.hcd-assessment-form .hcd-answer-option input[type="checkbox"],
.hcd-final-exam-form .hcd-answer-option input[type="checkbox"],
.hcd-assessment-form .hcd-answer-option input[type="radio"],
.hcd-final-exam-form .hcd-answer-option input[type="radio"] {
	flex: 0 0 auto;
	margin: 5px 0 0;
	min-height: 18px;
	min-width: 18px;
}

.hcd-assessment-form textarea.large-text,
.hcd-final-exam-form textarea.large-text {
	background: #fffdf3;
	border: 2px solid #003366;
	border-radius: 16px;
	box-sizing: border-box;
	font-size: 1rem;
	line-height: 1.6;
	max-width: 100%;
	padding: 16px;
	width: 100%;
}

.hcd-assessment-form > p:last-child,
.hcd-final-exam-form > p:last-child {
	margin-top: 40px;
}

.hcd-assessment-form .hcd-button[type="submit"],
.hcd-final-exam-form .hcd-button[type="submit"] {
	background: #A10707;
	border: 1px solid #A10707;
	border-radius: 14px;
	box-shadow: 0 8px 18px rgba(161, 7, 7, 0.22);
	color: #ffffff !important;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	padding: 16px 28px;
}

.hcd-assessment-form .hcd-button[type="submit"]:disabled,
.hcd-final-exam-form .hcd-button[type="submit"]:disabled {
	background: #a8a8a8;
	border-color: #a8a8a8;
	box-shadow: none;
	cursor: not-allowed;
}

.hcd-quiz-form > p:last-child {
	margin-top: 40px;
}

.hcd-quiz-form .hcd-button[type="submit"] {
	background: #A10707;
	border: 1px solid #A10707;
	border-radius: 10px;
	box-shadow: 0 6px 14px rgba(161, 7, 7, 0.22);
	color: #ffffff !important;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 14px 26px;
}

.hcd-quiz-form .hcd-button[type="submit"]:hover,
.hcd-quiz-form .hcd-button[type="submit"]:focus {
	background: #800000;
	border-color: #800000;
	color: #ffffff !important;
}

.hcd-quiz-form .hcd-button[type="submit"]:disabled {
	background: #a7a7a7;
	border-color: #a7a7a7;
	box-shadow: none;
	cursor: not-allowed;
}

.hcd-lesson-video {
	margin: 20px 0;
}

.hcd-lesson-video video {
	height: auto;
	max-width: 100%;
	width: 100%;
}

.hcd-protected-downloads ul {
	margin-left: 22px;
}

.hcd-inline-form {
	display: inline-block;
	margin: 0;
}

.hcd-discussion-post {
	border-bottom: 1px solid #dcdcde;
	list-style-position: outside;
	padding-bottom: 16px;
}

.hcd-discussion-post-meta {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 8px;
}

.hcd-discussion-post-text p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 900px) {
	.hcd-dashboard-summary,
	.hcd-corporate-summary,
	.hcd-course-list {
		grid-template-columns: 1fr;
	}

	.hcd-table {
		display: block;
		overflow-x: auto;
	}

	.hcd-discussion-post-meta {
		display: block;
	}

	.hcd-button {
		display: block;
		text-align: center;
	}
}
.hcd-learner-account {
	color: #111827;
}

.hcd-page-header {
	background: #f9fafb;
	border: 1px solid #dcdcde;
	margin: 0 0 24px;
	padding: 24px;
}

.hcd-page-header h2,
.hcd-page-header p:last-child {
	margin-bottom: 0;
}

.hcd-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.hcd-stat-card .hcd-stat-number {
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	margin: 8px 0 0;
}

.hcd-status-badge {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 999px;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	padding: 5px 10px;
}

.hcd-status-active,
.hcd-status-valid,
.hcd-status-completed,
.hcd-status-passed,
.hcd-status-certified {
	background: #edfaef;
	border-color: #68de7c;
}

.hcd-status-failed,
.hcd-status-invalid,
.hcd-status-revoked {
	background: #fcf0f1;
	border-color: #d63638;
}

.hcd-status-in_progress,
.hcd-status-started,
.hcd-status-assigned {
	background: #fff8e5;
	border-color: #dba617;
}

.hcd-responsive-table {
	max-width: 100%;
	overflow-x: auto;
}

.hcd-progress-meter {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(120px, 1fr) auto;
	min-width: 180px;
}

.hcd-progress-meter .hcd-progress-bar {
	margin: 0;
}

.hcd-certificate-result {
	background: #fff;
}

.hcd-account-profile .hcd-form,
.hcd-certificate-verify .hcd-form,
.hcd-corporate-assign-form {
	background: #fff;
	border: 1px solid #dcdcde;
	padding: 20px;
}

.hcd-dashboard-section,
.hcd-corporate-section,
.hcd-card,
.hcd-course-card,
.hcd-checkout-summary,
.hcd-coupon-box,
.hcd-module-discussion,
.hcd-protected-downloads {
	background: #fff;
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

.hcd-dashboard-summary,
.hcd-corporate-summary {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hcd-table a,
.hcd-certificates a,
.hcd-invoices a {
	font-weight: 700;
}

@media screen and (max-width: 900px) {
	.hcd-page-header,
	.hcd-card,
	.hcd-course-card,
	.hcd-dashboard-section,
	.hcd-corporate-section,
	.hcd-checkout-summary,
	.hcd-coupon-box,
	.hcd-module-discussion,
	.hcd-protected-downloads,
	.hcd-account-profile .hcd-form,
	.hcd-certificate-verify .hcd-form,
	.hcd-corporate-assign-form {
		padding: 16px;
	}

	.hcd-table th,
	.hcd-table td {
		white-space: nowrap;
	}

	.hcd-progress-meter {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 600px) {
	.hcd-page-header h2 {
		font-size: 24px;
	}

	.hcd-form input[type="text"],
	.hcd-form input[type="email"],
	.hcd-form input[type="password"],
	.hcd-form input[type="number"],
	.hcd-form input[type="url"],
	.hcd-form textarea,
	.hcd-form select,
	.hcd-button {
		font-size: 16px;
	}

	.hcd-stat-card .hcd-stat-number {
		font-size: 28px;
	}
}

.hcd-learner-account .hcd-button,
.hcd-order-history .hcd-button,
.hcd-invoices .hcd-button,
.hcd-corporate-dashboard .hcd-button {
	background: var(--hcd-primary, #111827);
	border-color: var(--hcd-primary, #111827);
	border-radius: var(--hcd-radius, 0);
}

.hcd-learner-account .hcd-button:hover,
.hcd-learner-account .hcd-button:focus,
.hcd-order-history .hcd-button:hover,
.hcd-order-history .hcd-button:focus,
.hcd-invoices .hcd-button:hover,
.hcd-invoices .hcd-button:focus,
.hcd-corporate-dashboard .hcd-button:hover,
.hcd-corporate-dashboard .hcd-button:focus {
	background: var(--hcd-secondary, #1f2937);
	border-color: var(--hcd-secondary, #1f2937);
}

.hcd-learner-account .hcd-card,
.hcd-learner-account .hcd-dashboard-section,
.hcd-corporate-dashboard .hcd-card,
.hcd-corporate-dashboard .hcd-corporate-section {
	border-radius: var(--hcd-radius, 0);
}

.hcd-dashboard-accent-solid .hcd-page-header,
.hcd-dashboard-accent-solid .hcd-dashboard-tab-active {
	border-left: 4px solid var(--hcd-accent, #2563eb);
}

.hcd-dashboard-accent-soft .hcd-page-header,
.hcd-dashboard-accent-soft .hcd-dashboard-tab-active {
	background: color-mix(in srgb, var(--hcd-accent, #2563eb) 10%, #fff);
}

.hcd-dashboard-accent-line .hcd-page-header,
.hcd-dashboard-accent-line .hcd-dashboard-tab-active {
	border-bottom: 3px solid var(--hcd-accent, #2563eb);
}

.hcd-dashboard-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0;
}

.hcd-dashboard-tab,
.hcd-dashboard-tab:visited {
	border: 1px solid #dcdcde;
	color: inherit;
	display: inline-block;
	padding: 10px 14px;
	text-decoration: none;
}

.hcd-dashboard-tab:hover,
.hcd-dashboard-tab:focus,
.hcd-dashboard-tab-active {
	border-color: var(--hcd-accent, #2563eb);
	text-decoration: none;
}

.hcd-activity-timeline {
	border-left: 3px solid var(--hcd-accent, #2563eb);
	list-style: none;
	margin: 20px 0 0;
	padding-left: 20px;
}

.hcd-activity-timeline li {
	margin: 0 0 18px;
	position: relative;
}

.hcd-activity-timeline li::before {
	background: var(--hcd-accent, #2563eb);
	border-radius: 50%;
	content: "";
	height: 10px;
	left: -26px;
	position: absolute;
	top: 6px;
	width: 10px;
}

.hcd-activity-date {
	display: block;
	font-size: 0.92em;
}

.hcd-activity-timeline strong,
.hcd-activity-timeline span {
	display: block;
}

@media screen and (max-width: 700px) {
	.hcd-responsive-card-table,
	.hcd-responsive-card-table thead,
	.hcd-responsive-card-table tbody,
	.hcd-responsive-card-table tr,
	.hcd-responsive-card-table th,
	.hcd-responsive-card-table td {
		display: block;
		width: 100%;
	}

	.hcd-responsive-card-table thead {
		left: -9999px;
		position: absolute;
		top: auto;
	}

	.hcd-responsive-card-table tr {
		border: 1px solid #dcdcde;
		margin: 0 0 16px;
		padding: 12px;
	}

	.hcd-responsive-card-table td {
		border: 0;
		box-sizing: border-box;
		padding: 8px 0;
	}

	.hcd-responsive-card-table td::before {
		content: attr(data-label);
		display: block;
		font-weight: 700;
		margin-bottom: 3px;
	}
}


.hcd-learner-account,
.hcd-course-list,
.hcd-module-list,
.hcd-lesson-list,
.hcd-certificate-verify,
.hcd-corporate-dashboard,
.hcd-checkout {
	--hcd-surface: #ffffff;
	--hcd-soft-surface: #f9fafb;
	--hcd-line: #dcdcde;
	--hcd-text: #111827;
	--hcd-muted: #4b5563;
	color: var(--hcd-text);
}

.hcd-page-header,
.hcd-card,
.hcd-course-card,
.hcd-dashboard-section,
.hcd-corporate-section,
.hcd-checkout-summary,
.hcd-coupon-box,
.hcd-module-discussion,
.hcd-protected-downloads,
.hcd-quiz-question,
.hcd-response-block {
	border-radius: 14px;
}

.hcd-page-header {
	background: linear-gradient(135deg, var(--hcd-soft-surface), #fff);
}

.hcd-course-card,
.hcd-card,
.hcd-dashboard-section,
.hcd-corporate-section {
	transition: box-shadow 160ms ease, transform 160ms ease;
}

.hcd-course-card:hover,
.hcd-card:hover,
.hcd-dashboard-section:hover,
.hcd-corporate-section:hover {
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
	transform: translateY(-1px);
}

.hcd-button,
.hcd-button:visited {
	border-radius: 8px;
	font-weight: 700;
}

.hcd-table {
	background: #fff;
	border: 1px solid var(--hcd-line);
	border-radius: 12px;
	overflow: hidden;
}

.hcd-table th,
.hcd-table td {
	border-left: 0;
	border-right: 0;
}

.hcd-table tr:first-child th,
.hcd-table tr:first-child td {
	border-top: 0;
}

.hcd-table tr:last-child th,
.hcd-table tr:last-child td {
	border-bottom: 0;
}

.hcd-progress-bar {
	border-radius: 999px;
}

.hcd-progress-bar-fill {
	border-radius: 999px;
}

.hcd-message,
.hcd-notice,
.hcd-policy-notice,
.hcd-locked-label,
.hcd-status-badge {
	border-radius: 10px;
}

.hcd-dashboard-tabs {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	padding: 8px;
}

.hcd-dashboard-tab,
.hcd-dashboard-tab:visited {
	background: #fff;
	border-radius: 8px;
	font-weight: 700;
}

.hcd-dashboard-tab-active {
	box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}

@media screen and (max-width: 700px) {
	.hcd-dashboard-tabs {
		display: block;
	}

	.hcd-dashboard-tab,
	.hcd-dashboard-tab:visited {
		display: block;
		margin-bottom: 8px;
		text-align: center;
	}

	.hcd-dashboard-tab:last-child {
		margin-bottom: 0;
	}
}

/* Phase 4 tutor portal */
.hcd-tutor-portal .hcd-dashboard-header,
.hcd-tutor-portal .hcd-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	margin: 0 0 20px;
	padding: 22px;
}

.hcd-tutor-portal .hcd-dashboard-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 0 0 20px;
}

.hcd-tutor-portal .hcd-stat-number {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	margin: 0;
}

.hcd-tutor-portal .hcd-table {
	border-collapse: collapse;
	width: 100%;
}

.hcd-tutor-portal .hcd-table th,
.hcd-tutor-portal .hcd-table td {
	border-bottom: 1px solid #e2e8f0;
	padding: 12px;
	text-align: left;
	vertical-align: top;
}

.hcd-button-small {
	font-size: 0.9rem;
	padding: 7px 12px;
}

@media (max-width: 720px) {
	.hcd-tutor-portal .hcd-table,
	.hcd-tutor-portal .hcd-table thead,
	.hcd-tutor-portal .hcd-table tbody,
	.hcd-tutor-portal .hcd-table th,
	.hcd-tutor-portal .hcd-table td,
	.hcd-tutor-portal .hcd-table tr {
		display: block;
	}

	.hcd-tutor-portal .hcd-table thead {
		display: none;
	}

	.hcd-tutor-portal .hcd-table tr {
		border: 1px solid #e2e8f0;
		border-radius: 10px;
		margin: 0 0 12px;
		padding: 10px;
	}

	.hcd-tutor-portal .hcd-table td {
		border: 0;
		padding: 7px 0;
	}
}


.hcd-quiz-form .hcd-quiz-question {
	background: #fbfaf7 !important;
	border: 1px solid #A10707 !important;
	border-radius: 14px !important;
	box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06) !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 28px !important;
}

.hcd-quiz-form .hcd-quiz-question + .hcd-quiz-question {
	margin-top: 100px !important;
}

.hcd-quiz-form .hcd-quiz-question-text {
	color: #800000 !important;
	font-size: 1.1rem !important;
	line-height: 1.45 !important;
	margin: 0 0 40px !important;
}

.hcd-quiz-form .hcd-quiz-question label {
	align-items: flex-start !important;
	background: #ffffff !important;
	border: 1px solid #ead8d8 !important;
	border-radius: 10px !important;
	box-sizing: border-box !important;
	cursor: pointer !important;
	display: flex !important;
	gap: 12px !important;
	line-height: 1.5 !important;
	margin: 0 0 14px !important;
	padding: 14px 16px !important;
	width: 100% !important;
}

.hcd-quiz-form .hcd-quiz-question label:hover {
	border-color: #A10707 !important;
}

.hcd-quiz-form .hcd-quiz-question input[type="radio"],
.hcd-quiz-form .hcd-quiz-question input[type="checkbox"] {
	flex: 0 0 auto !important;
	margin-top: 4px !important;
}

.hcd-quiz-form .hcd-quiz-submit-button {
	background: #A10707 !important;
	border: 1px solid #A10707 !important;
	border-radius: 10px !important;
	box-shadow: 0 6px 14px rgba(161, 7, 7, 0.22) !important;
	color: #ffffff !important;
	cursor: pointer !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	padding: 14px 26px !important;
	text-decoration: none !important;
}

/* Phase 6 learner dashboard, navigation, certificates, invoices, and mobile layout improvements. */
.hcd-dashboard-summary-expanded {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.hcd-continue-learning-block {
	border-left: 4px solid var(--hcd-accent, #2563eb);
}

.hcd-next-action-label {
	font-size: 1.05rem;
	font-weight: 700;
}

.hcd-dashboard-course-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hcd-dashboard-course-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hcd-course-card-header {
	align-items: flex-start;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.hcd-course-card-header h4 {
	margin: 0;
}

.hcd-status-pill {
	border: 1px solid #d1d5db;
	border-radius: 999px;
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 4px 10px;
	white-space: nowrap;
}

.hcd-status-unlocked,
.hcd-status-preview {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.hcd-status-locked {
	background: #fef2f2;
	border-color: #fecaca;
}

.hcd-progress-bar {
	background: #e5e7eb;
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
	width: 100%;
}

.hcd-progress-bar span {
	background: var(--hcd-accent, #2563eb);
	display: block;
	height: 100%;
}

.hcd-dashboard-action-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hcd-dashboard-action-list li {
	align-items: center;
	border-bottom: 1px solid #e5e7eb;
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(180px, 1fr) auto auto;
	padding: 12px 0;
}

.hcd-lesson-navigation {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin: 0 0 24px;
	padding: 16px;
}

.hcd-course-context {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin: 0 0 14px;
}

.hcd-lesson-navigation-list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hcd-lesson-nav-item {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 10px 12px;
}

.hcd-lesson-nav-current {
	border-color: var(--hcd-accent, #2563eb);
	box-shadow: 0 0 0 1px var(--hcd-accent, #2563eb);
}

.hcd-lesson-nav-locked {
	background: #f9fafb;
	color: #6b7280;
}

.hcd-lesson-nav-status-failed small {
	color: #991b1b;
	font-weight: 700;
}

.hcd-account-profile h2,
.hcd-order-history h2,
.hcd-invoices h2,
.hcd-certificates h2 {
	margin-top: 32px;
}

.hcd-form input[type="text"],
.hcd-form input[type="email"],
.hcd-form input[type="password"] {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

@media (max-width: 720px) {
	.hcd-dashboard-tabs {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.hcd-dashboard-course-grid {
		grid-template-columns: 1fr;
	}

	.hcd-course-card-header,
	.hcd-dashboard-action-list li,
	.hcd-lesson-nav-item {
		align-items: stretch;
		display: flex;
		flex-direction: column;
	}

	.hcd-responsive-card-table,
	.hcd-responsive-card-table thead,
	.hcd-responsive-card-table tbody,
	.hcd-responsive-card-table th,
	.hcd-responsive-card-table td,
	.hcd-responsive-card-table tr {
		display: block;
		width: 100%;
	}

	.hcd-responsive-card-table thead {
		display: none;
	}

	.hcd-responsive-card-table tr {
		border: 1px solid #e5e7eb;
		border-radius: 12px;
		margin: 0 0 14px;
		padding: 12px;
	}

	.hcd-responsive-card-table td {
		border: 0;
		box-sizing: border-box;
		padding: 8px 0;
	}

	.hcd-responsive-card-table td::before {
		content: attr(data-label);
		display: block;
		font-weight: 700;
		margin-bottom: 4px;
	}

	.hcd-checkout,
	.hcd-quiz-form,
	.hcd-certificates,
	.hcd-invoices,
	.hcd-lesson,
	.hcd-dashboard {
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.hcd-button,
	.hcd-quiz-submit-button {
		box-sizing: border-box;
		text-align: center;
		width: 100%;
	}
}

.hcd-interactive-video video {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.hcd-video-chapters {
	margin-top: 16px;
}

.hcd-video-chapters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hcd-video-chapter {
	background: #f7f9fb;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	color: #111;
	cursor: pointer;
	padding: 8px 12px;
	text-align: left;
}

.hcd-video-pause-prompt,
.hcd-video-progress-summary {
	background: #f7f9fb;
	border-left: 4px solid #800000;
	margin-top: 14px;
	padding: 12px;
}

.hcd-video-transcript {
	margin-top: 20px;
}

/* Checkout form layout */
.hcd-checkout-form {
	margin-top: 24px;
}

.hcd-checkout-form-card {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
	box-sizing: border-box;
	max-width: 860px;
	padding: 28px;
}

.hcd-checkout-form-card h3 {
	color: #800000;
	font-size: 24px;
	line-height: 1.25;
	margin: 28px 0 16px;
}

.hcd-checkout-form-card h3:first-child {
	margin-top: 0;
}

.hcd-checkout-required-note,
.hcd-checkout-note {
	color: #4b5563;
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 18px;
}

.hcd-required-marker {
	color: #800000;
	font-weight: 700;
	margin-left: 3px;
}

.hcd-checkout-field-grid {
	display: grid;
	gap: 18px 20px;
	margin: 0 0 8px;
}

.hcd-checkout-field-grid-two,
.hcd-checkout-address-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hcd-checkout-field-wide {
	grid-column: 1 / -1;
}

.hcd-checkout-form .hcd-checkout-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 0;
}

.hcd-checkout-form .hcd-checkout-field label {
	align-items: center;
	color: #111827;
	display: flex !important;
	font-size: 15px;
	font-weight: 700;
	gap: 2px;
	line-height: 1.35;
	margin: 0 !important;
}

.hcd-checkout-form .hcd-checkout-field input[type="text"],
.hcd-checkout-form .hcd-checkout-field input[type="email"] {
	background: #ffffff;
	border: 1px solid #b9bec7;
	border-radius: 9px;
	box-shadow: none;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.4;
	max-width: none;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.hcd-checkout-form .hcd-checkout-field input[type="text"]:focus,
.hcd-checkout-form .hcd-checkout-field input[type="email"]:focus {
	border-color: #800000;
	box-shadow: 0 0 0 2px rgba(128, 0, 0, 0.14);
	outline: none;
}

.hcd-checkout-payment-options {
	background: #f9fafb;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	margin: 0 0 22px;
	padding: 16px;
}

.hcd-checkout-payment-selected,
.hcd-checkout-payment-choice {
	margin: 0;
}

.hcd-checkout-payment-choice + .hcd-checkout-payment-choice {
	margin-top: 12px;
}

.hcd-checkout-payment-choice label {
	align-items: center;
	display: flex;
	font-weight: 700;
	gap: 10px;
	margin: 0;
}

.hcd-checkout-submit-row {
	margin: 0;
}

.hcd-checkout-submit-button {
	font-size: 16px;
	font-weight: 700;
	padding: 12px 22px;
}

@media screen and (max-width: 720px) {
	.hcd-checkout-form-card {
		padding: 20px;
	}

	.hcd-checkout-field-grid-two,
	.hcd-checkout-address-grid {
		grid-template-columns: 1fr;
	}
}

.hcd-floating-commerce {
	font-family: inherit;
	position: fixed;
	right: 24px;
	top: 96px;
	z-index: 99990;
}

.hcd-floating-commerce-actions {
	align-items: stretch;
	display: flex;
	gap: 8px;
}

.hcd-floating-commerce-button,
.hcd-floating-commerce-button:visited {
	align-items: center;
	background: #800000;
	border: 1px solid #800000;
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);
	box-sizing: border-box;
	color: #ffffff !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	line-height: 1.2;
	min-height: 44px;
	padding: 10px 14px;
	text-decoration: none;
}

.hcd-floating-commerce-button:hover,
.hcd-floating-commerce-button:focus {
	background: #650000;
	border-color: #650000;
	color: #ffffff !important;
	outline: 2px solid rgba(128, 0, 0, 0.22);
	outline-offset: 2px;
	text-decoration: none;
}

.hcd-floating-commerce-checkout-button {
	background: #111827;
	border-color: #111827;
}

.hcd-floating-commerce-checkout-button:hover,
.hcd-floating-commerce-checkout-button:focus {
	background: #1f2937;
	border-color: #1f2937;
}

.hcd-floating-commerce-icon {
	font-size: 16px;
	line-height: 1;
}

.hcd-floating-commerce-count {
	align-items: center;
	background: #ffffff;
	border-radius: 999px;
	color: #800000;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: center;
	min-height: 22px;
	min-width: 22px;
	padding: 0 6px;
}

.hcd-floating-commerce-disabled,
.hcd-floating-commerce-disabled:visited {
	cursor: not-allowed;
	opacity: 0.58;
}

.hcd-floating-commerce-overlay {
	background: rgba(17, 24, 39, 0.42);
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99998;
}

.hcd-floating-commerce-drawer {
	background: #ffffff;
	box-shadow: -18px 0 44px rgba(17, 24, 39, 0.24);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100vh;
	max-width: 92vw;
	position: fixed;
	right: 0;
	top: 0;
	transform: translateX(110%);
	transition: transform 0.22s ease;
	width: 420px;
	z-index: 99999;
}

.hcd-floating-commerce-open .hcd-floating-commerce-drawer {
	transform: translateX(0);
}

.hcd-floating-commerce-drawer-header,
.hcd-floating-commerce-drawer-footer {
	border-color: #e5e7eb;
	box-sizing: border-box;
	padding: 20px 22px;
}

.hcd-floating-commerce-drawer-header {
	align-items: center;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
}

.hcd-floating-commerce-drawer-header h2 {
	color: #800000;
	font-size: 24px;
	line-height: 1.25;
	margin: 0;
}

.hcd-floating-commerce-close {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	color: #111827;
	cursor: pointer;
	display: inline-flex;
	font-size: 28px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 42px;
}

.hcd-floating-commerce-close:hover,
.hcd-floating-commerce-close:focus {
	border-color: #800000;
	color: #800000;
	outline: 2px solid rgba(128, 0, 0, 0.16);
	outline-offset: 2px;
}

.hcd-floating-commerce-status {
	background: #fff7ed;
	border-bottom: 1px solid #fed7aa;
	color: #7c2d12;
	font-size: 14px;
	line-height: 1.45;
	padding: 12px 22px;
}

.hcd-floating-commerce-status:empty {
	display: none;
}

.hcd-floating-commerce-status-error {
	background: #fef2f2;
	border-bottom-color: #fecaca;
	color: #991b1b;
}

.hcd-floating-commerce-body {
	box-sizing: border-box;
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 22px;
}

.hcd-floating-commerce-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hcd-floating-commerce-item {
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-sizing: border-box;
	margin: 0 0 14px;
	padding: 16px;
}

.hcd-floating-commerce-item-main strong {
	color: #111827;
	display: block;
	font-size: 16px;
	line-height: 1.35;
	margin: 0 0 6px;
}

.hcd-floating-commerce-item-main span,
.hcd-floating-commerce-item-meta {
	color: #4b5563;
	font-size: 14px;
	line-height: 1.45;
}

.hcd-floating-commerce-item-meta {
	display: flex;
	font-weight: 700;
	gap: 12px;
	justify-content: space-between;
	margin-top: 12px;
}

.hcd-floating-commerce-remove {
	background: transparent;
	border: 0;
	color: #800000;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	margin: 12px 0 0;
	padding: 0;
	text-decoration: underline;
}

.hcd-floating-commerce-remove:hover,
.hcd-floating-commerce-remove:focus {
	color: #650000;
	outline: 2px solid rgba(128, 0, 0, 0.12);
	outline-offset: 3px;
}

.hcd-floating-commerce-empty {
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 18px;
	padding: 22px;
	text-align: left;
}

.hcd-floating-commerce-empty p {
	margin-top: 0;
}

.hcd-floating-commerce-drawer-footer {
	border-top: 1px solid #e5e7eb;
}

.hcd-floating-commerce-total {
	color: #111827;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 14px;
}

.hcd-floating-commerce-drawer-footer .hcd-button {
	box-sizing: border-box;
	justify-content: center;
	margin: 0 0 10px;
	text-align: center;
	width: 100%;
}

.hcd-floating-commerce-busy .hcd-floating-commerce-basket-button::after {
	animation: hcd-floating-commerce-spin 0.85s linear infinite;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #ffffff;
	border-radius: 999px;
	content: '';
	height: 14px;
	width: 14px;
}

@keyframes hcd-floating-commerce-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 782px) {
	.hcd-floating-commerce {
		bottom: 16px;
		right: 16px;
		top: auto;
	}

	.hcd-floating-commerce-actions {
		flex-direction: column;
	}

	.hcd-floating-commerce-button {
		justify-content: center;
		min-width: 132px;
	}

	.hcd-floating-commerce-drawer {
		width: min(420px, 92vw);
	}
}
