/* 认证资讯页面特定样式 */

/* 认证资讯头部样式 */
.cert-header {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cert-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.cert-header p {
    font-size: 16px;
    color: #666;
}

/* 标签切换样式 */
.cert-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.cert-tab {
    padding: 10px 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -1px;
}

.cert-tab.active {
    color: #007bff;
    border-bottom: 3px solid #007bff;
    font-weight: 500;
}

/* 认证标签栏样式 */
.cert-tags,
.cert-tags-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0 15px;
}

/* 默认隐藏所有标签内容，仅显示激活状态的内容 */
.cert-tags-content {
    display: none;
}

.cert-tags-content.active {
    display: flex;
}

.cert-tag {
    padding: 8px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    color: #495057;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cert-tag:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.cert-tag.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}



/* 无数据提示 */
.no-data-tip,
.cert-no-data-tip {
    display: none; /* 默认隐藏 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.no-data-icon {
    margin-bottom: 15px;
}

/* 分页控件样式 */
.pagination-container {
    margin: 40px 0;
}

.pagination {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    padding: 10px 16px;
    border: none;
    background-color: #f8f9fa;
    color: #666666;
    border-radius: 0;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    color: #007bff;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .cert-header h1 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .cert-header h1 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .cert-header {
        padding: 40px 0 30px;
    }
    .cert-header h1 {
        font-size: 24px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}



/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 确保图片正确显示 */
.cert-card img {
    max-width: 100%;
    height: auto;
    display: block;
}