/* 现代化详情页样式 */

/* 重置和基础样式 */
.modern-info-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* 主容器 */
.modern-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 面包屑导航 */
.modern-breadcrumb {
    background: #94c9f5;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 14px;
}

.modern-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-breadcrumb a:hover {
    color: white;
}

/* 标题区域 */
.modern-title-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
}

.modern-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.modern-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.modern-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.modern-meta-item i {
    color: #4facfe;
}

.modern-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
}

.modern-action-btn {
    padding: 8px 16px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.modern-action-btn:hover {
    background: #4facfe;
    color: white;
    border-color: #4facfe;
    text-decoration: none;
}

/* 按钮类型样式 */
.modern-action-btn.top-btn {
    color: #ff6b35;
    border-color: #ff6b35;
}

.modern-action-btn.top-btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.modern-action-btn.favorite-btn {
    color: #e91e63;
    border-color: #e91e63;
}

.modern-action-btn.favorite-btn:hover {
    background: #e91e63;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.modern-action-btn.edit-btn {
    color: #4facfe;
    border-color: #4facfe;
}

.modern-action-btn.edit-btn:hover {
    background: #4facfe;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.modern-action-btn.delete-btn {
    color: #dc3545;
    border-color: #dc3545;
}

.modern-action-btn.delete-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.modern-action-btn.report-btn {
    color: #ffc107;
    border-color: #ffc107;
}

.modern-action-btn.report-btn:hover {
    background: #ffc107;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* 保留原有的danger类以兼容 */
.modern-action-btn.danger {
    color: #dc3545;
    border-color: #dc3545;
}

.modern-action-btn.danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* 主内容区域 */
.modern-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 30px;
}

/* 左侧主内容 */
.modern-main-content {
    background: white;
}

/* 图片展示区域 */
.modern-image-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.modern-main-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.modern-thumbnail-list {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-thumbnail {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-thumbnail:hover,
.modern-thumbnail.active {
    border-color: #4facfe;
    transform: scale(1.05);
}

/* 详情内容 */
.modern-detail-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modern-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4facfe;
    display: inline-block;
}

.modern-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

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

.modern-content-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modern-content-images img:hover {
    transform: scale(1.02);
}

/* 右侧边栏 */
.modern-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 用户信息卡片 */
.modern-user-card {
    background: #9bcdf7;
    color: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.modern-user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 15px;
    object-fit: cover;
}

.modern-username {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: default;
    pointer-events: none;
    user-select: none;
}


.modern-user-level {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

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

.modern-badge {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* 联系信息卡片 */
.modern-contact-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modern-contact-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.modern-contact-label {
    color: #666;
    font-size: 14px;
}

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

.modern-contact-phone {
    color: #dc3545;
    font-weight: 600;
}

.modern-contact-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.modern-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
    color: white;
    text-decoration: none;
}

.modern-qq-btn {
    background: #1aad19;
    margin-left: 10px;
}

.modern-qq-btn:hover {
    background: #179b16;
}

/* 警告提示 */
.modern-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

.modern-warning strong {
    color: #533f03;
}

/* 相关推荐 */
.modern-related-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modern-related-list {
    display: grid;
    gap: 15px;
}

.modern-related-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.modern-related-item:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.modern-related-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.modern-related-content {
    flex: 1;
}

.modern-related-title {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 5px;
    line-height: 1.4;
    text-decoration: none;
}

.modern-related-title:hover {
    color: #4facfe;
    text-decoration: none;
}

.modern-related-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.modern-related-date {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 查看更多按钮 */
.modern-view-more {
    display: inline-block;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 20px auto;
    text-align: center;
}

.modern-view-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
    color: white;
    text-decoration: none;
}

/* 底部提示 */
.modern-footer-notice {
    background: #f8f9fa;
    border-left: 4px solid #4facfe;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    color: #666;
    font-size: 14px;
    margin-top: 30px;
}

/* 防止横向滚动条 */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

/* 底部导航样式 - 与首页保持一致，撑满整个屏幕宽度 */
.footer_fullwidth_wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    margin-top: 50px;
    box-sizing: border-box;
}

.footer_redesigned {
    width: 100%;
    color: #ffffff;
    padding: 20px 0;
}

.footer_container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 左侧服务热线样式 */
.footer_service_hotline {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hotline_title {
    font-size: 16px;
    color: #bdc3c7;
    font-weight: 400;
}

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

.phone_icon {
    width: 40px;
    height: 40px;
    background-image: url('../images/未标题-1_34.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.phone_numbers {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone_main {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}

.phone_sub {
    font-size: 14px;
    color: #bdc3c7;
    letter-spacing: 0.5px;
}

/* 右侧导航样式 */
.footer_navigation {
    text-align: right;
}

.nav_links {
    margin-bottom: 15px;
}

.nav_links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 0 2px;
}

.nav_links a:hover {
    color: #74b9ff;
}

.nav_separator {
    color: #7f8c8d;
    margin: 0 8px;
    font-size: 14px;
}

.footer_copyright {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.copyright_text,
.beian_info {
    font-size: 12px;
    line-height: 1.4;
}

/* 底部导航响应式设计 */
@media (max-width: 768px) {
    .footer_container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer_service_hotline {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer_navigation {
        text-align: center;
    }
    
    .nav_links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .nav_separator {
        margin: 0 5px;
    }
}

/* 分类导航卡片 */
.modern-category-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.modern-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modern-category-tag {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.modern-category-tag:hover {
    background: #4facfe;
    color: white;
    border-color: #4facfe;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modern-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modern-info-container {
        margin: 10px;
        padding: 15px;
    }
    
    .modern-title {
        font-size: 22px;
    }
    
    .modern-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .modern-actions {
        margin-left: 0;
        margin-top: 10px;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .modern-action-btn {
        font-size: 12px;
        padding: 6px 12px;
        gap: 4px;
    }
    
    .modern-thumbnail-list {
        justify-content: flex-start;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-info-container {
    animation: fadeInUp 0.6s ease-out;
}

.modern-user-card,
.modern-contact-card,
.modern-category-card {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* 特殊状态样式 */
.modern-vip-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 8px;
}

.modern-certified-badge {
    color: #28a745;
    font-size: 12px;
    margin-left: 5px;
}

/* 加载状态 */
.modern-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #666;
}

.modern-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
