/* /learner/progress — trainee-facing dashboard styling. */

.ln-page {
	max-width: 68rem;
	margin: 0 auto;
}

.ln-header {
	padding: 1rem 0 0.5rem 0;
}

.ln-title {
	margin: 0 0 0.25rem 0;
	font-size: 1.7rem;
}

.ln-next {
	border-left: 4px solid #2b57b5;
}

.ln-next__kicker {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #2b57b5;
	margin-bottom: 0.25rem;
}

.ln-next__title {
	margin: 0 0 0.35rem 0;
	font-size: 1.25rem;
}

.ln-next__body {
	margin: 0 0 0.75rem 0;
	color: var(--text-muted, #555);
}

.ln-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.75rem;
	margin: 1rem 0;
}

@media (max-width: 720px) {
	.ln-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

.ln-stat {
	background: var(--card-bg, #fafafa);
	border: 1px solid var(--border-color, #e0e0e0);
	border-radius: 0.5rem;
	padding: 0.85rem;
}

.ln-stat__label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-muted, #7d7d7d);
}

.ln-stat__value {
	font-size: 1.4rem;
	font-weight: 600;
	margin-top: 0.1rem;
	font-variant-numeric: tabular-nums;
}

.ln-stat__of {
	font-weight: 400;
	font-size: 0.85rem;
	color: var(--text-muted, #7d7d7d);
}

.ln-bar {
	position: relative;
	height: 0.45rem;
	background: #e6e9ef;
	border-radius: 0.25rem;
	overflow: hidden;
	margin-top: 0.45rem;
}

.ln-bar__fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #2b57b5, #4c82e6);
	transition: width 0.3s ease;
}

.ln-modules {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0 0;
}

.ln-module {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--border-color, #eee);
}

.ln-module:last-child {
	border-bottom: 0;
}

.ln-module__left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 1 1 auto;
}

.ln-module__badge {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #e6e9ef;
	color: #394052;
	display: grid;
	place-items: center;
	font-weight: 600;
	flex-shrink: 0;
}

.ln-module--done .ln-module__badge {
	background: #d6f0dd;
	color: #0b5e2b;
}

.ln-module__title {
	font-weight: 500;
}

.ln-module__meta {
	font-size: 0.82rem;
}

.ln-module__right {
	flex: 0 0 auto;
}

.ln-help {
	margin-top: 1rem;
}
