/**
 * Udemy/Coursera Style - Additional Pages & Features
 *
 * @package Coursee
 * @since 1.0.0
 */

/* ============================================
   SEARCH PAGE
   ============================================ */

.coursee-search-courses {
	padding: 2rem 0;
}

.course-search-form {
	margin-bottom: 2rem;
}

.search-input-wrapper {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.course-search-input {
	flex: 1;
	padding: 0.875rem 1.25rem;
	border: 2px solid #000000;
	font-size: 1rem;
}

.course-search-input:focus {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

.search-filters {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.filter-select {
	padding: 0.625rem 1rem;
	border: 2px solid #000000;
	font-size: 0.875rem;
	font-weight: 600;
	background: #ffffff;
	color: #000000;
	cursor: pointer;
}

.filter-select:focus {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

/* ============================================
   CATEGORIES PAGE
   ============================================ */

.coursee-categories {
	padding: 2rem 0;
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.category-card {
	border: 2px solid #000000;
	padding: 2rem;
	transition: all 0.2s ease;
	background: #ffffff;
}

.category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.category-card a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.category-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 0.75rem;
}

.category-card p {
	color: #6b7280;
	font-size: 0.875rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.category-count {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #000000;
	padding: 0.25rem 0.75rem;
	border: 1px solid #000000;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ============================================
   LEARNING PATHS
   ============================================ */

.coursee-learning-paths {
	padding: 2rem 0;
}

.learning-paths-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

/* ============================================
   MY NOTES
   ============================================ */

.coursee-my-notes {
	padding: 2rem 0;
}

.notes-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

.note-item {
	border: 2px solid #000000;
	padding: 1.5rem;
	background: #ffffff;
}

.note-course {
	margin-bottom: 0.75rem;
}

.note-course a {
	color: #000000;
	text-decoration: underline;
	font-weight: 600;
	font-size: 0.875rem;
}

.note-content {
	color: #374151;
	line-height: 1.8;
	margin-bottom: 1rem;
}

.note-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
	color: #6b7280;
}

/* ============================================
   COURSE Q&A
   ============================================ */

.coursee-course-qa {
	padding: 2rem 0;
}

.qa-form {
	margin-bottom: 2rem;
	padding: 1.5rem;
	border: 2px solid #000000;
	background: #ffffff;
}

.qa-question-input {
	width: 100%;
	padding: 1rem;
	border: 2px solid #000000;
	font-size: 0.9375rem;
	min-height: 120px;
	margin-bottom: 1rem;
	resize: vertical;
}

.qa-question-input:focus {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

.qa-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.qa-item {
	border: 2px solid #000000;
	padding: 1.5rem;
	background: #ffffff;
}

.qa-question {
	font-weight: 700;
	color: #000000;
	margin-bottom: 0.75rem;
	font-size: 1.125rem;
}

.qa-answer {
	color: #374151;
	line-height: 1.8;
	margin-bottom: 1rem;
}

.qa-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
	color: #6b7280;
}

/* ============================================
   COMPARE COURSES
   ============================================ */

.coursee-compare-courses {
	padding: 2rem 0;
}

.compare-courses-selector {
	margin-bottom: 2rem;
}

.compare-search-input {
	width: 100%;
	padding: 0.875rem 1.25rem;
	border: 2px solid #000000;
	font-size: 1rem;
}

.compare-courses-table {
	margin-top: 2rem;
	overflow-x: auto;
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	border: 2px solid #000000;
}

.compare-table th,
.compare-table td {
	padding: 1rem;
	border: 1px solid #000000;
	text-align: left;
}

.compare-table th {
	background: #000000;
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ============================================
   NOTIFICATIONS PAGE
   ============================================ */

.coursee-notifications-page {
	padding: 2rem 0;
}

.notifications-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2rem;
}

.notification-item {
	border: 2px solid #000000;
	padding: 1.5rem;
	background: #ffffff;
	transition: all 0.2s ease;
}

.notification-item.unread {
	background: #f9fafb;
	border-color: #000000;
}

.notification-item:hover {
	transform: translateX(4px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.notification-content {
	color: #374151;
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.notification-date {
	font-size: 0.875rem;
	color: #6b7280;
}

/* ============================================
   SETTINGS PAGE
   ============================================ */

.coursee-settings-page {
	padding: 2rem 0;
	max-width: 800px;
	margin: 0 auto;
}

.settings-form {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.settings-section {
	border: 2px solid #000000;
	padding: 2rem;
	background: #ffffff;
}

.settings-section h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.settings-form .form-group {
	margin-bottom: 1.5rem;
}

.settings-form label {
	display: block;
	font-weight: 600;
	color: #000000;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
}

.settings-form input[type="text"],
.settings-form input[type="email"],
.settings-form input[type="password"] {
	width: 100%;
	padding: 0.875rem 1rem;
	border: 2px solid #000000;
	font-size: 0.9375rem;
}

.settings-form input:focus {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

.settings-form input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-right: 0.5rem;
	border: 2px solid #000000;
}

/* ============================================
   HELP CENTER
   ============================================ */

.coursee-help-center {
	padding: 2rem 0;
}

.help-sections {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.help-section {
	border: 2px solid #000000;
	padding: 2rem;
	background: #ffffff;
}

.help-section h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.help-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.help-section li {
	margin-bottom: 0.75rem;
}

.help-section a {
	color: #000000;
	text-decoration: underline;
	font-size: 0.9375rem;
	font-weight: 600;
}

.help-section a:hover {
	text-decoration: none;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.coursee-contact-form {
	padding: 2rem 0;
	max-width: 600px;
	margin: 0 auto;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.contact-form .form-group {
	display: flex;
	flex-direction: column;
}

.contact-form label {
	font-weight: 600;
	color: #000000;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
}

.contact-form input,
.contact-form textarea {
	padding: 0.875rem 1rem;
	border: 2px solid #000000;
	font-size: 0.9375rem;
	font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

.contact-form textarea {
	resize: vertical;
	min-height: 150px;
}

/* ============================================
   INSTRUCTORS PAGE
   ============================================ */

.coursee-instructors-list {
	padding: 2rem 0;
}

.instructors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.instructor-card {
	border: 2px solid #000000;
	padding: 2rem;
	text-align: center;
	background: #ffffff;
	transition: all 0.2s ease;
}

.instructor-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.instructor-card a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.instructor-avatar {
	margin-bottom: 1rem;
}

.instructor-avatar img {
	border-radius: 50%;
	border: 2px solid #000000;
}

.instructor-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 0.75rem;
}

.instructor-card p {
	color: #6b7280;
	font-size: 0.875rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.instructor-stats {
	font-size: 0.875rem;
	color: #000000;
	font-weight: 600;
}

/* ============================================
   UPCOMING SESSIONS
   ============================================ */

.coursee-upcoming-sessions {
	padding: 2rem 0;
}

.sessions-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

.session-item {
	border: 2px solid #000000;
	padding: 1.5rem;
	background: #ffffff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.session-item h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 0.5rem;
}

.session-date {
	font-size: 0.875rem;
	color: #6b7280;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	.search-filters {
		flex-direction: column;
	}
	
	.filter-select {
		width: 100%;
	}
	
	.categories-grid,
	.instructors-grid {
		grid-template-columns: 1fr;
	}
	
	.session-item {
		flex-direction: column;
		align-items: flex-start;
	}
}

