/* 协议页面专用样式 */

/* 美化滚动条 */
.agreement-content::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.agreement-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.agreement-content::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 3px;
}

.agreement-content::-webkit-scrollbar-thumb:hover {
    background: #e55a2b;
}

/* 优化协议内容布局 */
.agreement-section {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 增强列表样式 */
.agreement-content ul.feature-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.agreement-content ul.feature-list li {
    background: white;
    padding: 12px 12px 12px 35px;
    margin: 8px 0;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.agreement-content ul.feature-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* SDK信息卡片样式 */
.sdk-info-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sdk-info-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 引用块美化 */
.agreement-content blockquote.quote-block {
    position: relative;
    font-style: italic;
    quotes: """ """ "'" "'";
}

.agreement-content blockquote.quote-block::before {
    content: open-quote;
    font-size: 40px;
    position: absolute;
    left: -10px;
    top: -10px;
    color: #f39c12;
    opacity: 0.3;
}

/* 标题装饰 */
.agreement-content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ff6b35;
    margin-top: 10px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .accordion-header {
        padding: 15px;
    }
    
    .accordion-content.active {
        padding: 15px;
    }
    
    .agreement-content ul.feature-list li {
        padding-left: 30px;
    }
}

/* 打印样式 */
@media print {
    .nav-tabs,
    .accordion-icon,
    .footer {
        display: none;
    }
    
    .accordion-content {
        max-height: none !important;
        padding: 20px 0 !important;
    }
    
    .accordion-header {
        background: none !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #ddd;
    }
}

/* 特殊标记样式 */
.agreement-content .highlight {
    background: #fff3cd;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.agreement-content .important {
    color: #dc3545;
    font-weight: bold;
}

/* 动画效果 */
.accordion-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 表格样式（如果协议中有表格） */
.agreement-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.agreement-content table th,
.agreement-content table td {
    border: 1px solid #e9ecef;
    padding: 12px;
    text-align: left;
}

.agreement-content table th {
    background: #ff6b35;
    color: white;
    font-weight: 600;
}

.agreement-content table tr:nth-child(even) {
    background: #f8f9fa;
}

.agreement-content table tr:hover {
    background: #e9ecef;
}

/* 标签样式 */
.tag {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin: 0 4px;
}

.tag.blue {
    background: #007bff;
}

.tag.green {
    background: #28a745;
}

.tag.yellow {
    background: #ffc107;
    color: #333;
}