/* Partner Split inspired design - learn.ceots.io */
:root {
	--bg-color: #f8f9fa;
	--text-color: #333333;
	--link-color: #2c5aa0;
	--header-bg: #ffffff;
	--black: black;
	--blue1: #96d4ee;
	--blue2: #a5daf0;
	--blue3: #c3e6f5;
	--gray1: #c2c2c2;
	--gray2: rgba(220, 220, 220, 0.22);
	--font-family: 'Colfax Regular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* {
	transition-delay: 0;
	transition-duration: .1s;
	transition-property: all;
	transition-timing-function: ease;
	box-sizing: border-box;
}
html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	font-family: var(--font-family);
	background-color: var(--bg-color);
	color: var(--text-color);
}
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
/* Utility classes */
.df { display: flex; }
.fdc { flex-direction: column; }
.fdr { flex-direction: row; }
.fww { flex-wrap: wrap; }
.jcc { justify-content: center; }
.jcsb { justify-content: space-between; }
.aic { align-items: center; }
.w100p { width: 100%; }
.gap1 { gap: 1rem; }
.gap2 { gap: 2rem; }
/* Container pattern */
.container {
	padding: 1rem;
	background: white;
	border-left: 1px solid var(--black);
	border-top: 1px solid var(--black);
	border-top-left-radius: 4px;
	border-right: 1px solid var(--gray1);
	border-bottom: 1px solid var(--gray1);
	border-bottom-right-radius: 4px;
	box-shadow: 4px 4px 0px 0px var(--blue3);
	position: relative;
}
.container:hover {
	box-shadow: 4px 4px 0px 0px var(--blue2);
}
/* Button styles */
.btn {
	display: inline-block;
	padding: 0.5rem 1.5rem;
	background-color: white;
	color: var(--black);
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.5px;
	border: 1px solid var(--black);
	border-radius: 2px;
	box-shadow: 2px 2px 0px 0px var(--blue2);
	cursor: pointer;
}
.btn:hover {
	box-shadow: 4px 4px 0px 0px var(--blue2);
	transform: translateY(-1px);
}
.btn.primary {
	background-color: var(--black);
	color: white;
	box-shadow: 2px 2px 0px 0px var(--black);
}
.btn.primary:hover {
	box-shadow: 4px 4px 0px 0px var(--black);
}
.btn.secondary {
	background-color: white;
	color: var(--black);
}
/* Nav styles */
nav[ceots__learn="nav"] {
	width: 100%;
	padding: 0.75rem 2rem;
	background-color: var(--header-bg);
	border-bottom: 1px solid var(--gray1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.nav__container {
	max-width: 1200px;
	margin: 0 auto;
}
.nav__logo {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--black);
	text-decoration: none;
	letter-spacing: -0.5px;
}
.nav__links {
	gap: 1.5rem;
}
.nav__links a {
	color: var(--text-color);
	text-decoration: none;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 1rem;
	letter-spacing: 0.5px;
}
.nav__links a:hover {
	color: var(--link-color);
}
.nav__auth {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.user__name {
	font-size: 1rem;
	color: var(--text-color);
}
/* Hero section */
section[ceots__learn="hero"] {
	background: white;
	padding: 3rem 2rem;
	border-bottom: 1px solid var(--gray1);
	text-align: center;
}
section[ceots__learn="hero"] h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 0.5rem 0;
	letter-spacing: -1px;
}
section[ceots__learn="hero"] p {
	font-size: 1.1rem;
	color: #666;
	margin: 0;
}
/* Classrooms section */
section[ceots__learn="classrooms"] {
	padding: 2rem;
}
.content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
}
.classrooms__header {
	margin-bottom: 1.5rem;
}
.classrooms__header h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: -0.5px;
}
.classrooms__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}
.classroom__card {
	background: white;
	border-left: 1px solid var(--black);
	border-top: 1px solid var(--black);
	border-top-left-radius: 4px;
	border-right: 1px solid var(--gray1);
	border-bottom: 1px solid var(--gray1);
	border-bottom-right-radius: 4px;
	box-shadow: 4px 4px 0px 0px var(--blue3);
	overflow: hidden;
	transition: all 0.1s ease;
}
.classroom__card:hover {
	box-shadow: 4px 4px 0px 0px var(--blue2);
}
.classroom__card img {
	width: 100%;
	height: 160px;
	object-fit: contain;
	background: var(--blue3);
	border-bottom: 1px solid var(--gray1);
}
.classroom__card__content {
	padding: 1rem;
}
.classroom__card h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 0.5rem 0;
	letter-spacing: -0.25px;
}
.classroom__card p {
	font-size: 1rem;
	color: #666;
	margin: 0 0 1rem 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.classroom__card__meta {
	font-size: 1rem;
	color: #999;
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
}
.classroom__card .btn {
	width: 100%;
	text-align: center;
}
/* Pagination */
.classrooms__pagination {
	margin-top: 2rem;
	gap: 0.5rem;
}
.classrooms__pagination button {
	padding: 0.5rem 1rem;
	background: white;
	border: 1px solid var(--gray1);
	border-radius: 2px;
	cursor: pointer;
	font-size: 1rem;
}
.classrooms__pagination button:hover {
	background: var(--gray2);
}
.classrooms__pagination button.active {
	background: var(--black);
	color: white;
	border-color: var(--black);
}
.classrooms__pagination button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
/* Footer */
footer[ceots__learn="footer"] {
	margin-top: auto;
	padding: 1.5rem 2rem;
	background: var(--header-bg);
	border-top: 1px solid var(--gray1);
	text-align: center;
}
footer[ceots__learn="footer"] p {
	font-size: 1rem;
	color: #666;
	margin: 0;
}
/* Loading state */
.loading {
	text-align: center;
	padding: 3rem;
	color: #666;
}
/* Empty state */
.empty-state {
	text-align: center;
	padding: 3rem;
	color: #666;
}
.empty-state h3 {
	font-size: 1.25rem;
	margin: 0 0 0.5rem 0;
}
.empty-state p {
	margin: 0 0 1rem 0;
}
/* Classroom detail page */
.classroom__header {
	background: white;
	padding: 2rem;
	border-bottom: 1px solid var(--gray1);
}
.classroom__header__content {
	max-width: 1200px;
	margin: 0 auto;
}
.classroom__header h1 {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 0.5rem 0;
	letter-spacing: -0.5px;
}
.classroom__header p {
	font-size: 1rem;
	color: #666;
	margin: 0 0 1rem 0;
	max-width: 600px;
}
.classroom__header__meta {
	font-size: 1rem;
	color: #999;
	display: flex;
	gap: 1.5rem;
}
.classroom__content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 2rem;
}
@media (max-width: 900px) {
	.classroom__content {
		grid-template-columns: 1fr;
	}
}
/* Lessons sidebar */
.lessons__sidebar {
	background: white;
	border: 1px solid var(--gray1);
	border-radius: 4px;
	padding: 1rem;
	height: fit-content;
	position: sticky;
	top: 1rem;
}
.lessons__sidebar h3 {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--gray1);
}
.lesson__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	color: var(--text-color);
}
.lesson__item:hover {
	background: var(--gray2);
}
.lesson__item.active {
	background: var(--blue3);
}
.lesson__item__number {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gray1);
	color: white;
	font-size: 1rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lesson__item.completed .lesson__item__number {
	background: #28a745;
}
.lesson__item__title {
	font-size: 1rem;
	flex: 1;
}
/* Tabs */
.classroom__tabs {
	display: flex;
	gap: 0;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--gray1);
}
.classroom__tabs button {
	padding: 0.75rem 1.5rem;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	color: #666;
}
.classroom__tabs button:hover {
	color: var(--black);
}
.classroom__tabs button.active {
	color: var(--black);
	border-bottom-color: var(--black);
}
/* Main content area */
.classroom__main {
	min-height: 400px;
}
/* Feed styles */
.feed__container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.feed__compose {
	background: white;
	border: 1px solid var(--gray1);
	border-radius: 4px;
	padding: 1rem;
	margin-bottom: 1rem;
}
.feed__compose textarea {
	width: 100%;
	min-height: 80px;
	border: 1px solid var(--gray1);
	border-radius: 4px;
	padding: 0.75rem;
	font-family: inherit;
	font-size: 1rem;
	resize: vertical;
	margin-bottom: 0.75rem;
}
.feed__compose textarea:focus {
	outline: none;
	border-color: var(--blue2);
}
.compose__actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
}
.feed__post {
	background: white;
	border: 1px solid var(--gray1);
	border-radius: 4px;
	padding: 1rem;
}
.post__header {
	display: flex;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}
.post__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gray1);
}
.post__meta {
	display: flex;
	flex-direction: column;
}
.post__author {
	font-weight: 600;
	font-size: 1rem;
}
.post__time {
	font-size: 1rem;
	color: #999;
}
.post__content {
	font-size: 1rem;
	line-height: 1.5;
	margin-bottom: 0.75rem;
	white-space: pre-wrap;
}
.post__attachment {
	max-width: 100%;
	border-radius: 4px;
	margin-bottom: 0.75rem;
}
.post__actions {
	display: flex;
	gap: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--gray1);
}
.post__actions button {
	background: none;
	border: none;
	font-size: 1rem;
	color: #666;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
}
.post__actions button:hover {
	background: var(--gray2);
	color: var(--black);
}
.post__actions button.liked {
	color: var(--link-color);
	font-weight: 600;
}
/* Post owner actions */
.post__owner__actions {
	margin-left: auto;
	display: flex;
	gap: 0.5rem;
}
.btn__text {
	background: none;
	border: none;
	color: #666;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	font-size: 1rem;
}
.btn__text:hover {
	color: var(--black);
	text-decoration: underline;
}
.btn__text.btn__danger {
	color: #dc3545;
}
.btn__text.btn__danger:hover {
	color: #a71d2a;
}
.btn__small {
	padding: 0.25rem 0.75rem;
	font-size: 1rem;
}
.btn__secondary {
	background: white;
	border: 1px solid var(--gray1);
	color: #666;
}
.btn__secondary:hover {
	background: var(--gray2);
	color: var(--black);
}
/* Post edit form */
.post__edit__form {
	margin-bottom: 0.75rem;
}
.post__edit__form textarea {
	width: 100%;
	min-height: 80px;
	border: 1px solid var(--gray1);
	border-radius: 4px;
	padding: 0.75rem;
	font-family: inherit;
	font-size: 1rem;
	resize: vertical;
	margin-bottom: 0.5rem;
}
.post__edit__form .edit__actions {
	display: flex;
	gap: 0.5rem;
}
/* Comments */
.post__comments {
	padding-top: 1rem;
	margin-top: 0.75rem;
	border-top: 1px solid var(--gray1);
}
.comment {
	padding: 0.75rem 0;
	font-size: 1rem;
	border-bottom: 1px solid var(--gray2);
}
.comment:last-of-type {
	border-bottom: none;
}
.comment__header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}
.comment__author {
	font-weight: 600;
}
.comment__actions {
	margin-left: auto;
}
.comment__content {
	line-height: 1.4;
	margin-bottom: 0.25rem;
}
.comment__footer {
	margin-top: 0.25rem;
}
.comment__footer .liked {
	color: var(--link-color);
	font-weight: 600;
}
.comment__edit__form {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	flex-wrap: wrap;
}
.comment__edit__form input {
	flex: 1;
	min-width: 150px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--gray1);
	border-radius: 4px;
	font-size: 1rem;
}
.comment__compose {
	margin-top: 0.75rem;
}
.comment__compose input {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--gray1);
	border-radius: 4px;
	font-size: 1rem;
}
/* Enrolled badge */
.enrolled__badge {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: #d4edda;
	color: #155724;
	border-radius: 4px;
	font-weight: 500;
	margin-right: 0.5rem;
}
div[ceots__learn="enroll__container"] {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
/* Lesson view */
.lesson__container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 2rem;
}
.lesson__video {
	background: black;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1.5rem;
}
.lesson__video iframe {
	width: 100%;
	aspect-ratio: 16/9;
	border: none;
}
.lesson__info h1 {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 0.75rem 0;
	letter-spacing: -0.5px;
}
.lesson__info p {
	font-size: 1rem;
	color: #666;
	line-height: 1.6;
	margin: 0 0 1.5rem 0;
}
.lesson__navigation {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gray1);
}
/* Dashboard */
.dashboard__header {
	background: white;
	padding: 2rem;
	border-bottom: 1px solid var(--gray1);
}
.dashboard__header h1 {
	font-size: 2rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: -0.5px;
}
.dashboard__content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
}
.dashboard__section {
	margin-bottom: 2rem;
}
.dashboard__section h2 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
}
/* Forms */
.form__group {
	margin-bottom: 1rem;
}
.form__group label {
	display: block;
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 0.25rem;
}
.form__group input,
.form__group textarea {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--gray1);
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
}
.form__group input:focus,
.form__group textarea:focus {
	outline: none;
	border-color: var(--blue2);
}
/* Modal */
.modal__overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
.modal__content {
	background: white;
	border-radius: 8px;
	padding: 2rem;
	max-width: 500px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
}
.modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}
.modal__header h2 {
	font-size: 1.25rem;
	margin: 0;
}
.modal__close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #666;
}
.modal__close:hover {
	color: var(--black);
}
/* Manage page */
.manage__header {
	background: white;
	padding: 1.5rem 2rem;
	border-bottom: 1px solid var(--gray1);
}
.manage__header h1 {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0.5rem 0 0;
	letter-spacing: -0.5px;
}
.manage__content {
	max-width: 1000px;
	margin: 0 auto;
	padding: 2rem;
}
.manage__section {
	margin-bottom: 2rem;
}
.manage__section h2 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
}
.lessons__manage__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.lesson__manage__item {
	padding: 1rem;
}
.lesson__manage__item strong {
	font-size: 1rem;
}
/* Responsive */
@media (max-width: 768px) {
	nav[ceots__learn="nav"] {
		padding: 0.5rem 1rem;
	}
	.nav__container {
		flex-wrap: wrap;
		gap: 0.5rem;
	}
	.nav__logo {
		font-size: 1.1rem;
	}
	.nav__links {
		gap: 0.75rem;
		flex-wrap: wrap;
	}
	.nav__links a {
		font-size: 1rem;
	}
	.nav__auth .btn {
		padding: 0.35rem 0.75rem;
		font-size: 1rem;
	}
	.user__name {
		font-size: 1rem;
		max-width: 100px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	section[ceots__learn="hero"] {
		padding: 2rem 1rem;
	}
	section[ceots__learn="hero"] h1 {
		font-size: 1.75rem;
	}
	section[ceots__learn="hero"] p {
		font-size: 1rem;
	}
	section[ceots__learn="classrooms"] {
		padding: 1rem;
	}
	.classrooms__grid {
		grid-template-columns: 1fr;
	}
	.classroom__header {
		padding: 1.5rem 1rem;
	}
	.classroom__header h1 {
		font-size: 1.5rem;
	}
	.classroom__header__meta {
		flex-wrap: wrap;
		gap: 0.75rem;
	}
	.classroom__content {
		padding: 1rem;
		gap: 1rem;
	}
	.lessons__sidebar {
		position: static;
	}
	.lesson__container {
		padding: 1rem;
	}
	.lesson__info h1 {
		font-size: 1.25rem;
	}
	.lesson__navigation {
		flex-direction: column;
	}
	.dashboard__header {
		padding: 1.5rem 1rem;
	}
	.dashboard__header h1 {
		font-size: 1.5rem;
	}
	.dashboard__content {
		padding: 1rem;
	}
	.dashboard__section .df.jcsb {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
	footer[ceots__learn="footer"] {
		padding: 1rem;
	}
}
@media (max-width: 480px) {
	.nav__container {
		justify-content: center;
	}
	.nav__links {
		width: 100%;
		justify-content: center;
		padding-top: 0.5rem;
		border-top: 1px solid var(--gray1);
		margin-top: 0.5rem;
	}
}
