
    /* CSS变量定义 */
    :root {
        --border-light: #e9ecef;
        --text-muted: #6c757d;
    }

    /* 公司详情页特定样式 */
    .company-detail {
        margin: 2rem 0;
    }

    .company-header {
        display: flex;
        align-items: center;
        gap: 2rem;
        margin-bottom: 3rem;
        padding: 2rem;
        background-color: var(--card-bg);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    .company-logo-large {
        width: 120px;
        height: 120px;
        border-radius: 12px;
        object-fit: contain;
    }

    .company-info {
        flex: 1;
    }

    .company-title-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .company-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        width: 100%;
    }

    .company-intro {
        font-size: 1.1rem;
        color: var(--text-secondary);
        line-height: 1.6;
        font-weight: 500;
    }

    .company-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .company-tag {
        background-color: var(--accent-color);
        color: white;
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .company-tag a {
        text-decoration: none;
        color: white;
    }

    .company-tag:hover {
        background-color: var(--accent-hover);
        transform: translateY(-1px);
    }

    .company-content {
        margin-bottom: 3rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .company-description {
        width: 100%;
    }

    .detail-card {
        background-color: var(--card-bg);
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
        text-align: left;
    }

    .detail-card h4 {
        font-size: 1.3rem;
        color: var(--text-primary);
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .detail-card p {
        color: var(--text-secondary);
        line-height: 1.6;
        margin: 0;
    }

    .detail-card img {
        max-width: 100%;
        height: auto;
    }

    /* Tab导航样式 */
    .company-tabs {
        margin-bottom: 2rem;
    }

    .tab-nav {
        display: flex;
        background-color: var(--card-bg);
        border-radius: 12px;
        padding: 0.5rem;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
        gap: 0.5rem;
    }

    .tab-link {
        flex: 1;
        text-align: center;
        padding: 0.8rem 1rem;
        text-decoration: none;
        color: var(--text-secondary);
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .tab-link:hover {
        background-color: rgba(var(--accent-rgb), 0.1);
        color: var(--accent-color);
    }

    .tab-link.active {
        background-color: var(--accent-color);
        color: white;
    }

    /* 联系方式样式 */
    .contact-item {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
        align-items: center;
        padding: 1rem;
        background-color: var(--card-bg);
        border-radius: 12px;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }

    .contact-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--accent-color);
    }

    .contact-avatar .avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

    .contact-info,
    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .info-line,
    .method-line {
        font-size: 0.95rem;
        color: var(--text-secondary);
        line-height: 1.4;
    }

    .info-line.name,
    .method-line.phone,
    .method-line.wechat {
        font-weight: 600;
        color: var(--text-primary);
    }

    /* 用户评价样式 */
    .reviews-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .review-item {
        padding: 1.5rem;
        background-color: var(--card-bg);
        border-radius: 12px;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }

    .review-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--accent-color);
    }

    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .review-author {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .review-author-info {
        display: flex;
        flex-direction: column;
    }

    .review-author-name {
        font-weight: 600;
        color: var(--text-primary);
    }

    .review-date {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .review-rating {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    .review-stars {
        color: #ffc107;
        font-size: 1.1rem;
    }

    .review-score {
        font-weight: 600;
        color: var(--text-primary);
    }

    .review-content {
        color: var(--text-secondary);
        line-height: 1.6;
    }

    /* 相关资讯样式 */
    .news-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .news-item {
        display: flex;
        gap: 1rem;
        padding: 1rem;
        background-color: var(--card-bg);
        border-radius: 12px;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }

    .news-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--accent-color);
    }

    .news-thumbnail {
        width: 80px;
        height: 60px;
        border-radius: 8px;
        object-fit: cover;
    }

    .news-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .news-title {
        font-weight: 600;
        color: var(--text-primary);
        font-size: 1rem;
        line-height: 1.3;
    }

    .news-excerpt {
        font-size: 0.9rem;
        color: var(--text-secondary);
        line-height: 1.4;
    }

    .news-meta {
        display: flex;
        gap: 1rem;
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    /* 时间线样式 */
    .timeline {
        position: relative;
        padding-left: 2rem;
    }

    .timeline::before {
        content: '';
        position: absolute;
        left: 1rem; /* 竖线位置保持不变 */
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: var(--border-color);
    }

    .timeline-item {
        position: relative;
        margin-bottom: 2rem;
    }

    .timeline-marker {
        position: absolute;
        left: -1rem; /* 圆点容器位置保持不变 */
        top: 0;
        width: 1rem;
        height: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .timeline-dot {
        width: 0.8rem; /* 增大圆点尺寸 */
        height: 0.8rem;
        background-color: var(--accent-color);
        border-radius: 50%;
        border: 2px solid var(--card-bg); /* 添加边框让圆点更突出 */
        box-shadow: 0 0 0 2px var(--accent-color); /* 添加外发光效果 */
        position: relative;
        left: -0.4rem; /* 将圆点向左偏移半个宽度，使其中心与竖线对齐 */
        top: 0.4rem;
    }

    .timeline-content {
        padding-left: 1rem;
    }

    .timeline-date {
        font-weight: 600;
        color: var(--accent-color);
        margin-bottom: 0.3rem;
    }

    .timeline-title {
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }

    .timeline-description {
        color: var(--text-secondary);
        line-height: 1.5;
    }

    /* 联系方式弹层样式 */
    .contact-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        animation: fadeIn 0.3s ease-in-out;
    }

    .contact-modal-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        background-color: var(--card-bg);
        border-radius: 12px;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        overflow: auto;
        box-sizing: border-box;
        animation: fadeIn 0.3s ease-in-out;
    }

    .contact-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        padding-bottom: 0.2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .contact-modal-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .contact-modal-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-muted);
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-modal-close:hover {
        background-color: var(--border-color);
        color: var(--text-primary);
    }

    .contact-modal-body {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-item {
        display: grid;
        grid-template-columns: 80px 1fr 1fr 150px;
        gap: 1.5rem;
        align-items: start;
        padding: 0.5rem;
        background-color: var(--bg-secondary);
        border-radius: 12px;
        border: 1px solid var(--border-color);
    }

    .contact-column {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .avatar-column {
        align-items: center;
        text-align: center;
    }

    .contact-avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        /* border: 2px solid var(--border-color); */
    }

    .avatar {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .info-column {
        gap: 0.5rem;
    }

    .methods-column {
        gap: 0.5rem;
    }

    .qrcode-column {
        align-items: center;
        text-align: center;
    }

    .info-line, .method-line {
        font-size: 0.9rem;
        line-height: 1.4;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .info-label, .method-label {
        color: var(--text-muted);
        font-size: 0.85rem;
        min-width: 3rem;
        text-align: right;
    }

    .info-value, .method-value {
        color: var(--text-primary);
        font-size: 0.9rem;
        flex: 1;
    }

    .info-value {
        color: var(--text-primary);
    }

    .method-value {
        color: var(--text-primary);
    }

    /* 特殊字段颜色 */
    .info-line:nth-child(3) .info-value {
        color: var(--accent-color);
        font-weight: 500;
    }

    .method-line:nth-child(1) .method-value {
        color: #07C160;
        font-weight: 500;
    }

    .method-line:nth-child(3) .method-value {
        color: #0088CC;
        font-weight: 500;
    }

    .qrcode-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0;
        border: none;
        background: none;
        text-align: center;
    }

    .qrcode-img {
        width: 80px;
        height: 80px;
        border-radius: 6px;
        object-fit: cover;
        border: 1px solid var(--border-color);
    }

    .qrcode-text {
        font-size: 0.75rem;
        color: var(--text-muted);
        font-weight: 200;
    }

    /* 联系方式弹层响应式设计 */
    @media (max-width: 1024px) {
        .contact-item {
            grid-template-columns: 70px 1fr 1fr 130px;
            gap: 1.2rem;
            padding: 1.2rem;
        }

        .contact-avatar {
            width: 50px;
            height: 50px;
        }

        .qrcode-img {
            width: 90px;
            height: 90px;
        }
    }

    @media (max-width: 768px) {
        .contact-modal-content {
            width: 95%;
            max-width: 95%;
            padding: 1.5rem;
        }

        .contact-item {
            grid-template-columns: 1fr;
            gap: 1rem;
            padding: 1rem;
            text-align: center;
        }

        .contact-column {
            align-items: center;
            gap: 0.5rem;
        }

        .contact-avatar {
            width: 60px;
            height: 60px;
        }

        .info-line, .method-line {
            font-size: 0.85rem;
        }

        .info-line.name {
            font-size: 1rem;
        }

        .qrcode-img {
            width: 80px;
            height: 80px;
        }

        .qrcode-text {
            font-size: 0.75rem;
        }
    }

    @media (max-width: 480px) {
        .contact-modal-content {
            padding: 1rem;
            border-radius: 12px;
        }

        .contact-modal-header {
            margin-bottom: 1rem;
        }

        .contact-item {
            gap: 0.8rem;
            padding: 0.8rem;
        }

        .contact-avatar {
            width: 50px;
            height: 50px;
        }

        .info-line.name {
            font-size: 0.95rem;
        }

        .info-line, .method-line {
            font-size: 0.8rem;
        }

        .qrcode-img {
            width: 70px;
            height: 70px;
        }

        .qrcode-text {
            font-size: 0.7rem;
        }
    }

    /* 动画效果 */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translate(-50%, -60%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    /* 响应式设计 */
    @media (max-width: 968px) {
        .company-header {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }

        .company-title-section {
            flex-direction: column;
            gap: 1rem;
        }

        .tab-nav {
            flex-direction: column;
        }

        .contact-item {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .contact-avatar {
            justify-self: center;
        }

        .news-item {
            flex-direction: column;
            text-align: center;
        }

        .news-thumbnail {
            width: 100%;
            height: 120px;
        }

        .contact-modal-content {
            width: 95%;
            margin: 1rem;
        }
    }

    /* 滚动偏移量 */
    .detail-card[id] {
        scroll-margin-top: 100px;
    }

    /* 暗黑模式支持 */
    @media (prefers-color-scheme: dark) {
        .company-tag {
            background-color: var(--accent-color);
        }

        .contact-item:hover,
        .review-item:hover,
        .news-item:hover {
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }
    }

    /* 系统主题切换支持 */
    [data-theme="dark"] .company-news .detail-card,
    [data-theme="dark"] .news-item,
    [data-theme="dark"] .contact-item {
        background-color: var(--card-bg);
        border-color: var(--border-color);
    }

    [data-theme="dark"] .company-news .detail-card:hover,
    [data-theme="dark"] .news-item:hover,
    [data-theme="dark"] .contact-item:hover {
        border-color: var(--accent-color);
    }


    
/* 工商信息模块样式 */
.business-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.business-info-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 100px;
    flex-shrink: 0;
    text-align: left;
}

.info-value {
    color: var(--text-primary);
    flex: 1;
    word-break: break-all;
}

.website-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.website-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.status-normal,
.status-正常,
.status-存续 {
    color: #10b981;
    font-weight: 600;
}

.status-warning,
.status-异常,
.status-吊销 {
    color: #f59e0b;
    font-weight: 600;
}

.status-danger,
.status-注销,
.status-停业 {
    color: #ef4444;
    font-weight: 600;
}

.status-unknown {
    color: #6b7280;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .business-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-label {
        min-width: auto;
    }
}


/* 股东信息表格样式 */
.shareholder-section {
    grid-column: 1 / -1;
    margin-top: 2rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

.shareholder-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.shareholder-table-container {
    overflow-x: auto;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: white;
}

.shareholder-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.shareholder-table th {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

.shareholder-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.shareholder-table tbody tr:hover {
    background: var(--bg-hover);
}

.shareholder-table tbody tr:last-child td {
    border-bottom: none;
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .shareholder-section {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .shareholder-table-container {
        border-radius: 6px;
    }
    
    .shareholder-table th,
    .shareholder-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}