File size: 4,295 Bytes
f63d7fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Stock Analysis Report</title>
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            margin: 0;
            padding: 0;
            background-color: #f9f9f9;
        }
        .container {
            max-width: 1100px;
            margin: 0 auto;
            background-color: #fff;
            padding: 0;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .report-header {
            background-color: #2c3e50;
            color: white;
            padding: 30px;
            position: relative;
        }
        .report-date {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 14px;
        }
        .report-title {
            margin: 0;
            padding: 0;
            font-size: 28px;
        }
        .report-subtitle {
            margin: 5px 0 0;
            padding: 0;
            font-size: 18px;
            font-weight: normal;
        }
        .report-body {
            padding: 20px 30px;
        }
        .section {
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }
        h2 {
            color: #2c3e50;
            font-size: 22px;
            margin-top: 30px;
            margin-bottom: 15px;
            border-bottom: 2px solid #3498db;
            padding-bottom: 5px;
        }
        h3 {
            color: #3498db;
            font-size: 18px;
            margin-top: 20px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
        }
        th, td {
            padding: 12px;
            border: 1px solid #ddd;
            text-align: left;
        }
        th {
            background-color: #f2f2f2;
        }
        .bullish {
            color: #27ae60;
            font-weight: bold;
        }
        .bearish {
            color: #e74c3c;
            font-weight: bold;
        }
        .neutral {
            color: #f39c12;
            font-weight: bold;
        }
        ul, ol {
            margin-left: 20px;
        }
        .kpi-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin: 20px 0;
        }
        .kpi-card {
            background-color: #f8f9fa;
            border-radius: 5px;
            padding: 15px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .kpi-title {
            font-size: 14px;
            color: #666;
            margin-bottom: 5px;
        }
        .kpi-value {
            font-size: 20px;
            font-weight: bold;
            color: #2c3e50;
        }
        .footer {
            text-align: center;
            padding: 20px;
            font-size: 12px;
            color: #666;
            border-top: 1px solid #eee;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="report-header">
            <div class="report-date">{{date}}</div>
            <h1 class="report-title">Stock Analysis Report: {{symbol}}</h1>
            <h2 class="report-subtitle">{{company_name}}</h2>
        </div>
        
        <div class="report-body">
            <div class="section">
                <h2>Summary & Recommendation</h2>
                {{summary}}
            </div>
            
            <div class="section">
                <h2>Financial Health Analysis</h2>
                {{financial_health}}
            </div>
            
            <div class="section">
                <h2>News & Market Sentiment Analysis</h2>
                {{news_sentiment}}
            </div>
            
            <div class="section">
                <h2>Market Analysis</h2>
                {{expert_opinion}}
            </div>
            
            <div class="footer">
                This report was automatically generated by AI Financial Dashboard. Information is for reference only.
            </div>
        </div>
    </div>
</body>
</html>