/* 版权保护弹窗样式 */
.copyright-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.copyright-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 750px;
    width: 90%;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.copyright-modal-header {
    padding: 30px 30px 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px 12px 0 0;
}

.copyright-modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    letter-spacing: 1px;
}

.copyright-modal-header .subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

.copyright-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #bdc3c7;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.copyright-modal-close:hover {
    background: #f8f9fa;
    color: #e74c3c;
    transform: rotate(90deg);
}

.copyright-modal-body {
    padding: 20px 30px 30px;
    flex: 1;
    overflow-y: auto;
    /* 隐藏滚动条但保持可滚动 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE和Edge */
}

/* Webkit浏览器隐藏滚动条 */
.copyright-modal-body::-webkit-scrollbar {
    display: none;
}

.copyright-section {
    margin-bottom: 28px;
}

.copyright-section:last-child {
    margin-bottom: 0;
}

.copyright-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #dc3545;
    display: inline-block;
}

.copyright-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    margin: 20px 0 10px 0;
}

.copyright-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 12px 0;
}

.copyright-section p:last-child {
    margin-bottom: 0;
}

.copyright-section ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.copyright-section ol {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.copyright-section li {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.copyright-section li:last-child {
    margin-bottom: 0;
}

.copyright-highlight {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    position: relative;
}

.copyright-highlight::before {
    content: "🛡️";
    position: absolute;
    top: 20px;
    left: -2px;
    font-size: 18px;
}

.copyright-highlight h4 {
    margin: 0 0 10px 20px;
    color: #856404;
    font-weight: 600;
}

.copyright-highlight p {
    margin: 0 0 8px 20px;
    font-weight: 500;
    color: #856404;
}

.copyright-highlight p:last-child {
    margin-bottom: 0;
}

.copyright-steps {
    counter-reset: step-counter;
    margin: 20px 0;
}

.copyright-step {
    counter-increment: step-counter;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    position: relative;
    border-left: 4px solid #dc3545;
}

.copyright-step::before {
    content: counter(step-counter);
    position: absolute;
    left: -12px;
    top: 16px;
    background: #dc3545;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.copyright-step h5 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.copyright-step p {
    margin: 0;
    color: #555;
}

.copyright-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.copyright-table th {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    font-weight: 600;
    color: white;
}

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

.copyright-table tr:hover {
    background-color: #e9ecef;
}

.copyright-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3545;
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.copyright-danger h4 {
    color: #721c24;
    margin: 0 0 8px 0;
    font-size: 15px;
}

.copyright-danger p {
    color: #721c24;
    margin: 0;
    font-weight: 500;
}

.copyright-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.copyright-success h4 {
    color: #155724;
    margin: 0 0 8px 0;
    font-size: 15px;
}

.copyright-success p {
    color: #155724;
    margin: 0;
    font-weight: 500;
}

.copyright-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-left: 4px solid #17a2b8;
    padding: 15px 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.copyright-info h4 {
    color: #0c5460;
    margin: 0 0 8px 0;
    font-size: 15px;
}

.copyright-info p {
    color: #0c5460;
    margin: 0;
    font-weight: 500;
}

.copyright-report-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 2px dashed #dc3545;
    margin: 20px 0;
}

.copyright-report-form h4 {
    color: #dc3545;
    margin: 0 0 25px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.copyright-report-form .form-group {
    margin-bottom: 22px;
    clear: both;
    position: relative;
}

.copyright-report-form .form-group:last-child {
    margin-bottom: 0;
}

.copyright-report-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    padding: 2px 0;
}

.copyright-report-form input,
.copyright-report-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.3s ease;
    margin-top: 3px;
}

.copyright-report-form input:focus,
.copyright-report-form textarea:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.copyright-report-form textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.copyright-footer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 0 12px 12px;
    text-align: center;
    flex-shrink: 0;
    border-top: 1px solid #eee;
}

.copyright-footer p {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
}

.copyright-contact {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.copyright-contact-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copyright-contact-btn.primary {
    background: #dc3545;
    color: white;
}

.copyright-contact-btn.primary:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.copyright-contact-btn.secondary {
    background: #6c757d;
    color: white;
}

.copyright-contact-btn.secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.copyright-contact-btn.warning {
    background: #ffc107;
    color: #212529;
}

.copyright-contact-btn.warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .copyright-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .copyright-modal-header,
    .copyright-modal-body,
    .copyright-footer {
        padding: 20px;
    }
    
    .copyright-modal-header h2 {
        font-size: 20px;
    }
    
    .copyright-section h3 {
        font-size: 16px;
    }
    
    .copyright-table {
        font-size: 12px;
    }
    
    .copyright-table th,
    .copyright-table td {
        padding: 8px;
    }
    
    .copyright-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .copyright-contact-btn {
        width: 200px;
        justify-content: center;
    }
    
    .copyright-highlight {
        padding: 16px;
    }
    
    .copyright-highlight h4,
    .copyright-highlight p {
        margin-left: 16px;
    }
    
    .copyright-step {
        padding: 12px 16px;
    }
    
    .copyright-report-form {
        padding: 16px;
    }
    
    .copyright-report-form h4 {
        font-size: 15px;
        margin-bottom: 20px;
        padding-bottom: 8px;
    }
    
    .copyright-report-form .form-group {
        margin-bottom: 20px;
    }
    
    .copyright-report-form label {
        font-size: 13px;
        margin-bottom: 8px;
        padding: 2px 0;
    }
    
    .copyright-report-form input,
    .copyright-report-form textarea {
        padding: 10px 12px;
        font-size: 13px;
        margin-top: 2px;
    }
    
    .copyright-report-form textarea {
        min-height: 80px;
    }
}
