.lp-locked-content {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 12px;
	padding: 1.25rem;
	margin: 1rem 0;
}

.lp-status--pending { color: #b45309; font-weight: 600; }

.lp-cart-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}

.lp-cart-table th,
.lp-cart-table td {
	padding: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
}

.lp-notice {
	padding: 0.75rem 1rem;
	border-radius: 8px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
}

.lp-notice--success {
	background: #ecfdf5;
	border-color: #a7f3d0;
}

.lp-enrollment-list {
	list-style: none;
	padding: 0;
}

.lp-enrollment-list__item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 0.75rem;
}

.lp-lesson-links {
	margin: 0.5rem 0 0;
	padding-left: 1.2rem;
}

.lp-checkout-note {
	color: #64748b;
	font-size: 0.95rem;
}

/* —— Auth forms —— */
.lp-auth-form {
	max-width: 480px;
	margin: 0 auto;
	padding: 2rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}
.lp-auth-form h2 {
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #1e293b;
	text-align: center;
}
.lp-auth-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.lp-auth-form .input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1rem;
	color: #1e293b;
	background: #fff;
	box-sizing: border-box;
}
.lp-auth-form .input:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.lp-auth-form p {
	margin-bottom: 1rem;
}
.lp-auth-form__error {
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	color: #dc2626;
	font-size: 0.9rem;
}
.lp-auth-form__alt {
	margin-top: 1rem;
	text-align: center;
	color: #64748b;
	font-size: 0.9rem;
}
.lp-auth-form__alt a {
	color: #3b82f6;
	text-decoration: underline;
}
.lp-btn {
	display: inline-block;
	padding: 0.7rem 1.5rem;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	line-height: 1.4;
}
.lp-btn--primary {
	background: #f59e0b;
	color: #fff;
}
.lp-btn--primary:hover {
	background: #d97706;
	color: #fff;
	text-decoration: none;
}
.lp-btn--ghost {
	background: transparent;
	color: #dc2626;
	border: 1px solid #fecaca;
}
.lp-btn--ghost:hover {
	background: #fef2f2;
}

/* —— Course card footer & archive buttons —— */
.course-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
}
.course-card__footer .lp-btn {
	padding: 0.45rem 0.9rem;
	font-size: 0.85rem;
}
.lp-archive-enroll-form {
	margin: 0;
	display: inline;
}
.lp-archive-enroll-form .lp-btn {
	padding: 0.45rem 0.9rem;
	font-size: 0.85rem;
}
.lp-card-status {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
}
.lp-card-status--approved {
	background: #dcfce7;
	color: #166534;
}
.lp-card-status--pending {
	background: #fef3c7;
	color: #92400e;
}
.lp-card-status--rejected {
	background: #fee2e2;
	color: #991b1b;
}

/* —— Subjects section —— */
.lp-subjects-section {
	padding: 2.5rem 0;
}

.lp-subjects-section__heading {
	margin: 0 0 0.5rem;
	font-size: 1.75rem;
	font-weight: 700;
	color: #1e293b;
	text-align: center;
}

.lp-subjects-section__subheading {
	margin: 0 auto 2rem;
	max-width: 480px;
	color: #64748b;
	font-size: 1rem;
	text-align: center;
}

.lp-subjects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.lp-subjects-grid > p {
	display: contents;
}

.lp-subjects-grid > p:empty {
	display: none;
}

.lp-subject-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 2rem 1rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	text-decoration: none;
	color: #1e293b;
	text-align: center;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.lp-subject-item:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	color: #1e293b;
	text-decoration: none;
}

.lp-subject-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #f1f5f9;
	font-size: 1.5rem;
	font-weight: 700;
	color: #334155;
	flex-shrink: 0;
}

.lp-subject-item__name {
	font-size: 1rem;
	font-weight: 600;
	color: #1e293b;
}

.lp-subject-item__count {
	font-size: 0.8rem;
	color: #94a3b8;
}

@media (max-width: 768px) {
	.lp-subjects-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}

	.lp-subject-item {
		padding: 1.5rem 0.75rem;
	}
}

@media (max-width: 480px) {
	.lp-subjects-grid {
		grid-template-columns: 1fr 1fr;
		gap: 0.6rem;
	}

	.lp-subject-item {
		padding: 1.1rem 0.4rem;
	}

	.lp-subject-item__icon {
		width: 40px;
		height: 40px;
		font-size: 1.15rem;
	}

	.lp-subject-item__name {
		font-size: 0.85rem;
	}

	.lp-subject-item__count {
		font-size: 0.7rem;
	}
}

/* —— Course Lessons List —— */
.course-lessons-list {
	margin: 2rem 0;
	padding: 2rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

.course-lessons-list h2 {
	margin: 0 0 1rem;
	font-size: 1.3rem;
	font-weight: 700;
	color: #1e293b;
}

.course-lessons-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.course-lessons-list li {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #f1f5f9;
	font-size: 1rem;
}

.course-lessons-list li:last-child {
	border-bottom: none;
}

.course-lessons-list li a {
	color: #2563eb;
	text-decoration: none;
	font-weight: 500;
}

.course-lessons-list li a:hover {
	text-decoration: underline;
}

.lesson-locked {
	color: #94a3b8;
}

/* —— Quiz System —— */
.lp-quiz-container {
	max-width: 680px;
	margin: 2.5rem 0 1.5rem;
	padding: 2rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

.lp-quiz-container h3 {
	margin: 0 0 1.5rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: #1e293b;
}

.lp-quiz-previous {
	margin-bottom: 1.5rem;
	padding: 0.75rem 1rem;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	font-size: 0.9rem;
	color: #1e40af;
}

.lp-quiz-question {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #f1f5f9;
}

.lp-quiz-question:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.lp-quiz-question__text {
	font-size: 1rem;
	color: #1e293b;
	margin-bottom: 0.75rem;
}

.lp-quiz-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	margin-bottom: 0.4rem;
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.95rem;
	color: #334155;
	transition: background 0.15s;
}

.lp-quiz-option:hover {
	background: #f8fafc;
}

.lp-quiz-option input[type="radio"] {
	margin: 0;
}

.lp-quiz-text-input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1rem;
	color: #1e293b;
	box-sizing: border-box;
}

.lp-quiz-text-input:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Quiz Results */
.lp-quiz-results {
	max-width: 680px;
	margin: 2rem 0;
	padding: 2rem;
	border-radius: 12px;
	text-align: center;
}

.lp-quiz-results h3 {
	margin: 0 0 1rem;
	font-size: 1.3rem;
}

.lp-quiz-results p {
	font-size: 1rem;
	margin: 0.5rem 0;
}

.lp-quiz-pass {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #166534;
}

.lp-quiz-fail {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.lp-quiz-score {
	font-size: 2rem !important;
	font-weight: 700;
}

.lp-quiz-score span {
	font-size: 1rem;
	font-weight: 400;
	opacity: 0.7;
}
