Changes to financescroll.pub.scroll.pub

ScrollHub
ScrollHub
21 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://financescroll.pub
+ metaTags
+ editButton /edit.html
+ title Personal Finance Manager
+ style.css
+ header
+ class hero
+ nav
+ div FinanceScroll
+ class logo
+ div
+ class nav-links
+ a Dashboard
+ href #dashboard
+ a Transactions
+ href #transactions
+ a Budgets
+ href #budgets
+ a Reports
+ href #reports
+ div
+ class hero-content
+ h1 Take Control of Your Finances
+ p Simple, powerful tools to manage your money and reach your financial goals
+ a Get Started
+ class primary-button
+ href #dashboard
+ main
+ section
+ id dashboard
+ class dashboard
+ h2 Your Financial Overview
+ div
+ class summary-cards
+ div
+ class summary-card
+ h3 Current Balance
+ p $5,247.89
+ class amount
+ div
+ class summary-card
+ h3 Monthly Income
+ p $3,500.00
+ class amount
+ div
+ class summary-card
+ h3 Monthly Expenses
+ p $2,852.11
+ class amount
+ div
+ class summary-card
+ h3 Savings Rate
+ p 18.5%
+ class amount
+ div
+ class chart-container
+ canvas
+ id balanceChart
+ section
+ id transactions
+ class transactions
+ h2 Recent Transactions
+ div
+ class transaction-filters
+ button All
+ class active
+ button Income
+ button Expenses
+ button
+ class add-button
+ span +
+ Add Transaction
+ table
+ class transaction-table
+ thead
+ tr
+ th Date
+ th Description
+ th Category
+ th Amount
+ tbody
+ tr
+ td 05/15
+ td Paycheck
+ td Income
+ td $1,750.00
+ class income
+ tr
+ td 05/14
+ td Groceries
+ td Food
+ td $87.32
+ class expense
+ tr
+ td 05/12
+ td Rent
+ td Housing
+ td $1,200.00
+ class expense
+ tr
+ td 05/10
+ td Electricity
+ td Utilities
+ td $65.50
+ class expense
+ tr
+ td 05/08
+ td Freelance Work
+ td Income
+ td $350.00
+ class income
+ section
+ id budgets
+ class budgets
+ h2 Budget Categories
+ div
+ class budget-grid
+ div
+ class budget-card
+ h3 Housing
+ div
+ class budget-bar
+ div
+ class budget-progress
+ style width: 85%
+ p $1,020 / $1,200
+ div
+ class budget-card
+ h3 Food
+ div
+ class budget-bar
+ div
+ class budget-progress
+ style width: 65%
+ p $260 / $400
+ div
+ class budget-card
+ h3 Transportation
+ div
+ class budget-bar
+ div
+ class budget-progress
+ style width: 45%
+ p $135 / $300
+ div
+ class budget-card
+ h3 Entertainment
+ div
+ class budget-bar
+ div
+ class budget-progress
+ style width: 30%
+ p $60 / $200
+ section
+ id reports
+ class reports
+ h2 Financial Reports
+ div
+ class report-options
+ button Monthly
+ class active
+ button Quarterly
+ button Annual
+ div
+ class report-container
+ canvas
+ id spendingChart
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a About
+ href about.html
+ a Help
+ href help.html
+ a Contact
+ href contact.html
+ p Empowering your financial journey
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "2b4551b7-0b79-4fe7-ac9c-9b15b583d8e9",
+ "object": "chat.completion",
+ "created": 1747287834,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nfinancescroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://financescroll.pub\nmetaTags\neditButton /edit.html\ntitle Personal Finance Manager\nstyle.css\nheader\n class hero\n nav\n div FinanceScroll\n class logo\n div\n class nav-links\n a Dashboard\n href #dashboard\n a Transactions\n href #transactions\n a Budgets\n href #budgets\n a Reports\n href #reports\n div\n class hero-content\n h1 Take Control of Your Finances\n p Simple, powerful tools to manage your money and reach your financial goals\n a Get Started\n class primary-button\n href #dashboard\nmain\n section\n id dashboard\n class dashboard\n h2 Your Financial Overview\n div\n class summary-cards\n div\n class summary-card\n h3 Current Balance\n p $5,247.89\n class amount\n div\n class summary-card\n h3 Monthly Income\n p $3,500.00\n class amount\n div\n class summary-card\n h3 Monthly Expenses\n p $2,852.11\n class amount\n div\n class summary-card\n h3 Savings Rate\n p 18.5%\n class amount\n div\n class chart-container\n canvas\n id balanceChart\n section\n id transactions\n class transactions\n h2 Recent Transactions\n div\n class transaction-filters\n button All\n class active\n button Income\n button Expenses\n button\n class add-button\n span +\n Add Transaction\n table\n class transaction-table\n thead\n tr\n th Date\n th Description\n th Category\n th Amount\n tbody\n tr\n td 05/15\n td Paycheck\n td Income\n td $1,750.00\n class income\n tr\n td 05/14\n td Groceries\n td Food\n td $87.32\n class expense\n tr\n td 05/12\n td Rent\n td Housing\n td $1,200.00\n class expense\n tr\n td 05/10\n td Electricity\n td Utilities\n td $65.50\n class expense\n tr\n td 05/08\n td Freelance Work\n td Income\n td $350.00\n class income\n section\n id budgets\n class budgets\n h2 Budget Categories\n div\n class budget-grid\n div\n class budget-card\n h3 Housing\n div\n class budget-bar\n div\n class budget-progress\n style width: 85%\n p $1,020 / $1,200\n div\n class budget-card\n h3 Food\n div\n class budget-bar\n div\n class budget-progress\n style width: 65%\n p $260 / $400\n div\n class budget-card\n h3 Transportation\n div\n class budget-bar\n div\n class budget-progress\n style width: 45%\n p $135 / $300\n div\n class budget-card\n h3 Entertainment\n div\n class budget-bar\n div\n class budget-progress\n style width: 30%\n p $60 / $200\n section\n id reports\n class reports\n h2 Financial Reports\n div\n class report-options\n button Monthly\n class active\n button Quarterly\n button Annual\n div\n class report-container\n canvas\n id spendingChart\nfooter\n div\n class footer-content\n div\n class footer-links\n a About\n href about.html\n a Help\n href help.html\n a Contact\n href contact.html\n p Empowering your financial journey\nscript.js\n---style.css---\n:root {\n --primary: #4361ee;\n --primary-dark: #3a56d4;\n --secondary: #3f37c9;\n --accent: #4895ef;\n --light: #f8f9fa;\n --dark: #212529;\n --success: #4cc9f0;\n --warning: #f72585;\n --danger: #ef233c;\n --gray: #6c757d;\n --white: #ffffff;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;\n line-height: 1.6;\n color: var(--dark);\n background-color: var(--light);\n}\n\nheader.hero {\n background: linear-gradient(135deg, var(--primary), var(--secondary));\n color: var(--white);\n padding: 2rem 1rem;\n text-align: center;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem 0;\n}\n\n.logo {\n font-size: 1.8rem;\n font-weight: 700;\n color: var(--white);\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\n}\n\n.nav-links a {\n color: var(--white);\n text-decoration: none;\n font-weight: 500;\n transition: opacity 0.3s;\n}\n\n.nav-links a:hover {\n opacity: 0.8;\n}\n\n.hero-content {\n max-width: 800px;\n margin: 3rem auto;\n}\n\n.hero-content h1 {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.hero-content p {\n font-size: 1.2rem;\n margin-bottom: 2rem;\n opacity: 0.9;\n}\n\n.primary-button {\n display: inline-block;\n background-color: var(--white);\n color: var(--primary);\n padding: 0.8rem 2rem;\n border-radius: 50px;\n text-decoration: none;\n font-weight: 600;\n transition: all 0.3s;\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);\n}\n\nmain {\n max-width: 1200px;\n margin: 0 auto;\n padding: 2rem 1rem;\n}\n\nsection {\n margin-bottom: 4rem;\n}\n\nh2 {\n font-size: 1.8rem;\n margin-bottom: 2rem;\n color: var(--primary);\n}\n\n.summary-cards {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1.5rem;\n margin-bottom: 2rem;\n}\n\n.summary-card {\n background: var(--white);\n padding: 1.5rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n text-align: center;\n}\n\n.summary-card h3 {\n font-size: 1rem;\n color: var(--gray);\n margin-bottom: 0.5rem;\n}\n\n.summary-card .amount {\n font-size: 1.5rem;\n font-weight: 700;\n}\n\n.chart-container, .report-container {\n background: var(--white);\n padding: 1.5rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n height: 300px;\n margin-bottom: 2rem;\n}\n\n.transaction-filters {\n display: flex;\n gap: 0.5rem;\n margin-bottom: 1.5rem;\n flex-wrap: wrap;\n}\n\n.transaction-filters button {\n background: var(--white);\n border: 1px solid var(--gray);\n padding: 0.5rem 1rem;\n border-radius: 50px;\n cursor: pointer;\n transition: all 0.3s;\n}\n\n.transaction-filters button.active {\n background: var(--primary);\n color: var(--white);\n border-color: var(--primary);\n}\n\n.transaction-filters button:hover:not(.active) {\n background: #f1f1f1;\n}\n\n.add-button {\n background: var(--accent) !important;\n color: var(--white) !important;\n border: none !important;\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n.transaction-table {\n width: 100%;\n border-collapse: collapse;\n background: var(--white);\n border-radius: 10px;\n overflow: hidden;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n}\n\n.transaction-table th, .transaction-table td {\n padding: 1rem;\n text-align: left;\n}\n\n.transaction-table th {\n background: var(--primary);\n color: var(--white);\n font-weight: 600;\n}\n\n.transaction-table tr:nth-child(even) {\n background: #f8f9fa;\n}\n\n.income {\n color: var(--success);\n font-weight: 600;\n}\n\n.expense {\n color: var(--danger);\n font-weight: 600;\n}\n\n.budget-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1.5rem;\n}\n\n.budget-card {\n background: var(--white);\n padding: 1.5rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n}\n\n.budget-card h3 {\n margin-bottom: 1rem;\n}\n\n.budget-bar {\n height: 10px;\n background: #e9ecef;\n border-radius: 5px;\n margin-bottom: 0.5rem;\n overflow: hidden;\n}\n\n.budget-progress {\n height: 100%;\n background: var(--accent);\n border-radius: 5px;\n}\n\n.report-options {\n display: flex;\n gap: 0.5rem;\n margin-bottom: 1.5rem;\n}\n\n.report-options button {\n background: var(--white);\n border: 1px solid var(--gray);\n padding: 0.5rem 1rem;\n border-radius: 50px;\n cursor: pointer;\n transition: all 0.3s;\n}\n\n.report-options button.active {\n background: var(--primary);\n color: var(--white);\n border-color: var(--primary);\n}\n\n.report-options button:hover:not(.active) {\n background: #f1f1f1;\n}\n\nfooter {\n background: var(--dark);\n color: var(--white);\n padding: 3rem 1rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 2rem;\n}\n\n.footer-links {\n display: flex;\n gap: 2rem;\n}\n\n.footer-links a {\n color: var(--white);\n text-decoration: none;\n transition: opacity 0.3s;\n}\n\n.footer-links a:hover {\n opacity: 0.8;\n}\n\n@media (max-width: 768px) {\n nav {\n flex-direction: column;\n gap: 1rem;\n }\n \n .hero-content h1 {\n font-size: 2rem;\n }\n \n .transaction-table {\n display: block;\n overflow-x: auto;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Initialize balance chart\n const balanceCtx = document.getElementById('balanceChart').getContext('2d');\n const balanceChart = new Chart(balanceCtx, {\n type: 'line',\n data: {\n labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],\n datasets: [{\n label: 'Account Balance',\n data: [3200, 3500, 3800, 4200, 4700, 5247],\n borderColor: '#4361ee',\n backgroundColor: 'rgba(67, 97, 238, 0.1)',\n borderWidth: 2,\n tension: 0.3,\n fill: true\n }]\n },\n options: {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n display: false\n }\n },\n scales: {\n y: {\n beginAtZero: false\n }\n }\n }\n });\n\n // Initialize spending chart\n const spendingCtx = document.getElementById('spendingChart').getContext('2d');\n const spendingChart = new Chart(spendingCtx, {\n type: 'doughnut',\n data: {\n labels: ['Housing', 'Food', 'Transportation', 'Entertainment', 'Utilities', 'Other'],\n datasets: [{\n data: [1200, 400, 300, 200, 150, 602.11],\n backgroundColor: [\n '#4361ee',\n '#4895ef',\n '#4cc9f0',\n '#f72585',\n '#7209b7',\n '#3a0ca3'\n ],\n borderWidth: 0\n }]\n },\n options: {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n position: 'right'\n }\n }\n }\n });\n\n // Transaction filter functionality\n const filterButtons = document.querySelectorAll('.transaction-filters button:not(.add-button)');\n filterButtons.forEach(button => {\n button.addEventListener('click', function() {\n filterButtons.forEach(btn => btn.classList.remove('active'));\n this.classList.add('active');\n \n const filter = this.textContent.toLowerCase();\n const rows = document.querySelectorAll('.transaction-table tbody tr');\n \n rows.forEach(row => {\n if (filter === 'all') {\n row.style.display = '';\n } else {\n const type = row.querySelector('td:nth-child(3)').textContent.toLowerCase();\n const amountClass = row.querySelector('td:nth-child(4) span').className;\n \n if (\n (filter === 'income' && amountClass === 'income') ||\n (filter === 'expenses' && amountClass === 'expense') ||\n (type.includes(filter))\n ) {\n row.style.display = '';\n } else {\n row.style.display = 'none';\n }\n }\n });\n });\n });\n\n // Report period toggle\n const reportButtons = document.querySelectorAll('.report-options button');\n reportButtons.forEach(button => {\n button.addEventListener('click', function() {\n reportButtons.forEach(btn => btn.classList.remove('active'));\n this.classList.add('active');\n // In a real app, this would fetch new data for the selected period\n });\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 720,
+ "completion_tokens": 3388,
+ "total_tokens": 4108,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 720
+ },
+ "system_fingerprint": "fp_8802369eaa_prod0425fp8"
+ }
readme.scroll
Changed around line 1
+ # financescroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ Personal Finance Management application
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "Personal Finance Management application"
+
+ Requirements:
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ As a refresher, for doing the html body, Scroll is a whitespace based language that uses a single indented space to mark a line (aka particle) as a subparticle of a parent line.
+
+ For example:
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/scroll
+ div
+ class hero-content
+ h1 Write Better with Scroll
+ p The extendible markup language that makes source beautiful and compiles to anything
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple Syntax
+ p Like Markdown, but more powerful. No parentheses needed.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extendible
+ p Build your own custom parsers.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful Output
+ p Create stunning documents with minimal effort.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast & Light
+ p Built on the efficient PPS Stack.
+ section
+ id examples
+ class code-demo
+ h2 See It In Action
+ div
+ class code-container
+ pre
+ class code-example
+ div
+ class code-output
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/tutorial.html
+ a Community
+ href https://www.reddit.com/r/WorldWideScroll/
+ a Blog
+ href https://scroll.pub/blog
+ p Started by Breck Yunits. Evolved by a community.
+ https://twitter.com/breckyunits Breck Yunits
+ https://github.com/breck7/scroll/graphs/contributors community
+
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---index.scroll---
+ buildHtml
+ baseUrl https://(domainscroll.pub here)
+ metaTags
+ editButton /edit.html
+ title (Title here)
+ style.css
+
+ (body content here. no blank lines please.)
+
+ script.js
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ // Initialize balance chart
+ const balanceCtx = document.getElementById('balanceChart').getContext('2d');
+ const balanceChart = new Chart(balanceCtx, {
+ type: 'line',
+ data: {
+ labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'],
+ datasets: [{
+ label: 'Account Balance',
+ data: [3200, 3500, 3800, 4200, 4700, 5247],
+ borderColor: '#4361ee',
+ backgroundColor: 'rgba(67, 97, 238, 0.1)',
+ borderWidth: 2,
+ tension: 0.3,
+ fill: true
+ }]
+ },
+ options: {
+ responsive: true,
+ maintainAspectRatio: false,
+ plugins: {
+ legend: {
+ display: false
+ }
+ },
+ scales: {
+ y: {
+ beginAtZero: false
+ }
+ }
+ }
+ });
+
+ // Initialize spending chart
+ const spendingCtx = document.getElementById('spendingChart').getContext('2d');
+ const spendingChart = new Chart(spendingCtx, {
+ type: 'doughnut',
+ data: {
+ labels: ['Housing', 'Food', 'Transportation', 'Entertainment', 'Utilities', 'Other'],
+ datasets: [{
+ data: [1200, 400, 300, 200, 150, 602.11],
+ backgroundColor: [
+ '#4361ee',
+ '#4895ef',
+ '#4cc9f0',
+ '#f72585',
+ '#7209b7',
+ '#3a0ca3'
+ ],
+ borderWidth: 0
+ }]
+ },
+ options: {
+ responsive: true,
+ maintainAspectRatio: false,
+ plugins: {
+ legend: {
+ position: 'right'
+ }
+ }
+ }
+ });
+
+ // Transaction filter functionality
+ const filterButtons = document.querySelectorAll('.transaction-filters button:not(.add-button)');
+ filterButtons.forEach(button => {
+ button.addEventListener('click', function() {
+ filterButtons.forEach(btn => btn.classList.remove('active'));
+ this.classList.add('active');
+
+ const filter = this.textContent.toLowerCase();
+ const rows = document.querySelectorAll('.transaction-table tbody tr');
+
+ rows.forEach(row => {
+ if (filter === 'all') {
+ row.style.display = '';
+ } else {
+ const type = row.querySelector('td:nth-child(3)').textContent.toLowerCase();
+ const amountClass = row.querySelector('td:nth-child(4) span').className;
+
+ if (
+ (filter === 'income' && amountClass === 'income') ||
+ (filter === 'expenses' && amountClass === 'expense') ||
+ (type.includes(filter))
+ ) {
+ row.style.display = '';
+ } else {
+ row.style.display = 'none';
+ }
+ }
+ });
+ });
+ });
+
+ // Report period toggle
+ const reportButtons = document.querySelectorAll('.report-options button');
+ reportButtons.forEach(button => {
+ button.addEventListener('click', function() {
+ reportButtons.forEach(btn => btn.classList.remove('active'));
+ this.classList.add('active');
+ // In a real app, this would fetch new data for the selected period
+ });
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #4361ee;
+ --primary-dark: #3a56d4;
+ --secondary: #3f37c9;
+ --accent: #4895ef;
+ --light: #f8f9fa;
+ --dark: #212529;
+ --success: #4cc9f0;
+ --warning: #f72585;
+ --danger: #ef233c;
+ --gray: #6c757d;
+ --white: #ffffff;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
+ line-height: 1.6;
+ color: var(--dark);
+ background-color: var(--light);
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, var(--primary), var(--secondary));
+ color: var(--white);
+ padding: 2rem 1rem;
+ text-align: center;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem 0;
+ }
+
+ .logo {
+ font-size: 1.8rem;
+ font-weight: 700;
+ color: var(--white);
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ }
+
+ .nav-links a {
+ color: var(--white);
+ text-decoration: none;
+ font-weight: 500;
+ transition: opacity 0.3s;
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .hero-content {
+ max-width: 800px;
+ margin: 3rem auto;
+ }
+
+ .hero-content h1 {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .hero-content p {
+ font-size: 1.2rem;
+ margin-bottom: 2rem;
+ opacity: 0.9;
+ }
+
+ .primary-button {
+ display: inline-block;
+ background-color: var(--white);
+ color: var(--primary);
+ padding: 0.8rem 2rem;
+ border-radius: 50px;
+ text-decoration: none;
+ font-weight: 600;
+ transition: all 0.3s;
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 2rem 1rem;
+ }
+
+ section {
+ margin-bottom: 4rem;
+ }
+
+ h2 {
+ font-size: 1.8rem;
+ margin-bottom: 2rem;
+ color: var(--primary);
+ }
+
+ .summary-cards {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 1.5rem;
+ margin-bottom: 2rem;
+ }
+
+ .summary-card {
+ background: var(--white);
+ padding: 1.5rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
+ text-align: center;
+ }
+
+ .summary-card h3 {
+ font-size: 1rem;
+ color: var(--gray);
+ margin-bottom: 0.5rem;
+ }
+
+ .summary-card .amount {
+ font-size: 1.5rem;
+ font-weight: 700;
+ }
+
+ .chart-container, .report-container {
+ background: var(--white);
+ padding: 1.5rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
+ height: 300px;
+ margin-bottom: 2rem;
+ }
+
+ .transaction-filters {
+ display: flex;
+ gap: 0.5rem;
+ margin-bottom: 1.5rem;
+ flex-wrap: wrap;
+ }
+
+ .transaction-filters button {
+ background: var(--white);
+ border: 1px solid var(--gray);
+ padding: 0.5rem 1rem;
+ border-radius: 50px;
+ cursor: pointer;
+ transition: all 0.3s;
+ }
+
+ .transaction-filters button.active {
+ background: var(--primary);
+ color: var(--white);
+ border-color: var(--primary);
+ }
+
+ .transaction-filters button:hover:not(.active) {
+ background: #f1f1f1;
+ }
+
+ .add-button {
+ background: var(--accent) !important;
+ color: var(--white) !important;
+ border: none !important;
+ display: flex;
+ align-items: center;
+ gap: 0.3rem;
+ }
+
+ .transaction-table {
+ width: 100%;
+ border-collapse: collapse;
+ background: var(--white);
+ border-radius: 10px;
+ overflow: hidden;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
+ }
+
+ .transaction-table th, .transaction-table td {
+ padding: 1rem;
+ text-align: left;
+ }
+
+ .transaction-table th {
+ background: var(--primary);
+ color: var(--white);
+ font-weight: 600;
+ }
+
+ .transaction-table tr:nth-child(even) {
+ background: #f8f9fa;
+ }
+
+ .income {
+ color: var(--success);
+ font-weight: 600;
+ }
+
+ .expense {
+ color: var(--danger);
+ font-weight: 600;
+ }
+
+ .budget-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 1.5rem;
+ }
+
+ .budget-card {
+ background: var(--white);
+ padding: 1.5rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
+ }
+
+ .budget-card h3 {
+ margin-bottom: 1rem;
+ }
+
+ .budget-bar {
+ height: 10px;
+ background: #e9ecef;
+ border-radius: 5px;
+ margin-bottom: 0.5rem;
+ overflow: hidden;
+ }
+
+ .budget-progress {
+ height: 100%;
+ background: var(--accent);
+ border-radius: 5px;
+ }
+
+ .report-options {
+ display: flex;
+ gap: 0.5rem;
+ margin-bottom: 1.5rem;
+ }
+
+ .report-options button {
+ background: var(--white);
+ border: 1px solid var(--gray);
+ padding: 0.5rem 1rem;
+ border-radius: 50px;
+ cursor: pointer;
+ transition: all 0.3s;
+ }
+
+ .report-options button.active {
+ background: var(--primary);
+ color: var(--white);
+ border-color: var(--primary);
+ }
+
+ .report-options button:hover:not(.active) {
+ background: #f1f1f1;
+ }
+
+ footer {
+ background: var(--dark);
+ color: var(--white);
+ padding: 3rem 1rem;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+ gap: 2rem;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 2rem;
+ }
+
+ .footer-links a {
+ color: var(--white);
+ text-decoration: none;
+ transition: opacity 0.3s;
+ }
+
+ .footer-links a:hover {
+ opacity: 0.8;
+ }
+
+ @media (max-width: 768px) {
+ nav {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .hero-content h1 {
+ font-size: 2rem;
+ }
+
+ .transaction-table {
+ display: block;
+ overflow-x: auto;
+ }
+ }