body{
    max-width: 100vw !important;
    overflow-x: hidden;
}
/* 主要内容区域 */
.main-content {
    min-height: 600px;
    padding:0px;
    background-color: #f8f9fa;
}

/* 面包屑导航 */
.breadcrumb-nav {
    padding: 10px 0;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item.active {
    color: #38a660;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

/* 标签页内容 */
.tab-content {
    background: white;
    overflow: hidden;
    min-height: 65vh;
}

/* 资源下载样式 */
.resource-download {
    background: white;
}

.download-header {
   
    background: none;
}
/* 资源下载标签页样式 - 独立样式，不依赖navBar.css */
.download-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
    background: none;
    border: none;
    justify-content: center;
    list-style: none;
    margin: 0;
}

.download-tab-item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.download-tab-link {
    width: 120px;
    height: 60px;
    background: #F1F7F1;
    border: none;
    border-radius: 10px;
    color: #38a660;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    gap: 4px;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
}

.download-tab-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(56, 166, 96, 0.3);
}

.download-tab-link i {
    font-size: 16px;
    margin-bottom: 2px;
    display: block;
}

.download-tab-link span {
    text-align: center;
    line-height: 1.2;
    display: block;
    white-space: nowrap;
}

.download-tab-link:hover {
    background: #e8f5e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 166, 96, 0.2);
    color: #2d8a4e;
    text-decoration: none;
}

.download-tab-link.active {
    background: #38a660;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(56, 166, 96, 0.3);
}

.download-tab-link.active:hover {
    background: #2d8a4e;
    color: white;
    text-decoration: none;
}

/* 下载内容区域 */
.download-content {
    padding: 0;
}

.tab-pane {
    padding: 10px 30px 0 30px;
}

.tab-pane.active {
    display: block !important;
}

/* 资源列表样式 */
.resource-list {
    margin-bottom: 30px;
}

.resource-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #e9ecef;

    margin-bottom: 12px;
    background: white;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.resource-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(56, 166, 96, 0.15);
    border-bottom: 1px solid #38a660;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
}

.resource-item:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 166, 96, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.resource-item:hover::before {
    left: 100%;
}

/* 资源序号 */
.resource-number {
    width: 32px;
    height: 32px;
    background: #F1F7F1 ;
    color: #38A660;
    border-radius: 0 12px 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.resource-item:hover .resource-number {
    transform: scale(1.1) rotate(5deg);
    background-color: #38a660;
    color: white;
}

/* 资源信息 */
.resource-info {
    flex: 1;
    display: flex;
    align-items: center;
    z-index: 2;
    position: relative;
}

.resource-icon {
    color: #4285f4;
    font-size: 20px;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.resource-item:hover .resource-icon {
    transform: scale(1.1);
    color: #38a660;
}

.resource-name {
    color: #333;
    font-size: 15px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.resource-item:hover .resource-name {
    color: #38a660;
    transform: translateX(5px);
    text-shadow: 0 1px 3px rgba(56, 166, 96, 0.2);
}

/* 下载按钮 */
.resource-download {
    z-index: 2;
    position: relative;
}

.download-btn {
    background: none;
    color: #38a660;
    border: none;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

}

.download-btn:hover {
    background: #2d8a4e;
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(56, 166, 96, 0.4);
    text-decoration: none;
}

.download-btn i {
    transition: transform 0.3s ease;
}

.download-btn:hover i {
    transform: translateY(-1px);
}

/* 分页器样式 */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination {
    margin: 0;
}

.pagination .page-item .page-link {
    border: 1px solid #dee2e6;
    color: #666;
    padding: 8px 12px;
    margin: 0 2px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination .page-item .page-link:hover {
    background: #38a660;
    border-color: #38a660;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(56, 166, 96, 0.3);
}

.pagination .page-item.active .page-link {
    background: #38a660;
    border-color: #38a660;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(56, 166, 96, 0.3);
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

/* 无数据提示样式 */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-data p {
    font-size: 16px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-tabs {
        gap: 8px;
        padding: 15px;
    }
    
    .download-tab-link {
        width: 100px;
        height: 55px;
        font-size: 11px;
    }
    
    .download-tab-link i {
        font-size: 14px;
    }
    
    .resource-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        padding: 5px 10px;
    }
    
    .resource-info {
        width: 100%;
    }
    
    .resource-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .tab-pane {
        padding: 20px 0px;
    }
}

@media (max-width: 480px) {
    .download-tabs {
        gap: 6px;
        padding: 10px;
    }
    
    .download-tab-link {
        width: 90px;
        height: 50px;
        font-size: 10px;
    }
    
    .download-tab-link i {
        font-size: 12px;
    }
    
    .resource-name {
        font-size: 14px;
    }
    
    .pagination .page-item .page-link {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* 数据服务样式 */
.data-service {
    padding: 0;
    min-height: 500px;
}

/* 服务列表区域 */
.service-list {
    margin-bottom: 50px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    gap: 20px;
    cursor: pointer;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    background: rgba(56, 166, 96, 0.05);
    border-radius: 8px;
    border-bottom-color: transparent;
    transform: translateY(-3px);
}

.service-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    width: 120px;
}

/* 修改图标容器样式 */
.service-icon {
    width: 60px;
    height: 60px;
    background: #f1f7f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* 修改悬停时图标容器样式 */
.service-item:hover .service-icon {
    background: #38a660 !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(56, 166, 96, 0.3);
}

/* 修改图标本身的样式 */
.service-icon i {
    font-size: 24px;
    color: #38a660;
    transition: all 0.3s ease;
}

/* 修改悬停时图标本身的样式 */
.service-item:hover .service-icon i {
    color: white !important;
}

/* 针对FontAwesome SVG图标的特殊处理 */
.service-icon svg.svg-inline--fa {
    color: #38a660 !important;
    width: 1.5em !important;
    height: 1.5em !important;
}

.service-item:hover .service-icon svg.svg-inline--fa,
.service-item:hover .service-icon svg.svg-inline--fa path {
    color: white !important;
    fill: white !important;
}

/* 修改标题样式 */
.service-title {
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    font-family: PingFangSC-bold;
    margin: 0;
    line-height: 23px;
    word-break: break-word;
    transition: all 0.3s ease;
}

/* 悬停时标题样式 */
.service-item:hover .service-title {
    color: #38a660;
    font-weight: 600;
}

.service-content {
    flex: 1;
    padding-top: 8px;
}

.service-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}



@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

/* 响应式设计 - 数据服务 */
@media (max-width: 768px) {
    .service-header {
        padding: 20px 15px;
    }
    
    .service-header h2 {
        font-size: 24px;
    }
    
    .service-description {
        font-size: 14px;
    }
    
    .service-item {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .service-left {
        width: 100px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }
    
    .service-icon i {
        font-size: 20px;
    }
    
    .service-title {
        font-size: 14px;
    }
    
    .service-content p {
        font-size: 13px;
        line-height: 1.6;
    }

}

@media (max-width: 480px) {
    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
        gap: 15px;
    }
    
    .service-left {
        width: 100%;
        align-items: center;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }
    
    .service-icon i {
        font-size: 18px;
    }
    
    .service-title {
        font-size: 15px;
    }
    
    .service-content {
        padding-top: 0;
        text-align: left;
    }
    
    .service-content p {
        font-size: 12px;
        line-height: 1.5;
    }
    
}
