:root {
	--primary: #3498db;
	--primary-dark: #2980b9;
	--secondary: #9b59b6;
	--secondary-dark: #8e44ad;
	--accent: #e74c3c;
	--accent-dark: #c0392b;
	--success: #2ecc71;
	--warning: #f39c12;
	--danger: #e74c3c;
	--dark: #2c3e50;
	--light: #ecf0f1;
	--gray: #95a5a6;
	--text: #34495e;
	--text-light: #7f8c8d;
	--border: #bdc3c7;
	--card-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
	--hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	--dfc1:#8FFF98;
	--dfc2:#60CFFF;
	--dfc3:#FF9C00;
	--dfc4:#FFFF00;
	--dfc5:#1565C0;
	--dfc6:#C62828;
	--dfc7:#6A1B9A;
	--dfc8:#FF6F00;
	--dfc9:#000000;
	--dfc0:#E6E6E6;
}

body {
	background: linear-gradient(135deg, #f9fbfd 0%, #edf2f7 100%);
	color: var(--text);
	line-height: 1.6;
	min-height: 100vh;
}

.container {
	/* max-width: 1400px;*/
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

.banner-slider {
	position: relative;
	height: 400px;
	overflow: hidden;
	border-radius: 0px;
	margin-top: 0px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.banner-slides {
	display: flex;
	width: 400%;
	height: 100%;
	transition: transform 0.8s ease;
}

.banner-slide {
	width: 25%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.banner-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.banner-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	background: rgba(0, 0, 0, 0.4);
	padding: 0 20px;
}

.banner-content h1 {
	font-size: 36px;
	margin-bottom: 15px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
	font-size: 18px;
	max-width: 700px;
	margin-bottom: 25px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--secondary);
	color: white;
	padding: 12px 30px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s;
	box-shadow: 0 4px 10px rgba(155, 89, 182, 0.3);
	border: none;
	cursor: pointer;
	min-height: 44px;
	text-align: center;
}

.banner-btn:hover {
	background-color: var(--secondary-dark);
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.banner-indicators {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.banner-indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s;
}

.banner-indicator.active {
	background-color: white;
	transform: scale(1.2);
}

.banner-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 18px;
}

.banner-nav:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.banner-prev {
	left: 20px;
}

.banner-next {
	right: 20px;
}

.main-content {
	padding: 30px 0;
}

.content-wrapper {
	display: flex;
	gap: 25px;
}

.left-content {
	flex: 1;
}

.right-sidebar {
	width: 320px;
}

.section-title {
	font-size: 22px;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary);
	color: var(--primary);
	display: flex;
	align-items: center;
}

.section-title i {
	margin-right: 8px;
}

.card {
	background-color: white;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	margin-bottom: 20px;
	transition: all 0.3s;
	overflow: hidden;
	border: 1px solid var(--border);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--hover-shadow);
}

.card-header {
	background: linear-gradient(to right, #f8fafc, #f1f5f9);
	padding: 16px 20px;
	border-bottom: 1px solid var(--border);
	font-weight: bold;
	color: var(--text);
	display: flex;
	align-items: center;
}

.card-header i {
	margin-right: 8px;
	color: var(--primary);
}

.card-body {
	padding: 20px;
}

.recommendations {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.recommend-card {
	background: white;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	padding: 20px;
	transition: all 0.3s;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.recommend-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
}

.recommend-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--hover-shadow);
}

.recommend-card h3 {
	margin-bottom: 12px;
	color: var(--primary);
	font-size: 18px;
}

.recommend-card p {
	color: var(--text-light);
	font-size: 14px;
	flex-grow: 1;
	margin-bottom: 15px;
}

.recommend-card .btn-more {
	align-self: flex-start;
	padding: 8px 18px;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
}

.search-box {
	background-color: white;
	padding: 20px;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	margin-bottom: 20px;
	border: 1px solid var(--border);
}

.search-row {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 15px;
}

.search-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.search-group span {
	font-size: 14px;
	color: var(--text);
	white-space: nowrap;
}

.filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 15px;
}

.filter-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.filter-group span {
	font-size: 14px;
	color: var(--text);
}

.problem-list {
	width: 100%;
	border-collapse: collapse;
}

.problem-list th, .problem-list td {
	padding: 6px 7px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.problem-list th {
	background-color: #f8f9fa;
	font-weight: 600;
	color: var(--text);
}

.problem-list tr:hover {
	background-color: #f8f9fa;
}
.difficulty-1 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc1);padding:3px 5px; }
.difficulty-2 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc2);padding:3px 5px; }
.difficulty-3 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc3);padding:3px 5px; }
.difficulty-4 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc4);padding:3px 5px; }
.difficulty-5 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc5);padding:3px 5px; }
.difficulty-6 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc6);padding:3px 5px; }
.difficulty-7 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc7);padding:3px 5px; }
.difficulty-8 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc8);padding:3px 5px; }
.difficulty-9 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc9);padding:3px 5px; }
.difficulty-0 { border-radius: 5px;font-weight: bold;color:#FFF;background-color:var(--dfc0);padding:3px 5px; } 
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tag {
	background-color: #e8f4fc;
	color: var(--primary-dark);
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
}

.table-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	padding: 15px 0;
}

.batch-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

.pagination-container {
	display: flex;
	justify-content: flex-end;
}

.progress-container {
	width: 100px;
	position: relative;
}

.progress-info {
	font-size: 12px;
	color: var(--text-light);
	margin-top: 4px;
}

.progress-tooltip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	display: none;
	z-index: 1000;
}

.progress-container:hover .progress-tooltip {
	display: block;
}
.problem-list .name{min-width: 200px;}
.sortable {
	cursor: pointer;
	user-select: none;
}

.sortable:hover {
	color: var(--primary);
}

.sort-icon {
	margin-left: 5px;
	font-size: 12px;
}

.user-card {
	text-align: center;
	padding: 25px 20px;
	background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
	color: white;
	border-radius: 12px;
	margin-bottom: 25px;
	box-shadow: 0 6px 15px rgba(155, 89, 182, 0.3);
	position: relative;
	overflow: hidden;
}

.user-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
	transform: rotate(30deg);
}

.user-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.3);
	margin: 0 auto 15px;
	overflow: hidden;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.user-avatar i {
	font-size: 40px;
	color: var(--secondary);
}

.user-name {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 5px;
	position: relative;
	z-index: 1;
}

.user-level {
	font-size: 14px;
	opacity: 0.9;
	margin-bottom: 15px;
	position: relative;
	z-index: 1;
}

.user-stats {
	display: flex;
	justify-content: space-around;
	margin-top: 20px;
	position: relative;
	z-index: 1;
}

.user-stat {
	text-align: center;
}

.user-stat .number {
	font-size: 20px;
	font-weight: bold;
	display: block;
}

.user-stat .label {
	font-size: 12px;
	opacity: 0.8;
}

.category-list {
	list-style: none;
	margin-top: 10px;
}

.category-list li {
	padding: 12px 15px;
	border-bottom: 1px solid var(--border);
	transition: all 0.2s;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.category-list li:last-child {
	border-bottom: none;
}

.category-list li:hover {
	background-color: #f5f9ff;
	padding-left: 20px;
}

.category-list li i {
	margin-right: 10px;
	color: var(--primary);
	width: 20px;
	text-align: center;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.tag-cloud .tag {
	transition: all 0.3s;
	cursor: pointer;
}

.tag-cloud .tag:hover {
	background-color: var(--primary);
	color: white;
	transform: scale(1.05);
}

.footer {
	background: linear-gradient(to right, var(--dark), #34495e);
	color: #b0bec5;
	padding: 40px 0 20px;
	margin-top: 40px;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

.footer-column h3 {
	color: white;
	margin-bottom: 15px;
	font-size: 16px;
}

.footer-column ul {
	list-style: none;
}

.footer-column ul li {
	margin-bottom: 8px;
}

.footer-column ul li a {
	color: #b0bec5;
	text-decoration: none;
	transition: color 0.3s;
	font-size: 14px;
}

.footer-column ul li a:hover {
	color: white;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #34495e;
	font-size: 14px;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translate(-50%, 20px);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

@media (max-width: 1200px) {
	.content-wrapper {
		flex-direction: column;
	}
	
	.right-sidebar {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 20px;
	}
	
	.user-card {
		margin-bottom: 0;
	}
}

@media (max-width: 768px) {
	.banner-slider {
		height: 300px;
	}
	
	.banner-content h1 {
		font-size: 28px;
	}
	
	.banner-content p {
		font-size: 16px;
	}
	
	.recommendations {
		grid-template-columns: 1fr;
	}
	
	.nav {
		display: none;
	}
	
	.mobile-menu-btn {
		display: block;
	}
	
	.search-row {
		flex-direction: column;
	}
	
	.filter-options {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.problem-list-container {
		overflow-x: auto;
	}
	
	.problem-list {
		min-width: 800px;
	}
	
	.table-actions {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}
	
	.pagination-container {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.logo {
		font-size: 22px;
	}
	
	.logo i {
		font-size: 26px;
	}
	
	.banner-slider {
		height: 250px;
	}
	
	.banner-content h1 {
		font-size: 24px;
	}
	
	.banner-content p {
		font-size: 14px;
	}
	
	.banner-btn {
		padding: 10px 20px;
		font-size: 14px;
	}
	
	.card-body {
		padding: 15px;
	}
	
	.problem-list th, .problem-list td {
		padding: 10px 8px;
		font-size: 14px;
	}
}

.layui-form-select .layui-input {
	border-radius: 6px;
}

.layui-form-select dl {
	border-radius: 6px;
	box-shadow: var(--card-shadow);
}

.layui-btn {
	border-radius: 6px;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.layui-btn-primary {
	background-color: var(--primary);
}

.layui-btn-primary:hover {
	background-color: var(--primary-dark);
}

.layui-input {
	border-radius: 6px;
	border: 1px solid var(--border);
}

.layui-input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background: var(--primary);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--primary-dark);
}

.btn-center {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	height: 100%;
}

.problem-checkbox {
	margin-right: 10px;
}

.batch-select {
	display: none;
}

.batch-select.active {
	display: flex;
}

.status-icon {
	margin-right: 8px;
}

.batch-mode .status-icon {
	display: none;
}

.batch-mode .pagination-container {
	display: none;
}

.status-cell {
	width: 20px;
	text-align: center;
}

.select-all-checkbox {
	margin-right: 5px;
}

/* 新增样式 */
.problem-name-link {
	color: var(--text);
	text-decoration: none;
	transition: color 0.3s;
}

.problem-name-link:hover {
	color: var(--primary);
}

.tag-link {
	background-color: #e8f4fc;
	color: var(--primary-dark);
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	text-decoration: none;
	transition: all 0.3s;
	display: inline-block;
}

.tag-link:hover {
	background-color: var(--primary);
	color: white;
	transform: scale(1.05);
}

.source-badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 12px;
	background-color: #f1f5f9;
	color: var(--text-light);
}

.source-1 { background-color: #e8f4fc; color: var(--primary-dark); }
.source-2 { background-color: #f9f2ff; color: var(--secondary-dark); }
.source-3 { background-color: #fff2e8; color: var(--warning); }
.source-4 { background-color: #fce8e6; color: var(--danger); }