/* 基础样式 */
.btn-disabled { 
    background-color: #ccc; 
    color: #666; 
}

/* 服务介绍相关样式 */
.service-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white;
}

.service-card-body {
    color: #495057;
}

.service-lead {
    color: #212529;
}

.service-subtitle {
    color: #495057;
}

.service-icon-color {
    color: #667eea;
}

.service-check-color {
    color: #28a745;
}

.service-text {
    color: #495057;
}

.service-alert {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); 
    border: 1px solid #90caf9; 
    color: #1565c0; 
    border-radius: 8px;
}

.service-alert-title {
    color: #1565c0; 
    margin-bottom: 15px;
}

.service-alert-strong {
    color: #1565c0;
}

.service-alert-text {
    color: #1565c0;
}

.service-footer-text {
    color: #6c757d;
}

/* 购买记录样式 - 简洁大方风格 */
.purchase-records-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    border: 1px solid #f0f0f0;
    animation: slideInFromRight 0.6s ease-out;
}

@media screen and (max-width: 768px) {
    .purchase-records-fixed { 
        display: none !important; 
    }
}

@keyframes slideInFromRight { 
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    } 
}

/* 购买记录头部样式 */
.purchase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f5f5f5;
}

.purchase-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.purchase-status {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    background-color: #f0f8fb;
    color: #4299e1;
    font-weight: 500;
}

.close-purchase-btn {
    width: 24px;
    height: 24px;
    background: #f8f8f8;
    border: none;
    border-radius: 50%;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    transition: all 0.2s ease;
}

.close-purchase-btn:hover {
    background: #f0f0f0;
    color: #666;
}

/* 购买记录列表容器 */
.purchase-list {
    height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

/* 滚动条美化 */
.purchase-list::-webkit-scrollbar {
    width: 4px;
}

.purchase-list::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 2px;
}

.purchase-list::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 2px;
}

/* 购买记录项目样式 */
.purchase-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.purchase-item:hover {
    border-color: #e8f4f8;
    background-color: #f8fdfd;
}

.purchase-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.purchase-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.purchase-avatar {
    width: 20px;
    height: 20px;
    background: #e8f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #4299e1;
}

.purchase-time {
    font-size: 10px;
    color: #999;
}

.purchase-product {
    background: #ffffff;
    border-radius: 6px;
    padding: 8px;
    border: 1px solid #f0f0f0;
}

.purchase-product-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

.purchase-product-link:hover {
    color: #4299e1;
}

.purchase-product-icon {
    font-size: 11px;
    color: #999;
}

.purchase-quantity {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
    text-align: right;
}

/* 无数据样式 */
.purchase-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 12px;
}

.purchase-empty-icon {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* 服务介绍卡片样式增强 */
.service-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.service-feature {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

/* 动画 */
@keyframes pulse { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.6; } 
}

@keyframes bounce { 
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 
    40% { transform: translateY(-3px); } 
    60% { transform: translateY(-2px); } 
}

/* 商品描述区域样式优化 */
.buy-product {
    color: #495057;
}

.buy-product h1, .buy-product h2, .buy-product h3, .buy-product h4, .buy-product h5, .buy-product h6 {
    color: #212529;
}

.buy-product p {
    color: #495057;
    line-height: 1.6;
}

.buy-product .text-muted {
    color: #6c757d !important;
}

.buy-product a {
    color: #007bff;
}

.buy-product a:hover {
    color: #0056b3;
}

/* 卡片和警告框样式 */
.buy-product .card {
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.buy-product .alert-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
    color: #1565c0;
}

/* 徽章样式 */
.buy-product .badge-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white;
}
/* 版本四：SEO优化版样式 */
.service-badge {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-intro {
    line-height: 1.8;
}
.keywords-section .badge {
    transition: all 0.3s ease;
}
.keywords-section .badge:hover {
    background-color: #3e60d5 !important;
    color: white !important;
}
/* 禁止整个网站的文字选择和拖拽 */
body {
    -webkit-user-select: none; /* Chrome/Safari/Edge */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;         /* 标准语法 */
    -webkit-touch-callout: none; /* iOS Safari */
}

/* 允许特定区域可以选中（比如输入框） */
input, textarea, .allow-select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}