/**
 * help_guide.css
 * 帮助指南列表样式
 * 作者：莫哥
 * 日期：2026/06/01
 * 版本：1.0.0
 */

.help-guide-container {
    max-width: 70%;
    margin: 0 auto;
    padding-top: 90px;
    min-height: 100vh;
    padding-bottom: 40px;
}

.help-guide-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 30px;
}

/* 搜索与筛选 */
.help-search-form {
    margin-bottom: 30px;
    text-align: center;
}
.search-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 30px;
    border: 1px solid #dee2e6;
    flex-wrap: wrap;
    justify-content: center;
}
.search-box input,
.search-box select {
    border: none;
    background: transparent;
    padding: 8px 15px;
    font-size: 15px;
    outline: none;
}
.search-box input {
    width: 240px;
}
.search-box select {
    min-width: 120px;
    cursor: pointer;
    appearance: auto;
}
.search-box button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.search-box button:hover {
    background: #0056b3;
}
.search-box .reset-btn {
    color: #6c757d;
    text-decoration: none;
    padding: 6px 12px;
}
.search-box .reset-btn:hover {
    color: #343a40;
}

/* 帮助列表 */
.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.help-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.help-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.help-title-link {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s;
}
.help-title-link:hover {
    color: #007bff;
    text-decoration: underline;
}
.help-meta {
    margin-top: 8px;
    font-size: 14px;
    color: #888;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.help-category {
    background: #e9ecef;
    padding: 2px 12px;
    border-radius: 12px;
    color: #495057;
    font-size: 13px;
}
.help-date {
    color: #999;
}
.help-views {
    color: #999;
}
.help-summary {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* 无结果 */
.no-help {
    text-align: center;
    color: #999;
    font-size: 18px;
    padding: 50px 0;
}

/* 分页 */
.pagination-nav {
    margin-top: 30px;
    text-align: center;
}
.pagination {
    display: inline-flex;
    gap: 5px;
    list-style: none;
    padding: 0;
}
.page-item .page-link {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #007bff;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s;
}
.page-item .page-link:hover {
    background: #e9ecef;
}
.page-item.active .page-link {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* 响应式 */
@media (max-width: 768px) {
    .help-guide-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .search-box {
        border-radius: 16px;
        padding: 10px 15px;
        flex-direction: column;
        align-items: stretch;
    }
    .search-box input,
    .search-box select {
        width: 100%;
        padding: 8px 12px;
        border-bottom: 1px solid #dee2e6;
    }
    .search-box button,
    .search-box .reset-btn {
        width: 100%;
        text-align: center;
        border-radius: 20px;
    }
    .help-meta {
        gap: 8px;
    }
}