:root {
	--primary: #4f46e5;
	--secondary: #ec4899;
	--accent: #06b6d4;
	--success: #10b981;
	--warning: #f59e0b;
	--danger: #ef4444;
	--dark: #1e293b;
	--light: #f8fafc;

	--primary-light: #60a5fa;
	--primary-dark: #2563eb;
	--primary-btn: #3f37d4;
	--secondary: #ec4899;
	--accent: #8b5cf6;
	--dark: #1e293b;
	--light: #f8fafc;
	--success: #10b981;
	--warning: #f59e0b;
	--gray-100: #f1f5f9;
	--gray-200: #e2e8f0;
	--gray-300: #cbd5e1;
	--gray-400: #94a3b8;
	--gray-500: #64748b;
	--gray-600: #475569;
	--gray-700: #334155;
	--gray-800: #1e293b;
	--gray-900: #0f172a;

	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

	--border-radius-sm: 0.125rem;
	--border-radius: 0.25rem;
	--border-radius-md: 0.375rem;
	--border-radius-lg: 0.5rem;
	--border-radius-xl: 0.75rem;
	--border-radius-2xl: 1rem;
	--border-radius-3xl: 1.5rem;
	--border-radius-full: 9999px;

	--transition: all 0.3s ease;
}

body {
	font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
	background-color: #f9fafb;
	color: #1e293b;
}

.glass-card {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.course-card {
	transition: var(--transition);
	border-radius: 16px;
	overflow: hidden;
}

.course-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.gradient-text {
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.gradient-bg {
	background: linear-gradient(135deg, var(--primary), var(--accent));
}

.category-pill {
	border-radius: 20px;
	padding: 6px 16px;
	font-size: 14px;
	font-weight: 500;
	transition: var(--transition);
}

.category-pill:hover {
	transform: scale(1.05);
}

.badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 4px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
}

.price-tag {
	font-weight: 700;
	color: var(--primary);
}

.original-price {
	text-decoration: line-through;
	color: #94a3b8;
	font-size: 14px;
}

.rating {
	display: flex;
	align-items: center;
	color: #f59e0b;
}

.progress-bar {
	height: 6px;
	border-radius: 3px;
	background-color: #e2e8f0;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	border-radius: 3px;
}

.tab-button {
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #4b5563;
	white-space: nowrap;
	transition: all 0.2s ease-in-out;
	border-radius: 6px 6px 0 0;
	margin-bottom: -1px;
	border: 1px solid transparent;
}

.tab-button:hover {
	color: var(--primary);
	background-color: #f3f4f6;
}

.tab-button.active {
	color: var(--primary);
	background-color: white;
	border-color: #e5e7eb #e5e7eb white;
	font-weight: 700;
}

.floating-action-button {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--primary);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
	z-index: 100;
	transition: var(--transition);
}

.floating-action-button:hover {
	transform: scale(1.1);
}

/* 动画效果 */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fadeIn 0.5s ease forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.course-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* 新增样式 */
/* 左侧菜单样式 */
.sidebar-menu {
	background-color: var(--primary);
	border-radius: 0.75rem;
	overflow: visible !important;
	/* 强制允许溢出 */
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	position: relative;
}

.sidebar-item {
	display: flex;
	align-items: center;
	padding: .6rem 1rem;
	color: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-item:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
}

.sidebar-item i {
	margin-right: 0.75rem;
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.9);
}

/* 子菜单样式 */
.has-submenu {
	position: relative;
}

.submenu {
	position: absolute;
	top: 0;
	left: 100%;
	width: 200px;
	background-color: var(--primary);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	border-radius: 0.5rem;
	z-index: 999 !important;
	/* 使用非常高的z-index */
	display: none;
	margin-left: 2px;
	min-height: 200px;
}

.submenu-third {
	left: 100%;
	top: 0;
}

.submenu-item {
	padding: 0.75rem 1rem;
	color: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.submenu-item:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
}

.submenu-item i {
	color: rgba(255, 255, 255, 0.9);
}

.submenu-item:hover i {
	color: white;
}

.submenu-item a{
	color: rgba(255, 255, 255, 0.9) !important;
}

.submenu-item a:hover{
	color: white !important;
}

/* 交互样式 */
.has-submenu:hover>.submenu {
	display: block !important;
}

.subItem-line1 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

/* 移动端菜单调整 */
@media (max-width: 768px) {
	.sidebar-menu {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.main-container {
		flex-direction: column;
	}

	.submenu {
		position: static;
		width: 100%;
		margin-left: 0;
		margin-top: 1px;
		border-radius: 0;
		display: none;
	}

	.submenu-third {
		position: static;
		margin-left: 1rem;
	}

	.mobile-menu-btn {
		display: block;
		width: 100%;
		padding: 1rem;
		text-align: center;
		background-color: var(--primary);
		color: white;
		border-radius: 0.5rem;
		margin-bottom: 1rem;
	}

	/* 移动端的导航按钮样式 */
	.guide-button-container {
		margin-top: 1rem;
	}
}





/* 左侧菜单 结束 */


.guide-button {
	background-color: var(--primary);
	color: white;
	padding: 15px;
	text-align: center;
	border-radius: 5px;
	transition: var(--transition);
}

.guide-button:hover {
	background-color: var(--primary-btn);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hot-tag {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #ef4444;
	color: white;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: bold;
}

.notification-card {
	border-left: 4px solid var(--primary);
	transition: var(--transition);
}

.notification-card:hover {
	background-color: #f8fafc;
	transform: translateX(5px);
}

.notification-date {
	background-color: #eff6ff;
	color: var(--primary);
	padding: 5px 10px;
	border-radius: 5px;
	font-weight: bold;
	font-size: 20px;
	display: inline-block;
	min-width: 90px;
	text-align: center;
}

.qr-code-container {
	background: linear-gradient(135deg, #4f46e5, #06b6d4);
	color: white;
	padding: 30px 0;
}

.carousel {
	position: relative;
	overflow: hidden;
	border-radius: 0.75rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.carousel-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.carousel-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease;
	z-index: 1;
}

.carousel-item.active {
	opacity: 1;
	z-index: 2;
}

.carousel-controls {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 10;
}

.carousel-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-indicator:hover {
	background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
	width: 20px;
	border-radius: 5px;
	background-color: #fff;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.3);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0.7;
	transition: all 0.3s ease;
	z-index: 10;
}

.carousel-nav:hover {
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 1;
	transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
	left: 1rem;
}

.carousel-next {
	right: 1rem;
}

/* 模态框样式 */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(5px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* 模态框样式优化 */
.modal {
	background-color: white;
	border-radius: var(--border-radius-xl);
	width: 90%;
	max-width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: var(--shadow-xl);
	transform: translateY(20px);
	transition: var(--transition);
	position: relative;
}

.modal-overlay.active .modal {
	transform: translateY(0);
}

.modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2rem;
	height: 2rem;
	border-radius: var(--border-radius-full);
	background-color: var(--gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--transition);
	z-index: 2;
	color: var(--gray-500);
}

.modal-close:hover {
	background-color: var(--gray-200);
	color: var(--error);
	transform: rotate(90deg);
}

/* 认证标签页样式优化 */
.auth-tabs {
	display: flex;
	padding: 0.5rem;
	background-color: var(--gray-50);
	border-radius: var(--border-radius-lg);
	margin: 1rem;
	position: relative;
	gap: 0.5rem;
}

.auth-tab {
	flex: 1;
	text-align: center;
	padding: 0.75rem;
	cursor: pointer;
	font-weight: 600;
	color: var(--gray-500);
	transition: var(--transition);
	border-radius: var(--border-radius-lg);
	position: relative;
	z-index: 1;
}

.auth-tab.active {
	color: var(--primary);
	background-color: white;
	box-shadow: var(--shadow-sm);
}

.auth-content {
	padding: 1.5rem;
}

.auth-form h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.2rem;
	text-align: center;
	color: var(--gray-800);
	position: relative;
}

.auth-form h3::after {
	content: '';
	position: absolute;
	bottom: -0.5rem;
	left: 50%;
	transform: translateX(-50%);
	width: 3rem;
	height: 3px;
	background: linear-gradient(to right, var(--primary), var(--accent));
	border-radius: var(--border-radius-full);
}

/* 表单组件样式优化 */
.form-group {
	margin-bottom: 0.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: var(--gray-700);
	font-size: 0.875rem;
}

.input-wrapper {
	position: relative;
	transition: var(--transition);
}

.form-input {
	width: 100%;
	padding: 0.875rem 1rem 0.875rem 2.75rem;
	border: 1px solid var(--gray-200);
	border-radius: var(--border-radius-lg);
	font-size: 0.9375rem;
	transition: var(--transition);
	background-color: var(--gray-50);
}

.form-input:hover {
	border-color: var(--gray-300);
}

.form-input:focus {
	outline: none;
	border-color: var(--primary);
	background-color: white;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.input-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gray-400);
	transition: var(--transition);
	font-size: 1.125rem;
}

.form-input:focus+.input-icon {
	color: var(--primary);
}

.input-icon-right {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gray-500);
	cursor: pointer;
	transition: var(--transition);
	padding: 0.25rem;
	border-radius: var(--border-radius-full);
}

.input-icon-right:hover {
	background-color: var(--gray-100);
	color: var(--primary);
}

/* 社交登录样式优化 */
.social-auth {
	margin-top: 2rem;
	text-align: center;
}

.social-auth-text {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	color: var(--gray-500);
	font-size: 0.875rem;
}

.social-auth-text:before,
.social-auth-text:after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--gray-200));
	margin: 0 1rem;
}

.social-auth-text:after {
	background: linear-gradient(to left, transparent, var(--gray-200));
}

.social-btns {
	display: flex;
	justify-content: center;
	gap: 1.25rem;
}

.social-btn {
	width: 3rem;
	height: 3rem;
	border-radius: var(--border-radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: white;
	color: var(--gray-700);
	font-size: 1.5rem;
	transition: var(--transition);
	border: 1px solid var(--gray-200);
	cursor: pointer;
}

.social-btn:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.social-btn.weixin {
	color: #07C160;
}

.social-btn.weixin:hover {
	background-color: #07C160;
	color: white;
	border-color: #07C160;
}

.social-btn.weibo {
	color: #E6162D;
}

.social-btn.weibo:hover {
	background-color: #E6162D;
	color: white;
	border-color: #E6162D;
}

.social-btn.qq {
	color: #1DA1F2;
}

.social-btn.qq:hover {
	background-color: #1DA1F2;
	color: white;
	border-color: #1DA1F2;
}

.btn {
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius-full);
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: none;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-outline {
	background-color: transparent;
	border: 1px solid var(--primary);
	color: var(--primary);
}

.btn-outline:hover {
	background-color: var(--primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.icon-btn {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--border-radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--gray-100);
	color: var(--gray-600);
	transition: var(--transition);
	position: relative;
}

.icon-btn:hover {
	background-color: var(--gray-200);
	color: var(--primary);
}

.badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background-color: var(--error);
	color: white;
	font-size: 0.75rem;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: var(--border-radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

/* 按钮样式优化 */
.auth-form .btn-primary {
	padding: 0.875rem 1.5rem;
	font-size: 1rem;
	background: linear-gradient(to right, var(--primary), var(--accent));
	border-radius: var(--border-radius-lg);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.auth-form .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
}

.auth-form .btn-primary:active {
	transform: translateY(0);
}

/* 底部链接样式优化 */
.auth-footer {
	text-align: center;
	margin-top: 1.5rem;
	color: var(--gray-500);
	font-size: 0.875rem;
}

.auth-footer a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition);
	padding: 0.25rem 0.5rem;
	border-radius: var(--border-radius);
}

.auth-footer a:hover {
	color: var(--primary-dark);
	background-color: var(--gray-50);
}

/* 购物车侧边栏 */
.cart-sidebar {
	position: fixed;
	top: 0;
	right: -400px;
	width: 400px;
	height: 100vh;
	background-color: white;
	box-shadow: var(--shadow-xl);
	z-index: 200;
	transition: var(--transition);
	display: flex;
	flex-direction: column;
}

.cart-sidebar.active {
	right: 0;
}

.cart-header {
	padding: 1.5rem;
	border-bottom: 1px solid var(--gray-200);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cart-title {
	font-size: 1.25rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--gray-800);
}

.cart-close {
	width: 2rem;
	height: 2rem;
	border-radius: var(--border-radius-full);
	background-color: var(--gray-100);
	color: var(--gray-600);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--transition);
}

.cart-close:hover {
	background-color: var(--gray-200);
	color: var(--primary);
}

.cart-body {
	flex: 1;
	overflow-y: auto;
	padding: 1.5rem;
}

.cart-item {
	display: flex;
	gap: 1rem;
	border-bottom: 1px solid var(--gray-200);
}

.cart-item-image {
	width: 80px;
	height: 80px;
	border-radius: var(--border-radius-lg);
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

.cart-item-content {
	flex: 1;
}

.cart-item-title {
	font-weight: 600;
	margin-bottom: 0.25rem;
	color: var(--gray-800);
}

.cart-item-price {
	color: var(--primary);
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.cart-item-remove {
	color: var(--error);
	font-size: 0.875rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.cart-footer {
	padding: 1.5rem;
	border-top: 1px solid var(--gray-200);
}

.cart-total {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	font-size: 1.125rem;
}

.cart-total-label {
	font-weight: 600;
	color: var(--gray-800);
}

.cart-total-value {
	font-weight: 700;
	color: var(--primary);
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 992px) {
	.hero-image {
		display: none;
	}

	.hero-content {
		max-width: 100%;
	}

	.process-container {
		flex-wrap: wrap;
	}

	.process-step {
		flex: 0 0 50%;
		margin-bottom: 2rem;
	}

	.process-container::before {
		display: none;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.path-cards {
		grid-template-columns: 1fr;
	}

	.instructors-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.badges-container {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.cart-sidebar {
		width: 100%;
		right: -100%;
	}
}

@media (max-width: 576px) {
	.search-bar {
		display: none;
	}

	.hero-btns {
		flex-direction: column;
	}

	.cards-container {
		grid-template-columns: 1fr;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.instructors-grid {
		grid-template-columns: 1fr;
	}

	.badges-container {
		grid-template-columns: repeat(2, 1fr);
	}

	.process-step {
		flex: 0 0 100%;
	}

	.cta-buttons {
		flex-direction: column;
	}
}

/* 验证码样式 */
.captcha-wrapper {
	display: flex;
	gap: 1rem;
	align-items: flex-end;
	margin-bottom: 1.5rem;
}

.captcha-input {
	flex: 1;
}

.captcha-image {
	width: 120px;
	height: 44px;
	background: linear-gradient(45deg, var(--primary-light), var(--accent));
	border-radius: var(--border-radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 700;
	color: white;
	letter-spacing: 2px;
	cursor: pointer;
	user-select: none;
	position: relative;
	overflow: hidden;
}

.captcha-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg,
			rgba(255, 255, 255, 0.1) 25%,
			transparent 25%,
			transparent 50%,
			rgba(255, 255, 255, 0.1) 50%,
			rgba(255, 255, 255, 0.1) 75%,
			transparent 75%,
			transparent);
	background-size: 4px 4px;
	animation: moveStripes 2s linear infinite;
}

@keyframes moveStripes {
	0% {
		background-position: 0 0;
	}

	100% {
		background-position: 8px 0;
	}
}

.captcha-refresh {
	width: 44px;
	height: 44px;
	border-radius: var(--border-radius-lg);
	background-color: var(--gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray-600);
	cursor: pointer;
	transition: var(--transition);
}

.captcha-refresh:hover {
	background-color: var(--gray-200);
	color: var(--primary);
	transform: rotate(180deg);
}

#notification-image {
	transition: opacity 0.3s ease-in-out;
	/* Optional: Add fade effect for image change */
}

/* Logged-in User Info Styles */
#user-info-logged-in a:hover i {
	border-color: var(--primary);
	color: var(--primary);
}

/* ---------- 课程详情页 Specific Styles ---------- */

.breadcrumb-item::after {
	content: " > ";
	margin: 0 0.5rem;
	color: #6b7280;
	/* gray-500 */
}

.breadcrumb-item:last-child::after {
	content: "";
	margin: 0;
}

.play-video-btn {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.course-tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	/* text-xs */
	font-weight: 500;
	/* font-medium */
	border-radius: 9999px;
	/* rounded-full */
	margin-right: 0.5rem;
	/* mr-2 */
	margin-bottom: 0.5rem;
	/* mb-2 */
}

.course-tag.training {
	background-color: #e0f2fe;
	/* sky-100 */
	color: #0369a1;
	/* sky-700 */
}

.course-tag.system {
	background-color: #dcfce7;
	/* green-100 */
	color: #15803d;
	/* green-700 */
}

.course-tag.hot {
	background-color: #fee2e2;
	/* red-100 */
	color: #b91c1c;
	/* red-700 */
}

.star-rating i {
	margin-right: 0.125rem;
	/* approx mr-0.5 */
}

.price-tag {
	font-weight: 700;
	/* font-bold */
	/* font-size is set inline */
}

.original-price {
	text-decoration: line-through;
	color: #6b7280;
	/* gray-500 */
	font-size: 0.875rem;
	/* text-sm */
}

.add-to-cart-btn i,
.add-to-wishlist-btn i {
	font-size: 1.125rem;
	/* text-lg */
	line-height: 1;
	/* Ensure icon aligns well */
}

.add-to-wishlist-btn i {
	font-size: 1.25rem;
	/* text-xl */
}

.course-stats .course-stat {
	display: inline-flex;
	align-items: center;
	margin-right: 1rem;
	/* mr-4 */
}

.course-stats .course-stat i {
	margin-right: 0.25rem;
	/* mr-1 */
	font-size: 1rem;
	/* text-base */
}

/* Sticky Tabs */
/*
.sticky-tabs {
	position: sticky;
	top: 68px; 
	background-color: white;
	z-index: 40;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
*/

.tab-button {
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #4b5563;
	white-space: nowrap;
	transition: all 0.2s ease-in-out;
	border-radius: 6px 6px 0 0;
	margin-bottom: -1px;
	border: 1px solid transparent;
}

.tab-button:hover {
	color: var(--primary);
	background-color: #f3f4f6;
}

.tab-button.active {
	color: var(--primary);
	background-color: white;
	border-color: #e5e7eb #e5e7eb white;
	font-weight: 700;
}

.course-section {
	margin-bottom: 2rem;
}

.course-section-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e5e7eb;
}

/* Prose adjustments if needed */
.prose ul {
	list-style-type: disc;
	padding-left: 1.25rem;
	margin-top: 1em;
	margin-bottom: 1em;
}

.prose li {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

.course-content-list .chapter {
	font-weight: 600;
	color: #1f2937;
	font-size: 0.875rem;
}

.course-content-list .lesson {
	font-size: 0.875rem;
	color: #374151;
}

.course-content-list .lesson i {
	font-size: 1.125rem;
	color: var(--primary);
}

/* Comments Section */
.star-rating {
	display: inline-flex;
	align-items: center;
}

/* Sidebar */
.sticky-sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 90px;
	align-self: flex-start;
}

.related-course-card {
	border-radius: 0.5rem;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.related-course-card img {
	height: 80px;
	width: 96px;
	object-fit: cover;
}

/* Ensure line-clamp works */
.line-clamp-2 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	height: 2.25rem;
}

.line-clamp-3 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

/* Ensure modal content has some padding */
.modal .auth-content {
	padding-top: 1rem;
}

/* Add margin top to the main content area below tabs */
.tab-content-container {
	margin-top: 1.5rem;
}

/* ---------- 全部课程页 Specific Styles ---------- */

/* Filter Checkbox */
.filter-checkbox {
	appearance: none;
	width: 1.25rem;
	/* w-5 */
	height: 1.25rem;
	/* h-5 */
	border: 2px solid var(--gray-300);
	border-radius: var(--border-radius-sm);
	background-color: white;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	top: 2px;
	/* Align better with label */
}

.filter-checkbox:checked {
	background-color: var(--primary);
	border-color: var(--primary);
}

.filter-checkbox:checked::after {
	content: '\ea14';
	/* Remix icon check code */
	font-family: 'remixicon' !important;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 0.875rem;
}

/* Pagination Buttons */
.pagination-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	/* Adjust padding as needed */
	min-width: 2.5rem;
	/* Ensure consistent width */
	height: 2.5rem;
	/* Ensure consistent height */
	border: 1px solid var(--gray-300);
	background-color: white;
	color: var(--gray-600);
	border-radius: var(--border-radius-md);
	font-size: 0.875rem;
	/* text-sm */
	font-weight: 500;
	/* font-medium */
	text-decoration: none;
	transition: all 0.2s ease;
}

.pagination-button:hover {
	background-color: var(--gray-100);
	border-color: var(--gray-400);
	color: var(--gray-800);
}

.pagination-button.active {
	background-color: var(--primary);
	border-color: var(--primary);
	color: white;
	font-weight: 600;
	cursor: default;
}

.pagination-button.active:hover {
	background-color: var(--primary);
	/* Keep active style on hover */
	border-color: var(--primary);
	color: white;
}

.pagination-button i {
	font-size: 1.25rem;
	/* text-xl */
}


/* 个人中心 */
.user-center-sidebar .menu-item {
	display: flex;
	align-items: center;
	padding: 0.75rem 1.25rem;
	color: var(--gray-600);
	transition: all 0.2s ease;
	border-left: 3px solid transparent;
	font-size: 0.875rem;
	/* text-sm */
}

.user-center-sidebar .menu-item:hover {
	background-color: var(--gray-100);
	color: var(--primary);
}

.user-center-sidebar .menu-item.active {
	background-color: #eff6ff;
	/* blue-50 */
	color: var(--primary);
	border-left-color: var(--primary);
	font-weight: 500;
	/* font-medium */
}

.user-center-sidebar .menu-item i {
	margin-right: 0.75rem;
	font-size: 1.125rem;
	/* text-lg */
}

.user-center-section-title {
	font-size: 1.125rem;
	/* text-lg */
	font-weight: 600;
	/* font-semibold */
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--gray-200);
	color: var(--gray-800);
}

.profile-avatar {
	width: 5rem;
	/* w-20 */
	height: 5rem;
	/* h-20 */
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid white;
	box-shadow: var(--shadow-sm);
}

.stat-card {
	background-color: white;
	border-radius: 0.75rem;
	/* rounded-xl */
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
	text-align: center;
}

.stat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.stat-card .stat-number {
	font-size: 1.75rem;
	/* text-2xl */
	font-weight: 700;
	/* font-bold */
	color: var(--primary);
	margin-bottom: 0.25rem;
}

.stat-card .stat-label {
	color: var(--gray-500);
	font-size: 0.875rem;
	/* text-sm */
}

.learning-course-card {
	display: flex;
	background-color: white;
	border-radius: 0.75rem;
	/* rounded-xl */
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
	margin-bottom: 1rem;
	padding: 1rem;
	gap: 1rem;
}

.learning-course-card:hover {
	box-shadow: var(--shadow-md);
}

.learning-course-image {
	width: 8rem;
	/* w-32 */
	height: auto;
	aspect-ratio: 16 / 9;
	/* Maintain aspect ratio */
	object-fit: cover;
	border-radius: 0.5rem;
	/* rounded-lg */
	flex-shrink: 0;
}

.learning-course-info {
	flex: 1;
}

.learning-course-title {
	font-weight: 600;
	margin-bottom: 0.5rem;
	line-clamp: 1;
}

.learning-progress-bar {
	height: 6px;
	background-color: var(--gray-200);
	border-radius: 3px;
	overflow: hidden;
	margin: 0.5rem 0;
}

.learning-progress-fill {
	height: 100%;
	background-color: var(--primary);
	border-radius: 3px;
}

.security-item {
	display: flex;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid var(--gray-100);
}

.security-item:last-child {
	border-bottom: none;
}

.security-icon {
	width: 2rem;
	/* Adjust size */
	height: 2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
	flex-shrink: 0;
}

.security-icon.verified {
	background-color: #e0f2fe;
	/* sky-100 */
	color: #0369a1;
	/* sky-700 */
}

.security-icon.warning {
	background-color: #fffbeb;
	/* yellow-50 */
	color: #f59e0b;
	/* warning */
}

.security-info {
	flex: 1;
}

.security-title {
	font-weight: 500;
	margin-bottom: 0.1rem;
	color: var(--gray-800);
}

.security-desc {
	color: var(--gray-500);
	font-size: 0.875rem;
	/* text-sm */
}

.order-table th {
	background-color: var(--gray-50);
	padding: 0.75rem 1rem;
	text-align: left;
	font-weight: 500;
	/* font-medium */
	color: var(--gray-500);
	border-bottom: 1px solid var(--gray-200);
	font-size: 0.875rem;
}

.order-table td {
	padding: 1rem;
	border-bottom: 1px solid var(--gray-100);
	vertical-align: middle;
	font-size: 0.875rem;
}

.order-table tr:last-child td {
	border-bottom: none;
}

.status-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	/* rounded-full */
	font-size: 0.75rem;
	/* text-xs */
	font-weight: 500;
	/* font-medium */
	white-space: nowrap;
}

.status-badge.paid {
	background-color: #dcfce7;
	/* green-100 */
	color: #15803d;
	/* green-700 */
}

.status-badge.pending {
	background-color: #fffbeb;
	/* yellow-100 */
	color: #b45309;
	/* yellow-700 */
}

.status-badge.cancelled {
	background-color: var(--gray-100);
	color: var(--gray-500);
}

.action-button {
	padding: 0.375rem 0.875rem;
	/* Adjust padding */
	border-radius: 0.375rem;
	/* rounded-md */
	font-size: 0.875rem;
	/* text-sm */
	font-weight: 500;
	transition: all 0.2s ease;
	border: 1px solid transparent;
}

.action-button.primary {
	background-color: var(--primary);
	color: white;
	border-color: var(--primary);
}

.action-button.primary:hover {
	background-color: var(--primary-dark);
	border-color: var(--primary-dark);
}

.action-button.secondary {
	background-color: white;
	color: var(--gray-700);
	border-color: var(--gray-300);
}

.action-button.secondary:hover {
	background-color: var(--gray-50);
	border-color: var(--gray-400);
}

/* 个人中心-我的优惠券 页面样式 */
.coupon-tab-button {
	padding: 0.75rem 1.5rem;
	font-weight: 500;
	color: #6b7280;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.coupon-tab-button:hover {
	color: var(--primary);
}

.coupon-tab-button.active {
	color: var(--primary);
	border-bottom-color: var(--primary);
}

.coupon-card {
	display: flex;
	position: relative;
	overflow: hidden;
	border-radius: 0.75rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	border: 1px solid #f3f4f6;
}

.coupon-left {
	background-color: var(--primary);
	color: white;
	padding: 1.5rem;
	width: 180px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.coupon-left:after {
	content: '';
	position: absolute;
	top: 0;
	right: -10px;
	height: 100%;
	width: 20px;
	background-image: radial-gradient(circle at 0 50%, transparent 10px, white 10px);
	background-size: 20px 20px;
	background-position: center left;
	background-repeat: repeat-y;
}

.coupon-amount {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.coupon-limit {
	font-size: 0.875rem;
	opacity: 0.8;
}

.coupon-expiry {
	font-size: 0.75rem;
	margin-top: 0.5rem;
	opacity: 0.8;
}

.coupon-right {
	padding: 1.5rem;
	flex: 1;
	background-color: white;
}

.coupon-name {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.coupon-desc {
	color: #6b7280;
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

.coupon-use-btn {
	background-color: var(--primary);
	color: white;
	padding: 0.5rem 1.25rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	transition: background-color 0.3s;
}

.coupon-use-btn:hover {
	background-color: var(--primary-dark);
}

.coupon-tag {
	position: absolute;
	top: 0;
	right: 0;
	background-color: #FF9800;
	color: white;
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-bottom-left-radius: 0.5rem;
}

/* 可领取优惠券卡片样式 */
.coupon-card-available {
	display: flex;
	align-items: center;
	border: 1px solid var(--gray-200);
	border-radius: var(--border-radius-lg);
	padding: 1rem;
	transition: all 0.3s ease;
	background-color: white;
}

.coupon-card-available:hover {
	box-shadow: var(--shadow-md);
	border-color: var(--primary-light);
}

.coupon-card-available .coupon-amount {
	color: var(--primary);
	line-height: 1;
	margin-bottom: 0.25rem;
}

.coupon-card-available .coupon-title {
	font-weight: 500;
	color: var(--gray-800);
	margin-bottom: 0.25rem;
}

.coupon-card-available .coupon-condition,
.coupon-card-available .coupon-date {
	color: var(--gray-500);
}

.coupon-card-available .action-button.primary-outline {
	border-color: var(--primary);
	color: var(--primary);
	padding: 0.375rem 1rem;
	/* Slightly smaller padding */
}

.coupon-card-available .action-button.primary-outline:hover {
	background-color: var(--primary);
	color: white;
}

/* 个人中心 - 我的收藏页面样式 */
.favorite-card {
	/* Base styles already defined by Tailwind, add overrides if needed */
	/* Example: Adjust hover shadow intensity if needed */
}

.favorite-card .action-button {
	padding: 0.25rem 0.625rem;
	/* Slightly smaller padding: py-1 px-2.5 approx */
	font-size: 0.75rem;
	/* text-xs */
	line-height: 1.25rem;
	/* Ensure height consistency */
}

.favorite-card .action-button i {
	font-size: 0.875rem;
	/* Adjust icon size if needed */
}

.favorite-card .action-button.secondary-outline {
	border-color: var(--gray-300);
	color: var(--gray-700);
}

.favorite-card .action-button.secondary-outline:hover {
	background-color: var(--gray-100);
	border-color: var(--gray-400);
}

.favorite-card .action-button.danger-outline {
	border-color: var(--danger);
	color: var(--danger);
}

.favorite-card .action-button.danger-outline:hover {
	background-color: #fee2e2;
	/* red-100 */
	border-color: #ef4444;
	/* danger */
}

/* 下拉框样式 (通用或特定页面) */
.select-box {
	padding: 0.5rem 2.5rem 0.5rem 0.75rem;
	/* py-2 pl-3 pr-10 */
	border: 1px solid var(--gray-300);
	border-radius: var(--border-radius-md);
	background-color: white;
	font-size: 0.875rem;
	/* text-sm */
	transition: border-color 0.2s ease;
	cursor: pointer;
}

.select-box:hover {
	border-color: var(--gray-400);
}

.select-box:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* 确保 select 箭头空间 */
select.appearance-none {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: none;
	/* Remove default arrow */
}

/* ---------- 联系我们页 Specific Styles ---------- */

.contact-grid {
	/* Tailwind handles grid layout */
}

.contact-card {
	background-color: white;
	border-radius: var(--border-radius-xl);
	/* Consistent rounding */
	box-shadow: var(--shadow-sm);
	padding: 1.5rem;
	/* p-6 */
	transition: all 0.3s ease;
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.contact-icon {
	width: 3rem;
	/* w-12 */
	height: 3rem;
	/* h-12 */
	border-radius: 50%;
	background-color: #eff6ff;
	/* blue-50, lighter than primary */
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	/* mb-4 */
}

.contact-icon i {
	font-size: 1.5rem;
	/* text-2xl */
}

.contact-title {
	font-size: 1.125rem;
	/* text-lg */
	font-weight: 600;
	/* font-semibold */
	margin-bottom: 0.5rem;
	/* mb-2 */
	color: var(--gray-800);
}

.contact-info {
	color: var(--gray-600);
	font-size: 0.875rem;
	/* text-sm */
	line-height: 1.6;
}

.social-links {
	display: flex;
	gap: 1rem;
	/* space-x-4 */
}

.social-link {
	width: 2.5rem;
	/* w-10 */
	height: 2.5rem;
	/* h-10 */
	border-radius: 50%;
	background-color: var(--gray-100);
	color: var(--gray-500);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.social-link:hover {
	background-color: var(--primary);
	color: white;
}

.section-title {
	font-size: 1.25rem;
	/* text-xl */
	font-weight: 600;
	/* font-semibold */
	margin-bottom: 1.5rem;
	/* mb-6 */
	color: var(--gray-800);
	position: relative;
	padding-bottom: 0.75rem;
	/* pb-3 */
	border-bottom: 1px solid var(--gray-200);
}

.section-title::after {
	/* Optional: Add underline like in reference */
	/* content: '';
  position: absolute;
  bottom: -1px; 
  left: 0;
  width: 3rem;
  height: 3px; 
  background-color: var(--primary);
  border-radius: 1.5px;  */
}

.map-container {
	height: 400px;
	/* Adjust as needed */
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	background-color: var(--gray-200);
}

.faq-item {
	border-bottom: 1px solid var(--gray-100);
	padding: 1.25rem 0;
	/* py-5 */
}

.faq-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.faq-question {
	font-weight: 500;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--gray-800);
}

.faq-question i {
	transition: transform 0.3s ease;
}

.faq-question.active i {
	transform: rotate(45deg);
}


.faq-answer {
	margin-top: 1rem;
	/* mt-4 */
	color: var(--gray-600);
	display: none;
	/* Initially hidden */
	line-height: 1.6;
	font-size: 0.875rem;
	/* text-sm */
}

.faq-answer.active {
	display: block;
}

/* Override form-input for this page if needed (already exists) */
.form-input {
	/* Ensure styles from style.css are sufficient or add overrides */
	/* Example: Adjust padding if needed for this specific form */
}

.form-input.select-box {
	padding-right: 2.5rem;
	/* Ensure space for arrow */
}



/*Page*/
.ui-page{user-select:none;}
.ui-page ul{margin:0;padding:0;list-style:none;display:flex;margin-left:1px;}
.ui-page ul li{font-size:0;list-style:none;display:inline-block;border:1px solid #d9d9d9;margin-left:-1px;}
.ui-page ul li:first-child,.ui-page ul li:first-child a{border-radius:4px 0 0 4px;}
.ui-page ul li:last-child,.ui-page ul li:last-child a{border-radius:0 .4px 4px 0;}
.ui-page ul li a{font-size:16px;display:block;padding:0 15px;line-height:40px;color:#444;background:#fff;}
.ui-page ul li a:not([href]){color:#999;cursor:not-allowed;}
.ui-page ul li.active{border-color:var(--primary);background:var(--primary);}
.ui-page ul li.active a{color:#fff;background:var(--primary);}
.ui-page ul li.active a:hover{background:var(--primary);}
.ui-page ul li:hover a{background:#f9f9f9;}
.ui-page-red ul li.active{border-color:#ED4014;background:#ED4014;}
.ui-page-red ul li.active a{background:#ED4014;}
.ui-page-red ul li.active a:hover{background:#ED4014;}
.ui-page-yellow ul li.active{border-color:#F37B1D;background:#F37B1D;}
.ui-page-yellow ul li.active a{background:#F37B1D;}
.ui-page-yellow ul li.active a:hover{background:#F37B1D;}
.ui-page-green ul li.active{border-color:#19BE6B;background:#19BE6B;}
.ui-page-green ul li.active a{background:#19BE6B;}
.ui-page-green ul li.active a:hover{background:#19BE6B;}
.ui-page-info ul li.active{border-color:#2DB7F5;background:#2DB7F5;}
.ui-page-info ul li.active a{background:#2DB7F5;}
.ui-page-info ul li.active a:hover{background:#2DB7F5;}
.ui-page-mid ul li{margin-right:6px;}
.ui-page-mid ul li{border-radius:2px;}
.ui-page-mid ul li:first-child,.ui-page-mid ul li:last-child{border-radius:2px;}
.ui-page-center ul{display:flex;justify-content:center;align-items:center;}
.ui-page-right ul{display:flex;justify-content:flex-end;}
.ui-page-right{display:flex;}
.ui-page-right .ui-page-other{flex:1;justify-content:flex-start;align-items:center;display:flex;}
