/* 协议页面专用样式 */

/* Header客服按钮样式 */
.header-actions {
    display: flex;
    align-items: center;
}

.customer-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.customer-service-btn:hover {
    background: rgba(0, 123, 255, 0.2);
    transform: scale(1.05);
}

.customer-service-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* 响应式样式 */
@media (max-width: 480px) {
    .customer-service-btn {
        width: 32px;
        height: 32px;
    }
    
    .customer-service-btn img {
        width: 25px;
        height: 25px;
    }
}

.agreement-content {
    padding: 0 16px 32px;
}

.agreement-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.agreement-section h2 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    border-bottom: 2px solid #007bff;
    padding-bottom: 16px;
}

.section-block {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.section-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-block h3 {
    color: #007bff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid #007bff;
}

.section-block h4 {
    color: #555;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px 0;
}

.section-block p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.section-block p:last-child {
    margin-bottom: 0;
}

.section-block ul {
    margin: 16px 0;
    padding-left: 20px;
}

.section-block li {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.section-block li:last-child {
    margin-bottom: 0;
}

/* 强调文本样式 */
.section-block strong {
    color: #333;
    font-weight: 600;
}

/* 联系信息样式 */
.contact-info {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
    color: #555;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* 最后更新时间样式 */
.last-updated {
    overflow: hidden;
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
}

.last-updated p {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
}

.last-updated p:last-child {
    margin-bottom: 0;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .agreement-content {
        padding: 0 12px 24px;
    }
    
    .agreement-section {
        padding: 20px 16px;
    }
    
    .agreement-section h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .section-block h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .section-block h4 {
        font-size: 15px;
    }
    
    .section-block p,
    .section-block li {
        font-size: 14px;
    }
    
    .section-block {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .agreement-content {
        padding: 0 8px 20px;
    }
    
    .agreement-section {
        padding: 16px 12px;
    }
    
    .agreement-section h2 {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .section-block h3 {
        font-size: 16px;
        margin-bottom: 10px;
        padding-left: 8px;
        border-left-width: 3px;
    }
    
    .section-block h4 {
        font-size: 14px;
        margin: 16px 0 8px 0;
    }
    
    .section-block p,
    .section-block li {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .section-block {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }
    
    .section-block ul {
        padding-left: 16px;
    }
    
    .contact-info {
        padding: 12px;
    }
    
    .last-updated {
        overflow: hidden;
        margin-top: 24px;
        padding-top: 16px;
    }
}

/* 滚动条样式 */
.agreement-content::-webkit-scrollbar {
    width: 6px;
}

.agreement-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.agreement-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.agreement-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-block {
    animation: fadeInUp 0.6s ease-out;
}

.section-block:nth-child(2) { animation-delay: 0.1s; }
.section-block:nth-child(3) { animation-delay: 0.2s; }
.section-block:nth-child(4) { animation-delay: 0.3s; }
.section-block:nth-child(5) { animation-delay: 0.4s; }
.section-block:nth-child(6) { animation-delay: 0.5s; }

/* 退款政策页面专用样式 */
.policy-content {
    padding: 0 16px 32px;
}

.policy-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.policy-section h2 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #007bff;
    padding-bottom: 16px;
}

.policy-intro {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 0;
}

/* 退款类型样式 */
.refund-type {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.refund-type:last-child {
    margin-bottom: 0;
}

.refund-type h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refund-type .icon {
    font-size: 20px;
}

.refund-type ul {
    margin: 0;
    padding-left: 20px;
}

.refund-type li {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.refund-type li:last-child {
    margin-bottom: 0;
}

/* 流程步骤样式 */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.step-number {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 重要提示样式 */
.important-notes {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid;
}

.note-item.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.note-item.info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
}

.note-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.note-content strong {
    color: #333;
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.note-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 联系信息样式 */
.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.contact-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 14px;
}

.contact-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* 政策更新样式 */
.policy-update {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.last-updated {
    overflow: hidden;
    text-align: center;
    color: #999;
    font-size: 13px;
    font-weight: 500;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .policy-content {
        padding: 0 12px 24px;
    }
    
    .policy-section {
        padding: 20px 16px;
        margin-bottom: 16px;
    }
    
    .policy-section h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .policy-intro {
        font-size: 15px;
    }
    
    .refund-type {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .refund-type h3 {
        font-size: 16px;
    }
    
    .refund-type li {
        font-size: 14px;
    }
    
    .step {
        padding: 12px;
        gap: 12px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .step-content h4 {
        font-size: 15px;
    }
    
    .step-content p {
        font-size: 13px;
    }
    
    .note-item {
        padding: 12px;
        gap: 10px;
    }
    
    .note-content strong {
        font-size: 14px;
    }
    
    .note-content p {
        font-size: 13px;
    }
    
    .contact-info {
        padding: 16px;
    }
    
    .contact-info p {
        font-size: 14px;
    }
    
    .contact-item {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 0 8px 20px;
    }
    
    .policy-section {
        padding: 16px 12px;
        margin-bottom: 12px;
    }
    
    .policy-section h2 {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .policy-intro {
        font-size: 14px;
    }
    
    .refund-type {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .refund-type h3 {
        font-size: 15px;
        gap: 6px;
    }
    
    .refund-type .icon {
        font-size: 18px;
    }
    
    .refund-type li {
        font-size: 13px;
    }
    
    .process-steps {
        gap: 12px;
    }
    
    .step {
        padding: 10px;
        gap: 10px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .step-content h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .step-content p {
        font-size: 12px;
    }
    
    .important-notes {
        gap: 12px;
    }
    
    .note-item {
        padding: 10px;
        gap: 8px;
    }
    
    .note-icon {
        font-size: 18px;
    }
    
    .note-content strong {
        font-size: 13px;
    }
    
    .note-content p {
        font-size: 12px;
    }
    
    .contact-info {
        padding: 12px;
    }
    
    .contact-info p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .contact-methods {
        gap: 8px;
    }
    
    .contact-item {
        font-size: 12px;
    }
    
    .contact-icon {
        font-size: 14px;
        width: 16px;
    }
    
    .policy-update {
        font-size: 13px;
    }
    
    .last-updated {
        font-size: 12px;
        padding-top: 12px;
        overflow: hidden;
    }
}