/** 
 * 描述：工具频道
 */
@charset "utf-8";
body {
	background-color: #F9F9F9;
	color: #333;
	line-height: 1.6;
}

.content-container {
	width: 1200px;
	margin: 0 auto 20px auto;
	padding: 0;	
}

.main-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* 筛选区域 */
.filter-section {
	background: white;
	padding: 25px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.search-area {
	display: flex;
	align-items: center;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee; /* 添加横线 */
}

.search-label {
	font-size: 12px;
	color: #999999;
	white-space: nowrap;
	width:75px;
}

.content-container .search-containers {
	display: flex;
	flex: 1;
}

.content-container .search-containers input {
	flex: 1;
	padding: 10px 20px;
	border: 1px solid #EEE;
	border-radius: 4px 0 0 4px;
	font-size: 12px;
	outline: none;
}

.content-container .search-containers input:focus {
	border-color: #7753FF;
	box-shadow: none;
}

.content-container .search-containers button {
	padding: 9px 20px;
	background: #7753FF;
	color: white;
	border: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	transition: background 0.3s ease;
	font-size:20px;
}

.content-container .search-containers button:hover {
	background: #6742f0;
}

.category-area {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

.category-title {
	font-size: 12px;
	color: #999999;
	white-space: nowrap;
	width:60px;
}

.category-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.category-options a {
	display: inline-block;
	padding: 8px 12px;
	background: #FAFAFB;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	color: #333;
	font-size: 12px;
}

.category-options a:hover {
	background: rgba(119, 83, 255, 0.1);
	color:#7753FF;
}

.category-options a.active {
	background: rgba(119, 83, 255, 0.1);
	color:#7753FF;
	font-weight:600;
}

/* 工具区域 */
.tools-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
	gap: 1.5rem;
}

.tool-card {
	background: white;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.tool-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tool-header {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.tool-icon {
	width: 48px;
	height: 48px;
	background: #F1F1F1;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 1rem;
	color: white;
	font-size: 1.2rem;
}

.tool-icon img{
	width: 36px;
	height: 36px;
	position:relative;
	left:0;
	top:0;
}

.tool-info {
	flex: 1;
}

.tool-name {
	font-size: 1.2rem;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 0.25rem;
}

.tool-category {
	color: #718096;
	font-size: 0.85rem;
	font-weight: 500;
}

.tool-description {
	color: #4a5568;
	margin-bottom: 1.5rem;
	line-height: 1.5;
	flex-grow: 1;
	font-size:16px;
}

.tool-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tool-link {
	color: #4a69bd;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s ease;
}

.tool-link:hover {
	color: #1e3799;
	gap: 0.7rem;
}

.tool-rating {
	color: #f39c12;
	font-size: 0.9rem;
}

.pagination {
	display: flex;
	justify-content: center;
	padding: 20px;
}