:root {
    --primary-color: #ff3366;
    --secondary-color: #7133ff;
    --dark-color: #121212;
    --border-color: #e5e5e5;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}
.navbar.navbar-expand-lg{
    background-color: #000;
}
/* 主要内容区布局 */
.main-container {
    max-width: 1300px;
    margin: 120px auto;
    display: flex;
    gap: 30px;
    padding: 80px 15px 15px 15px;
}

/* 左侧导航 */
.sidebar {
    width: 350px;
    flex-shrink: 0;
}

.nav-title {
    font-size: 24px;
    font-weight: 600;
    padding: 0 0 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
}

/* 搜索框样式 */
.search-box {
    width: 100%;
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #fff;
    transition: all 0.2s ease;
}

.search-box:focus-within {
    border-color: var(--primary-color);
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-color);
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-button:hover {
    color: var(--primary-color);
}

/* 导航列表样式更新 */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-link i:first-child {
    margin-right: 12px;
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: #666;
}

.nav-link .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-link.active .fa-chevron-down {
    transform: rotate(-180deg);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 51, 102, 0.05);
}

.nav-link:hover i,
.nav-link.active i {
    color: var(--primary-color);
}

/* 子菜单样式 */
.sub-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sub-nav.active {
    max-height: 500px;
    margin-top: 5px;
}

.sub-nav-link {
    display: block;
    padding: 8px 15px 8px 47px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 51, 102, 0.05);
}

/* 右侧内容区 */
.content {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.content-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.help-item:last-child {
    border-bottom: none;
}

.help-title {
    flex: 1;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 15px;
}

.help-title:hover {
    color: var(--primary-color);
}

.help-date {
    color: var(--text-light);
    font-size: 14px;
    margin-left: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .search-box {
        max-width: 100%;
    }
}

/* FAQ样式 */
.faq-section {
    margin-top: 10px;
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer ul {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 10px;
}