/**
 * 详情页面专用样式
 * 适用于投资人详情和项目详情
 */

/* ========== 基础容器 ========== */
.detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ========== 投资人档案 ========== */
.investor-profile {
    display: flex;
    gap: 30px;
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.profile-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.profile-company {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-auth {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-online {
    background: #e3f2fd;
    color: #1976d2;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.back-button:hover {
    background: #f5f5f5;
    border-color: #667eea;
    color: #667eea;
}

/* ========== 详情卡片 ========== */
.detail-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.detail-info {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.detail-name {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.detail-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.detail-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    justify-content: center;
}

/* ========== 信息区块 ========== */
.info-section {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
    order: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #667eea;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.info-label {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.info-content {
    line-height: 1.8;
    color: #666;
    font-size: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 10px;
    text-indent: 2em;
}

/* ========== 标签组 ========== */
.tag-group,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.detail-tag,
.tag-item {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #667eea30;
}

.detail-tag:hover,
.tag-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tag-item.tag-secondary {
    background: #f0f0f0;
    color: #666;
    border-color: #ddd;
}

.tag-item.tag-secondary:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.tag-item.tag-info {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #90caf9;
}

.tag-item.tag-info:hover {
    background: #1976d2;
    color: white;
    border-color: #1976d2;
}

.tag-item.tag-warning {
    background: #fff3e0;
    color: #f57c00;
    border-color: #ffb74d;
}

.tag-item.tag-warning:hover {
    background: #f57c00;
    color: white;
    border-color: #f57c00;
}

.detail-tag.old-style {
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    color: #667eea;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #667eea30;
}

.detail-tag a {
    color: inherit;
    text-decoration: none;
}

.detail-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

/* ========== 联系信息 ========== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.contact-info-item:hover {
    background: #e9ecef;
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.contact-info-item i {
    color: #667eea;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-label {
    font-size: 13px;
    color: #999;
    min-width: 50px;
}

.contact-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    flex: 1;
}

/* ========== 动作按钮 ========== */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.action-btn,
.contact-btn {
    padding: 12px 24px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.action-btn-secondary,
.contact-btn.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.action-btn-secondary:hover,
.contact-btn.secondary:hover {
    background: #667eea;
    color: white;
}

.action-btn-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.action-btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.action-btn-success {
    background: white;
    color: #27ae60;
    border: 2px solid #27ae60;
}

.action-btn-success:hover {
    background: #27ae60;
    color: white;
}

.contact-btn.outline {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
}

.contact-btn.outline:hover {
    background: #f5f5f5;
    border-color: #667eea;
    color: #667eea;
}

.contact-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ========== 互动栏 ========== */
.interaction-bar {
    display: flex;
    gap: 2px;
    padding: 10px 5px;
    background: #f9fafb;
    border-top: 1px solid #e0e0e0;
    flex-wrap: nowrap;
}

.interaction-btn {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #666;
    min-width: 0;
}

.interaction-btn i {
    font-size: 24px;
    color: #999;
}

.interaction-btn span {
    font-size: 13px;
    color: #666;
}

.interaction-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.interaction-btn.active {
    border-color: #667eea;
    background: #f0f4ff;
}

.interaction-btn.active i {
    color: #667eea;
}

.like-btn.active i {
    color: #f44336;
}

.favorite-btn.active i {
    color: #ff9800;
}

/* ========== 留言区 ========== */
.info-link {
    color: #667eea;
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline;
}

.reply-info {
    display: none;
    padding: 10px;
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    margin-bottom: 10px;
    border-radius: 4px;
}

.reply-cancel-btn {
    float: right;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 0 5px;
}

.reply-cancel-btn:hover {
    color: #333;
}

.captcha-container {
    margin-top: 15px;
}

.captcha-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image {
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
}

.captcha-input {
    flex: 1;
    max-width: 150px;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
}

.error-message {
    display: none;
    color: #f44336;
    font-size: 13px;
    margin-top: 8px;
}

.submit-error {
    display: none;
    color: #f44336;
    font-size: 13px;
    margin-top: 10px;
    padding: 10px;
    background: #ffebee;
    border-radius: 4px;
}

.submit-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.anonymous-label {
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.anonymous-checkbox {
    margin-right: 5px;
}

.message-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.message-input-box {
    margin-bottom: 30px;
}

.message-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s;
}

.message-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.message-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.message-count {
    font-size: 13px;
    color: #999;
}

.message-submit-btn {
    padding: 10px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.message-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.message-list {
    margin-top: 30px;
}

.message-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.message-author {
    font-weight: 600;
    color: #333;
}

.message-time {
    font-size: 13px;
    color: #999;
}

.message-content {
    color: #666;
    line-height: 1.6;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .detail-container {
        padding: 10px;
        width: 100%;
        max-width: 100%;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .detail-card {
        padding: 15px;
    }

    .detail-header {
        flex-direction: column; /* 小屏改为上下布局 */
        align-items: center;
        text-align: center;
        gap: 20px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .detail-avatar {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .detail-info {
        width: 100%;
        text-align: center;
    }

    .detail-name {
        font-size: 20px;
    }

    .detail-subtitle {
        font-size: 14px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-section {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    /* 投资人档案：小屏垂直布局 */
    .investor-profile {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }

    .profile-avatar {
        width: 100%;
        text-align: center;
    }

    .avatar-img {
        width: 120px;
        height: 120px;
    }

    .profile-info {
        width: 100%;
    }

    .profile-name {
        font-size: 22px;
        text-align: center;
    }

    .profile-company {
        font-size: 14px;
        justify-content: center;
    }

    .profile-badges {
        justify-content: center;
    }

    /* 联系信息 */
    .info-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .info-label {
        min-width: 60px;
        flex-shrink: 0;
    }

    .info-value {
        flex: 1;
        word-break: break-all;
    }

    /* 联系信息：小屏单列 */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-info-item {
        padding: 8px;
    }

    .contact-label {
        font-size: 12px;
        min-width: 45px;
    }

    .contact-value {
        font-size: 13px;
    }

    /* 互动栏：保持一行显示，但缩小 */
    .interaction-bar {
        flex-wrap: nowrap;
        padding: 12px;
        gap: 8px;
        overflow-x: auto;
    }

    .interaction-btn {
        flex: 1;
        min-width: 70px;
        padding: 10px 5px;
        flex-shrink: 0;
    }

    .interaction-btn i {
        font-size: 18px;
    }

    .interaction-btn span {
        font-size: 11px;
    }

    .interaction-btn .count {
        font-size: 11px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .message-section {
        padding: 15px;
    }

    .message-textarea {
        min-height: 100px;
        padding: 12px;
    }

    .tag-group {
        gap: 6px;
    }

    .detail-tag {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .detail-container {
        padding: 8px;
    }
    
    .detail-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .detail-avatar {
        width: 100px;
        height: 100px;
    }
    
    .detail-name,
    .profile-name {
        font-size: 20px;
        word-break: break-word;
        text-align: center;
    }

    /* 投资人档案 */
    .investor-profile {
        padding: 15px;
    }

    .avatar-img {
        width: 100px;
        height: 100px;
    }

    .profile-company {
        font-size: 13px;
    }

    .badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* 联系信息：极小屏保持一行显示 */
    .contact-info-item {
        padding: 10px 8px;
        gap: 6px;
        font-size: 12px;
    }

    .contact-info-item i {
        font-size: 14px;
        min-width: 18px;
    }
    
    .contact-label {
        font-size: 12px;
        min-width: 40px;
        white-space: nowrap;
    }
    
    .contact-value {
        font-size: 12px;
        word-break: break-all;
    }

    .section-title {
        font-size: 16px;
    }

    .message-section {
        padding: 15px;
    }

    /* 互动栏：极小屏也保持一行，但更紧凑 */
    .interaction-bar {
        padding: 8px;
        gap: 6px;
    }

    .interaction-btn {
        min-width: 60px;
        padding: 8px 3px;
        font-size: 11px;
    }

    .interaction-btn i {
        font-size: 16px;
    }

    .interaction-btn span {
        font-size: 10px;
    }

    .interaction-btn .count {
        font-size: 10px;
    }
    
    .info-label {
        font-size: 12px;
        min-width: 50px;
    }

    .info-value {
        font-size: 13px;
    }

    .tag-list {
        gap: 8px;
        margin-top: 12px;
    }

    .tag-item {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .detail-info {
        text-align: center;
    }

    .action-buttons {
        gap: 8px;
    }

    .action-btn,
    .contact-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .detail-badges {
        justify-content: center; /* 标签居中 */
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ========== 项目详情页专用样式 ========== */
.project-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.project-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    color: white;
}

.project-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 14px;
}

.project-body {
    padding: 40px;
}

.section {
    margin-bottom: 30px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #667eea;
    font-size: 18px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    transition: all 0.3s;
}

.info-item:hover {
    background: #f0f4ff;
    transform: translateX(2px);
}

.info-label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.project-description {
    line-height: 2;
    color: #444;
    font-size: 15px;
    padding: 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    border-radius: 6px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.project-image {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 20px 0;
}

/* 关键词和标签样式 */
.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.keyword-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #495057;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.keyword-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.keyword-tag i {
    font-size: 11px;
    opacity: 0.7;
}

/* 查找类型标签 */
.find-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    color: #5e35b1;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(94, 53, 177, 0.15);
}

.find-type-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(94, 53, 177, 0.25);
    background: linear-gradient(135deg, #5e35b1 0%, #4527a0 100%);
    color: white;
}

/* 商业计划书卡片 */
.bp-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px;
    padding: 25px;
    color: white;
    box-shadow: 0 8px 24px rgba(245, 87, 108, 0.3);
}

.bp-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.bp-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #f5576c;
    flex-shrink: 0;
}

.bp-info {
    flex: 1;
}

.bp-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bp-meta {
    font-size: 13px;
    opacity: 0.9;
}

.bp-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bp-btn {
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 500;
    border: none;
}

.bp-btn-primary {
    background: white;
    color: #f5576c;
}

.bp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.bp-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.bp-btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* 项目详情页响应式 */
@media (max-width: 768px) {
    .project-header {
        padding: 20px 15px;
    }

    .project-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .project-tags {
        gap: 6px;
    }

    .tag {
        padding: 4px 10px;
        font-size: 11px;
    }

    .project-body {
        padding: 15px 10px;
        background: #f5f7fa;
    }
    
    .section {
        margin-bottom: 15px;
        padding: 15px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .info-grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }
    
    .info-item {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .info-label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .info-value {
        font-size: 14px;
    }

    .bp-header {
        flex-direction: column;
        text-align: center;
    }

    .bp-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .bp-title {
        font-size: 16px;
    }

    .bp-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .bp-btn {
        width: 100%;
        justify-content: center;
    }

    .project-description {
        font-size: 13px;
        line-height: 1.8;
        padding: 15px;
    }
    
    .keywords-container {
        gap: 8px;
    }
    
    .keyword-tag,
    .find-type-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 20px;
    }

    .project-description {
        font-size: 14px;
        padding: 15px 0;
    }
}

/* 联系人卡片样式 */
.contact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #667eea;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

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

.contact-info {
    flex: 1;
}

.contact-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-position {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 留言区域样式 */
.message-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.message-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.message-input-box {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.message-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s;
}

.message-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.message-submit-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.message-count {
    color: #999;
    font-size: 13px;
}

.message-submit-btn {
    padding: 10px 30px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.message-submit-btn:hover {
    background: #5568d3;
}

.message-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.message-list {
    margin-top: 20px;
}

.message-item {
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.message-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.message-reply {
    margin-left: 50px;
    margin-top: 10px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 3px solid #667eea;
    border-radius: 4px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.message-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.message-username {
    font-weight: 600;
    color: #333;
}

.message-time {
    color: #999;
    font-size: 13px;
}

.message-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.message-actions {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.message-action-btn {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 10px;
    transition: all 0.3s;
}

.message-action-btn:hover {
    background: #f0f0f0;
    border-radius: 4px;
}

.mention {
    color: #667eea;
    font-weight: 600;
}

.message-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.message-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

/* 联系人卡片和留言区域响应式 */
@media (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .contact-avatar {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .contact-name {
        font-size: 20px;
    }

    .contact-details {
        justify-content: center;
        font-size: 13px;
    }

    .message-section {
        padding: 15px 10px;
        border-radius: 8px;
    }
    
    .message-section-title {
        font-size: 16px;
        padding-bottom: 8px;
        margin-bottom: 15px;
    }
    
    .message-input-box {
        padding: 12px;
    }
    
    .message-textarea {
        min-height: 100px;
        padding: 10px;
        font-size: 13px;
    }
    
    .message-submit-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .message-item {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .message-reply {
        margin-left: 20px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .contact-name {
        font-size: 18px;
    }

    .contact-details {
        flex-direction: column;
        gap: 10px;
    }
}

