/* ========== Industry Page – 天眼查风格 (无圆角/无阴影) ========== */

.page-container { max-width: var(--page-max-width); margin: 0 auto; padding: 0 20px 40px; }

/* 面包屑 */
.breadcrumb { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #999; padding: 10px 0; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: #ccc; }
.breadcrumb-current { color: #333; }

/* 行业头部 */
.industry-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid #e8e8e8; margin-bottom: 12px; }
.industry-title { font-size: 20px; font-weight: 700; margin: 0 0 4px; color: #333; }
.industry-desc { font-size: 14px; color: #666; margin: 0; }
.industry-stats { display: flex; gap: 20px; }
.stat-block { text-align: center; min-width: 60px; }
.stat-num { font-size: 22px; font-weight: 700; color: var(--color-primary); }
.stat-label { font-size: 12px; color: #999; margin-top: 2px; }

/* 两栏布局 */
.industry-layout { display: grid; grid-template-columns: 1fr 260px; gap: 12px; }
.industry-main { min-width: 0; }
.industry-sidebar { display: flex; flex-direction: column; gap: 0; }

/* 卡片 */
.card { background: #fff; border: 1px solid #e8e8e8; padding: 14px 16px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.card-head h3 { font-size: 14px; font-weight: 600; margin: 0; color: #333; }
.card-head-extra { font-size: 12px; color: #999; }

/* 企业表格 */
.enterprise-table-wrap { overflow-x: auto; background: #fff; }
.enterprise-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.enterprise-table th { text-align: left; padding: 14px; background: #fafafa; color: #666; font-weight: 500; font-size: 13px; border-bottom: 1px solid #e8e8e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise-table td { padding: 14px; border-bottom: 1px solid #f0f0f0; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enterprise-table tbody tr:last-child td { border-bottom: none; }
.enterprise-table tbody tr:hover { background: #fafafa; }
.enterprise-table td.empty { text-align: center; color: #999; padding: 24px 14px; white-space: normal; }
.enterprise-table td a { color: var(--color-primary); font-weight: 500; }
.enterprise-table td a:hover { text-decoration: underline; }
.enterprise-table col.col-name { width: 35%; }
.enterprise-table col.col-secondary { width: 15%; }
.enterprise-table col.col-main { width: 38%; }
.enterprise-table col.col-status { width: 12%; }

.claim-badge { display: inline-block; padding: 0 6px; font-size: 12px; line-height: 20px; border-radius: 2px; }
.claim-badge.claimed { color: #52c41a; border: 1px solid #b7eb8f; background: #f6ffed; }
.claim-badge.unclaimed { color: var(--color-primary); border: 1px solid var(--color-primary); background: #f0f5ff; }

/* 分页 */
.table-pagination { display: flex; justify-content: center; gap: 2px; padding-top: 12px; }
.table-pagination a,
.table-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid #e8e8e8; font-size: 13px; color: #666; text-decoration: none; }
.table-pagination .active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* 细分行业列表 */
.sub-industry-list { list-style: none; padding: 0; margin: 0; }
.sub-industry-item { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; margin-bottom: 1px; }
.sub-industry-item:hover { background: #fafafa; }
.sub-industry-item.active { background: #e8f3ff; }
.sub-industry-item.active a { color: var(--color-primary); font-weight: 600; }
.sub-industry-item a { font-size: 13px; color: #666; text-decoration: none; flex: 1; }
.sub-count { font-size: 12px; color: #999; background: #f5f5f5; padding: 1px 6px; }
.sub-industry-item.active .sub-count { background: #d0e8ff; color: var(--color-primary); }

/* 侧边栏 CTA */
.sidebar-cta { text-align: center; margin-top: -1px; }
.sidebar-cta p { font-size: 13px; color: #666; margin: 0 0 10px; }
.sidebar-cta .btn-primary { font-size: 13px; height: 32px; padding: 0 14px; border-radius: 2px; }

@media (max-width: 768px) {
    .industry-layout { grid-template-columns: 1fr; }
    .industry-header { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .industry-title { font-size: 18px; }
    .industry-stats { gap: 16px; }
    .stat-num { font-size: 18px; }
    .card { padding: 12px; }
    .sidebar-cta { margin-top: 12px; }
}

@media (max-width: 480px) {
    .industry-header { padding: 12px; }
    .industry-title { font-size: 16px; }
    .sub-industry-item a { font-size: 12px; }
}
