﻿/* 面包屑导航 */
.breadcrumb {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    padding: 15px 5%;
    color: white;
    font-size: 1.1rem;
}

    .breadcrumb a {
        color: rgba(255, 255, 255, 0.8);
        transition: color 0.3s;
    }

        .breadcrumb a:hover {
            color: white;
        }

/* 主体布局 */
.main-container {
    display: flex;
    min-height: calc(100vh - 120px);
    padding: 0 5%;
    max-width: 1600px;
    margin: 0 auto;
}

/* 侧边栏 */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    padding: 30px 0;
    border-radius: 8px;
    margin: 20px 20px 20px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    align-self: flex-start;
}

.sidebar-title {
    padding: 0 20px 15px;
    font-size: 1.3rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .sidebar-title i {
        margin-right: 10px;
        color: var(--accent-color);
    }

.sidebar-menu {
    list-style: none;
}

    .sidebar-menu li {
        padding: 12px 30px;
        transition: all 0.3s;
        cursor: pointer;
        position: relative;
    }

        .sidebar-menu li:hover {
            background: rgba(0, 166, 255, 0.1);
        }

        .sidebar-menu li.active {
            background: rgba(0, 166, 255, 0.2);
            color: var(--accent-color);
        }

            .sidebar-menu li.active::before {
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                height: 100%;
                width: 4px;
                background: var(--accent-color);
            }

    .sidebar-menu i {
        width: 24px;
        margin-right: 12px;
        text-align: center;
    }

/* 内容区域 */
.content {
    flex: 1;
    padding: 30px;
    background: white;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.content-title {
    font-size: 1.8rem;
    color: var(--dark-bg);
    font-weight: 700;
}

.search-box {
    width: 300px;
}

.category-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

    .category-title i {
        margin-right: 10px;
        color: var(--accent-color);
    }

.faq-container {
    margin-bottom: 40px;
}

.faq-title {
    font-size: 1.2rem;
    margin: 25px 0 15px;
    color: #555;
    font-weight: 500;
}

.el-collapse {
    border: none;
}

.el-collapse-item__header {
    font-size: 1.1rem;
    font-weight: 500;
    height: 60px;
    line-height: 60px;
    padding: 0 15px;
    border-bottom: 1px solid #eee;
}

.el-collapse-item__content {
    padding: 20px;
    color: #555;
    line-height: 1.8;
    background: #f9fbfd;
    border-radius: 0 0 4px 4px;
}

    .el-collapse-item__content p {
        margin-bottom: 15px;
    }

.el-collapse-item__arrow {
    font-size: 1.2rem;
}

/* 热门问题 */
.hot-questions {
    background: #f0f8ff;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid var(--accent-color);
}

.hot-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

    .hot-title i {
        margin-right: 10px;
        color: #ff6b6b;
    }

.hot-list {
    list-style: none;
}

    .hot-list li {
        padding: 12px 0;
        border-bottom: 1px dashed #ddd;
    }

        .hot-list li:last-child {
            border-bottom: none;
        }

    .hot-list a {
        color: #333;
        display: flex;
        align-items: center;
        transition: color 0.3s;
    }

        .hot-list a:hover {
            color: var(--primary-color);
        }

    .hot-list i {
        margin-right: 10px;
        color: var(--accent-color);
    }

/* 联系支持 */
.support-card {
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    border-radius: 8px;
    padding: 25px;
    color: white;
    margin-top: 40px;
}

.support-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

    .support-title i {
        margin-right: 12px;
        color: var(--accent-color);
        font-size: 1.8rem;
    }

.support-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.support-method {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 10px;
    display: flex;
    align-items: center;
}

.support-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 166, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 20px;
    color: var(--accent-color);
}

.support-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.support-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
    }

    .search-box {
        width: 100%;
        margin-top: 15px;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .support-content {
        flex-direction: column;
    }
}
