/* 详情页样式 */

.patent-detail { background: #fff; border-radius: 0px; padding: 40px; margin-top: 30px; }
.patent-title { font-size: 24px; font-weight: bold; margin-bottom: 0px; }
.patent-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; padding: 20px; background: #fafafa; border-radius: 8px; }
.patent-info-item { display: flex; }
.patent-info-label { width: 100px; color: #666; }
.patent-info-value { flex: 1; font-weight: 500; }
.patent-price-tag { font-size: 28px; color: #f5222d; font-weight: bold; }
.patent-content { font-size: 16px; line-height: 1.8; margin-top: 20px; }
.patent-back-link { display: inline-block; margin-top: 30px; color: #c42000; text-decoration: none; }
.patent-back-link:hover { text-decoration: underline; }

/* 锁定按钮 */
.patent-actions { margin: 24px 0; padding: 24px; background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%); border-radius: 8px; text-align: center; }
.patent-btn { padding: 14px 60px; background: linear-gradient(135deg, var(--theme) 0%, rgba(27, 83, 149, 0.85) 100%); color: #fff; border: none; border-radius: 30px; font-size: 18px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.patent-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(27, 83, 149, 0.3); }
.patent-btn.locked { background: #999; cursor: not-allowed; }
.patent-btn.locked:hover { transform: none; box-shadow: none; }

/* 新闻详情页样式 */
.article-title { font-size: 28px; font-weight: bold; text-align: center; margin-bottom: 20px; }
.article-meta { text-align: center; color: #999; font-size: 14px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.article-meta span { margin: 0 15px; }
.article-content { font-size: 16px; line-height: 1.8; }
.article-content p { margin-bottom: 15px; }

/* 我的锁定页面 */
.patent-table { width: 100%; border-collapse: collapse; margin-top: 0px; }
.patent-table th { background: #fafafa; padding: 14px 16px; text-align: left; font-weight: 600; color: #333; border-bottom: 2px solid var(--theme); font-size: 14px; }
.patent-table td { padding: 14px 16px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.patent-table tr:hover { background: #fffcfb; }
.patent-table a { color: var(--theme); }
.patent-table a:hover { text-decoration: underline; }
.patent-price { color: #ff4d4f; font-weight: 700; font-size: 16px; }
.patent-status-tag { display: inline-block; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.patent-status-1 { background: #fff6f0; color: var(--theme); border: 1px solid rgba(27, 83, 149, 0.2); }

/* 订单标签 */
.order-tabs { margin: 20px 0; background: #fafafa; border-radius: 8px; padding: 0px; display: inline-flex; gap: 8px; }
.order-tab { display: inline-block; padding: 5px 20px; border-radius: 6px; font-size: 14px; color: #666; text-decoration: none; background: transparent; font-weight: 500; transition: all 0.3s; border:1px solid var(--theme);}
.order-tab:hover { color: var(--theme); background: rgba(27, 83, 149, 0.1); }
.order-tab.active { color: #fff; background: var(--theme); font-weight: 600; }

.patent-status-2 { background: #f5f5f5; color: #999; border: 1px solid #d9d9d9; }
.patent-status-3 { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }

/* 客服联系信息 */
.service-contact { 
    margin-top: 30px; 
    padding: 25px; 
    background: #f8f9fa; 
    border-radius: 8px; 
}
.service-contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 200px; 
    gap: 30px; 
    align-items: center; 
}
.service-item { 
    margin-bottom: 15px; 
    font-size: 16px; 
}
.service-label { 
    color: #666; 
    font-weight: 500; 
}
.service-value { 
    color: #333; 
    font-weight: 600; 
    margin-left: 5px; 
}
.service-actions { 
    margin-top: 20px; 
}
.service-btn { 
    display: inline-block; 
    padding: 12px 30px; 
    background: linear-gradient(135deg, var(--theme) 0%, rgba(27, 83, 149, 0.85) 100%); 
    color: #fff; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s; 
}
.service-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 16px rgba(27, 83, 149, 0.3); 
}
.service-qrcode { 
    text-align: center; 
}
.qrcode-title { 
    font-size: 14px; 
    color: #666; 
    margin-bottom: 10px; 
}
.qrcode-img { 
    width: 100%; 
    height: auto; 
    border-radius: 4px; 
    background: #fff; 
    padding: 5px; 
}

/* Responsive */
@media (max-width: 768px) {
    .patent-detail { padding: 15px 10px; margin-top: 15px; }
    .patent-title { font-size: 18px; }
    .patent-info-grid { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
    .patent-info-label { width: 80px; font-size: 13px; }
    .patent-info-value { font-size: 13px; }
    .patent-price-tag { font-size: 20px; }
    .article-title { font-size: 20px; }
    .article-meta { font-size: 12px; }
    .article-meta span { margin: 0 5px; }
    .article-content { font-size: 14px; }
    .patent-actions { padding: 15px; margin: 15px 0; }
    .patent-btn { padding: 10px 40px; font-size: 16px; }
    .patent-table-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .order-tabs { display: flex; flex-wrap: wrap; }
    .order-tab { padding: 5px 10px; font-size: 13px; }
    .service-contact { margin-top: 20px; padding: 15px; }
    .service-contact-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-item { font-size: 14px; margin-bottom: 10px; }
    .service-qrcode { max-width: 200px; margin: 0 auto; }
}
