/* 后门扫描工具 - 备用样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f2f2f2;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.layui-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.layui-card-header {
    background: #f8f9fa;
    border-radius: 10px 10px 0 0;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.layui-card-body {
    padding: 20px;
}

.upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #1890ff;
    background: #f0f8ff;
}

.upload-area.dragover {
    border-color: #1890ff;
    background: #e6f7ff;
}

.upload-icon {
    font-size: 48px;
    color: #999;
    margin-bottom: 16px;
}

.upload-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 12px;
    color: #999;
}

.layui-btn {
    display: inline-block;
    padding: 9px 15px;
    margin: 2px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    color: #fff;
    background-color: #009688;
    border-color: #009688;
    transition: all 0.3s;
}

.layui-btn:hover {
    opacity: 0.8;
}

.layui-btn-primary {
    color: #666;
    background-color: #fff;
    border-color: #c2c2c2;
}

.layui-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 4px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
}

.danger-stat { color: #ff4d4f; }
.suspicious-stat { color: #faad14; }
.safe-stat { color: #52c41a; }

.result-card {
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.danger-card {
    background-color: #fff2f0;
    border-left: 4px solid #ff4d4f;
}

.suspicious-card {
    background-color: #fffbe6;
    border-left: 4px solid #faad14;
}

.safe-card {
    background-color: #f6ffed;
    border-left: 4px solid #52c41a;
}

.file-info {
    margin: 5px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.threat-info {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.6;
}

.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1890ff, #36cfc9);
    width: 0%;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .main-container {
        padding: 10px;
    }
    
    .header-card {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
} 