diff --git a/server/templates/receipt.hbs b/server/templates/receipt.hbs index b93e31e..2e36b70 100644 --- a/server/templates/receipt.hbs +++ b/server/templates/receipt.hbs @@ -218,85 +218,79 @@ } .comparisons { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); - border-radius: 16px; - padding: 32px; - margin: 30px 0; + border-radius: 12px; + padding: 20px; + margin: 24px 0; color: white; } .comparisons-title { - font-size: 26px; + font-size: 22px; font-weight: bold; text-align: center; - margin: 0 0 10px 0; + margin: 0 0 6px 0; color: #ffffff !important; } .comparisons-subtitle { text-align: center; color: rgba(255, 255, 255, 0.8); - font-size: 14px; - margin-bottom: 28px; + font-size: 13px; + margin-bottom: 16px; } .comparisons-grid { display: grid; grid-template-columns: repeat(3, 1fr); - gap: 16px; + gap: 12px; } .comparison-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); - border-radius: 12px; - padding: 20px; + border-radius: 10px; + padding: 14px; text-align: center; } .comparison-icon { - font-size: 36px; - margin-bottom: 12px; + font-size: 30px; + margin-bottom: 8px; } .comparison-value { - font-size: 28px; + font-size: 24px; font-weight: bold; color: #ffffff; - margin-bottom: 4px; + margin-bottom: 3px; } .comparison-unit { - font-size: 12px; + font-size: 11px; color: #a7f3d0; - margin-bottom: 12px; + margin-bottom: 8px; } .comparison-label { - font-size: 13px; + font-size: 12px; color: rgba(255, 255, 255, 0.9); - line-height: 1.4; + line-height: 1.3; } .portfolio-section { - margin: 30px 0; - padding: 30px; + margin: 24px 0; + padding: 20px; background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); - border-radius: 16px; + border-radius: 12px; } .portfolio-title { - font-size: 22px; + font-size: 20px; font-weight: bold; color: #065f46; text-align: center; - margin: 0 0 24px 0; + margin: 0 0 16px 0; } .project-item { display: flex; align-items: center; - padding: 14px; + padding: 10px 12px; background-color: white; - border-radius: 10px; - margin-bottom: 12px; + border-radius: 8px; + margin-bottom: 8px; border-left: 4px solid; } - .project-color { - width: 12px; - height: 12px; - border-radius: 50%; - margin-right: 12px; - } .project-info { flex: 1; } @@ -304,16 +298,11 @@ font-weight: 600; color: #1e293b; font-size: 14px; - margin-bottom: 4px; - } - .project-type { - font-size: 12px; - color: #64748b; } .project-percentage { font-weight: bold; color: #047857; - font-size: 16px; + font-size: 15px; } .footer { background-color: #f8fafc; @@ -419,15 +408,13 @@ {{#if projects}}

Your Carbon Offset Distribution

-

+

Your {{tons}} tons of CO₂ offsets are distributed across these verified projects:

{{#each projects}}
-
{{this.name}}
-
{{this.type}}
{{this.percentage}}%
@@ -450,7 +437,7 @@
{{/each}} -

+

Equivalencies calculated using EPA 2024, DEFRA 2024, and IMO 2024 verified conversion factors.