/* ============================================
   加盟详情页 - PC端样式
   ============================================ */

/* 禁用全局scroll-behavior，避免与JavaScript滚动冲突 */
html {
    scroll-behavior: auto !important;
}

body {
    scroll-behavior: auto !important;
}

.company-join-detail-page {
    padding: 24px 0 60px 0;
    background: #f5f7fa;
    min-height: calc(100vh - 96px);
}

.company-join-detail-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* 头部卡片包装器（grid 第一行第一列） */
.company-join-header-wrapper {
    grid-column: 1;
    grid-row: 1;
}

/* 头部卡片区域 */
.company-join-detail-header {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 3px;
    width: 100%;
    height: 388px;
    min-height: 388px;
    max-height: 388px;
    align-items: stretch;
    overflow: hidden;
    box-sizing: border-box; /* 确保 padding 包含在宽度内 */
}

/* 左侧轮播图 */
.company-join-main-card {
    width: 248px;
    min-width: 248px; /* 确保最小宽度 */
    height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    /* 移除overflow: hidden，允许小图显示 */
}

.company-join-main-card .company-join-showcase-carousel {
    height: 298px;
    min-height: 298px;
    max-height: 298px;
    flex-shrink: 0;
}

.company-join-main-card .company-join-showcase-thumbs {
    height: 60px;
    min-height: 60px; /* 确保最小高度 */
    max-height: 60px; /* 确保最大高度 */
    margin-top: 6px;
    width: 248px; /* 固定宽度，确保滚动条正常工作 */
    max-width: 248px; /* 最大宽度限制 */
    min-width: 248px; /* 确保最小宽度等于容器宽度 */
    flex-shrink: 0; /* 防止被压缩 */
    display: flex !important; /* 强制显示 */
    visibility: visible !important; /* 确保可见 */
    opacity: 1 !important; /* 确保不透明 */
    /* 显示滚动条以便用户知道可以滚动 */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    /* 确保滚动功能正常 */
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    /* 显示滚动条 */
    scrollbar-width: thin; /* Firefox - 显示细滚动条 */
    scrollbar-color: #cbd5e1 #f1f5f9; /* Firefox - 滚动条颜色 */
    -ms-overflow-style: auto; /* IE and Edge - 显示滚动条 */
    /* 确保可以滚动 */
    position: relative;
    z-index: 10;
}

.company-join-main-card .company-join-showcase-thumbs::-webkit-scrollbar {
    display: block; /* Chrome, Safari, Opera - 显示滚动条 */
    height: 6px; /* 滚动条高度 */
}

.company-join-main-card .company-join-showcase-thumbs::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.company-join-main-card .company-join-showcase-thumbs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.company-join-main-card .company-join-showcase-thumbs::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 右侧信息区域 */
.company-join-right-card {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

/* 品牌名称和收藏按钮 */
.company-join-brand-name-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.company-join-brand-name {
    font-size: 25px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-join-favorite-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    flex-shrink: 0;
    font-size: 13px;
}

.company-join-favorite-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.company-join-favorite-btn.favorited {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.company-join-favorite-btn.favorited i {
    color: #fff !important;
}

/* 投资金额 */
.company-join-investment {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dc2626;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1.2;
}

.company-join-investment i {
    font-size: 16px;
}

/* 警告横幅 */
.company-join-warning-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: #dc2626;
    color: #fff;
    border-radius: 4px;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    font-size: 13px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.company-join-warning-banner i {
    font-size: 14px;
}

/* 信息卡片 */
.company-join-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    flex-shrink: 0;
}

.company-join-info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 6px;
    flex-shrink: 0;
    min-width: 0; /* 允许收缩 */
    overflow: hidden; /* 隐藏溢出内容 */
}

.company-join-info-card i {
    font-size: 16px;
    color: #64748b;
    flex-shrink: 0;
}

.company-join-info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
    overflow: hidden; /* 隐藏溢出内容 */
}

.company-join-info-label {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-join-info-value {
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0; /* 允许收缩 */
}

/* 品牌支持 */
.company-join-brand-support {
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 10px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    box-sizing: border-box;
}

.company-join-brand-support-label {
    font-size: 12px;
    color: #64748b;
    line-height: 1.2;
    flex-shrink: 0;
    white-space: nowrap;
}

.company-join-brand-support-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    min-width: 0;
    flex: 1;
}

.company-join-brand-support-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #475569;
    flex-shrink: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.company-join-brand-support-item i {
    font-size: 11px;
    color: #10b981;
    flex-shrink: 0;
}

/* 统计数据 */
.company-join-stats {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.company-join-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-join-stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.company-join-stat-label {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.2;
}

/* 操作按钮 */
.company-join-action-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.company-join-message-btn,
.company-join-phone-btn {
    flex: 1;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    text-decoration: none;
    padding: 0 16px;
    box-sizing: border-box;
}

.company-join-message-btn {
    background: #dc2626;
    color: #fff;
}

.company-join-message-btn:hover {
    background: #b91c1c;
}

.company-join-phone-btn {
    background: transparent;
    color: #dc2626;
    border: 1px solid #dc2626;
}

.company-join-phone-btn:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.company-join-message-btn i,
.company-join-phone-btn i {
    font-size: 16px;
}

/* 导航栏 - 悬浮在主导航下方 */
.company-join-tabs-nav-container {
    position: sticky !important;
    top: 90px !important; /* 主导航高度(70px) + 顶部栏高度(20px) */
    z-index: 999 !important;
    background: #f5f7fa;
    padding: 0.1px 0;
    margin-bottom: 3px;
    /* 添加阴影效果，增强悬浮感 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 当顶部栏隐藏时，调整导航栏位置 */
body:has(.header-top.top-hidden) .company-join-tabs-nav-container {
    top: 70px !important; /* 只有主导航高度(70px) */
}

.company-join-tabs-nav {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    /* 确保导航栏在悬浮时保持可见 */
    position: relative;
}

.company-join-tabs-list {
    display: flex;
}

.company-join-tab-item {
    flex: 1;
    padding: 16px 20px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    border-bottom: 3px solid transparent;
    text-decoration: none;
    display: block;
    width: 100%;
}

.company-join-tab-item:focus {
    outline: none;
}

.company-join-tab-item:hover {
    color: #ff6b35; /* 橙红色 */
    background: #fff5f2; /* 浅橙红色背景 */
}

.company-join-tab-item.is-active {
    color: #ff6b35 !important; /* 橙红色 */
    border-bottom-color: #ff6b35 !important; /* 橙红色 */
    background: #fff5f2 !important; /* 浅橙红色背景 */
}

.company-join-tab-item:active,
.company-join-tab-item:focus {
    outline: none;
}

/* 主内容布局 */
.company-join-main-layout {
    display: grid;
    grid-template-columns: 914px 320px;
    grid-template-rows: auto 1fr;
    gap: 3px;
    align-items: start;
    width: 100%;
    max-width: 1280px;
    box-sizing: border-box; /* 确保 padding 包含在宽度内 */
}

/* 内容区域 */
.company-join-content-area {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.company-join-content-section {
    /* 移除scroll-margin-top，因为我们使用JavaScript手动控制滚动位置 */
    /* scroll-margin-top: 120px; */
    /* 完全禁用:target伪类的滚动效果 */
    scroll-margin-top: 0 !important;
    scroll-padding-top: 0 !important;
}

/* 阻止所有锚点元素的自动滚动 */
.company-join-content-section:target {
    scroll-margin-top: 0 !important;
    scroll-padding-top: 0 !important;
}

/* 内容卡片 */
/* ============================================
   信息卡片（参照企业信息页面样式）
   ============================================ */
.info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3px;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    height: 58px;
    border-bottom: 1px solid #e2e8f0;
}

.info-card-header i {
    font-size: 16px;
    color: #64748b;
}

.info-card-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
}

.info-card-content {
    padding: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.info-item {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 58px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.info-grid .info-item:nth-child(even):not(.info-item-full) {
    border-right: none;
}

/* 确保全宽项目之前的最后一个普通项目有右侧边框（如果是奇数位置） */
.info-item-full ~ .info-item:not(.info-item-full):last-of-type {
    border-right: 1px solid #e2e8f0 !important;
}

/* 如果全宽项目之前的最后一个普通项目是偶数位置，也需要有右侧边框（因为后面是全宽项目） */
.info-item-full ~ .info-item:not(.info-item-full):last-of-type:nth-child(even) {
    border-right: 1px solid #e2e8f0 !important;
}

/* 全宽项目始终有底部边框 */
.info-item-full {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* 确保全宽项目之间有分割线 */
.info-item-full:not(:last-child) {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* 最后一个全宽项目保留底部边框（如果有内容） */
.info-item-full:last-child {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* 移除最后两个普通项目的底部边框（如果没有全宽项目） */
.info-grid .info-item:not(.info-item-full):nth-last-child(-n+2) {
    border-bottom: none;
}

/* 当有全宽项目时，普通项目需要保留底部边框 */
.info-grid .info-item:not(.info-item-full) {
    border-bottom: 1px solid #e2e8f0;
}

/* 但最后两个普通项目（在全宽项目之前）移除底部边框 */
.info-grid .info-item:not(.info-item-full):nth-last-child(2),
.info-grid .info-item:not(.info-item-full):nth-last-child(1) {
    border-bottom: none;
}

/* 如果有全宽项目，则恢复普通项目的底部边框 */
.info-grid:has(.info-item-full) .info-item:not(.info-item-full):nth-last-child(2),
.info-grid:has(.info-item-full) .info-item:not(.info-item-full):nth-last-child(1) {
    border-bottom: 1px solid #e2e8f0;
}

/* 确保在全宽项目之后的普通项目也有边框 */
.info-item-full ~ .info-item:not(.info-item-full) {
    border-bottom: 1px solid #e2e8f0 !important;
}

/* 确保在全宽项目之后的最后一个普通项目也有边框（如果后面还有全宽项目） */
.info-item-full ~ .info-item:not(.info-item-full):last-of-type {
    border-bottom: 1px solid #e2e8f0 !important;
}

.info-item-label {
    width: 140px;
    font-size: 14px;
    color: #64748b;
    flex-shrink: 0;
}

.info-item-label i {
    margin-right: 6px;
    color: #94a3b8;
}

.info-item-value {
    flex: 1;
    font-size: 14px;
    color: #1e293b;
    word-break: break-word;
}

/* 经营范围单行显示，超出部分省略号 */
.info-item-full:last-child .info-item-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
}

.info-item-value.empty {
    color: #cbd5e1;
    font-style: italic;
}

.info-item-value a {
    color: #1e293b;
    text-decoration: none;
}

.info-item-value a:hover {
    color: #3b82f6;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.4;
    color: #cbd5e1;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #64748b;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
    color: #94a3b8;
}

/* 保留旧样式以兼容 */
.company-join-content-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 3px;
    width: 100%;
}

.company-join-content-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.company-join-content-text {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
}

.company-join-content-text p {
    margin: 0 0 12px 0;
}

.company-join-content-text p:last-child {
    margin-bottom: 0;
}

.company-join-empty-text {
    color: #94a3b8;
    font-style: italic;
    text-align: center;
    padding: 40px 20px;
}

/* 详细信息网格 */
.company-join-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.company-join-detail-item {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    background: #fff;
}

.company-join-details-grid .company-join-detail-item:nth-child(even) {
    border-right: none;
}

.company-join-details-grid .company-join-detail-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.company-join-detail-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    line-height: 1.2;
}

.company-join-detail-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.4;
}

.company-join-detail-value a {
    color: #3b82f6;
    text-decoration: none;
    /* transition: color 0.3s ease; */ /* 动画已禁用 */
}

.company-join-detail-value a:hover {
    color: #2563eb;
}

/* 品牌支持列表 */
.company-join-support-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-join-support-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
}

.company-join-support-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.company-join-support-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    border-radius: 8px;
    flex-shrink: 0;
}

.company-join-support-icon i {
    font-size: 20px;
    color: #fff;
}

.company-join-support-content {
    flex: 1;
}

.company-join-support-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.company-join-support-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 品牌风采 */
.company-join-showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.company-join-showcase-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    background: #f8fafc;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    border: none;
    border-bottom: 1px solid #e2e8f0;
}

.company-join-showcase-item:last-child {
    border-bottom: none;
}

.company-join-showcase-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.company-join-showcase-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.company-join-showcase-link {
    pointer-events: none;
    cursor: default;
}

/* 未找到提示 */
.company-join-not-found {
    background: #fff;
    border-radius: 12px;
    padding: 60px 24px;
    text-align: center;
    color: #64748b;
}

/* 友情提醒和内容声明卡片（浅黄色背景样式，带翻书折角） */
.company-join-notice-card {
    background: #fffef0 !important; /* 浅黄色背景 */
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    margin-bottom: 3px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
}

/* 右下角翻书折角效果 */
.company-join-notice-card::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-width: 0 0 40px 40px !important;
    border-color: transparent transparent #e8d5b7 transparent !important;
    z-index: 1 !important;
}

/* 折角阴影效果 */
.company-join-notice-card::before {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, rgba(232, 213, 183, 0.3) 0%, rgba(232, 213, 183, 0.1) 100%) !important;
    z-index: 0 !important;
    border-radius: 0 0 12px 0 !important;
}

.company-join-notice-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #4a5568 !important; /* 深灰色标题 */
    margin: 0 0 16px 0 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.company-join-notice-content {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #4a5568 !important; /* 深灰色文本 */
    margin: 0 !important;
    padding: 0 !important;
}

.company-join-notice-content p {
    margin: 0 0 12px 0 !important;
    color: #4a5568 !important;
}

.company-join-notice-content p:last-child {
    margin-bottom: 0 !important;
}

/* 常见问题 */
.company-join-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-join-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.company-join-faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.company-join-faq-question i {
    color: #ff6b35;
    font-size: 18px;
    flex-shrink: 0;
}

.company-join-faq-question h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
}

.company-join-faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    background: #fff;
}

.company-join-faq-answer i {
    color: #10b981;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.company-join-faq-answer-content {
    flex: 1;
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
}

.company-join-faq-answer-content p {
    margin: 0 0 12px 0;
}

.company-join-faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* 留言模态框 */
.company-join-message-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    /* animation: fadeIn 0.3s ease; */ /* 动画已禁用 */
}

.company-join-message-modal.active {
    display: flex;
}

.company-join-message-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    /* animation: slideUp 0.3s ease; */ /* 动画已禁用 */
    position: relative;
    padding: 30px;
    box-sizing: border-box;
}

.company-join-message-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    z-index: 10;
}

.company-join-message-modal-close:hover {
    color: #1e293b;
}

.company-join-message-modal-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.company-join-message-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #dc2626;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.company-join-message-modal-title .fas.fa-gem {
    font-size: 14px;
    color: #dc2626;
}

.company-join-message-modal-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.company-join-message-modal-body {
    padding: 0;
}

.company-join-message-modal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.company-join-message-form-section {
    min-width: 0;
}

.company-join-message-form-group {
    margin-bottom: 16px;
}

.company-join-message-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 6px;
}

.company-join-message-form-group label .required {
    color: #dc2626;
    margin-left: 2px;
}

.company-join-message-form-group input,
.company-join-message-form-group textarea,
.company-join-message-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #1e293b;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
}

.company-join-message-form-group input:focus,
.company-join-message-form-group textarea:focus,
.company-join-message-input:focus {
    outline: none;
    border-color: #dc2626;
}

.company-join-message-submit-btn {
    width: 100%;
    padding: 14px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    margin-top: 10px;
}

.company-join-message-submit-btn:hover {
    background: #b91c1c;
    /* transform: translateY(-1px); */ /* 动画已禁用 */
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.company-join-message-agreement {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.company-join-message-agreement a {
    color: #3b82f6;
    text-decoration: none;
}

.company-join-message-agreement a:hover {
    text-decoration: underline;
}

.company-join-message-quick-section {
    min-width: 0;
}

.company-join-message-quick-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.company-join-message-quick-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.company-join-message-quick-item {
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    line-height: 1.5;
}

.company-join-message-quick-item:hover {
    background: #f1f5f9;
    border-color: #dc2626;
    color: #1e293b;
}

/* 收藏提示弹窗 */
.company-join-favorite-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    /* animation: fadeIn 0.3s ease; */ /* 动画已禁用 */
}

.company-join-favorite-modal.active {
    display: flex;
}

.company-join-favorite-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    /* animation: slideUp 0.3s ease; */ /* 动画已禁用 */
    position: relative;
    padding: 40px 30px;
    box-sizing: border-box;
    text-align: center;
}

.company-join-favorite-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    z-index: 10;
}

.company-join-favorite-modal-close:hover {
    color: #1e293b;
}

.company-join-favorite-modal-body {
    padding: 0;
}

.company-join-favorite-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
}

.company-join-favorite-modal-icon.error {
    background: #fee2e2;
    color: #dc2626;
}

.company-join-favorite-modal-icon i {
    font-size: 32px;
}

.company-join-favorite-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.company-join-favorite-modal-message {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.company-join-favorite-modal-btn {
    width: 100%;
    padding: 12px 24px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
}

.company-join-favorite-modal-btn:hover {
    background: #b91c1c;
    /* transform: translateY(-1px); */ /* 动画已禁用 */
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* 动画已禁用 */

.company-join-message-login-prompt {
    text-align: center;
    padding: 40px 20px;
}

.company-join-message-login-prompt p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.company-join-message-login-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #3b82f6;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
}

.company-join-message-login-btn:hover {
    background: #2563eb;
}

/* ============================================
   企业信息卡片（右侧）
   ============================================ */
.company-join-sidebar-area {
    grid-column: 2;
    grid-row: 1 / -1; /* 跨越所有行 */
    position: sticky;
    top: 96px; /* 主导航高度(70px) + 顶部栏高度(20px) + 间距(6px) */
    align-self: start;
    max-height: calc(100vh - 96px); /* 限制最大高度，避免超出可视区域 */
    overflow-y: auto; /* 内容过多时允许滚动 */
    /* 移除可能导致重排的属性 */
    /* transition: top 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
    /* will-change: top; */
    /* backface-visibility: hidden; */
    /* transform: translateZ(0); */
}

/* 当顶部header隐藏时调整企业信息卡片位置 */
body:has(.header-top.top-hidden) .company-join-sidebar-area {
    top: 76px; /* 主导航高度(70px) + 间距(6px) */
    max-height: calc(100vh - 76px); /* 调整最大高度 */
}

.company-join-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
    box-sizing: border-box;
    overflow: visible; /* 改为 visible，让滚动由父容器控制 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.company-join-sidebar-logo {
    width: 150px;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
}

.company-join-sidebar-title {
    position: absolute;
    top: 0;
    left: auto;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 4px 0;
    z-index: 10;
}

.company-join-sidebar-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.company-join-claimed-badge {
    display: inline-block;
    background: #10b981;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.company-join-stats-sidebar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 3px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.company-join-stat-item-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 58px;
}

.company-join-stat-number-sidebar {
    font-size: 18px;
    font-weight: 700;
    color: #dc2626;
}

.company-join-stat-label-sidebar {
    font-size: 11px;
    color: #64748b;
}

.company-join-sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 8px;
}

.company-join-sidebar-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    background: #dc2626;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.company-join-sidebar-btn:hover:not(:disabled) {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.company-join-sidebar-btn:active:not(:disabled) {
    /* transform: translateY(0); */ /* 动画已禁用 */
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.company-join-sidebar-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #94a3b8;
    box-shadow: none;
}

.company-join-sidebar-btn i {
    font-size: 14px;
}

.company-join-sidebar-btn span {
    font-size: 14px;
    font-weight: 600;
}

/* 链接按钮样式（与按钮保持一致） */
a.company-join-sidebar-btn {
    text-decoration: none;
    color: #fff;
}

a.company-join-sidebar-btn:hover {
    color: #fff;
    text-decoration: none;
}

.company-join-badges-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.company-join-badge-item {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.company-join-badge-qi {
    background: #dc2626;
}

.company-join-badge-qi.badge-approved {
    background: #dc2626;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.company-join-badge-qi.badge-none {
    background: #9ca3af;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.company-join-badge-r {
    background: #3b82f6;
}

.company-join-badge-r.badge-approved {
    background: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.company-join-badge-r.badge-none {
    background: #9ca3af;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.company-join-badge-ren {
    background: #10b981;
}

.company-join-badge-ren.badge-approved {
    background: #10b981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.company-join-badge-ren.badge-none {
    background: #9ca3af;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.company-join-badge-yan {
    background: #10b981;
}

.company-join-share-section {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.company-join-share-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
}

.company-join-share-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.company-join-share-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* transition: all 0.3s ease; */ /* 动画已禁用 */
    font-size: 14px;
    color: #fff;
}

.company-join-share-icon:hover {
    /* transform: scale(1.1); */ /* 动画已禁用 */
}

.company-join-share-icon-star {
    background: #3b82f6;
}

.company-join-share-icon-star.favorited {
    background: #fbbf24;
}

.company-join-share-icon-star.favorited i {
    color: #fff;
}

.company-join-share-icon-weibo {
    background: #ff6600;
}

.company-join-share-icon-wechat {
    background: #07c160;
}

.company-join-share-icon-qq {
    background: #12b7f5;
}

.company-join-share-icon-douyin {
    background: #000;
}

