* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
}

:root {
	--bg: #020617;
	--panel: #0f172a;
	--panel-2: #111827;
	--panel-3: #1e293b;
	--border: #334155;
	--text: #f8fafc;
	--muted: #cbd5e1;
	--cyan: #38bdf8;
	--green: #22c55e;
	--red: #ef4444;
	--yellow: #facc15;
	--purple: #a78bfa;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	overflow-x: hidden;
}

.animated-bg {
	position: fixed;
	inset: 0;
	z-index: -3;
	overflow: hidden;
	background:
		radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.14), transparent 28%),
		radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.10), transparent 30%),
		linear-gradient(135deg, #020617, #0f172a, #1e293b);
}

.orb {
	position: absolute;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.32;
	animation: floatOrb 13s ease-in-out infinite alternate;
}

.orb-one {
	background: var(--cyan);
	left: -120px;
	top: 100px;
}

.orb-two {
	background: var(--green);
	right: -120px;
	top: 260px;
	animation-delay: 2s;
}

.orb-three {
	background: var(--purple);
	left: 45%;
	bottom: -170px;
	animation-delay: 4s;
}

.grid-glow {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
	background-size: 55px 55px;
	mask-image: linear-gradient(to bottom, black, transparent 80%);
	animation: gridDrift 18s linear infinite;
}

.cursor-glow {
	position: fixed;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.13), transparent 68%);
	pointer-events: none;
	transform: translate(-50%, -50%);
	z-index: -1;
	opacity: 0.8;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 5%;
	background: rgba(2, 6, 23, 0.88);
	border-bottom: 1px solid rgba(51, 65, 85, 0.85);
	backdrop-filter: blur(14px);
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.brand-mark {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--cyan), var(--green));
	color: var(--bg);
	font-weight: 900;
	box-shadow: 0 0 30px rgba(56, 189, 248, 0.35);
}

.brand h1 {
	font-size: 21px;
}

.brand p {
	color: var(--muted);
	font-size: 13px;
}

.nav-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

button {
	border: none;
	border-radius: 12px;
	padding: 12px 16px;
	background: var(--cyan);
	color: var(--bg);
	font-weight: bold;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	position: relative;
	overflow: hidden;
}

button:hover {
	transform: translateY(-2px);
	background: #0ea5e9;
}

button.secondary {
	background: transparent;
	color: var(--muted);
	border: 1px solid var(--border);
}

button.secondary:hover {
	color: var(--bg);
	background: var(--cyan);
	border-color: var(--cyan);
}

button.green {
	background: var(--green);
}

button.red {
	background: var(--red);
	color: white;
}

button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
}

button::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	left: var(--ripple-x);
	top: var(--ripple-y);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

button.ripple::after {
	width: 220px;
	height: 220px;
	animation: ripple 0.55s ease forwards;
}

.app {
	width: min(1150px, 92%);
	margin: 0 auto;
	padding: 42px 0 70px;
}

.panel {
	background: rgba(15, 23, 42, 0.88);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 28px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(12px);
	animation: fadeUp 0.45s ease both;
}

.hero {
	min-height: calc(100vh - 150px);
	display: grid;
	align-items: center;
}

.hero-content {
	text-align: center;
}

.badge {
	display: inline-block;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.13);
	color: #7dd3fc;
	border: 1px solid rgba(125, 211, 252, 0.45);
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 18px;
}

.hero h2 {
	font-size: clamp(42px, 7vw, 72px);
	letter-spacing: -1px;
	margin-bottom: 18px;
	background: linear-gradient(90deg, #fff, #7dd3fc, #22c55e, #fff);
	background-size: 240% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: titleShine 5s linear infinite;
}

.hero p {
	width: min(820px, 100%);
	margin: 0 auto 28px;
	color: var(--muted);
	font-size: 19px;
	line-height: 1.7;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
	margin-top: 30px;
	text-align: left;
}

.info-card {
	background: var(--panel-2);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 20px;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
	transform: translateY(-4px);
	border-color: var(--cyan);
}

.info-card h3 {
	color: var(--cyan);
	margin-bottom: 8px;
	font-size: 20px;
}

.info-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 26px;
}

.step-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 22px;
	align-items: start;
}

.sidebar {
	background: rgba(17, 24, 39, 0.9);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 18px;
	position: sticky;
	top: 92px;
}

.sidebar h3 {
	font-size: 20px;
	margin-bottom: 12px;
	color: var(--cyan);
}

.side-step {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px;
	border-radius: 12px;
	color: var(--muted);
	margin-bottom: 8px;
	border: 1px solid transparent;
}

.side-step.active {
	background: rgba(56, 189, 248, 0.12);
	border-color: rgba(56, 189, 248, 0.45);
	color: white;
}

.side-step.complete {
	color: #86efac;
}

.circle {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--border);
	font-size: 12px;
	font-weight: bold;
}

.side-step.active .circle {
	background: var(--cyan);
	color: var(--bg);
}

.side-step.complete .circle {
	background: var(--green);
	color: var(--bg);
}

.progress-track {
	width: 100%;
	height: 10px;
	background: #020617;
	border: 1px solid var(--border);
	border-radius: 999px;
	overflow: hidden;
	margin: 20px 0;
}

.progress-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--cyan), var(--green));
	box-shadow: 0 0 20px rgba(56, 189, 248, 0.7);
	transition: width 0.25s ease;
}

.lesson-view {
	min-height: 520px;
}

.lesson-topline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.lesson-topline p {
	color: var(--muted);
}

.lesson-card {
	background: rgba(17, 24, 39, 0.96);
	border: 1px solid var(--border);
	border-radius: 22px;
	padding: 28px;
	animation: fadeUp 0.35s ease both;
}

.lesson-card h2 {
	color: var(--cyan);
	font-size: 34px;
	margin-bottom: 12px;
}

.lesson-card p {
	color: var(--muted);
	line-height: 1.65;
	margin-bottom: 15px;
}

.lesson-card h3 {
	margin: 22px 0 10px;
	font-size: 22px;
}

pre {
	background: #020617;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px;
	margin: 16px 0;
	overflow-x: auto;
}

code {
	color: #22c55e;
	line-height: 1.55;
	font-size: 15px;
}

.lesson-block {
	background: var(--panel-3);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 18px;
	margin-top: 16px;
}

.lesson-block ul {
	margin-left: 22px;
	color: var(--muted);
	line-height: 1.8;
}

.quiz-option {
	display: block;
	background: var(--panel-3);
	border: 1px solid var(--border);
	color: var(--muted);
	padding: 14px;
	border-radius: 12px;
	margin-top: 10px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.quiz-option:hover {
	border-color: var(--cyan);
	background: #263449;
}

.quiz-option input {
	margin-right: 8px;
	transform: scale(1.1);
}

.path-grid,
.skill-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
	margin-top: 22px;
}

.path-card,
.skill-node {
	text-align: left;
	background: var(--panel-2);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 22px;
	min-height: 170px;
	transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.path-card:hover,
.skill-node:hover {
	transform: translateY(-5px);
	border-color: var(--cyan);
}

.path-card h3,
.skill-node h3 {
	margin: 11px 0 8px;
	font-size: 22px;
}

.path-card p,
.skill-node p {
	color: var(--muted);
	line-height: 1.5;
	font-size: 15px;
}

.node-status,
.path-status {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--border);
	color: var(--muted);
	font-size: 12px;
	font-weight: bold;
}

.skill-node.available {
	border-color: var(--cyan);
	box-shadow: 0 0 28px rgba(56, 189, 248, 0.14);
}

.skill-node.available .node-status {
	background: var(--cyan);
	color: var(--bg);
}

.skill-node.complete {
	border-color: var(--green);
	box-shadow: 0 0 24px rgba(34, 197, 94, 0.12);
}

.skill-node.complete .node-status {
	background: var(--green);
	color: var(--bg);
}

.skill-node.locked {
	opacity: 0.55;
	filter: grayscale(0.35);
	cursor: not-allowed;
}

.course-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.course-header h2 {
	font-size: 34px;
	color: var(--cyan);
}

.course-header p {
	color: var(--muted);
	margin-top: 8px;
	line-height: 1.55;
}

.warning {
	color: #fca5a5 !important;
	font-weight: bold;
	margin-top: 12px;
}

.toast {
	position: fixed;
	top: 86px;
	right: 22px;
	z-index: 50;
	background: var(--green);
	color: var(--bg);
	font-weight: bold;
	padding: 14px 18px;
	border-radius: 14px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.35);
	animation: toastIn 0.35s ease both;
}

.hidden {
	display: none !important;
}

.confetti-piece {
	position: fixed;
	top: -20px;
	width: 9px;
	height: 16px;
	border-radius: 3px;
	z-index: 60;
	pointer-events: none;
	animation: confettiFall 1.4s ease-in forwards;
}

@keyframes floatOrb {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(45px, -35px, 0) scale(1.12); }
}

@keyframes gridDrift {
	from { transform: translateY(0); }
	to { transform: translateY(55px); }
}

@keyframes titleShine {
	to { background-position: 240% center; }
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ripple {
	from { transform: translate(-50%, -50%) scale(0); opacity: 0.7; }
	to { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@keyframes toastIn {
	from {
		opacity: 0;
		transform: translateX(25px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes confettiFall {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
	}
	100% {
		transform: translateY(105vh) rotate(680deg);
		opacity: 0;
	}
}

@media (max-width: 800px) {
	.topbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.nav-actions {
		justify-content: flex-start;
	}

	.step-layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
	}

	.hero {
		min-height: auto;
		padding-top: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.cursor-glow,
	.animated-bg {
		display: none;
	}
}


/* ---------- Long-form lesson reading improvements ---------- */

.deep-dive {
	border-color: rgba(56, 189, 248, 0.45);
	background:
		linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
}

.deep-dive p {
	font-size: 17px;
	line-height: 1.82;
	margin-bottom: 18px;
	color: #dbeafe;
}

.deep-dive p:last-child {
	margin-bottom: 0;
}

.lesson-card h3 {
	color: #f8fafc;
}

.lesson-block h3 {
	color: #7dd3fc;
}


/* ---------- Briefing memory status ---------- */
.memory-status {
	display: inline-block;
	margin: 0 auto 20px;
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.86);
	border: 1px solid rgba(56, 189, 248, 0.45);
	color: #dbeafe !important;
	font-weight: bold;
	font-size: 15px !important;
	line-height: 1.5 !important;
}


/* ---------- Mandatory practical labs ---------- */

.practical-lab {
	border-color: rgba(34, 197, 94, 0.48);
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.22), rgba(30, 41, 59, 0.95));
}

.lab-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.lab-card {
	background: rgba(15, 23, 42, 0.88);
	border: 1px solid rgba(51, 65, 85, 0.9);
	border-radius: 14px;
	padding: 16px;
}

.lab-card h4 {
	color: #7dd3fc;
	margin-bottom: 8px;
	font-size: 17px;
}

.lab-card p,
.lab-card li {
	color: #dbeafe;
	line-height: 1.65;
	font-size: 15px;
}

.lab-card ul {
	margin-left: 18px;
}

.difficulty-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 10px 0 14px;
}

.difficulty-pill {
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(250, 204, 21, 0.14);
	border: 1px solid rgba(250, 204, 21, 0.42);
	color: #fde68a;
	font-size: 12px;
	font-weight: bold;
}

.evidence-box {
	width: 100%;
	min-height: 120px;
	resize: vertical;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 12px;
	color: #f8fafc;
	padding: 14px;
	line-height: 1.5;
	margin-top: 10px;
}

.evidence-box:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.practical-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 12px;
	padding: 12px;
	background: rgba(2, 6, 23, 0.55);
	border: 1px solid rgba(51, 65, 85, 0.9);
	border-radius: 12px;
	color: #dbeafe;
	line-height: 1.5;
}

.practical-check input {
	margin-top: 3px;
	transform: scale(1.15);
}

.media-note {
	border-color: rgba(167, 139, 250, 0.5);
	background:
		linear-gradient(180deg, rgba(88, 28, 135, 0.22), rgba(30, 41, 59, 0.95));
}

.media-placeholder {
	border: 1px dashed rgba(167, 139, 250, 0.65);
	border-radius: 14px;
	padding: 18px;
	color: #ddd6fe;
	background: rgba(2, 6, 23, 0.45);
	margin-top: 12px;
}


/* ---------- Polished organisation pass ---------- */

.topbar {
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.brand-mark {
	animation: markGlow 3.2s ease-in-out infinite;
}

.polished-hero {
	padding: 22px 0;
}

.hero-actions button:first-child {
	min-width: 210px;
	box-shadow: 0 18px 50px rgba(56, 189, 248, 0.18);
}

.flow-panel {
	margin: 34px auto 0;
	background: rgba(15, 23, 42, 0.82);
	border: 1px solid rgba(56, 189, 248, 0.28);
	border-radius: 24px;
	padding: 24px;
	width: min(980px, 100%);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.flow-panel h3 {
	text-align: left;
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 18px;
}

.flow-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	text-align: left;
}

.flow-step {
	position: relative;
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid #334155;
	border-radius: 18px;
	padding: 18px;
	overflow: hidden;
	animation: fadeUp 0.5s ease both;
}

.flow-step:nth-child(1) { animation-delay: 0.05s; }
.flow-step:nth-child(2) { animation-delay: 0.12s; }
.flow-step:nth-child(3) { animation-delay: 0.19s; }
.flow-step:nth-child(4) { animation-delay: 0.26s; }

.flow-step::after {
	content: "";
	position: absolute;
	right: -35px;
	top: -35px;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: rgba(56, 189, 248, 0.08);
}

.flow-step span {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: linear-gradient(135deg, #38bdf8, #22c55e);
	color: #020617;
	font-weight: 900;
	margin-bottom: 12px;
}

.flow-step h4 {
	color: #f8fafc;
	font-size: 18px;
	margin-bottom: 8px;
}

.flow-step p {
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
	color: #cbd5e1;
}

.polished-info-grid {
	margin-top: 22px;
}

.mini-label {
	display: inline-block;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #7dd3fc;
	margin-bottom: 8px;
}

.skill-hub-panel,
.course-map-panel,
.unlock-panel {
	margin-bottom: 22px;
}

.hub-order {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 24px 0;
}

.hub-order-step {
	background: rgba(30, 41, 59, 0.72);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.hub-order-step.active {
	border-color: rgba(56, 189, 248, 0.65);
	box-shadow: 0 0 26px rgba(56, 189, 248, 0.10);
}

.hub-order-step span {
	width: 28px;
	height: 28px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: #38bdf8;
	color: #020617;
	font-weight: 900;
	flex-shrink: 0;
}

.hub-order-step p {
	color: #dbeafe;
	font-weight: bold;
	font-size: 14px;
	line-height: 1.35;
	margin: 0;
}

.polished-path-grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.polished-path-card {
	min-height: 270px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.card-progress {
	margin: 14px 0;
}

.card-progress-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #dbeafe;
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 8px;
}

.progress-track.compact {
	height: 8px;
	margin: 0;
}

.next-lesson-text {
	margin-top: 12px;
	color: #7dd3fc !important;
	font-weight: bold;
}

.course-progress-card {
	margin: 24px 0;
	background: rgba(30, 41, 59, 0.76);
	border: 1px solid rgba(56, 189, 248, 0.32);
	border-radius: 18px;
	padding: 18px;
}

.course-progress-card h3 {
	color: #7dd3fc;
	margin-bottom: 6px;
	font-size: 20px;
}

.course-progress-card p {
	color: #cbd5e1;
	margin-bottom: 12px;
}

.course-lesson-grid {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.lesson-card {
	border-color: rgba(56, 189, 248, 0.16);
}

.lesson-card h2 {
	font-size: clamp(28px, 4vw, 42px);
}

.lesson-block {
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.lesson-block:hover {
	border-color: rgba(56, 189, 248, 0.45);
	transform: translateY(-2px);
}

.practical-lab {
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 48px rgba(34, 197, 94, 0.08);
}

.skill-node.available {
	animation: availableNodePulse 2.4s ease-in-out infinite;
}

.skill-node.complete {
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.22), rgba(17, 24, 39, 0.96));
}

@keyframes markGlow {
	0%, 100% {
		box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
	}
	50% {
		box-shadow: 0 0 40px rgba(34, 197, 94, 0.32);
	}
}

@keyframes availableNodePulse {
	0%, 100% {
		box-shadow: 0 0 20px rgba(56, 189, 248, 0.10);
	}
	50% {
		box-shadow: 0 0 38px rgba(56, 189, 248, 0.22);
	}
}

@media (max-width: 900px) {
	.flow-grid,
	.hub-order {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.flow-grid,
	.hub-order {
		grid-template-columns: 1fr;
	}
}


/* ---------- Course-specific skill tree layout ---------- */

.skill-hub-panel .course-header p {
	max-width: 760px;
}

.unlock-panel {
	display: none !important;
}

.course-tree-label {
	margin: 22px 0 12px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: flex-end;
	flex-wrap: wrap;
}

.course-tree-label span {
	display: inline-block;
	color: #020617;
	background: linear-gradient(135deg, #38bdf8, #22c55e);
	font-weight: 900;
	padding: 8px 12px;
	border-radius: 999px;
}

.course-tree-label p {
	color: #cbd5e1;
	font-size: 14px;
	line-height: 1.5;
	max-width: 640px;
}

.course-tree-line {
	height: 2px;
	margin: 10px 0 20px;
	background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.95), rgba(34, 197, 94, 0.75), transparent);
	box-shadow: 0 0 24px rgba(56, 189, 248, 0.25);
}

.course-only-tree {
	position: relative;
}

.course-only-tree .skill-node {
	min-height: 185px;
}

.course-map-panel .course-header h2 {
	background: linear-gradient(90deg, #fff, #7dd3fc, #22c55e);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}


/* ---------- Strong evidence guard ---------- */

.evidence-warning-list {
	margin-top: 12px;
	background: rgba(127, 29, 29, 0.34);
	border: 1px solid rgba(248, 113, 113, 0.55);
	border-radius: 14px;
	padding: 14px;
	color: #fecaca;
}

.evidence-warning-list ul {
	margin-left: 20px;
	line-height: 1.7;
}

.evidence-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.evidence-field {
	background: rgba(2, 6, 23, 0.5);
	border: 1px solid rgba(51, 65, 85, 0.95);
	border-radius: 14px;
	padding: 14px;
}

.evidence-field h4 {
	color: #7dd3fc;
	margin-bottom: 8px;
}

.evidence-field p {
	color: #dbeafe;
	font-size: 14px;
	line-height: 1.55;
	margin-bottom: 10px;
}

.evidence-box.small {
	min-height: 92px;
}

.file-evidence {
	margin-top: 14px;
	padding: 14px;
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.76);
	border: 1px dashed rgba(125, 211, 252, 0.55);
}

.file-evidence label {
	display: block;
	color: #dbeafe;
	font-weight: bold;
	margin-bottom: 8px;
}

.file-evidence input {
	width: 100%;
	color: #cbd5e1;
}

.evidence-quality-meter {
	margin-top: 12px;
	display: grid;
	gap: 8px;
}

.quality-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: #dbeafe;
	font-size: 13px;
}

.quality-bar {
	height: 8px;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 999px;
	overflow: hidden;
}

.quality-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #ef4444, #facc15, #22c55e);
	transition: width 0.2s ease;
}


/* ---------- Hidden admin panel ---------- */

.admin-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(2, 6, 23, 0.82);
	backdrop-filter: blur(16px);
	display: grid;
	place-items: center;
	padding: 22px;
}

.admin-shell {
	width: min(1040px, 96vw);
	max-height: 90vh;
	overflow-y: auto;
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(56, 189, 248, 0.38);
	border-radius: 26px;
	padding: 26px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
	animation: fadeUp 0.28s ease both;
}

.admin-login {
	max-width: 560px;
	margin: auto;
}

.admin-login h2,
.admin-dashboard h2 {
	color: #7dd3fc;
	font-size: 34px;
	margin: 10px 0;
}

.admin-login p,
.admin-dashboard p {
	color: #cbd5e1;
	line-height: 1.6;
	margin-bottom: 15px;
}

.admin-label {
	display: block;
	color: #dbeafe;
	font-weight: bold;
	margin: 18px 0 8px;
}

.admin-input {
	width: 100%;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 14px;
	color: #f8fafc;
	font-size: 16px;
}

.admin-input:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.admin-actions {
	justify-content: flex-start;
}

.google-auth-box {
	margin-top: 20px;
	background: rgba(30, 41, 59, 0.72);
	border: 1px dashed rgba(125, 211, 252, 0.55);
	border-radius: 18px;
	padding: 18px;
}

.google-auth-box h3 {
	color: #f8fafc;
	margin-bottom: 8px;
}

.admin-dashboard-header {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: flex-start;
	margin-bottom: 22px;
}

.admin-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.admin-card {
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid #334155;
	border-radius: 18px;
	padding: 18px;
}

.admin-card h3 {
	color: #7dd3fc;
	margin-bottom: 8px;
	font-size: 20px;
}

.admin-wide {
	margin-top: 16px;
}

.admin-list,
.admin-lesson-list {
	display: grid;
	gap: 8px;
	margin-top: 12px;
}

.admin-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid #334155;
	border-radius: 12px;
	background: rgba(2, 6, 23, 0.55);
	color: #dbeafe;
}

.admin-row span:last-child {
	font-weight: bold;
	color: #7dd3fc;
}

@media (max-width: 720px) {
	.admin-dashboard-header {
		flex-direction: column;
	}

	.admin-shell {
		padding: 18px;
	}
}


/* ---------- Admin Plus ---------- */

.admin-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 20px 0;
	border-bottom: 1px solid #334155;
	padding-bottom: 14px;
}

.admin-tab {
	background: rgba(30, 41, 59, 0.7);
	color: #dbeafe;
	border: 1px solid #334155;
	padding: 10px 13px;
	border-radius: 12px;
}

.admin-tab.active {
	background: #38bdf8;
	color: #020617;
	border-color: #38bdf8;
}

.admin-panel-section {
	display: none;
	animation: fadeUp 0.22s ease both;
}

.admin-panel-section.active {
	display: block;
}

.admin-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
	margin: 16px 0;
}

.admin-stat {
	background: rgba(2, 6, 23, 0.6);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 16px;
}

.admin-stat span {
	display: block;
	color: #94a3b8;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 8px;
}

.admin-stat strong {
	font-size: 26px;
	color: #7dd3fc;
}

.admin-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 14px;
	overflow: hidden;
	border-radius: 14px;
}

.admin-table th,
.admin-table td {
	border-bottom: 1px solid #334155;
	padding: 12px;
	text-align: left;
	color: #dbeafe;
	vertical-align: top;
}

.admin-table th {
	background: rgba(56, 189, 248, 0.12);
	color: #7dd3fc;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.admin-table tr:hover td {
	background: rgba(30, 41, 59, 0.45);
}

.admin-small-button {
	padding: 8px 10px;
	font-size: 12px;
	border-radius: 10px;
	margin: 2px;
}

.admin-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.admin-field {
	display: grid;
	gap: 7px;
}

.admin-field label {
	color: #dbeafe;
	font-weight: bold;
	font-size: 14px;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
	width: 100%;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 12px;
	padding: 12px;
	color: #f8fafc;
}

.admin-field textarea {
	min-height: 120px;
	resize: vertical;
}

.admin-badge {
	display: inline-block;
	padding: 5px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: bold;
	background: #334155;
	color: #cbd5e1;
}

.admin-badge.green {
	background: #22c55e;
	color: #020617;
}

.admin-badge.blue {
	background: #38bdf8;
	color: #020617;
}

.admin-badge.red {
	background: #ef4444;
	color: white;
}

.admin-log {
	display: grid;
	gap: 8px;
	max-height: 280px;
	overflow-y: auto;
	margin-top: 14px;
}

.admin-log-entry {
	background: rgba(2, 6, 23, 0.58);
	border: 1px solid #334155;
	border-radius: 12px;
	padding: 10px;
	color: #dbeafe;
	font-size: 13px;
}

.admin-log-entry time {
	display: block;
	color: #94a3b8;
	font-size: 12px;
	margin-bottom: 4px;
}

.admin-json-box {
	font-family: Consolas, monospace;
	min-height: 180px;
}

.admin-danger-zone {
	border-color: rgba(239, 68, 68, 0.55);
	background: rgba(127, 29, 29, 0.18);
}

.admin-two-column {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 820px) {
	.admin-two-column {
		grid-template-columns: 1fr;
	}
}


/* ---------- Mandatory payment plan / rank gate ---------- */

.plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.plan-card {
	position: relative;
	text-align: left;
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 22px;
	min-height: 330px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
	overflow: hidden;
}

.plan-card:hover {
	transform: translateY(-5px);
	border-color: #38bdf8;
	box-shadow: 0 24px 60px rgba(56, 189, 248, 0.12);
}

.plan-card.featured {
	border-color: rgba(34, 197, 94, 0.78);
	box-shadow: 0 0 40px rgba(34, 197, 94, 0.13);
}

.plan-card.proplus {
	border-color: rgba(167, 139, 250, 0.9);
	box-shadow: 0 0 50px rgba(167, 139, 250, 0.16);
}

.plan-card.admin-plan {
	border-color: rgba(250, 204, 21, 0.78);
	background:
		linear-gradient(180deg, rgba(113, 63, 18, 0.26), rgba(17, 24, 39, 0.96));
}

.plan-ribbon {
	position: absolute;
	top: 14px;
	right: -36px;
	transform: rotate(35deg);
	background: #38bdf8;
	color: #020617;
	font-weight: 900;
	font-size: 11px;
	padding: 6px 42px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.plan-card.proplus .plan-ribbon {
	background: linear-gradient(90deg, #a78bfa, #38bdf8);
}

.plan-card.admin-plan .plan-ribbon {
	background: #facc15;
}

.plan-name {
	font-size: 26px;
	color: #f8fafc;
	margin: 10px 0 6px;
}

.plan-price {
	font-size: 34px;
	font-weight: 900;
	color: #7dd3fc;
	margin-bottom: 8px;
}

.plan-price span {
	font-size: 14px;
	color: #cbd5e1;
	font-weight: bold;
}

.plan-card p {
	color: #cbd5e1;
	line-height: 1.55;
}

.plan-features {
	margin: 16px 0;
	color: #dbeafe;
	line-height: 1.8;
	padding-left: 18px;
}

.plan-lock-note {
	color: #fca5a5 !important;
	font-size: 13px;
	font-weight: bold;
	margin-top: 10px;
}

.rank-badge {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.14);
	border: 1px solid rgba(56, 189, 248, 0.45);
	color: #7dd3fc;
	font-weight: bold;
	font-size: 12px;
}

.rank-badge.admin {
	background: rgba(250, 204, 21, 0.16);
	border-color: rgba(250, 204, 21, 0.55);
	color: #fde68a;
}

.plan-status-panel {
	margin: 22px 0;
	background: rgba(15, 23, 42, 0.86);
	border: 1px solid rgba(56, 189, 248, 0.35);
	border-radius: 18px;
	padding: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.plan-status-panel h3 {
	color: #7dd3fc;
	margin-bottom: 6px;
}

.plan-status-panel p {
	color: #cbd5e1;
	line-height: 1.5;
}

.locked-by-plan {
	opacity: 0.52;
	filter: grayscale(0.45);
	cursor: not-allowed;
}

.locked-by-plan:hover {
	transform: none !important;
	border-color: #334155 !important;
	box-shadow: none !important;
}

.plan-required-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(2, 6, 23, 0.86);
	display: grid;
	place-items: center;
	backdrop-filter: blur(12px);
	padding: 22px;
}

.plan-required-card {
	width: min(580px, 95vw);
	background: rgba(15, 23, 42, 0.98);
	border: 1px solid rgba(56, 189, 248, 0.55);
	border-radius: 24px;
	padding: 26px;
	box-shadow: 0 30px 90px rgba(0,0,0,0.56);
}

.plan-required-card h2 {
	color: #7dd3fc;
	font-size: 32px;
	margin-bottom: 10px;
}

.plan-required-card p {
	color: #cbd5e1;
	line-height: 1.65;
	margin-bottom: 18px;
}

.admin-rank-warning {
	background: rgba(113, 63, 18, 0.24);
	border: 1px solid rgba(250, 204, 21, 0.55);
	border-radius: 16px;
	padding: 14px;
	color: #fde68a;
	margin-top: 14px;
	line-height: 1.55;
}

.payment-note {
	background: rgba(127, 29, 29, 0.22);
	border: 1px solid rgba(248, 113, 113, 0.5);
	border-radius: 16px;
	padding: 15px;
	color: #fecaca;
	margin-top: 20px;
	line-height: 1.6;
}


/* ---------- Real Stripe payment link wiring ---------- */

.stripe-link-note {
	margin-top: 12px;
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid rgba(56, 189, 248, 0.35);
	border-radius: 14px;
	padding: 12px;
	color: #dbeafe;
	font-size: 13px;
	line-height: 1.55;
}

.payment-pending-box {
	margin-top: 20px;
	background: rgba(113, 63, 18, 0.24);
	border: 1px solid rgba(250, 204, 21, 0.55);
	border-radius: 16px;
	padding: 15px;
	color: #fde68a;
	line-height: 1.6;
}

.payment-link-button {
	background: linear-gradient(135deg, #635bff, #38bdf8);
	color: white;
	box-shadow: 0 16px 42px rgba(99, 91, 255, 0.22);
}

.payment-link-button:hover {
	background: linear-gradient(135deg, #5048e5, #0ea5e9);
}


/* ---------- Expanded Bootcamp ---------- */

.bootcamp-note {
	margin-top: 16px;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}

.path-card[data-bootcamp="true"] {
	border-color: rgba(250, 204, 21, 0.65);
	background:
		linear-gradient(180deg, rgba(113, 63, 18, 0.18), rgba(17, 24, 39, 0.94));
}

.path-card[data-bootcamp="true"] .path-status {
	background: #facc15;
	color: #020617;
}


/* ---------- Stripe New Tab Hard Fix ---------- */

.stripe-manual-open-box {
	margin-top: 18px;
	background: rgba(88, 28, 135, 0.24);
	border: 1px solid rgba(167, 139, 250, 0.58);
	border-radius: 16px;
	padding: 16px;
	color: #ddd6fe;
	line-height: 1.6;
}

.stripe-manual-open-box a {
	display: inline-block;
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, #635bff, #38bdf8);
	color: white;
	font-weight: bold;
	text-decoration: none;
}

.stripe-manual-open-box a:hover {
	filter: brightness(1.08);
}


/* ---------- Weekly Mandatory Coursework System ---------- */

.coursework-status-panel {
	margin: 22px 0;
	background:
		linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.92));
	border: 1px solid rgba(56, 189, 248, 0.38);
	border-radius: 20px;
	padding: 20px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.coursework-status-panel h3 {
	color: #7dd3fc;
	font-size: 22px;
	margin-bottom: 8px;
}

.coursework-status-panel p {
	color: #cbd5e1;
	line-height: 1.6;
	margin-bottom: 10px;
}

.week-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.week-card {
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 18px;
	padding: 18px;
	min-height: 240px;
	transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.week-card:hover {
	transform: translateY(-4px);
	border-color: rgba(56, 189, 248, 0.7);
}

.week-card.locked {
	opacity: 0.52;
	filter: grayscale(0.35);
}

.week-card.current {
	border-color: rgba(56, 189, 248, 0.9);
	box-shadow: 0 0 30px rgba(56, 189, 248, 0.13);
}

.week-card.complete {
	border-color: rgba(34, 197, 94, 0.8);
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.22), rgba(17, 24, 39, 0.94));
}

.week-status {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
	background: #334155;
	color: #cbd5e1;
	margin-bottom: 12px;
}

.week-card.current .week-status {
	background: #38bdf8;
	color: #020617;
}

.week-card.complete .week-status {
	background: #22c55e;
	color: #020617;
}

.week-card h3 {
	color: #f8fafc;
	font-size: 21px;
	margin-bottom: 8px;
}

.week-card p,
.week-card li {
	color: #dbeafe;
	line-height: 1.55;
	font-size: 14px;
}

.week-card ul {
	margin: 12px 0 12px 18px;
}

.week-due {
	color: #fde68a !important;
	font-weight: bold;
	margin-top: 10px;
}

.coursework-submit-panel {
	background: rgba(15, 23, 42, 0.95);
	border: 1px solid rgba(34, 197, 94, 0.45);
	border-radius: 22px;
	padding: 24px;
}

.coursework-submit-panel h2 {
	color: #7dd3fc;
	font-size: 34px;
	margin-bottom: 10px;
}

.coursework-submit-panel p {
	color: #cbd5e1;
	line-height: 1.65;
	margin-bottom: 14px;
}

.coursework-checklist {
	display: grid;
	gap: 10px;
	margin: 18px 0;
}

.coursework-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: rgba(2, 6, 23, 0.5);
	border: 1px solid #334155;
	border-radius: 12px;
	padding: 12px;
	color: #dbeafe;
	line-height: 1.5;
}

.coursework-check input {
	margin-top: 3px;
	transform: scale(1.15);
}

.coursework-textarea {
	width: 100%;
	min-height: 160px;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 14px;
	color: #f8fafc;
	line-height: 1.6;
	resize: vertical;
}

.coursework-textarea:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.coursework-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
	margin: 18px 0;
}

.coursework-meta-card {
	background: rgba(30, 41, 59, 0.72);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 15px;
}

.coursework-meta-card span {
	display: block;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 6px;
}

.coursework-meta-card strong {
	color: #7dd3fc;
	font-size: 20px;
}

.coursework-file-box {
	margin: 16px 0;
	padding: 16px;
	border-radius: 16px;
	border: 1px dashed rgba(125, 211, 252, 0.58);
	background: rgba(2, 6, 23, 0.45);
	color: #dbeafe;
}

.coursework-warning {
	background: rgba(127, 29, 29, 0.30);
	border: 1px solid rgba(248, 113, 113, 0.55);
	border-radius: 14px;
	padding: 14px;
	color: #fecaca;
	line-height: 1.6;
	margin-top: 14px;
}

.coursework-lock-banner {
	margin: 18px 0;
	background: rgba(113, 63, 18, 0.24);
	border: 1px solid rgba(250, 204, 21, 0.55);
	border-radius: 16px;
	padding: 15px;
	color: #fde68a;
	line-height: 1.6;
}

.coursework-mini-progress {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 14px 0;
}

.week-dot {
	width: 34px;
	height: 34px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #334155;
	color: #cbd5e1;
	font-weight: 900;
	font-size: 13px;
}

.week-dot.complete {
	background: #22c55e;
	color: #020617;
}

.week-dot.current {
	background: #38bdf8;
	color: #020617;
	box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.week-dot.locked {
	opacity: 0.45;
}


/* ---------- 5-Week Exam System ---------- */

.exam-hub-panel {
	margin-bottom: 22px;
}

.exam-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.exam-card {
	position: relative;
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 20px;
	min-height: 260px;
	transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
}

.exam-card:hover {
	transform: translateY(-4px);
	border-color: rgba(56, 189, 248, 0.7);
}

.exam-card.locked {
	opacity: 0.52;
	filter: grayscale(0.35);
}

.exam-card.available {
	border-color: rgba(56, 189, 248, 0.9);
	box-shadow: 0 0 34px rgba(56, 189, 248, 0.14);
}

.exam-card.passed {
	border-color: rgba(34, 197, 94, 0.85);
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.24), rgba(17, 24, 39, 0.95));
}

.exam-card.failed {
	border-color: rgba(239, 68, 68, 0.75);
	background:
		linear-gradient(180deg, rgba(127, 29, 29, 0.20), rgba(17, 24, 39, 0.95));
}

.exam-status {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 999px;
	background: #334155;
	color: #cbd5e1;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 12px;
}

.exam-card.available .exam-status {
	background: #38bdf8;
	color: #020617;
}

.exam-card.passed .exam-status {
	background: #22c55e;
	color: #020617;
}

.exam-card.failed .exam-status {
	background: #ef4444;
	color: white;
}

.exam-card h3 {
	color: #f8fafc;
	font-size: 22px;
	margin-bottom: 8px;
}

.exam-card p,
.exam-card li {
	color: #dbeafe;
	line-height: 1.55;
	font-size: 14px;
}

.exam-card ul {
	margin: 12px 0 12px 18px;
}

.exam-meta-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 12px 0;
}

.exam-pill {
	display: inline-block;
	padding: 6px 9px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.4);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: bold;
}

.exam-required {
	color: #fde68a !important;
	font-weight: bold;
	margin-top: 10px;
}

.exam-panel {
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(56, 189, 248, 0.45);
	border-radius: 24px;
	padding: 26px;
	box-shadow: 0 28px 80px rgba(0,0,0,0.35);
}

.exam-panel h2 {
	color: #7dd3fc;
	font-size: 36px;
	margin-bottom: 10px;
}

.exam-panel p {
	color: #cbd5e1;
	line-height: 1.65;
	margin-bottom: 14px;
}

.exam-timer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(250, 204, 21, 0.16);
	border: 1px solid rgba(250, 204, 21, 0.55);
	color: #fde68a;
	font-weight: 900;
	padding: 9px 12px;
	border-radius: 999px;
	margin: 12px 0;
}

.exam-question {
	background: rgba(30, 41, 59, 0.72);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 16px;
	margin-top: 14px;
}

.exam-question h4 {
	color: #f8fafc;
	font-size: 18px;
	margin-bottom: 10px;
}

.exam-option {
	display: block;
	background: rgba(2, 6, 23, 0.55);
	border: 1px solid #334155;
	border-radius: 12px;
	padding: 12px;
	margin-top: 8px;
	color: #dbeafe;
	cursor: pointer;
}

.exam-option:hover {
	border-color: #38bdf8;
}

.exam-option input {
	margin-right: 8px;
	transform: scale(1.1);
}

.exam-written {
	width: 100%;
	min-height: 160px;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 14px;
	color: #f8fafc;
	line-height: 1.6;
	resize: vertical;
	margin-top: 10px;
}

.exam-warning {
	background: rgba(127, 29, 29, 0.30);
	border: 1px solid rgba(248, 113, 113, 0.55);
	border-radius: 14px;
	padding: 14px;
	color: #fecaca;
	line-height: 1.6;
	margin-top: 14px;
}

.exam-result {
	background: rgba(20, 83, 45, 0.22);
	border: 1px solid rgba(34, 197, 94, 0.55);
	border-radius: 18px;
	padding: 18px;
	margin-top: 18px;
	color: #d1fae5;
	line-height: 1.65;
}

.exam-result.failed {
	background: rgba(127, 29, 29, 0.24);
	border-color: rgba(248, 113, 113, 0.58);
	color: #fecaca;
}

.exam-cycle-banner {
	margin: 18px 0;
	background: rgba(88, 28, 135, 0.24);
	border: 1px solid rgba(167, 139, 250, 0.55);
	border-radius: 16px;
	padding: 15px;
	color: #ddd6fe;
	line-height: 1.6;
}

.exam-mini-progress {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 14px 0;
}

.exam-dot {
	width: 42px;
	height: 34px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #334155;
	color: #cbd5e1;
	font-weight: 900;
	font-size: 12px;
}

.exam-dot.passed {
	background: #22c55e;
	color: #020617;
}

.exam-dot.available {
	background: #38bdf8;
	color: #020617;
	box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.exam-dot.locked {
	opacity: 0.45;
}


/* ---------- Level Progression System: replaces week/exam locks ---------- */

.level-hub-panel {
	margin-bottom: 22px;
}

.level-summary-panel {
	margin: 22px 0;
	background:
		linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.94));
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 22px 60px rgba(0,0,0,0.24);
}

.level-summary-panel h3 {
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 8px;
}

.level-summary-panel p {
	color: #dbeafe;
	line-height: 1.62;
}

.level-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.level-card {
	background: rgba(17, 24, 39, 0.95);
	border: 1px solid #334155;
	border-radius: 22px;
	padding: 22px;
	min-height: 310px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	position: relative;
	overflow: hidden;
}

.level-card:hover {
	transform: translateY(-5px);
	border-color: rgba(56, 189, 248, 0.72);
}

.level-card.current {
	border-color: rgba(56, 189, 248, 0.95);
	box-shadow: 0 0 38px rgba(56, 189, 248, 0.14);
}

.level-card.complete {
	border-color: rgba(34, 197, 94, 0.85);
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.24), rgba(17, 24, 39, 0.95));
}

.level-card.locked {
	opacity: 0.5;
	filter: grayscale(0.45);
}

.level-status {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: #334155;
	color: #cbd5e1;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 12px;
}

.level-card.current .level-status {
	background: #38bdf8;
	color: #020617;
}

.level-card.complete .level-status {
	background: #22c55e;
	color: #020617;
}

.level-card h3 {
	color: #f8fafc;
	font-size: 23px;
	margin-bottom: 8px;
}

.level-card p,
.level-card li {
	color: #dbeafe;
	line-height: 1.55;
	font-size: 14px;
}

.level-card ul {
	margin: 13px 0 13px 18px;
}

.level-progress-bar {
	height: 9px;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 999px;
	overflow: hidden;
	margin: 14px 0 8px;
}

.level-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #38bdf8, #22c55e);
	transition: width 0.25s ease;
}

.level-meta-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 12px 0;
}

.level-pill {
	padding: 6px 9px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.4);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: bold;
}

.lesson-slot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
	gap: 14px;
	margin-top: 22px;
}

.lesson-slot-card {
	text-align: left;
	background: rgba(17, 24, 39, 0.95);
	border: 1px solid #334155;
	border-radius: 18px;
	padding: 16px;
	min-height: 180px;
	transition: transform 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.lesson-slot-card:hover {
	transform: translateY(-3px);
	border-color: #38bdf8;
}

.lesson-slot-card.complete {
	border-color: rgba(34, 197, 94, 0.82);
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.22), rgba(17, 24, 39, 0.95));
}

.lesson-slot-card.locked {
	opacity: 0.50;
	filter: grayscale(0.35);
	cursor: not-allowed;
}

.lesson-slot-card h4 {
	color: #f8fafc;
	font-size: 17px;
	margin: 8px 0;
}

.lesson-slot-card p {
	color: #cbd5e1;
	line-height: 1.5;
	font-size: 13px;
}

.slot-number {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 11px;
	background: #38bdf8;
	color: #020617;
	font-weight: 900;
	font-size: 13px;
}

.slot-plan {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(167, 139, 250, 0.14);
	border: 1px solid rgba(167, 139, 250, 0.45);
	color: #ddd6fe;
	font-size: 11px;
	font-weight: bold;
}

.level-gate-panel {
	margin-top: 24px;
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.20), rgba(15, 23, 42, 0.96));
	border: 1px solid rgba(34, 197, 94, 0.52);
	border-radius: 22px;
	padding: 22px;
}

.level-gate-panel h3 {
	color: #86efac;
	font-size: 24px;
	margin-bottom: 8px;
}

.level-gate-panel p,
.level-gate-panel li {
	color: #dbeafe;
	line-height: 1.65;
}

.level-gate-panel ul {
	margin-left: 20px;
	margin-top: 10px;
}

.level-evidence-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.level-evidence-card {
	background: rgba(2, 6, 23, 0.5);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 15px;
}

.level-evidence-card h4 {
	color: #7dd3fc;
	margin-bottom: 8px;
}

.level-evidence-card textarea {
	width: 100%;
	min-height: 130px;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 13px;
	padding: 12px;
	color: #f8fafc;
	line-height: 1.55;
	resize: vertical;
}

.level-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 12px;
	padding: 12px;
	background: rgba(2, 6, 23, 0.56);
	border: 1px solid #334155;
	border-radius: 13px;
	color: #dbeafe;
	line-height: 1.5;
}

.level-check input {
	margin-top: 3px;
	transform: scale(1.15);
}

.level-warning {
	margin-top: 14px;
	background: rgba(127, 29, 29, 0.3);
	border: 1px solid rgba(248, 113, 113, 0.55);
	border-radius: 14px;
	padding: 14px;
	color: #fecaca;
	line-height: 1.6;
}

.level-file-box {
	margin-top: 14px;
	background: rgba(88, 28, 135, 0.20);
	border: 1px dashed rgba(167, 139, 250, 0.58);
	border-radius: 16px;
	padding: 15px;
	color: #ddd6fe;
}

.level-file-box input {
	margin-top: 8px;
	width: 100%;
	color: #dbeafe;
}

.level-route-banner {
	margin: 18px 0;
	background: rgba(88, 28, 135, 0.24);
	border: 1px solid rgba(167, 139, 250, 0.55);
	border-radius: 16px;
	padding: 15px;
	color: #ddd6fe;
	line-height: 1.6;
}

.level-dot-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 14px 0;
}

.level-dot {
	width: 38px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: #334155;
	color: #cbd5e1;
	font-weight: 900;
	font-size: 12px;
}

.level-dot.complete {
	background: #22c55e;
	color: #020617;
}

.level-dot.current {
	background: #38bdf8;
	color: #020617;
	box-shadow: 0 0 18px rgba(56, 189, 248, 0.34);
}

.level-dot.locked {
	opacity: 0.45;
}

.level-system-note {
	margin: 18px 0;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}


/* ---------- Lesson Notes Drawer ---------- */

.lesson-notes-side-button {
	position: fixed;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 85;
	width: 48px;
	min-height: 108px;
	border-radius: 18px;
	padding: 10px 8px;
	background:
		linear-gradient(180deg, rgba(56, 189, 248, 0.95), rgba(34, 197, 94, 0.95));
	color: #020617;
	border: 1px solid rgba(219, 234, 254, 0.75);
	box-shadow: 0 18px 50px rgba(56, 189, 248, 0.25);
	font-weight: 900;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	letter-spacing: 0.04em;
	display: none;
}

.lesson-notes-side-button.visible {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lesson-notes-side-button:hover {
	transform: translateY(-50%) translateX(-3px);
	background:
		linear-gradient(180deg, rgba(125, 211, 252, 1), rgba(134, 239, 172, 1));
}

.lesson-notes-inline-button {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 4;
	background: rgba(56, 189, 248, 0.12);
	color: #7dd3fc;
	border: 1px solid rgba(56, 189, 248, 0.45);
	padding: 9px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
}

.lesson-card,
.coursework-submit-panel,
.exam-panel,
.level-gate-panel {
	position: relative;
}

.notes-backdrop {
	position: fixed;
	inset: 0;
	z-index: 180;
	background: rgba(2, 6, 23, 0.58);
	backdrop-filter: blur(10px);
	display: none;
}

.notes-backdrop.open {
	display: block;
}

.notes-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: min(720px, 96vw);
	height: 100vh;
	z-index: 190;
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.99), rgba(2, 6, 23, 0.99));
	border-left: 1px solid rgba(56, 189, 248, 0.42);
	box-shadow: -30px 0 90px rgba(0, 0, 0, 0.58);
	transform: translateX(105%);
	transition: transform 0.25s ease;
	display: flex;
	flex-direction: column;
}

.notes-drawer.open {
	transform: translateX(0);
}

.notes-header {
	padding: 20px 22px;
	border-bottom: 1px solid #334155;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.notes-header h2 {
	color: #7dd3fc;
	font-size: 27px;
	margin-bottom: 5px;
}

.notes-header p {
	color: #cbd5e1;
	line-height: 1.45;
	font-size: 14px;
}

.notes-close-button {
	background: transparent;
	color: #cbd5e1;
	border: 1px solid #334155;
	padding: 9px 12px;
	border-radius: 12px;
}

.notes-close-button:hover {
	background: #ef4444;
	color: white;
	border-color: #ef4444;
}

.notes-toolbar {
	padding: 14px 18px;
	border-bottom: 1px solid #334155;
	display: grid;
	gap: 10px;
	background: rgba(15, 23, 42, 0.88);
}

.notes-toolbar-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.notes-tool-button,
.notes-format-select,
.notes-colour-input {
	background: rgba(30, 41, 59, 0.92);
	color: #dbeafe;
	border: 1px solid #334155;
	border-radius: 10px;
	padding: 9px 10px;
	font-weight: bold;
	min-height: 38px;
}

.notes-tool-button:hover,
.notes-format-select:hover {
	background: #38bdf8;
	color: #020617;
	border-color: #38bdf8;
	transform: translateY(-1px);
}

.notes-tool-button.active {
	background: #22c55e;
	color: #020617;
	border-color: #22c55e;
}

.notes-format-select {
	min-width: 132px;
}

.notes-colour-input {
	width: 48px;
	padding: 4px;
	cursor: pointer;
}

.notes-meta {
	padding: 10px 18px;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	border-bottom: 1px solid rgba(51, 65, 85, 0.8);
	background: rgba(2, 6, 23, 0.42);
	color: #94a3b8;
	font-size: 13px;
}

.notes-status {
	color: #86efac;
	font-weight: bold;
}

.notes-editor-wrap {
	flex: 1;
	overflow-y: auto;
	padding: 22px;
}

.notes-editor {
	min-height: calc(100vh - 320px);
	background: #f8fafc;
	color: #0f172a;
	border: 1px solid #cbd5e1;
	border-radius: 18px;
	padding: 24px;
	line-height: 1.7;
	font-size: 16px;
	outline: none;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 16px 45px rgba(0,0,0,0.18);
}

.notes-editor:focus {
	border-color: #38bdf8;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.8),
		0 0 0 4px rgba(56, 189, 248, 0.18),
		0 16px 45px rgba(0,0,0,0.18);
}

.notes-editor h1,
.notes-editor h2,
.notes-editor h3 {
	line-height: 1.25;
	margin: 12px 0 8px;
	color: #0f172a;
}

.notes-editor p {
	margin: 9px 0;
}

.notes-editor ul,
.notes-editor ol {
	margin: 10px 0 10px 26px;
}

.notes-editor blockquote {
	border-left: 4px solid #38bdf8;
	background: #e0f2fe;
	margin: 12px 0;
	padding: 10px 14px;
	border-radius: 10px;
	color: #0f172a;
}

.notes-editor pre,
.notes-editor code {
	background: #0f172a;
	color: #86efac;
	border-radius: 10px;
	padding: 3px 6px;
	font-family: Consolas, monospace;
}

.notes-editor pre {
	padding: 14px;
	white-space: pre-wrap;
}

.notes-actions-footer {
	padding: 16px 18px;
	border-top: 1px solid #334155;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: space-between;
	background: rgba(15, 23, 42, 0.96);
}

.notes-actions-left,
.notes-actions-right {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.notes-danger {
	background: #ef4444;
	color: white;
}

.notes-danger:hover {
	background: #dc2626;
	color: white;
}

.notes-template-menu {
	position: absolute;
	background: rgba(15, 23, 42, 0.99);
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 10px;
	display: none;
	z-index: 210;
	box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.notes-template-menu.open {
	display: grid;
	gap: 8px;
}

.notes-template-menu button {
	text-align: left;
	background: rgba(30, 41, 59, 0.92);
	color: #dbeafe;
	border: 1px solid #334155;
}

.notes-empty-hint {
	color: #64748b;
}

@media (max-width: 760px) {
	.lesson-notes-side-button {
		right: 10px;
		width: 42px;
		min-height: 94px;
		font-size: 12px;
	}

	.notes-header,
	.notes-editor-wrap {
		padding: 16px;
	}

	.notes-toolbar {
		padding: 12px;
	}

	.notes-editor {
		padding: 18px;
		font-size: 15px;
	}
}





/* ---------- Final removal: no red Exit to Home button ---------- */
#emergencyExitButton,
#globalExitButton,
.emergency-exit-button,
.global-exit-button,
.force-exit-row,
.page-exit-row,
.exit-hint {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}


/* ---------- Pro+ Lifetime one-time plan ---------- */

.plan-card.lifetime {
	border-color: rgba(250, 204, 21, 0.92);
	box-shadow: 0 0 55px rgba(250, 204, 21, 0.16);
	background:
		linear-gradient(180deg, rgba(113, 63, 18, 0.24), rgba(17, 24, 39, 0.96));
}

.plan-card.lifetime .plan-ribbon {
	background: linear-gradient(90deg, #facc15, #a78bfa, #38bdf8);
	color: #020617;
}

.plan-card.lifetime .plan-price {
	color: #fde68a;
}

.lifetime-note {
	margin-top: 12px;
	background: rgba(250, 204, 21, 0.12);
	border: 1px solid rgba(250, 204, 21, 0.45);
	border-radius: 14px;
	padding: 12px;
	color: #fde68a;
	font-size: 13px;
	line-height: 1.55;
}


/* ---------- Assessments dropdown nav ---------- */

.nav-dropdown {
	position: relative;
	display: inline-block;
}

.nav-dropdown-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 190px;
	background: rgba(15, 23, 42, 0.98);
	border: 1px solid rgba(56, 189, 248, 0.38);
	border-radius: 16px;
	padding: 10px;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
	z-index: 140;
	display: none;
}

.nav-dropdown-menu.open {
	display: grid;
	gap: 8px;
	animation: fadeUp 0.18s ease both;
}

.nav-dropdown-menu button {
	width: 100%;
	text-align: left;
	background: rgba(30, 41, 59, 0.88);
	color: #dbeafe;
	border: 1px solid #334155;
	padding: 11px 12px;
	border-radius: 12px;
}

.nav-dropdown-menu button:hover {
	background: #38bdf8;
	color: #020617;
	border-color: #38bdf8;
}

.assessments-panel {
	margin-top: 22px;
}

.assessment-choice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.assessment-choice-card {
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 22px;
	min-height: 230px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.assessment-choice-card:hover {
	transform: translateY(-4px);
	border-color: rgba(56, 189, 248, 0.75);
	box-shadow: 0 20px 55px rgba(56, 189, 248, 0.10);
}

.assessment-choice-card h3 {
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 8px;
}

.assessment-choice-card p,
.assessment-choice-card li {
	color: #dbeafe;
	line-height: 1.6;
}

.assessment-choice-card ul {
	margin: 12px 0 16px 18px;
}

@media (max-width: 760px) {
	.nav-dropdown {
		width: 100%;
	}

	.nav-dropdown > button {
		width: 100%;
	}

	.nav-dropdown-menu {
		position: static;
		margin-top: 8px;
		width: 100%;
	}
}


/* ---------- Assessments nav fix: no dropdown ---------- */

.nav-dropdown,
.nav-dropdown-menu,
#assessmentsMenu {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
}

.nav-actions {
	overflow: visible;
}

.assessment-choice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.assessment-choice-card {
	text-align: left;
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 22px;
	min-height: 230px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.assessment-choice-card:hover {
	transform: translateY(-4px);
	border-color: rgba(56, 189, 248, 0.75);
	box-shadow: 0 20px 55px rgba(56, 189, 248, 0.10);
}

.assessment-choice-card h3 {
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 8px;
}

.assessment-choice-card p,
.assessment-choice-card li {
	color: #dbeafe;
	line-height: 1.6;
}

.assessment-choice-card ul {
	margin: 12px 0 16px 18px;
}


/* ---------- Assessments click fix ---------- */

.nav-actions {
	position: relative;
	z-index: 150;
	pointer-events: auto;
}

.nav-actions button {
	pointer-events: auto;
	cursor: pointer;
}

.nav-dropdown,
.nav-dropdown-menu,
#assessmentsMenu {
	display: none !important;
	pointer-events: none !important;
}

.assessments-panel {
	margin-top: 22px;
}

.assessment-choice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.assessment-choice-card {
	text-align: left;
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 22px;
	min-height: 230px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.assessment-choice-card:hover {
	transform: translateY(-4px);
	border-color: rgba(56, 189, 248, 0.75);
	box-shadow: 0 20px 55px rgba(56, 189, 248, 0.10);
}

.assessment-choice-card h3 {
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 8px;
}

.assessment-choice-card p,
.assessment-choice-card li {
	color: #dbeafe;
	line-height: 1.6;
}

.assessment-choice-card ul {
	margin: 12px 0 16px 18px;
}


/* ---------- Separate Courses and Coursework sections ---------- */

.course-hub-panel,
.coursework-hub-panel {
	margin-top: 22px;
}

.course-hub-grid,
.coursework-hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.course-hub-card,
.coursework-hub-card {
	text-align: left;
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 22px;
	padding: 22px;
	min-height: 270px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	position: relative;
	overflow: hidden;
}

.course-hub-card:hover,
.coursework-hub-card:hover {
	transform: translateY(-4px);
	border-color: rgba(56, 189, 248, 0.75);
	box-shadow: 0 20px 55px rgba(56, 189, 248, 0.10);
}

.course-hub-card h3,
.coursework-hub-card h3 {
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 8px;
}

.course-hub-card p,
.coursework-hub-card p,
.coursework-hub-card li {
	color: #dbeafe;
	line-height: 1.6;
}

.coursework-hub-card ul {
	margin: 12px 0 16px 18px;
}

.course-hub-tag,
.coursework-hub-tag {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.14);
	border: 1px solid rgba(56, 189, 248, 0.45);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 12px;
}

.coursework-hub-card.complete {
	border-color: rgba(34, 197, 94, 0.78);
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.20), rgba(17, 24, 39, 0.94));
}

.coursework-hub-card.locked {
	opacity: 0.56;
	filter: grayscale(0.35);
}

.separation-note {
	margin-top: 18px;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}

.course-page-clean-note {
	margin: 18px 0;
	background: rgba(15, 23, 42, 0.78);
	border: 1px solid rgba(56, 189, 248, 0.34);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}


/* ---------- Correct coursework logic/layout ---------- */

.coursework-access-brief {
	background:
		radial-gradient(circle at 12% 20%, rgba(250, 204, 21, 0.22), transparent 34%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(250, 204, 21, 0.58);
	border-radius: 26px;
	padding: clamp(24px, 4vw, 42px);
	box-shadow: 0 28px 80px rgba(0,0,0,0.36);
}

.coursework-access-brief h2 {
	color: #fde68a;
	font-size: clamp(34px, 5vw, 58px);
	margin: 10px 0 14px;
	line-height: 1.05;
}

.coursework-access-brief p,
.coursework-access-brief li {
	color: #dbeafe;
	line-height: 1.7;
}

.coursework-access-brief ul {
	margin: 16px 0 18px 22px;
}

.coursework-main-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.coursework-main-tabs button {
	background: rgba(30, 41, 59, 0.86);
	color: #dbeafe;
	border: 1px solid #334155;
}

.coursework-main-tabs button.active {
	background: #38bdf8;
	color: #020617;
	border-color: #38bdf8;
}

.coursework-dashboard-intro {
	background:
		linear-gradient(90deg, rgba(56, 189, 248, 0.14), rgba(167, 139, 250, 0.12));
	border: 1px solid rgba(56, 189, 248, 0.38);
	border-radius: 20px;
	padding: 18px;
	margin: 18px 0 22px;
	color: #dbeafe;
	line-height: 1.65;
}

.coursework-two-section-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 18px;
	margin-top: 20px;
}

.coursework-section-large {
	text-align: left;
	background: rgba(17, 24, 39, 0.96);
	border: 1px solid #334155;
	border-radius: 24px;
	padding: 24px;
	min-height: 315px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.coursework-section-large:hover {
	transform: translateY(-5px);
	border-color: rgba(56, 189, 248, 0.75);
	box-shadow: 0 22px 60px rgba(56, 189, 248, 0.10);
}

.coursework-section-large.exam {
	border-color: rgba(167, 139, 250, 0.62);
	background:
		linear-gradient(180deg, rgba(88, 28, 135, 0.22), rgba(17, 24, 39, 0.96));
}

.coursework-section-large h3 {
	color: #7dd3fc;
	font-size: 28px;
	margin-bottom: 10px;
}

.coursework-section-large.exam h3 {
	color: #ddd6fe;
}

.coursework-section-large p,
.coursework-section-large li {
	color: #dbeafe;
	line-height: 1.65;
}

.coursework-section-large ul {
	margin: 14px 0 18px 22px;
}

.coursework-level-grid,
.coursework-exam-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.coursework-level-card,
.coursework-exam-card {
	background: rgba(17, 24, 39, 0.95);
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 20px;
	min-height: 285px;
}

.coursework-level-card.ready,
.coursework-exam-card.ready {
	border-color: rgba(34, 197, 94, 0.75);
}

.coursework-level-card.locked,
.coursework-exam-card.locked {
	opacity: 0.58;
	filter: grayscale(0.35);
}

.coursework-exam-card {
	border-color: rgba(167, 139, 250, 0.50);
}

.coursework-level-card h3,
.coursework-exam-card h3 {
	color: #7dd3fc;
	font-size: 22px;
	margin-bottom: 8px;
}

.coursework-exam-card h3 {
	color: #ddd6fe;
}

.coursework-level-card p,
.coursework-level-card li,
.coursework-exam-card p,
.coursework-exam-card li {
	color: #dbeafe;
	line-height: 1.58;
}

.coursework-level-card ul,
.coursework-exam-card ul {
	margin: 12px 0 16px 20px;
}

.coursework-plan-lock {
	margin-top: 12px;
	color: #fde68a !important;
	font-weight: bold;
}

.coursework-tag {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.14);
	border: 1px solid rgba(56, 189, 248, 0.45);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 12px;
}

.coursework-tag.exam {
	background: rgba(167, 139, 250, 0.14);
	border-color: rgba(167, 139, 250, 0.45);
	color: #ddd6fe;
}


/* ---------- Persistent Admin Role ---------- */

.admin-role-active-banner {
	margin: 18px 0;
	background:
		linear-gradient(90deg, rgba(250, 204, 21, 0.18), rgba(56, 189, 248, 0.10));
	border: 1px solid rgba(250, 204, 21, 0.55);
	border-radius: 16px;
	padding: 15px;
	color: #fde68a;
	line-height: 1.6;
	font-weight: bold;
}

.rank-badge.admin,
.admin-role-chip {
	background: rgba(250, 204, 21, 0.18) !important;
	border-color: rgba(250, 204, 21, 0.65) !important;
	color: #fde68a !important;
}


/* ---------- Courses removed: Assessments hub replaces it ---------- */

.assessment-main-panel {
	margin-top: 22px;
}

.assessment-main-hero {
	background:
		radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.18), transparent 34%),
		radial-gradient(circle at 90% 22%, rgba(167, 139, 250, 0.18), transparent 32%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 28px;
	padding: clamp(24px, 4vw, 42px);
	box-shadow: 0 28px 80px rgba(0,0,0,0.36);
}

.assessment-main-hero h2 {
	color: #7dd3fc;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.04;
	margin: 10px 0 14px;
}

.assessment-main-hero p {
	color: #dbeafe;
	line-height: 1.7;
	font-size: 17px;
	max-width: 950px;
}

.assessment-main-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 18px;
	margin-top: 24px;
}

.assessment-main-card {
	text-align: left;
	background: rgba(17, 24, 39, 0.96);
	border: 1px solid #334155;
	border-radius: 24px;
	padding: 24px;
	min-height: 320px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.assessment-main-card:hover {
	transform: translateY(-5px);
	border-color: rgba(56, 189, 248, 0.76);
	box-shadow: 0 24px 65px rgba(56, 189, 248, 0.11);
}

.assessment-main-card.exam {
	border-color: rgba(167, 139, 250, 0.62);
	background:
		linear-gradient(180deg, rgba(88, 28, 135, 0.22), rgba(17, 24, 39, 0.96));
}

.assessment-main-card h3 {
	color: #7dd3fc;
	font-size: 29px;
	margin-bottom: 10px;
}

.assessment-main-card.exam h3 {
	color: #ddd6fe;
}

.assessment-main-card p,
.assessment-main-card li {
	color: #dbeafe;
	line-height: 1.65;
}

.assessment-main-card ul {
	margin: 14px 0 18px 22px;
}

.assessment-subnav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.assessment-subnav button {
	background: rgba(30, 41, 59, 0.88);
	color: #dbeafe;
	border: 1px solid #334155;
}

.assessment-subnav button.active {
	background: #38bdf8;
	color: #020617;
	border-color: #38bdf8;
}

.assessment-note {
	margin: 18px 0 0;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}

#navCourses,
.course-hub-panel,
.course-page-clean-note {
	display: none !important;
}


/* ---------- Expanded lessons, coursework, and exams ---------- */

.expanded-lesson-card {
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 24px;
	padding: 26px;
}

.expanded-lesson-card h2 {
	color: #7dd3fc;
	font-size: clamp(30px, 5vw, 52px);
	margin: 10px 0 14px;
}

.expanded-lesson-card p,
.expanded-lesson-card li {
	color: #dbeafe;
	line-height: 1.7;
}

.expanded-lesson-block {
	margin: 18px 0;
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid #334155;
	border-radius: 18px;
	padding: 18px;
}

.expanded-lesson-block h3 {
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 10px;
}

.expanded-lesson-block ul,
.expanded-lesson-block ol {
	margin-left: 22px;
}

.expanded-practical-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.expanded-practical-card {
	background: rgba(2, 6, 23, 0.55);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 15px;
}

.expanded-practical-card h4 {
	color: #fde68a;
	margin-bottom: 8px;
	font-size: 18px;
}

.expanded-exam-question {
	background: rgba(30, 41, 59, 0.72);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 16px;
	margin: 12px 0;
}

.expanded-exam-question h4 {
	color: #f8fafc;
	font-size: 18px;
	margin-bottom: 10px;
}

.expanded-exam-question label {
	display: block;
	margin-top: 8px;
	padding: 10px;
	border-radius: 12px;
	background: rgba(2, 6, 23, 0.45);
	color: #dbeafe;
}

.expanded-coursework-stage {
	display: inline-block;
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(250, 204, 21, 0.14);
	border: 1px solid rgba(250, 204, 21, 0.44);
	color: #fde68a;
	font-size: 12px;
	font-weight: 900;
	margin-right: 6px;
	margin-bottom: 6px;
}


/* ---------- More Levels expansion ---------- */

.level-card.mastery {
	border-color: rgba(167, 139, 250, 0.72);
	background:
		linear-gradient(180deg, rgba(88, 28, 135, 0.18), rgba(17, 24, 39, 0.95));
}

.level-card.business {
	border-color: rgba(250, 204, 21, 0.70);
	background:
		linear-gradient(180deg, rgba(113, 63, 18, 0.18), rgba(17, 24, 39, 0.95));
}

.level-expansion-note {
	margin: 18px 0;
	background: rgba(167, 139, 250, 0.12);
	border: 1px solid rgba(167, 139, 250, 0.44);
	border-radius: 16px;
	padding: 15px;
	color: #ddd6fe;
	line-height: 1.6;
}

.level-card h3 .level-tier-small {
	display: block;
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 4px;
}


/* ---------- Level sections / second tab unlock ---------- */

.level-section-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.level-section-tabs button {
	background: rgba(30, 41, 59, 0.88);
	color: #dbeafe;
	border: 1px solid #334155;
}

.level-section-tabs button.active {
	background: #38bdf8;
	color: #020617;
	border-color: #38bdf8;
}

.level-section-tabs button.locked {
	opacity: 0.55;
	cursor: not-allowed;
	filter: grayscale(0.35);
}

.level-section-lock-note {
	margin: 14px 0;
	background: rgba(113, 63, 18, 0.22);
	border: 1px solid rgba(250, 204, 21, 0.48);
	border-radius: 16px;
	padding: 15px;
	color: #fde68a;
	line-height: 1.6;
}

.level-workshop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 22px;
}

.level-workshop-card {
	text-align: left;
	background: rgba(17, 24, 39, 0.95);
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 20px;
	min-height: 270px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.level-workshop-card:hover {
	transform: translateY(-4px);
	border-color: rgba(56, 189, 248, 0.75);
	box-shadow: 0 20px 55px rgba(56, 189, 248, 0.10);
}

.level-workshop-card.complete {
	border-color: rgba(34, 197, 94, 0.78);
	background:
		linear-gradient(180deg, rgba(20, 83, 45, 0.20), rgba(17, 24, 39, 0.95));
}

.level-workshop-card h3 {
	color: #7dd3fc;
	font-size: 22px;
	margin-bottom: 8px;
}

.level-workshop-card p,
.level-workshop-card li {
	color: #dbeafe;
	line-height: 1.58;
}

.level-workshop-card ul {
	margin: 12px 0 16px 20px;
}

.level-workshop-tag {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(167, 139, 250, 0.14);
	border: 1px solid rgba(167, 139, 250, 0.45);
	color: #ddd6fe;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 12px;
}

.level-workshop-panel {
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(167, 139, 250, 0.46);
	border-radius: 24px;
	padding: 26px;
}

.level-workshop-panel h2 {
	color: #ddd6fe;
	font-size: clamp(32px, 5vw, 54px);
	margin: 10px 0 14px;
}

.level-workshop-panel p,
.level-workshop-panel li {
	color: #dbeafe;
	line-height: 1.7;
}

.level-workshop-panel ul,
.level-workshop-panel ol {
	margin: 14px 0 18px 22px;
}

.level-mini-section-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 16px;
}

.level-mini-section-card {
	background: rgba(2, 6, 23, 0.55);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 15px;
}

.level-mini-section-card h4 {
	color: #fde68a;
	margin-bottom: 8px;
}

.level-section-progress {
	margin: 18px 0;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.40);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}

.level-section-progress strong {
	color: #7dd3fc;
}


/* ---------- XP System + Leaderboard ---------- */

.xp-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(250, 204, 21, 0.14);
	border: 1px solid rgba(250, 204, 21, 0.48);
	color: #fde68a;
	padding: 8px 12px;
	border-radius: 999px;
	font-weight: 900;
	font-size: 13px;
}

.xp-topbar-card {
	margin: 16px 0;
	background:
		linear-gradient(90deg, rgba(250, 204, 21, 0.16), rgba(56, 189, 248, 0.10));
	border: 1px solid rgba(250, 204, 21, 0.42);
	border-radius: 18px;
	padding: 16px;
	color: #dbeafe;
	line-height: 1.6;
}

.xp-progress-track {
	height: 10px;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 999px;
	overflow: hidden;
	margin-top: 10px;
}

.xp-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #facc15, #38bdf8, #22c55e);
	transition: width 0.25s ease;
}

.leaderboard-panel {
	margin-top: 22px;
}

.leaderboard-hero {
	background:
		radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.20), transparent 34%),
		radial-gradient(circle at 86% 20%, rgba(56, 189, 248, 0.16), transparent 32%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(250, 204, 21, 0.48);
	border-radius: 28px;
	padding: clamp(24px, 4vw, 42px);
	box-shadow: 0 28px 80px rgba(0,0,0,0.36);
}

.leaderboard-hero h2 {
	color: #fde68a;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.04;
	margin: 10px 0 14px;
}

.leaderboard-hero p {
	color: #dbeafe;
	line-height: 1.7;
	font-size: 17px;
	max-width: 980px;
}

.xp-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	margin: 22px 0;
}

.xp-stat-card {
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 18px;
	padding: 18px;
}

.xp-stat-card span {
	display: block;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin-bottom: 7px;
}

.xp-stat-card strong {
	color: #7dd3fc;
	font-size: 28px;
}

.leaderboard-table-wrap {
	overflow-x: auto;
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid #334155;
	border-radius: 22px;
	margin-top: 20px;
}

.leaderboard-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 720px;
}

.leaderboard-table th,
.leaderboard-table td {
	padding: 14px;
	border-bottom: 1px solid #334155;
	text-align: left;
	color: #dbeafe;
}

.leaderboard-table th {
	background: rgba(56, 189, 248, 0.12);
	color: #7dd3fc;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.07em;
}

.leaderboard-table tr.current-user td {
	background: rgba(250, 204, 21, 0.12);
	color: #fde68a;
	font-weight: bold;
}

.leaderboard-rank {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: #334155;
	color: #f8fafc;
	font-weight: 900;
}

.leaderboard-rank.top1 {
	background: #facc15;
	color: #020617;
}

.leaderboard-rank.top2 {
	background: #cbd5e1;
	color: #020617;
}

.leaderboard-rank.top3 {
	background: #fb923c;
	color: #020617;
}

.xp-history {
	display: grid;
	gap: 10px;
	margin-top: 18px;
	max-height: 320px;
	overflow-y: auto;
}

.xp-history-item {
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 12px;
	color: #dbeafe;
	line-height: 1.45;
}

.xp-history-item strong {
	color: #86efac;
}

.xp-history-item time {
	display: block;
	color: #94a3b8;
	font-size: 12px;
	margin-bottom: 4px;
}

.xp-rules-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.xp-rule-card {
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid #334155;
	border-radius: 16px;
	padding: 16px;
}

.xp-rule-card h3 {
	color: #7dd3fc;
	font-size: 20px;
	margin-bottom: 8px;
}

.xp-rule-card p,
.xp-rule-card li {
	color: #dbeafe;
	line-height: 1.58;
}

.xp-toast {
	position: fixed;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%) translateY(20px);
	z-index: 250;
	background: rgba(15, 23, 42, 0.98);
	border: 1px solid rgba(250, 204, 21, 0.62);
	color: #fde68a;
	border-radius: 999px;
	padding: 12px 18px;
	box-shadow: 0 18px 55px rgba(0,0,0,0.38);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	font-weight: 900;
}

.xp-toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.leaderboard-name-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.leaderboard-name-form input {
	background: #020617;
	border: 1px solid #334155;
	color: #f8fafc;
	border-radius: 12px;
	padding: 12px;
	min-width: 220px;
}


/* ---------- Local + Global Leaderboard ---------- */

.leaderboard-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.leaderboard-tabs button {
	background: rgba(30, 41, 59, 0.88);
	color: #dbeafe;
	border: 1px solid #334155;
}

.leaderboard-tabs button.active {
	background: #facc15;
	color: #020617;
	border-color: #facc15;
}

.global-leaderboard-banner {
	margin: 18px 0;
	background:
		linear-gradient(90deg, rgba(59, 130, 246, 0.16), rgba(250, 204, 21, 0.12));
	border: 1px solid rgba(56, 189, 248, 0.45);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.65;
}

.global-leaderboard-banner strong {
	color: #fde68a;
}

.global-season-card {
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid rgba(167, 139, 250, 0.48);
	border-radius: 18px;
	padding: 18px;
	margin: 18px 0;
}

.global-season-card h3 {
	color: #ddd6fe;
	font-size: 24px;
	margin-bottom: 8px;
}

.global-season-card p {
	color: #dbeafe;
	line-height: 1.6;
}

.global-sync-panel {
	margin-top: 18px;
	background: rgba(20, 83, 45, 0.18);
	border: 1px solid rgba(34, 197, 94, 0.45);
	border-radius: 16px;
	padding: 15px;
	color: #d1fae5;
	line-height: 1.6;
}

.global-sync-panel code {
	background: rgba(2, 6, 23, 0.65);
	color: #86efac;
	padding: 2px 6px;
	border-radius: 7px;
}


/* ---------- Real Global Leaderboard API Mode ---------- */

.real-global-status {
	margin: 18px 0;
	background: rgba(15, 23, 42, 0.86);
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}

.real-global-status.online {
	border-color: rgba(34, 197, 94, 0.55);
	background: rgba(20, 83, 45, 0.18);
	color: #d1fae5;
}

.real-global-status.offline {
	border-color: rgba(248, 113, 113, 0.55);
	background: rgba(127, 29, 29, 0.22);
	color: #fecaca;
}

.real-global-config {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 10px;
	margin: 14px 0;
	align-items: center;
}

.real-global-config input {
	background: #020617;
	border: 1px solid #334155;
	color: #f8fafc;
	border-radius: 12px;
	padding: 12px;
	min-width: 260px;
}

.real-global-empty {
	background: rgba(2, 6, 23, 0.62);
	border: 1px dashed rgba(125, 211, 252, 0.48);
	border-radius: 18px;
	padding: 24px;
	color: #dbeafe;
	line-height: 1.7;
	margin-top: 18px;
}

.real-global-empty h3 {
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 10px;
}

.real-global-backend-card {
	margin-top: 18px;
	background: rgba(88, 28, 135, 0.18);
	border: 1px solid rgba(167, 139, 250, 0.48);
	border-radius: 18px;
	padding: 18px;
	color: #ddd6fe;
	line-height: 1.65;
}

.real-global-backend-card code {
	background: rgba(2, 6, 23, 0.75);
	color: #86efac;
	padding: 3px 7px;
	border-radius: 8px;
}


/* ---------- Google account sign-in for real global leaderboard ---------- */

.google-auth-panel {
	margin: 18px 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(66, 133, 244, 0.12));
	border: 1px solid rgba(125, 211, 252, 0.45);
	border-radius: 18px;
	padding: 18px;
	color: #dbeafe;
	line-height: 1.6;
}

.google-auth-panel h3 {
	color: #7dd3fc;
	font-size: 24px;
	margin-bottom: 8px;
}

.google-auth-config {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	margin: 14px 0;
	align-items: center;
}

.google-auth-config input {
	background: #020617;
	border: 1px solid #334155;
	color: #f8fafc;
	border-radius: 12px;
	padding: 12px;
	min-width: 280px;
}

.google-user-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(20, 83, 45, 0.18);
	border: 1px solid rgba(34, 197, 94, 0.48);
	border-radius: 16px;
	padding: 14px;
	margin-top: 12px;
	color: #d1fae5;
}

.google-user-card img {
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.35);
}

.google-user-card strong {
	color: #86efac;
	display: block;
}

.google-required-warning {
	margin-top: 12px;
	background: rgba(127, 29, 29, 0.25);
	border: 1px solid rgba(248, 113, 113, 0.52);
	border-radius: 14px;
	padding: 13px;
	color: #fecaca;
	line-height: 1.55;
}

#googleSignInButton {
	margin-top: 12px;
	min-height: 42px;
}

.google-backend-note {
	margin-top: 14px;
	background: rgba(88, 28, 135, 0.18);
	border: 1px solid rgba(167, 139, 250, 0.45);
	border-radius: 14px;
	padding: 13px;
	color: #ddd6fe;
	line-height: 1.55;
}

.google-backend-note code {
	background: rgba(2, 6, 23, 0.72);
	color: #86efac;
	padding: 2px 6px;
	border-radius: 7px;
}


/* ---------- Simple Google Login UI ---------- */

.simple-google-card {
	margin: 18px 0;
	background:
		linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(2, 6, 23, 0.96));
	border: 1px solid rgba(56, 189, 248, 0.45);
	border-radius: 22px;
	padding: 22px;
	color: #dbeafe;
	line-height: 1.6;
}

.simple-google-card h3 {
	color: #7dd3fc;
	font-size: 25px;
	margin-bottom: 8px;
}

.simple-google-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 16px 0;
}

.simple-google-step {
	background: rgba(30, 41, 59, 0.72);
	border: 1px solid #334155;
	border-radius: 15px;
	padding: 14px;
}

.simple-google-step strong {
	color: #fde68a;
	display: block;
	margin-bottom: 6px;
}

.simple-google-input-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.simple-google-input-row input {
	flex: 1;
	min-width: 260px;
	background: #020617;
	border: 1px solid #334155;
	color: #f8fafc;
	border-radius: 12px;
	padding: 12px;
}

.simple-google-user {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(20, 83, 45, 0.18);
	border: 1px solid rgba(34, 197, 94, 0.48);
	border-radius: 15px;
	padding: 13px;
	margin-top: 14px;
	color: #d1fae5;
}

.simple-google-user img {
	width: 38px;
	height: 38px;
	border-radius: 999px;
}

.simple-google-user strong {
	color: #86efac;
	display: block;
}

.simple-google-warning {
	background: rgba(127, 29, 29, 0.20);
	border: 1px solid rgba(248, 113, 113, 0.45);
	border-radius: 14px;
	padding: 12px;
	color: #fecaca;
	margin-top: 12px;
}

.simple-dev-details {
	margin-top: 14px;
}

.simple-dev-details summary {
	cursor: pointer;
	color: #94a3b8;
	font-weight: bold;
}

.simple-dev-details div {
	margin-top: 10px;
	background: rgba(2, 6, 23, 0.55);
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 12px;
	color: #cbd5e1;
}

.simple-dev-details code {
	background: rgba(15, 23, 42, 0.95);
	color: #86efac;
	padding: 2px 6px;
	border-radius: 7px;
}


/* ---------- XP retained, leaderboard removed ---------- */

#navLeaderboard,
.leaderboard-tabs,
.leaderboard-table-wrap,
.leaderboard-table,
.global-leaderboard-banner,
.global-season-card,
.global-sync-panel,
.real-global-status,
.real-global-config,
.real-global-empty,
.real-global-backend-card,
.google-auth-panel,
.simple-google-card {
	display: none !important;
}

.xp-dashboard-panel {
	margin-top: 22px;
}

.xp-dashboard-hero {
	background:
		radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.20), transparent 34%),
		radial-gradient(circle at 86% 20%, rgba(56, 189, 248, 0.16), transparent 32%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(250, 204, 21, 0.48);
	border-radius: 28px;
	padding: clamp(24px, 4vw, 42px);
	box-shadow: 0 28px 80px rgba(0,0,0,0.36);
}

.xp-dashboard-hero h2 {
	color: #fde68a;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.04;
	margin: 10px 0 14px;
}

.xp-dashboard-hero p {
	color: #dbeafe;
	line-height: 1.7;
	font-size: 17px;
	max-width: 980px;
}

.xp-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
	margin: 22px 0;
}

.xp-dashboard-card {
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid #334155;
	border-radius: 18px;
	padding: 18px;
}

.xp-dashboard-card span {
	display: block;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	margin-bottom: 7px;
}

.xp-dashboard-card strong {
	color: #7dd3fc;
	font-size: 30px;
}

.xp-dashboard-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.xp-history-clean {
	display: grid;
	gap: 10px;
	margin-top: 18px;
	max-height: 360px;
	overflow-y: auto;
}

.xp-history-clean .xp-history-item {
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 12px;
	color: #dbeafe;
	line-height: 1.45;
}

.xp-system-note {
	margin: 18px 0;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}


/* ---------- Beginner onboarding lock ---------- */

body.beginner-locked .nav-actions {
	display: none !important;
}

body.beginner-locked .admin-trigger,
body.beginner-locked #adminPanel,
body.beginner-locked .lesson-notes-side-button,
body.beginner-locked .admin-role-active-banner,
body.beginner-locked .xp-topbar-card {
	display: none !important;
}

.beginner-only-panel {
	min-height: calc(100vh - 120px);
	display: grid;
	place-items: center;
	padding: clamp(22px, 4vw, 46px);
}

.beginner-briefing-card {
	width: min(1050px, 100%);
	background:
		radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.20), transparent 34%),
		radial-gradient(circle at 88% 18%, rgba(250, 204, 21, 0.18), transparent 32%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(56, 189, 248, 0.45);
	border-radius: 32px;
	padding: clamp(26px, 5vw, 54px);
	box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.beginner-briefing-card h1 {
	color: #7dd3fc;
	font-size: clamp(42px, 7vw, 78px);
	line-height: 1.02;
	margin: 12px 0 16px;
	letter-spacing: -0.04em;
}

.beginner-briefing-card p,
.beginner-briefing-card li {
	color: #dbeafe;
	line-height: 1.72;
	font-size: 17px;
}

.beginner-briefing-card ul {
	margin: 18px 0 20px 22px;
}

.beginner-badge {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.14);
	border: 1px solid rgba(56, 189, 248, 0.48);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.beginner-path-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 26px 0;
}

.beginner-path-card {
	background: rgba(17, 24, 39, 0.92);
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 20px;
}

.beginner-path-card h3 {
	color: #fde68a;
	font-size: 22px;
	margin-bottom: 8px;
}

.beginner-action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.beginner-action-row button {
	font-size: 16px;
	padding: 14px 18px;
}

.beginner-plan-preview {
	margin-top: 22px;
	background: rgba(250, 204, 21, 0.10);
	border: 1px solid rgba(250, 204, 21, 0.42);
	border-radius: 18px;
	padding: 16px;
	color: #fde68a;
	line-height: 1.6;
}

.beginner-plan-preview strong {
	color: #fef3c7;
}

.beginner-plan-lock-note {
	margin: 18px 0;
	background: rgba(127, 29, 29, 0.22);
	border: 1px solid rgba(248, 113, 113, 0.48);
	border-radius: 16px;
	padding: 15px;
	color: #fecaca;
	line-height: 1.6;
}


/* ---------- Plan bypasses briefing correction ---------- */

.plan-bypass-note {
	margin: 18px 0;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.45);
	border-radius: 16px;
	padding: 15px;
	color: #d1fae5;
	line-height: 1.6;
}


/* ---------- Pro+ Lifetime hard bypass fix ---------- */

.lifetime-access-active-note {
	margin: 18px 0;
	background: rgba(250, 204, 21, 0.13);
	border: 1px solid rgba(250, 204, 21, 0.52);
	border-radius: 16px;
	padding: 15px;
	color: #fde68a;
	line-height: 1.6;
	font-weight: bold;
}


/* ---------- Basic / Free does NOT bypass ---------- */

.free-requires-plan-note {
	margin: 18px 0;
	background: rgba(127, 29, 29, 0.22);
	border: 1px solid rgba(248, 113, 113, 0.52);
	border-radius: 16px;
	padding: 15px;
	color: #fecaca;
	line-height: 1.6;
	font-weight: bold;
}


/* ---------- Polished academy plan gate ---------- */

.plan-gate-hero {
	background:
		radial-gradient(circle at 14% 20%, rgba(34, 197, 94, 0.20), transparent 32%),
		radial-gradient(circle at 86% 18%, rgba(56, 189, 248, 0.22), transparent 34%),
		radial-gradient(circle at 55% 96%, rgba(167, 139, 250, 0.16), transparent 35%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 30px;
	padding: clamp(26px, 5vw, 56px);
	box-shadow: 0 34px 100px rgba(0,0,0,0.38);
	margin-bottom: 24px;
	text-align: center;
}

.plan-gate-hero h1 {
	font-size: clamp(44px, 7vw, 82px);
	line-height: 1.02;
	letter-spacing: -0.05em;
	margin: 12px auto 16px;
	color: #f8fafc;
}

.plan-gate-hero h1 span {
	color: #86efac;
}

.plan-gate-hero p {
	max-width: 900px;
	margin: 0 auto;
	color: #dbeafe;
	font-size: 18px;
	line-height: 1.72;
}

.plan-gate-badge {
	display: inline-block;
	padding: 8px 13px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.14);
	border: 1px solid rgba(56, 189, 248, 0.48);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.plan-gate-flow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 28px;
	text-align: left;
}

.plan-gate-step {
	background: rgba(17, 24, 39, 0.82);
	border: 1px solid #334155;
	border-radius: 18px;
	padding: 17px;
}

.plan-gate-step strong {
	display: block;
	color: #fde68a;
	font-size: 18px;
	margin-bottom: 6px;
}

.plan-gate-step span {
	color: #dbeafe;
	line-height: 1.55;
}

.plan-gate-warning {
	margin: 20px 0;
	background: rgba(127, 29, 29, 0.20);
	border: 1px solid rgba(248, 113, 113, 0.48);
	border-radius: 16px;
	padding: 15px;
	color: #fecaca;
	line-height: 1.62;
	font-weight: bold;
}

.plan-grid.relevant-plans {
	align-items: stretch;
}

.plan-card.preview-only {
	opacity: 0.88;
	border-color: rgba(148, 163, 184, 0.48);
	background:
		linear-gradient(180deg, rgba(51, 65, 85, 0.24), rgba(17, 24, 39, 0.96));
}

.plan-card.preview-only .plan-ribbon {
	background: #64748b;
	color: #f8fafc;
}

.plan-card.plus-entry {
	border-color: rgba(34, 197, 94, 0.62);
}

.plan-card.plus-entry .plan-ribbon {
	background: linear-gradient(90deg, #22c55e, #38bdf8);
	color: #020617;
}

.plan-card.best-value {
	border-color: rgba(250, 204, 21, 0.92);
	box-shadow: 0 0 55px rgba(250, 204, 21, 0.16);
}

.plan-card.best-value .plan-ribbon {
	background: linear-gradient(90deg, #facc15, #38bdf8);
	color: #020617;
}

.plan-card .plan-use-case {
	margin-top: 12px;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.34);
	border-radius: 13px;
	padding: 11px;
	color: #dbeafe;
	font-size: 13px;
	line-height: 1.55;
}

.plan-card.preview-only .plan-use-case {
	background: rgba(148, 163, 184, 0.10);
	border-color: rgba(148, 163, 184, 0.34);
}

.plan-current-warning {
	margin-top: 10px;
	color: #fde68a;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.45;
}

.plan-page-footer-note {
	margin-top: 20px;
	background: rgba(15, 23, 42, 0.78);
	border: 1px solid rgba(56, 189, 248, 0.34);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}


/* ---------- Minimal Platinum Plan Styling: no layout revamp ---------- */

.plan-card.platinum-plan,
.plan-card.platinum {
	border-color: rgba(226, 232, 240, 0.95);
	box-shadow: 0 0 48px rgba(226, 232, 240, 0.12);
	background:
		radial-gradient(circle at 18% 0%, rgba(226, 232, 240, 0.18), transparent 32%),
		linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(17, 24, 39, 0.96));
}

.plan-card.platinum-plan .plan-ribbon,
.plan-card.platinum .plan-ribbon {
	background: linear-gradient(90deg, #e2e8f0, #38bdf8, #a78bfa);
	color: #020617;
}

.plan-card.platinum-plan .plan-price,
.plan-card.platinum .plan-price {
	color: #e2e8f0;
}


/* ---------- Grouped Pro+ Monthly/Lifetime options ---------- */

.grouped-choice-card {
	border-color: rgba(56, 189, 248, 0.76);
}

.grouped-plan-grid .plan-card.proplus {
	background:
		radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.20), transparent 32%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.96));
}

.plan-option-box {
	margin-top: 16px;
	background: rgba(2, 6, 23, 0.45);
	border: 1px solid rgba(56, 189, 248, 0.36);
	border-radius: 16px;
	padding: 14px;
	display: grid;
	gap: 12px;
}

.plan-option-box h4 {
	color: #7dd3fc;
	font-size: 18px;
	margin-bottom: 2px;
}

.plan-choice-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid #334155;
	border-radius: 14px;
	padding: 12px;
}

.plan-choice-row strong {
	display: block;
	color: #f8fafc;
	font-size: 15px;
}

.plan-choice-row span {
	display: block;
	color: #cbd5e1;
	font-size: 13px;
	line-height: 1.35;
	margin-top: 2px;
}

.plan-choice-row.lifetime-choice {
	border-color: rgba(250, 204, 21, 0.52);
	background: rgba(113, 63, 18, 0.18);
}

.plan-choice-row.lifetime-choice strong {
	color: #fde68a;
}

.grouped-plan-grid .platinum-plan {
	border-color: rgba(226, 232, 240, 0.82);
}

.grouped-plan-grid .platinum-plan .plan-ribbon {
	background: linear-gradient(90deg, #e2e8f0, #38bdf8, #a78bfa);
	color: #020617;
}


/* ---------- Pro+ single button choice modal ---------- */

.proplus-single-button-card .plan-current-warning {
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.34);
	border-radius: 13px;
	padding: 11px;
	color: #dbeafe;
}

.proplus-main-choice-button {
	margin-top: 14px;
}

.proplus-choice-backdrop {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(2, 6, 23, 0.74);
	backdrop-filter: blur(12px);
	display: grid;
	place-items: center;
	padding: 20px;
}

.proplus-choice-modal {
	width: min(760px, 96vw);
	background:
		radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.20), transparent 34%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.99), rgba(2, 6, 23, 0.99));
	border: 1px solid rgba(56, 189, 248, 0.45);
	border-radius: 26px;
	padding: 24px;
	box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
}

.proplus-choice-head {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.proplus-choice-head h2 {
	color: #7dd3fc;
	font-size: clamp(32px, 5vw, 52px);
	margin: 8px 0 6px;
	letter-spacing: -0.04em;
}

.proplus-choice-head p {
	color: #dbeafe;
	line-height: 1.6;
}

.proplus-choice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.proplus-choice-card {
	text-align: left;
	background: rgba(17, 24, 39, 0.96);
	border: 1px solid rgba(56, 189, 248, 0.45);
	border-radius: 20px;
	padding: 20px;
	color: #dbeafe;
	min-height: 190px;
}

.proplus-choice-card:hover {
	border-color: rgba(56, 189, 248, 0.85);
	box-shadow: 0 22px 60px rgba(56, 189, 248, 0.12);
}

.proplus-choice-card span {
	display: inline-block;
	margin-bottom: 10px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(56, 189, 248, 0.14);
	border: 1px solid rgba(56, 189, 248, 0.38);
	color: #7dd3fc;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

.proplus-choice-card strong {
	display: block;
	color: #f8fafc;
	font-size: 28px;
	margin-bottom: 10px;
}

.proplus-choice-card p {
	color: #dbeafe;
	line-height: 1.55;
}

.proplus-choice-card.lifetime {
	border-color: rgba(250, 204, 21, 0.55);
	background:
		radial-gradient(circle at 18% 0%, rgba(250, 204, 21, 0.16), transparent 30%),
		rgba(17, 24, 39, 0.96);
}

.proplus-choice-card.lifetime span {
	background: rgba(250, 204, 21, 0.14);
	border-color: rgba(250, 204, 21, 0.44);
	color: #fde68a;
}

.proplus-choice-card.lifetime strong {
	color: #fde68a;
}

.proplus-choice-note {
	margin-top: 16px;
	background: rgba(250, 204, 21, 0.10);
	border: 1px solid rgba(250, 204, 21, 0.36);
	border-radius: 14px;
	padding: 12px;
	color: #fde68a;
	line-height: 1.55;
	font-weight: 700;
}


/* ---------- Platinum Lifetime choice modal ---------- */

.platinum-single-button-card .plan-current-warning {
	background: rgba(226, 232, 240, 0.10);
	border: 1px solid rgba(226, 232, 240, 0.34);
	border-radius: 13px;
	padding: 11px;
	color: #f8fafc;
}

.platinum-main-choice-button {
	margin-top: 14px;
}

.platinum-choice-modal {
	border-color: rgba(226, 232, 240, 0.55);
	background:
		radial-gradient(circle at 15% 0%, rgba(226, 232, 240, 0.18), transparent 34%),
		radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.16), transparent 32%),
		linear-gradient(180deg, rgba(15, 23, 42, 0.99), rgba(2, 6, 23, 0.99));
}

.platinum-monthly-choice {
	border-color: rgba(226, 232, 240, 0.54);
}

.platinum-monthly-choice span {
	background: rgba(226, 232, 240, 0.12);
	border-color: rgba(226, 232, 240, 0.38);
	color: #e2e8f0;
}

.platinum-lifetime-choice {
	border-color: rgba(250, 204, 21, 0.70);
	box-shadow: 0 0 45px rgba(250, 204, 21, 0.12);
}

.platinum-lifetime-choice strong {
	color: #fde68a;
}


/* ---------- Platinum access gate fix note ---------- */

.platinum-access-fixed-note {
	margin: 18px 0;
	background: rgba(226, 232, 240, 0.10);
	border: 1px solid rgba(226, 232, 240, 0.45);
	border-radius: 16px;
	padding: 15px;
	color: #f8fafc;
	line-height: 1.6;
	font-weight: bold;
}


/* ---------- Clean paid-access homepage buttons ---------- */

.clean-home-actions {
	justify-content: center;
	gap: 18px;
}

.clean-home-actions button {
	min-width: 230px;
}

.clean-home-actions button.secondary {
	min-width: 170px;
}


/* ---------- Course rename + 15 course levels patch ---------- */

.course-expansion-note {
	margin: 18px 0;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #dbeafe;
	line-height: 1.6;
}


/* ---------- Course Section 2 styling ---------- */

.course-section-tabs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin: 20px 0;
}

.course-section-tabs button {
	text-align: left;
	background: rgba(30, 41, 59, 0.86);
	color: #dbeafe;
	border: 1px solid #334155;
	border-radius: 20px;
	padding: 18px;
	display: grid;
	gap: 6px;
}

.course-section-tabs button.active {
	background:
		radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.28), transparent 35%),
		linear-gradient(180deg, rgba(14, 165, 233, 0.28), rgba(30, 41, 59, 0.92));
	border-color: rgba(56, 189, 248, 0.82);
	box-shadow: 0 18px 55px rgba(56, 189, 248, 0.12);
}

.course-section-tabs button.locked {
	opacity: 0.55;
	filter: grayscale(0.3);
}

.course-section-tabs span {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: #38bdf8;
	color: #020617;
	font-weight: 950;
	font-size: 18px;
}

.course-section-tabs strong {
	color: #f8fafc;
	font-size: 18px;
}

.course-section-tabs small {
	color: #cbd5e1;
	font-size: 13px;
}

.course-section-panel .course-expansion-note {
	margin: 18px 0;
	background: rgba(167, 139, 250, 0.11);
	border: 1px solid rgba(167, 139, 250, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #ddd6fe;
	line-height: 1.6;
}


/* ---------- Bugfix polish: duplicate Course + legacy path cards ---------- */

.nav-actions button#navCourse {
	min-width: 118px;
}

.legacy-path-fixed-note {
	margin: 18px 0;
	background: rgba(56, 189, 248, 0.10);
	border: 1px solid rgba(56, 189, 248, 0.38);
	border-radius: 16px;
	padding: 14px;
	color: #dbeafe;
	line-height: 1.6;
}


/* ---------- Course Section 2 Level 30 expansion ---------- */

.section-2-level-30-note {
	margin: 18px 0;
	background: rgba(250, 204, 21, 0.10);
	border: 1px solid rgba(250, 204, 21, 0.42);
	border-radius: 16px;
	padding: 15px;
	color: #fde68a;
	line-height: 1.6;
	font-weight: 800;
}
