/* 工具仪表盘样式 - 现代简洁设计 */

/* 主容器样式 */
.content-wrapper {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

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

/* 工具仪表盘整体样式 */
.tools-dashboard {
    width: 100%;
}

/* 分类部分样式 */
.category-section {
    margin-bottom: 40px;
}

.category-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #5AAC2C, #7cc254);
    border-radius: 3px;
}

/* 工具网格布局 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* 工具卡片样式 */
.tool-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* 工具卡片头部 */
.tool-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.tool-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tool-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex-grow: 1;
}

/* 工具描述 */
.tool-description {
    padding: 20px;
    flex-grow: 1;
}

.tool-description p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 工具操作按钮 */
.tool-action {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}

.use-now-btn {
    background: linear-gradient(90deg, #5AAC2C, #7cc254);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.use-now-btn:hover {
    background: linear-gradient(90deg, #4a9c1c, #6cb244);
    box-shadow: 0 5px 15px rgba(90, 172, 44, 0.3);
}

.use-now-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.use-now-btn:hover i {
    transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 30px 0;
    }
    
    .category-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card {
        max-width: 100%;
    }
    
    .category-title {
        font-size: 22px;
    }
}