Spaces:
Sleeping
Sleeping
| <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> |