diff --git a/frontend/about-us.html b/frontend-legacy/about-us.html similarity index 100% rename from frontend/about-us.html rename to frontend-legacy/about-us.html diff --git a/frontend/admin-dashboard.html b/frontend-legacy/admin-dashboard.html similarity index 100% rename from frontend/admin-dashboard.html rename to frontend-legacy/admin-dashboard.html diff --git a/frontend/admin-user-detail.html b/frontend-legacy/admin-user-detail.html similarity index 100% rename from frontend/admin-user-detail.html rename to frontend-legacy/admin-user-detail.html diff --git a/frontend/contact.html b/frontend-legacy/contact.html similarity index 100% rename from frontend/contact.html rename to frontend-legacy/contact.html diff --git a/frontend/css/animations.css b/frontend-legacy/css/animations.css similarity index 100% rename from frontend/css/animations.css rename to frontend-legacy/css/animations.css diff --git a/frontend/css/base.css b/frontend-legacy/css/base.css similarity index 100% rename from frontend/css/base.css rename to frontend-legacy/css/base.css diff --git a/frontend/css/chatbot.css b/frontend-legacy/css/chatbot.css similarity index 100% rename from frontend/css/chatbot.css rename to frontend-legacy/css/chatbot.css diff --git a/frontend/css/components.css b/frontend-legacy/css/components.css similarity index 100% rename from frontend/css/components.css rename to frontend-legacy/css/components.css diff --git a/frontend/css/marketing.css b/frontend-legacy/css/marketing.css similarity index 100% rename from frontend/css/marketing.css rename to frontend-legacy/css/marketing.css diff --git a/frontend/dashboard.html b/frontend-legacy/dashboard.html similarity index 100% rename from frontend/dashboard.html rename to frontend-legacy/dashboard.html diff --git a/frontend/forgot-password.html b/frontend-legacy/forgot-password.html similarity index 100% rename from frontend/forgot-password.html rename to frontend-legacy/forgot-password.html diff --git a/frontend/home.html b/frontend-legacy/home.html similarity index 100% rename from frontend/home.html rename to frontend-legacy/home.html diff --git a/frontend/images/About-us-background-image.webp b/frontend-legacy/images/About-us-background-image.webp similarity index 100% rename from frontend/images/About-us-background-image.webp rename to frontend-legacy/images/About-us-background-image.webp diff --git a/frontend/images/Background-image.jpg b/frontend-legacy/images/Background-image.jpg similarity index 100% rename from frontend/images/Background-image.jpg rename to frontend-legacy/images/Background-image.jpg diff --git a/frontend/images/Background-image.png b/frontend-legacy/images/Background-image.png similarity index 100% rename from frontend/images/Background-image.png rename to frontend-legacy/images/Background-image.png diff --git a/frontend/images/Background-image.webp b/frontend-legacy/images/Background-image.webp similarity index 100% rename from frontend/images/Background-image.webp rename to frontend-legacy/images/Background-image.webp diff --git a/frontend/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.jpg b/frontend-legacy/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.jpg similarity index 100% rename from frontend/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.jpg rename to frontend-legacy/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.jpg diff --git a/frontend/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.png b/frontend-legacy/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.png similarity index 100% rename from frontend/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.png rename to frontend-legacy/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.png diff --git a/frontend/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.webp b/frontend-legacy/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.webp similarity index 100% rename from frontend/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.webp rename to frontend-legacy/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.webp diff --git a/frontend/images/Gemini_Generated_Image_qacxnoqacxnoqacx.jpg b/frontend-legacy/images/Gemini_Generated_Image_qacxnoqacxnoqacx.jpg similarity index 100% rename from frontend/images/Gemini_Generated_Image_qacxnoqacxnoqacx.jpg rename to frontend-legacy/images/Gemini_Generated_Image_qacxnoqacxnoqacx.jpg diff --git a/frontend/images/Gemini_Generated_Image_qacxnoqacxnoqacx.png b/frontend-legacy/images/Gemini_Generated_Image_qacxnoqacxnoqacx.png similarity index 100% rename from frontend/images/Gemini_Generated_Image_qacxnoqacxnoqacx.png rename to frontend-legacy/images/Gemini_Generated_Image_qacxnoqacxnoqacx.png diff --git a/frontend/images/Gemini_Generated_Image_qacxnoqacxnoqacx.webp b/frontend-legacy/images/Gemini_Generated_Image_qacxnoqacxnoqacx.webp similarity index 100% rename from frontend/images/Gemini_Generated_Image_qacxnoqacxnoqacx.webp rename to frontend-legacy/images/Gemini_Generated_Image_qacxnoqacxnoqacx.webp diff --git a/frontend/images/Services-background-image.webp b/frontend-legacy/images/Services-background-image.webp similarity index 100% rename from frontend/images/Services-background-image.webp rename to frontend-legacy/images/Services-background-image.webp diff --git a/frontend/images/about-us-block-1.webp b/frontend-legacy/images/about-us-block-1.webp similarity index 100% rename from frontend/images/about-us-block-1.webp rename to frontend-legacy/images/about-us-block-1.webp diff --git a/frontend/images/about-us-block-2.webp b/frontend-legacy/images/about-us-block-2.webp similarity index 100% rename from frontend/images/about-us-block-2.webp rename to frontend-legacy/images/about-us-block-2.webp diff --git a/frontend/images/bookkeeppro-logo.jpg b/frontend-legacy/images/bookkeeppro-logo.jpg similarity index 100% rename from frontend/images/bookkeeppro-logo.jpg rename to frontend-legacy/images/bookkeeppro-logo.jpg diff --git a/frontend/images/bookkeeppro-logo.png b/frontend-legacy/images/bookkeeppro-logo.png similarity index 100% rename from frontend/images/bookkeeppro-logo.png rename to frontend-legacy/images/bookkeeppro-logo.png diff --git a/frontend/images/bookkeeppro-logo.webp b/frontend-legacy/images/bookkeeppro-logo.webp similarity index 100% rename from frontend/images/bookkeeppro-logo.webp rename to frontend-legacy/images/bookkeeppro-logo.webp diff --git a/frontend/images/business-meeting-long-table-with-chart.jpg b/frontend-legacy/images/business-meeting-long-table-with-chart.jpg similarity index 100% rename from frontend/images/business-meeting-long-table-with-chart.jpg rename to frontend-legacy/images/business-meeting-long-table-with-chart.jpg diff --git a/frontend/images/call.webp b/frontend-legacy/images/call.webp similarity index 100% rename from frontend/images/call.webp rename to frontend-legacy/images/call.webp diff --git a/frontend/images/facebook.webp b/frontend-legacy/images/facebook.webp similarity index 100% rename from frontend/images/facebook.webp rename to frontend-legacy/images/facebook.webp diff --git a/frontend/images/general_engagement_letter_2025-1 - common.pdf b/frontend-legacy/images/general_engagement_letter_2025-1 - common.pdf similarity index 100% rename from frontend/images/general_engagement_letter_2025-1 - common.pdf rename to frontend-legacy/images/general_engagement_letter_2025-1 - common.pdf diff --git a/frontend/images/home-about.jpg b/frontend-legacy/images/home-about.jpg similarity index 100% rename from frontend/images/home-about.jpg rename to frontend-legacy/images/home-about.jpg diff --git a/frontend/images/home-background.jpg b/frontend-legacy/images/home-background.jpg similarity index 100% rename from frontend/images/home-background.jpg rename to frontend-legacy/images/home-background.jpg diff --git a/frontend/images/home-card.jpg b/frontend-legacy/images/home-card.jpg similarity index 100% rename from frontend/images/home-card.jpg rename to frontend-legacy/images/home-card.jpg diff --git a/frontend/images/individual_taxpayer_organizer_2024.pdf b/frontend-legacy/images/individual_taxpayer_organizer_2024.pdf similarity index 100% rename from frontend/images/individual_taxpayer_organizer_2024.pdf rename to frontend-legacy/images/individual_taxpayer_organizer_2024.pdf diff --git a/frontend/images/individual_taxpayer_organizer_sole_proprietorship_rental_2025-doc-1.pdf b/frontend-legacy/images/individual_taxpayer_organizer_sole_proprietorship_rental_2025-doc-1.pdf similarity index 100% rename from frontend/images/individual_taxpayer_organizer_sole_proprietorship_rental_2025-doc-1.pdf rename to frontend-legacy/images/individual_taxpayer_organizer_sole_proprietorship_rental_2025-doc-1.pdf diff --git a/frontend/images/instagram.webp b/frontend-legacy/images/instagram.webp similarity index 100% rename from frontend/images/instagram.webp rename to frontend-legacy/images/instagram.webp diff --git a/frontend/images/linkedin.webp b/frontend-legacy/images/linkedin.webp similarity index 100% rename from frontend/images/linkedin.webp rename to frontend-legacy/images/linkedin.webp diff --git a/frontend/images/llc_tax_organizer_2025-personal-doc-2.pdf b/frontend-legacy/images/llc_tax_organizer_2025-personal-doc-2.pdf similarity index 100% rename from frontend/images/llc_tax_organizer_2025-personal-doc-2.pdf rename to frontend-legacy/images/llc_tax_organizer_2025-personal-doc-2.pdf diff --git a/frontend/images/mail.webp b/frontend-legacy/images/mail.webp similarity index 100% rename from frontend/images/mail.webp rename to frontend-legacy/images/mail.webp diff --git a/frontend/images/partnership_tax_organizer_2025-persoal-doc-3.pdf b/frontend-legacy/images/partnership_tax_organizer_2025-persoal-doc-3.pdf similarity index 100% rename from frontend/images/partnership_tax_organizer_2025-persoal-doc-3.pdf rename to frontend-legacy/images/partnership_tax_organizer_2025-persoal-doc-3.pdf diff --git a/frontend/images/s_corporation_organizer_2025-business-doc-1.pdf b/frontend-legacy/images/s_corporation_organizer_2025-business-doc-1.pdf similarity index 100% rename from frontend/images/s_corporation_organizer_2025-business-doc-1.pdf rename to frontend-legacy/images/s_corporation_organizer_2025-business-doc-1.pdf diff --git a/frontend/images/services-1.jpg b/frontend-legacy/images/services-1.jpg similarity index 100% rename from frontend/images/services-1.jpg rename to frontend-legacy/images/services-1.jpg diff --git a/frontend/images/services-2.jpg b/frontend-legacy/images/services-2.jpg similarity index 100% rename from frontend/images/services-2.jpg rename to frontend-legacy/images/services-2.jpg diff --git a/frontend/images/services-3.jpg b/frontend-legacy/images/services-3.jpg similarity index 100% rename from frontend/images/services-3.jpg rename to frontend-legacy/images/services-3.jpg diff --git a/frontend/images/services-block-3.webp b/frontend-legacy/images/services-block-3.webp similarity index 100% rename from frontend/images/services-block-3.webp rename to frontend-legacy/images/services-block-3.webp diff --git a/frontend/images/small.jpg b/frontend-legacy/images/small.jpg similarity index 100% rename from frontend/images/small.jpg rename to frontend-legacy/images/small.jpg diff --git a/frontend/images/small.png b/frontend-legacy/images/small.png similarity index 100% rename from frontend/images/small.png rename to frontend-legacy/images/small.png diff --git a/frontend/images/small.webp b/frontend-legacy/images/small.webp similarity index 100% rename from frontend/images/small.webp rename to frontend-legacy/images/small.webp diff --git a/frontend/images/trash.png b/frontend-legacy/images/trash.png similarity index 100% rename from frontend/images/trash.png rename to frontend-legacy/images/trash.png diff --git a/frontend/images/young-business-people-using-computer-in-office.jpg b/frontend-legacy/images/young-business-people-using-computer-in-office.jpg similarity index 100% rename from frontend/images/young-business-people-using-computer-in-office.jpg rename to frontend-legacy/images/young-business-people-using-computer-in-office.jpg diff --git a/frontend/images/young-business-people-using-computer-in-office.webp b/frontend-legacy/images/young-business-people-using-computer-in-office.webp similarity index 100% rename from frontend/images/young-business-people-using-computer-in-office.webp rename to frontend-legacy/images/young-business-people-using-computer-in-office.webp diff --git a/frontend/js/admin-chatbot.js b/frontend-legacy/js/admin-chatbot.js similarity index 100% rename from frontend/js/admin-chatbot.js rename to frontend-legacy/js/admin-chatbot.js diff --git a/frontend/js/admin.js b/frontend-legacy/js/admin.js similarity index 100% rename from frontend/js/admin.js rename to frontend-legacy/js/admin.js diff --git a/frontend/js/auth.js b/frontend-legacy/js/auth.js similarity index 100% rename from frontend/js/auth.js rename to frontend-legacy/js/auth.js diff --git a/frontend/js/chatbot.js b/frontend-legacy/js/chatbot.js similarity index 100% rename from frontend/js/chatbot.js rename to frontend-legacy/js/chatbot.js diff --git a/frontend/js/confirm-modal.js b/frontend-legacy/js/confirm-modal.js similarity index 100% rename from frontend/js/confirm-modal.js rename to frontend-legacy/js/confirm-modal.js diff --git a/frontend/js/password-strength.js b/frontend-legacy/js/password-strength.js similarity index 100% rename from frontend/js/password-strength.js rename to frontend-legacy/js/password-strength.js diff --git a/frontend/js/signup.js b/frontend-legacy/js/signup.js similarity index 100% rename from frontend/js/signup.js rename to frontend-legacy/js/signup.js diff --git a/frontend/js/spinner.js b/frontend-legacy/js/spinner.js similarity index 100% rename from frontend/js/spinner.js rename to frontend-legacy/js/spinner.js diff --git a/frontend/js/theme.js b/frontend-legacy/js/theme.js similarity index 100% rename from frontend/js/theme.js rename to frontend-legacy/js/theme.js diff --git a/frontend/js/toast.js b/frontend-legacy/js/toast.js similarity index 100% rename from frontend/js/toast.js rename to frontend-legacy/js/toast.js diff --git a/frontend/login.html b/frontend-legacy/login.html similarity index 100% rename from frontend/login.html rename to frontend-legacy/login.html diff --git a/frontend/partials/footer.html b/frontend-legacy/partials/footer.html similarity index 100% rename from frontend/partials/footer.html rename to frontend-legacy/partials/footer.html diff --git a/frontend/partials/navbar.html b/frontend-legacy/partials/navbar.html similarity index 100% rename from frontend/partials/navbar.html rename to frontend-legacy/partials/navbar.html diff --git a/frontend/profile.html b/frontend-legacy/profile.html similarity index 100% rename from frontend/profile.html rename to frontend-legacy/profile.html diff --git a/frontend/resend-verification.html b/frontend-legacy/resend-verification.html similarity index 100% rename from frontend/resend-verification.html rename to frontend-legacy/resend-verification.html diff --git a/frontend/reset-password.html b/frontend-legacy/reset-password.html similarity index 100% rename from frontend/reset-password.html rename to frontend-legacy/reset-password.html diff --git a/frontend/services.html b/frontend-legacy/services.html similarity index 100% rename from frontend/services.html rename to frontend-legacy/services.html diff --git a/frontend/signup.html b/frontend-legacy/signup.html similarity index 100% rename from frontend/signup.html rename to frontend-legacy/signup.html diff --git a/frontend/upload-business.html b/frontend-legacy/upload-business.html similarity index 100% rename from frontend/upload-business.html rename to frontend-legacy/upload-business.html diff --git a/frontend/upload-personal.html b/frontend-legacy/upload-personal.html similarity index 100% rename from frontend/upload-personal.html rename to frontend-legacy/upload-personal.html diff --git a/frontend/verify-email.html b/frontend-legacy/verify-email.html similarity index 100% rename from frontend/verify-email.html rename to frontend-legacy/verify-email.html diff --git a/frontend/.gitignore b/frontend/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/frontend/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/frontend/.oxlintrc.json b/frontend/.oxlintrc.json new file mode 100644 index 0000000..1255078 --- /dev/null +++ b/frontend/.oxlintrc.json @@ -0,0 +1,8 @@ +{ + "$schema": "./node_modules/oxlint/configuration_schema.json", + "plugins": ["react", "oxc"], + "rules": { + "react/rules-of-hooks": "error", + "react/only-export-components": ["warn", { "allowConstantExport": true }] + } +} diff --git a/frontend/README.md b/frontend/README.md new file mode 100644 index 0000000..d937833 --- /dev/null +++ b/frontend/README.md @@ -0,0 +1,16 @@ +# React + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs) +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) + +## React Compiler + +The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation). + +## Expanding the Oxlint configuration + +If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and Oxlint's TypeScript related rules in your project. diff --git a/frontend/index.html b/frontend/index.html new file mode 100644 index 0000000..b2f2b11 --- /dev/null +++ b/frontend/index.html @@ -0,0 +1,19 @@ + + + + + + + BookKeepPro + + + + + + + + +
+ + + diff --git a/frontend/package-lock.json b/frontend/package-lock.json new file mode 100644 index 0000000..60b2851 --- /dev/null +++ b/frontend/package-lock.json @@ -0,0 +1,2382 @@ +{ + "name": "frontend", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "frontend", + "version": "0.0.0", + "dependencies": { + "axios": "^1.18.1", + "lucide-react": "^1.24.0", + "react": "^19.2.7", + "react-dom": "^19.2.7", + "react-router-dom": "^7.18.1" + }, + "devDependencies": { + "@tailwindcss/postcss": "^4.3.2", + "@types/react": "^19.2.17", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.3", + "autoprefixer": "^10.5.3", + "oxlint": "^1.71.0", + "postcss": "^8.5.19", + "tailwindcss": "^4.3.2", + "vite": "^8.1.1" + } + }, + "node_modules/@alloc/quick-lru": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", + "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@emnapi/core": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.1.tgz", + "integrity": "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.2", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz", + "integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz", + "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.6.tgz", + "integrity": "sha512-ZLv/JdUfkvOy9eCnnBaGfiO+XimbjebAeO+MRQqD/B+FR1tnRN0tpKSJHRbE8sFfS6aqsXZ67TQjfwfsxULVbg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.3" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1", + "@emnapi/runtime": "^1.7.1" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.139.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.139.0.tgz", + "integrity": "sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/Boshen" + } + }, + "node_modules/@oxlint/binding-android-arm-eabi": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.74.0.tgz", + "integrity": "sha512-+gHd12muVI9ZLBaWLPkHt3Fj7jihFjgQ1MGtBaRL8vWrWrI0P7dLUty/cHrHS0oqPYIRgQUJsPu2CExQuMcwNw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-android-arm64": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.74.0.tgz", + "integrity": "sha512-xjKdoMB+H+RCOByv/7l7nfIGW9mlOisqYdcyC75UqYuQecLpReAeEYUf2CNeDEI3KtmUgxpRw/+c63y4AeF/Bw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-darwin-arm64": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.74.0.tgz", + "integrity": "sha512-iUK7wvc6sejMKsC+Pt67mntoF5weFcyEunhZfLJceU6gL419mexz5wBkSx/EnkFBExMLNtOi9fnDSc5xfK0IzQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-darwin-x64": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.74.0.tgz", + "integrity": "sha512-ggKc/tn5SJ1u2yG2izC6VKODfYKV8MQ2AicJlNzOjuyrC29udvOef6/JzK2r32xqCnBDLFouR1VCkjzEI0/N9Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-freebsd-x64": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.74.0.tgz", + "integrity": "sha512-u++dH/43jy9hTLbneaWlS0gla/Bp1JdwJ2zgevCl8nDFUh6qRCGMxcL0f0lb7By3A9p/LfFr+7cG4HU1hG856g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-arm-gnueabihf": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.74.0.tgz", + "integrity": "sha512-Sj1zmtFDVTPeIbIz4ZfcXAbFHqCmKCXdCUlAJzvTF7I20NTH1RDpoF2PhkqNODutJzVhJYmm3oz0GwgY+tvE2g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-arm-musleabihf": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.74.0.tgz", + "integrity": "sha512-//PKyQb/tQXcHArx2f7z+oVI/eMS2Jpv+edNuAtOrgIhWdGcpHxogveAxzmF2rpH1AIHp4Hq04RF/rgJdiICnQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-arm64-gnu": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.74.0.tgz", + "integrity": "sha512-/k1Me+aX2tjuH10K62mLS0y8cLkJBHX6Ce0xPK+eWeel4bSdEGZ8dv4+hYMzg0GrSmjwy4yAYsDPeEeKBft/2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-arm64-musl": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.74.0.tgz", + "integrity": "sha512-3tFSjBxc5D8/zvjEuLvOqcA8ZXKD0+6NuaVO/edeamNc49MoAsbfaC9s1UiwODwgF6slGaF8yJA2TPkukd77tg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-ppc64-gnu": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.74.0.tgz", + "integrity": "sha512-9QggtPkSPXOCTu8Szis7auOK/sC7KdQaN+/TujP7YVVhzCAOhgdRfgv8uEz0r2tk5xdgus5rLYUrCDoZNtiRUw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-riscv64-gnu": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.74.0.tgz", + "integrity": "sha512-VM5VPUJ4DJIWiK+AZn8FScUqMr6OFrCAYybMYjEEi7W13ParI64MByiXTkKMqZpBmvQ9zxl9Ebq2VUOiZRJYUg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-riscv64-musl": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.74.0.tgz", + "integrity": "sha512-SaDY1gh9rOA592J54g+gu5hkOFFQBZsMmIYHs+NRHG+Uq0OxtuuCXMWQ3vu1830Eugv5uMXyjG+bv2Z9y4IXjw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-s390x-gnu": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.74.0.tgz", + "integrity": "sha512-ZATQeHZCyr6MbDveg0obD5sxLHFOghtOdC5jwVwYlvFWqtFOxctgFEG6Ef/64hYvZrWyhyCckB10AelqLopeDA==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-x64-gnu": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.74.0.tgz", + "integrity": "sha512-+aIvJyrdeD7LwCQ2WYLMUWNmnbeDRSPb40aBYtPjD9+PTqUwgJnk+HK5yLfSMeqXrMrDhE9uTmtt2y50tvjhHw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-linux-x64-musl": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.74.0.tgz", + "integrity": "sha512-XyktaR8lhK2qWiCK0Tk8oYD+/cgn+oHA6ddRnxSSXUKkkojkV78CmShZUxQF+yrBFs0SuW+JBOPG6hecyc/iZg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-openharmony-arm64": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.74.0.tgz", + "integrity": "sha512-mzbjrPl4neaVUiJ1fUiEUxTGaSZBoiKtaoB6jmIpz9S+VOA2vDYmJpihQ82w6178V5jxziclTg8Cgj5yF6tTDg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-win32-arm64-msvc": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.74.0.tgz", + "integrity": "sha512-vUAe9okpS2Oa5+lX67lqHMuNUvfkleRKwrUDJ/WJBsgmddvZ1mrsh2HVmuFDRzqFELhaJhFaCNOuR6a7L3rtIA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-win32-ia32-msvc": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.74.0.tgz", + "integrity": "sha512-yyXXJyYYSXL4I8K8jAWjJs+J3fa9gH2JmEbo4f5adm+1tNC9itseicBNuwK7BDHvqQ5J534s+yDULu89vYL2ZQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@oxlint/binding-win32-x64-msvc": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.74.0.tgz", + "integrity": "sha512-VTC9IYTIMrVUk/i6Ms1ohzzDKZFkWn0KU2OBbPBzgmVZ2V30165T/zK4LztTr0Xgp9fZ1qQZ1rsZAu/rEmySlA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.1.5.tgz", + "integrity": "sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.1.5.tgz", + "integrity": "sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.1.5.tgz", + "integrity": "sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.1.5.tgz", + "integrity": "sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.1.5.tgz", + "integrity": "sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.1.5.tgz", + "integrity": "sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.1.5.tgz", + "integrity": "sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.1.5.tgz", + "integrity": "sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.1.5.tgz", + "integrity": "sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==", + "cpu": [ + "s390x" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.1.5.tgz", + "integrity": "sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.1.5.tgz", + "integrity": "sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.1.5.tgz", + "integrity": "sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.1.5.tgz", + "integrity": "sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "1.11.1", + "@emnapi/runtime": "1.11.1", + "@napi-rs/wasm-runtime": "^1.1.6" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.1.5.tgz", + "integrity": "sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.1.5.tgz", + "integrity": "sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tailwindcss/node": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.2.tgz", + "integrity": "sha512-yWP/sqEcBLaD8JuA6zNwxoYKr75qxTioYwlRwekj5Jr/I5GXnoJfjetH/psLUIv74cYTH2lBUEzBkinthoYcBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/remapping": "^2.3.5", + "enhanced-resolve": "5.21.6", + "jiti": "^2.7.0", + "lightningcss": "1.32.0", + "magic-string": "^0.30.21", + "source-map-js": "^1.2.1", + "tailwindcss": "4.3.2" + } + }, + "node_modules/@tailwindcss/oxide": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.2.tgz", + "integrity": "sha512-z8ZgnzX8gdNoWLBLqBPoh/sjnxkwvf9ZuWjnO0l0yIzbLa5/9S+eC5QxGZKRobVHIC3/1BoMWjHblqWjcgFgag==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 20" + }, + "optionalDependencies": { + "@tailwindcss/oxide-android-arm64": "4.3.2", + "@tailwindcss/oxide-darwin-arm64": "4.3.2", + "@tailwindcss/oxide-darwin-x64": "4.3.2", + "@tailwindcss/oxide-freebsd-x64": "4.3.2", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.2", + "@tailwindcss/oxide-linux-arm64-gnu": "4.3.2", + "@tailwindcss/oxide-linux-arm64-musl": "4.3.2", + "@tailwindcss/oxide-linux-x64-gnu": "4.3.2", + "@tailwindcss/oxide-linux-x64-musl": "4.3.2", + "@tailwindcss/oxide-wasm32-wasi": "4.3.2", + "@tailwindcss/oxide-win32-arm64-msvc": "4.3.2", + "@tailwindcss/oxide-win32-x64-msvc": "4.3.2" + } + }, + "node_modules/@tailwindcss/oxide-android-arm64": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.2.tgz", + "integrity": "sha512-WHxqIuHpvZ5VtdX6GTl1Ik/Vp2YuN42Et+0CdeaVd/frQ9jAvGmvR8vLT+jk3e8/Q3x8kECB9+R17pgpp2BulA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.2.tgz", + "integrity": "sha512-GZypeUY/IDJW3877KeM+O67vbXr3MBnbtEL4aYhNErv/JWZhye2vGSWWG9tB6iiqR2MqRNkY8IOUy4NdSZV26w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-x64": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.2.tgz", + "integrity": "sha512-UIIzmefR6KO1sDU7MzRqAxC8iBpft/VhkGjTjnhoS6k7Z3rQ9wEgA1ODSiyH/tcSYssulNm4Ci3hOeK1jH7ccQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-freebsd-x64": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.2.tgz", + "integrity": "sha512-GN+uAmcI6DNspnCDwtOAZrTz6oukJnp337qZvxqCGLd3BHBzJpO0ZbTLRvJNdztOeAmTzewewGIMPb0tk2R4WA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.2.tgz", + "integrity": "sha512-4ABn7qSbdHRwTiDiuWNegCyb5+2FJ4vKIKc3DmKrvAFw7MU1Lm11dIkTPwUaFdTzc7IsOpDbqBrlh0x6y36U/w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.2.tgz", + "integrity": "sha512-wDgEIGwoM8w8pufh9LVt1PahDgNdKXrLC2qfAnV3vAmococ9RWbxeAw4pxPttd/TsJfwjyLf90Dg1y9y8I6Emw==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-musl": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.2.tgz", + "integrity": "sha512-J5Nuk0uZQIiMTJj3LEx4sAA9tMFUoXQZFv1J6An+QGYe53HKRJuFDi0rpq/tuouCZeAbOBY3kQ6g8qeD4TUjtA==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-gnu": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.2.tgz", + "integrity": "sha512-kqCZpSKOBEJO4mz7OqWoofBZeXTAwaVGPj0ErAj7CojmhKpWVWVOnrt9dE8odoIraZq4oj3ausM37kXi+Tow8w==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-musl": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.2.tgz", + "integrity": "sha512-cixpqbh2toJDmkuCRI68nXA8ZxNmdK9Y+9v5h3MC3ZQKy/0BO8AWzlkWyRM7JAFSGBlfig4YVTPsK6MVgqz1uw==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.2.tgz", + "integrity": "sha512-4ec2Z/LOmRsAgU23CS4xeJfcJlmRg94A/XrbGRCF1gyU/zdDfRLYDVsS+ynSZCmGNxQ1jQriQOKMQeQxBA3Isw==", + "bundleDependencies": [ + "@napi-rs/wasm-runtime", + "@emnapi/core", + "@emnapi/runtime", + "@tybys/wasm-util", + "@emnapi/wasi-threads", + "tslib" + ], + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.11.1", + "@emnapi/runtime": "^1.11.1", + "@emnapi/wasi-threads": "^1.2.2", + "@napi-rs/wasm-runtime": "^1.1.4", + "@tybys/wasm-util": "^0.10.2", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.2.tgz", + "integrity": "sha512-Zyr/M0+XcYZu3bZrUytc7TXvrk0ftWfl8gN2MwekNDzhqhKRUucMPSeOzM0o0wH5AWOU49BsKRrfKxI2atCPMQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-win32-x64-msvc": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.2.tgz", + "integrity": "sha512-QI9BO7KlNZsp2GuO0jwAAj5jCDABOKXRkCk2XuKTSaNEFSdfzqswYVTtCHBNKHLsqyjFyFkqlDiwkNbTYSssMQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/postcss": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.3.2.tgz", + "integrity": "sha512-rjVWYCa7Ngbi5AarT6k8TkxUG3Wl1QKzHdIZVsjZSzf36Jmo2IKZt/NHRAwly8oDkbBOH0YTu+CHuf9jPxMc+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@alloc/quick-lru": "^5.2.0", + "@tailwindcss/node": "4.3.2", + "@tailwindcss/oxide": "4.3.2", + "postcss": "^8.5.15", + "tailwindcss": "4.3.2" + } + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz", + "integrity": "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/react": { + "version": "19.2.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.17.tgz", + "integrity": "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==", + "dev": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", + "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.2.0" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.3.tgz", + "integrity": "sha512-vmFvco5/QuC2f9Oj+wTk0+9XeDFkHxSamwZKYc7MxYwKICfvUvlMhqKI0VuICPltGqh1neqBKDvO4kes1ya8vg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "^1.0.1" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", + "babel-plugin-react-compiler": "^1.0.0", + "vite": "^8.0.0" + }, + "peerDependenciesMeta": { + "@rolldown/plugin-babel": { + "optional": true + }, + "babel-plugin-react-compiler": { + "optional": true + } + } + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" + }, + "node_modules/autoprefixer": { + "version": "10.5.3", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.5.3.tgz", + "integrity": "sha512-bJRzflk8GgE4JX+iZNEwz9f9p460NCHnU7bd+CZ9vIjIlZuTkt6F3WSl2oNO8StZBFx17nLEsiQ6H2wcZiY7nA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "browserslist": "^4.28.6", + "caniuse-lite": "^1.0.30001805", + "fraction.js": "^5.3.4", + "picocolors": "^1.1.1", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" + }, + "engines": { + "node": "^10 || ^12 || >=14" + }, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/axios": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.18.1.tgz", + "integrity": "sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.16.0", + "form-data": "^4.0.5", + "https-proxy-agent": "^5.0.1", + "proxy-from-env": "^2.1.0" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.10.43", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.43.tgz", + "integrity": "sha512-AjYpR78kDWAY3Efj+cDTFH9t9SCoL7OoTp1BOb0mQV7S+6CiLwnWM3FyxhJtdPufDFKzmCSFoUncKjWgJEZTCQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/browserslist": { + "version": "4.28.6", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.6.tgz", + "integrity": "sha512-FQBYNK15VMslhLHpA7+n+n1GOlF1kId2xcCg7/j95f24AOF6VDYMNH4mFxF7KuaTdv627faazpOAjFzMrfJOUw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.10.42", + "caniuse-lite": "^1.0.30001803", + "electron-to-chromium": "^1.5.389", + "node-releases": "^2.0.51", + "update-browserslist-db": "^1.2.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001806", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001806.tgz", + "integrity": "sha512-72Cuvd95zbSYPKq6Fhg8eDJRlzgWDf7/mtoZv6Qe/DYNCEBdNxoA3+rZAU2ZhGCpZlns3EssFavaZomckT5Uuw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/cookie": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz", + "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.392", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.392.tgz", + "integrity": "sha512-1yQq3VQCZRwsnYc67Oc+1fge6Lwtn0hzi6zmEVkB61Zx21kTbwJAW4dFLadl5Rc1tKhG/kSpYXnfiAhu0f0a1g==", + "dev": true, + "license": "ISC" + }, + "node_modules/enhanced-resolve": { + "version": "5.21.6", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.21.6.tgz", + "integrity": "sha512-aNnGCvbJ/RIyWo1IuhNdVjnNF+EjH9wpzpNHt+ci/m9He9LJvUN8wrCcXjp9cWsGNAuvSpVFTx/vraAFQ8qGjQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.3.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/follow-redirects": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", + "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/form-data": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", + "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.4", + "mime-types": "^2.1.35" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fraction.js": { + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz", + "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/rawify" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/jiti": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", + "dev": true, + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/lightningcss": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.32.0", + "lightningcss-darwin-arm64": "1.32.0", + "lightningcss-darwin-x64": "1.32.0", + "lightningcss-freebsd-x64": "1.32.0", + "lightningcss-linux-arm-gnueabihf": "1.32.0", + "lightningcss-linux-arm64-gnu": "1.32.0", + "lightningcss-linux-arm64-musl": "1.32.0", + "lightningcss-linux-x64-gnu": "1.32.0", + "lightningcss-linux-x64-musl": "1.32.0", + "lightningcss-win32-arm64-msvc": "1.32.0", + "lightningcss-win32-x64-msvc": "1.32.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "cpu": [ + "x64" + ], + "dev": true, + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lucide-react": { + "version": "1.24.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.24.0.tgz", + "integrity": "sha512-YT6mBD8lGKkg4nM39enlm94/sfJIiW0YKUT60fBy4YK8tai31ylg1VhGNWxkpSKHo9UagfnZqwIff3HTDQwXeA==", + "license": "ISC", + "peerDependencies": { + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.16", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.16.tgz", + "integrity": "sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/node-releases": { + "version": "2.0.51", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.51.tgz", + "integrity": "sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/oxlint": { + "version": "1.74.0", + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.74.0.tgz", + "integrity": "sha512-odGl2s2x5IOJoj3A0v1k0PGBXVFBZeZ2+AK/+K2MJur7Ghi3bkyX5NuLUWHKqa4js1wjep3hJeuTQJOlr+4+dA==", + "dev": true, + "license": "MIT", + "bin": { + "oxlint": "bin/oxlint" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/sponsors/Boshen" + }, + "optionalDependencies": { + "@oxlint/binding-android-arm-eabi": "1.74.0", + "@oxlint/binding-android-arm64": "1.74.0", + "@oxlint/binding-darwin-arm64": "1.74.0", + "@oxlint/binding-darwin-x64": "1.74.0", + "@oxlint/binding-freebsd-x64": "1.74.0", + "@oxlint/binding-linux-arm-gnueabihf": "1.74.0", + "@oxlint/binding-linux-arm-musleabihf": "1.74.0", + "@oxlint/binding-linux-arm64-gnu": "1.74.0", + "@oxlint/binding-linux-arm64-musl": "1.74.0", + "@oxlint/binding-linux-ppc64-gnu": "1.74.0", + "@oxlint/binding-linux-riscv64-gnu": "1.74.0", + "@oxlint/binding-linux-riscv64-musl": "1.74.0", + "@oxlint/binding-linux-s390x-gnu": "1.74.0", + "@oxlint/binding-linux-x64-gnu": "1.74.0", + "@oxlint/binding-linux-x64-musl": "1.74.0", + "@oxlint/binding-openharmony-arm64": "1.74.0", + "@oxlint/binding-win32-arm64-msvc": "1.74.0", + "@oxlint/binding-win32-ia32-msvc": "1.74.0", + "@oxlint/binding-win32-x64-msvc": "1.74.0" + }, + "peerDependencies": { + "oxlint-tsgolint": ">=0.24.0", + "vite-plus": "*" + }, + "peerDependenciesMeta": { + "oxlint-tsgolint": { + "optional": true + }, + "vite-plus": { + "optional": true + } + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz", + "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.19", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.19.tgz", + "integrity": "sha512-Mz8SaolMd8nB+G13WkORcxQKHZ/NE4xXevtkJHVuG+guo9/wYKlIMTKAqGdEmYOXR2ijPjTYNHssizdaVSUNdQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.12", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/proxy-from-env": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/react": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.7.tgz", + "integrity": "sha512-HNe9WslTbXmFK8o8cmwgAeJFSBvt1bPdHCVKtaaV+WlAN36mpT4hcRpwbf3fY56ar2oIXzsBpOAiIRHAdY0OlQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.7.tgz", + "integrity": "sha512-t0BRVXvbiE/o20Hfw669rLbMCDWtYZLvmJigy2f0MxsXF+71pxhR3xOkspmsO8h3ZlNzyibAmtCa3l4lYKk6gQ==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.27.0" + }, + "peerDependencies": { + "react": "^19.2.7" + } + }, + "node_modules/react-router": { + "version": "7.18.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.1.tgz", + "integrity": "sha512-GDLgg3i3uM0aeJO3Fm+TCS+sDQ7gu12T6x0qdTEzcwqEfleci7JwugVNIF3U//0FWKnJT7ptG+20B2jfDqnZAg==", + "license": "MIT", + "dependencies": { + "cookie": "^1.0.1", + "set-cookie-parser": "^2.6.0" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } + } + }, + "node_modules/react-router-dom": { + "version": "7.18.1", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.1.tgz", + "integrity": "sha512-KaZh+X/6UtEp28x51AUYZDMg9NGoz2ja3dNHa+ta/tk40vCzKhQ/RypCWBMLbmDr6//E24Vv5uPsrqXFozdkAg==", + "license": "MIT", + "dependencies": { + "react-router": "7.18.1" + }, + "engines": { + "node": ">=20.0.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/rolldown": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.1.5.tgz", + "integrity": "sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.139.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm64": "1.1.5", + "@rolldown/binding-darwin-arm64": "1.1.5", + "@rolldown/binding-darwin-x64": "1.1.5", + "@rolldown/binding-freebsd-x64": "1.1.5", + "@rolldown/binding-linux-arm-gnueabihf": "1.1.5", + "@rolldown/binding-linux-arm64-gnu": "1.1.5", + "@rolldown/binding-linux-arm64-musl": "1.1.5", + "@rolldown/binding-linux-ppc64-gnu": "1.1.5", + "@rolldown/binding-linux-s390x-gnu": "1.1.5", + "@rolldown/binding-linux-x64-gnu": "1.1.5", + "@rolldown/binding-linux-x64-musl": "1.1.5", + "@rolldown/binding-openharmony-arm64": "1.1.5", + "@rolldown/binding-wasm32-wasi": "1.1.5", + "@rolldown/binding-win32-arm64-msvc": "1.1.5", + "@rolldown/binding-win32-x64-msvc": "1.1.5" + } + }, + "node_modules/scheduler": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" + }, + "node_modules/set-cookie-parser": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz", + "integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==", + "license": "MIT" + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tailwindcss": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.2.tgz", + "integrity": "sha512-WtctNNSH8A9jlMIqxzuYumOHU5uGZyRv0Q5svQl+oEPy5w84YpBxdb7MdqyiSPQge5jTJ6zFQLq0PFygdccSBA==", + "dev": true, + "license": "MIT" + }, + "node_modules/tapable": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", + "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD", + "optional": true + }, + "node_modules/update-browserslist-db": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/vite": { + "version": "8.1.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.1.5.tgz", + "integrity": "sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw==", + "dev": true, + "license": "MIT", + "dependencies": { + "lightningcss": "^1.32.0", + "picomatch": "^4.0.5", + "postcss": "^8.5.17", + "rolldown": "~1.1.5", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.3.0", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + } + } +} diff --git a/frontend/package.json b/frontend/package.json new file mode 100644 index 0000000..676e19d --- /dev/null +++ b/frontend/package.json @@ -0,0 +1,30 @@ +{ + "name": "frontend", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "lint": "oxlint", + "preview": "vite preview" + }, + "dependencies": { + "axios": "^1.18.1", + "lucide-react": "^1.24.0", + "react": "^19.2.7", + "react-dom": "^19.2.7", + "react-router-dom": "^7.18.1" + }, + "devDependencies": { + "@tailwindcss/postcss": "^4.3.2", + "@types/react": "^19.2.17", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.3", + "autoprefixer": "^10.5.3", + "oxlint": "^1.71.0", + "postcss": "^8.5.19", + "tailwindcss": "^4.3.2", + "vite": "^8.1.1" + } +} diff --git a/frontend/postcss.config.js b/frontend/postcss.config.js new file mode 100644 index 0000000..1c87846 --- /dev/null +++ b/frontend/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + '@tailwindcss/postcss': {}, + autoprefixer: {}, + }, +} diff --git a/frontend/public/css/animations.css b/frontend/public/css/animations.css new file mode 100644 index 0000000..0f95826 --- /dev/null +++ b/frontend/public/css/animations.css @@ -0,0 +1,91 @@ +/* ============================================================ + animations.css — Micro-interactions & transitions + ============================================================ */ + +/* ── Page transition ─────────────────────────────────────── */ +.page-enter { + animation: fadeIn 0.3s ease both; +} + +/* ── Card hover lift ─────────────────────────────────────── */ +.lift { + transition: transform 0.2s ease, box-shadow 0.2s ease; +} +.lift:hover { + transform: translateY(-3px); + box-shadow: var(--shadow-md); +} + +/* ── Button press feedback ───────────────────────────────── */ +.btn:active { transform: translateY(1px) scale(0.97); } + +/* ── Pulse (for pending badge) ───────────────────────────── */ +@keyframes pulse-orange { + 0%, 100% { box-shadow: 0 0 0 0 rgba(255,127,17,0.35); } + 50% { box-shadow: 0 0 0 5px rgba(255,127,17,0); } +} +.pulse { animation: pulse-orange 2s infinite; } + +/* ── Skeleton shimmer ────────────────────────────────────── */ +@keyframes shimmer { + from { background-position: -600px 0; } + to { background-position: 600px 0; } +} +.skeleton { + background: linear-gradient(90deg, #e8edf2 25%, #f4f6f9 50%, #e8edf2 75%); + background-size: 600px 100%; + animation: shimmer 1.4s infinite linear; + border-radius: var(--radius-sm); + color: transparent !important; +} + +/* ── Slide in from right (toast) ─────────────────────────── */ +@keyframes toast-in { + from { opacity: 0; transform: translateX(20px); } + to { opacity: 1; transform: translateX(0); } +} + +/* ── Fade up (cards on load) ─────────────────────────────── */ +@keyframes fadeUp { + from { opacity: 0; transform: translateY(10px); } + to { opacity: 1; transform: translateY(0); } +} +.fade-up { animation: fadeUp 0.3s ease both; } + +/* ── Staggered children ──────────────────────────────────── */ +.stagger > *:nth-child(1) { animation-delay: 0.00s; } +.stagger > *:nth-child(2) { animation-delay: 0.05s; } +.stagger > *:nth-child(3) { animation-delay: 0.10s; } +.stagger > *:nth-child(4) { animation-delay: 0.15s; } +.stagger > *:nth-child(5) { animation-delay: 0.20s; } +.stagger > *:nth-child(6) { animation-delay: 0.25s; } + +/* ── Checkbox animate ────────────────────────────────────── */ +input[type=checkbox] { + accent-color: var(--blue); + width: 16px; + height: 16px; + cursor: pointer; +} + +/* ── Focus ring ──────────────────────────────────────────── */ +:focus-visible { + outline: 2px solid var(--blue); + outline-offset: 2px; +} + +/* ── Smooth link underline ───────────────────────────────── */ +.fancy-link { + position: relative; + text-decoration: none; + color: var(--blue); +} +.fancy-link::after { + content: ''; + position: absolute; + bottom: -1px; left: 0; + width: 0; height: 1.5px; + background: var(--blue); + transition: width 0.2s ease; +} +.fancy-link:hover::after { width: 100%; } diff --git a/frontend/public/css/base.css b/frontend/public/css/base.css new file mode 100644 index 0000000..178c7ae --- /dev/null +++ b/frontend/public/css/base.css @@ -0,0 +1,282 @@ +/* ============================================================ + base.css — BookKeepPro Design System + Shared by every page. Load first. + ============================================================ */ +@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0'); + +/* ── Brand Tokens ─────────────────────────────────────────── */ +:root { + --blue: #0077C8; + --blue-dark: #005fa3; + --blue-light: #e9f5ff; + --orange: #FF7F11; + --orange-dark: #e56e0d; + --orange-light: #fff3e0; + --header-bg: #BEE2FA; + --footer-bot: #A9D9F8; + --navy: #0B2540; + --accent: #3AB4F2; + --bg: #f1f7fb; + --card: #ffffff; + --muted: #6b7a86; + --border: #e2eaf2; + --success: #2e7d32; + --success-bg: #e6f9ec; + --error: #c62828; + --error-bg: #fdecea; + --warn: #f57f17; + --warn-bg: #fff8e1; + + --radius-xs: 6px; + --radius-sm: 10px; + --radius-md: 14px; + --radius-lg: 20px; + --radius-pill: 999px; + + --shadow-xs: 0 1px 4px rgba(0,0,0,0.06); + --shadow-sm: 0 2px 10px rgba(0,0,0,0.07); + --shadow-md: 0 6px 24px rgba(0,0,0,0.09); + --shadow-lg: 0 16px 48px rgba(0,0,0,0.12); + + --transition: 0.2s ease; +} + +/* ── Reset ───────────────────────────────────────────────── */ +*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } +html { font-size: 16px; scroll-behavior: smooth; } +body { + font-family: "Poppins", system-ui, sans-serif; + background: var(--bg); + color: #222; + min-height: 100vh; + -webkit-font-smoothing: antialiased; +} +img { max-width: 100%; display: block; } +a { color: var(--blue); text-decoration: none; } +a:hover { color: var(--blue-dark); } +.material-symbols-outlined { font-size: inherit; vertical-align: middle; line-height: 1; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; } + +/* ── Typography ──────────────────────────────────────────── */ +h1 { font-size: clamp(22px,3vw,30px); font-weight: 700; color: var(--navy); line-height: 1.25; } +h2 { font-size: clamp(18px,2.5vw,24px); font-weight: 600; color: var(--navy); line-height: 1.3; } +h3 { font-size: clamp(15px,2vw,18px); font-weight: 600; color: var(--navy); } +p { line-height: 1.7; color: #444; } +small, .text-sm { font-size: 13px; color: var(--muted); } +.text-muted { color: var(--muted); } + +/* ── Card ────────────────────────────────────────────────── */ +.card { + background: var(--card); + border-radius: var(--radius-md); + box-shadow: var(--shadow-sm); + border: 1px solid var(--border); + padding: clamp(20px, 4vw, 32px); + transition: box-shadow var(--transition); +} +.card:hover { box-shadow: var(--shadow-md); } +.card-flat { background: var(--card); border-radius: var(--radius-md); border: 1px solid var(--border); padding: clamp(16px, 3vw, 24px); } + +/* ── Buttons ─────────────────────────────────────────────── */ +.btn { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 6px; + padding: 11px 22px; + font-family: inherit; + font-size: 14px; + font-weight: 600; + border: none; + border-radius: var(--radius-pill); + cursor: pointer; + transition: background var(--transition), transform var(--transition), box-shadow var(--transition); + white-space: nowrap; +} +.btn:active { transform: translateY(1px) scale(0.97); } +.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; } + +.btn-primary { background: var(--orange); color: #fff; } +.btn-primary:hover:not(:disabled) { background: var(--orange-dark); box-shadow: 0 4px 12px rgba(255,127,17,0.3); } + +.btn-secondary { background: var(--blue); color: #fff; } +.btn-secondary:hover:not(:disabled) { background: var(--blue-dark); box-shadow: 0 4px 12px rgba(0,119,200,0.25); } + +.btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 18px; } +.btn-ghost:hover:not(:disabled) { background: var(--bg); color: var(--navy); border-color: #c0cfe0; } + +.btn-danger { background: #ff4d4d; color: #fff; } +.btn-danger:hover:not(:disabled) { background: #e03c3c; box-shadow: 0 4px 12px rgba(255,77,77,0.3); } + +.btn-sm { padding: 7px 16px; font-size: 13px; } +.btn-xs { padding: 5px 12px; font-size: 12px; } +.btn-icon { padding: 9px; border-radius: var(--radius-sm); } + +/* ── Form Inputs ─────────────────────────────────────────── */ +.input, .select-input { + width: 100%; + padding: 12px 16px; + border: 1.5px solid var(--border); + border-radius: var(--radius-sm); + font-family: inherit; + font-size: 14px; + color: #222; + background: #fff; + transition: border-color var(--transition), box-shadow var(--transition); +} +.input:focus, .select-input:focus { + outline: none; + border-color: var(--blue); + box-shadow: 0 0 0 3px rgba(0,119,200,0.10); +} +.input::placeholder { color: #a8b5c2; } +.input[readonly] { background: #f8fafc; color: var(--muted); cursor: default; } +label.form-label { display: block; font-size: 13px; font-weight: 500; color: #444; margin-bottom: 6px; } +.form-group { margin-bottom: 18px; } +.password-wrap { position: relative; } +.password-wrap .input { padding-right: 56px; } +.password-toggle { + position: absolute; right: 14px; top: 50%; transform: translateY(-50%); + background: none; border: none; color: var(--blue); font-weight: 600; font-size: 13px; cursor: pointer; +} + +/* ── Badges ──────────────────────────────────────────────── */ +.badge { + display: inline-flex; align-items: center; gap: 4px; + padding: 3px 10px; border-radius: var(--radius-pill); + font-size: 11px; font-weight: 700; letter-spacing: 0.3px; + white-space: nowrap; +} +.badge-blue { background: var(--blue-light); color: var(--blue); } +.badge-orange { background: var(--orange-light); color: #e65100; border: 1px solid #ffc89a; } +.badge-red { background: #fce4ec; color: var(--error); } +.badge-green { background: var(--success-bg); color: var(--success); } +.badge-yellow { background: var(--warn-bg); color: var(--warn); border: 1px solid #ffe082; } +.badge-muted { background: #f0f4f8; color: var(--muted); } + +/* ── Status Pills (doc review) ───────────────────────────── */ +.pill-approved { background:var(--success-bg); color:var(--success); border:1px solid #a5d6a7; padding:2px 10px; border-radius:20px; font-size:11px; font-weight:700; } +.pill-rejected { background:var(--error-bg); color:var(--error); border:1px solid #ef9a9a; padding:2px 10px; border-radius:20px; font-size:11px; font-weight:700; } +.pill-pending { background:var(--warn-bg); color:var(--warn); border:1px solid #ffe082; padding:2px 10px; border-radius:20px; font-size:11px; font-weight:700; } + +/* ── Divider ─────────────────────────────────────────────── */ +.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; } + +/* ── App Layout Scaffold ─────────────────────────────────── */ +.app-body { + display: flex; + flex-direction: column; + min-height: 100vh; +} +.page-main { + flex: 1; + width: min(100%, 1100px); + margin: clamp(24px, 4vw, 40px) auto; + padding: 0 clamp(16px, 3vw, 24px); +} +.page-main-wide { + flex: 1; + width: min(100%, 1300px); + margin: clamp(24px, 4vw, 40px) auto; + padding: 0 clamp(16px, 3vw, 24px); +} + +/* ── Animations ──────────────────────────────────────────── */ +@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } } +@keyframes slideUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } } +.fade-in { animation: fadeIn 0.3s ease both; } +.slide-up { animation: slideUp 0.35s ease both; } + +/* ── Skeleton loading ────────────────────────────────────── */ +@keyframes shimmer { + from { background-position: -600px 0; } + to { background-position: 600px 0; } +} +.skeleton { + background: linear-gradient(90deg, #e8edf2 25%, #f4f6f9 50%, #e8edf2 75%); + background-size: 600px 100%; + animation: shimmer 1.4s infinite linear; + border-radius: var(--radius-sm); +} + +/* ── Utility ─────────────────────────────────────────────── */ +.flex { display: flex; } +.flex-center { display: flex; align-items: center; justify-content: center; } +.flex-between{ display: flex; align-items: center; justify-content: space-between; } +.flex-gap-sm { gap: 8px; } +.flex-gap-md { gap: 16px; } +.gap-8 { gap: 8px; } +.gap-12 { gap: 12px; } +.gap-16 { gap: 16px; } +.gap-24 { gap: 24px; } +.mt-8 { margin-top: 8px; } +.mt-16 { margin-top: 16px; } +.mt-24 { margin-top: 24px; } +.mb-8 { margin-bottom: 8px; } +.mb-16 { margin-bottom: 16px; } +.mb-24 { margin-bottom: 24px; } +.w-full { width: 100%; } +.text-center { text-align: center; } +.font-600 { font-weight: 600; } + + +/* --- UI/UX Polish --- */ + +/* Button Micro-animations */ +.btn { + transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease; +} +.btn:active { + transform: scale(0.96); +} + +/* Focus States for Accessibility */ +.input:focus, +input[type="text"]:focus, +input[type="email"]:focus, +input[type="password"]:focus, +textarea:focus { + outline: none; + border-color: var(--blue) !important; + box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.25) !important; + transition: border-color 0.2s ease, box-shadow 0.2s ease; +} + +/* Document & Admin Card Lift Effects */ +.doc-card, .doc-row, .admin-docs-td { + transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; +} +.doc-row:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0,0,0,0.05); + background: #fafafa; +} + +/* --- Dark Mode Overrides --- */ +.dark-theme { + --bg: #0B1521; + --card: #152538; + --navy: #f1f7fb; + --muted: #a8b5c2; + --border: #2A3F54; + + --header-bg: #0F2B44; + --footer-bot: #06182B; + + --blue-light: #0d263b; + --orange-light: #2d1a0a; + + --success-bg: #0b2e13; + --error-bg: #420f0f; + --warn-bg: #3d2508; + + --shadow-xs: 0 1px 4px rgba(0,0,0,0.3); + --shadow-sm: 0 2px 10px rgba(0,0,0,0.4); + --shadow-md: 0 6px 24px rgba(0,0,0,0.5); + --shadow-lg: 0 16px 48px rgba(0,0,0,0.6); +} + +/* Ensure text on dark theme maps correctly if using base html/body color */ +body.dark-theme { + background-color: var(--bg); + color: var(--navy); +} diff --git a/frontend/public/css/chatbot.css b/frontend/public/css/chatbot.css new file mode 100644 index 0000000..d839147 --- /dev/null +++ b/frontend/public/css/chatbot.css @@ -0,0 +1,406 @@ +/* ============================================================ + chatbot.css — BookKeepPro Chatbot Widget + Floating chat bubble + chat window + ============================================================ */ + +/* ── Chat Bubble (FAB) ──────────────────────────────────── */ +.chatbot-fab { + position: fixed; + bottom: 24px; + right: 24px; + width: 58px; + height: 58px; + border-radius: 50%; + background: linear-gradient(135deg, var(--blue) 0%, var(--accent) 100%); + color: #fff; + border: none; + cursor: pointer; + box-shadow: 0 4px 20px rgba(0, 119, 200, 0.35); + display: flex; + align-items: center; + justify-content: center; + font-size: 28px; + z-index: 9998; + transition: transform 0.25s ease, box-shadow 0.25s ease; +} +.chatbot-fab:hover { + transform: scale(1.08); + box-shadow: 0 6px 28px rgba(0, 119, 200, 0.45); +} +.chatbot-fab:active { + transform: scale(0.96); +} +.chatbot-fab .fab-icon { transition: transform 0.3s ease; } +.chatbot-fab.open .fab-icon { transform: rotate(90deg); } + +/* Pulse ring animation */ +.chatbot-fab::before { + content: ""; + position: absolute; + inset: -4px; + border-radius: 50%; + border: 2px solid var(--blue); + opacity: 0; + animation: chatPulse 2.5s ease-out infinite; +} +.chatbot-fab.open::before { animation: none; opacity: 0; } + +@keyframes chatPulse { + 0% { transform: scale(1); opacity: 0.5; } + 100% { transform: scale(1.4); opacity: 0; } +} + +/* Notification dot */ +.chatbot-fab .notif-dot { + position: absolute; + top: 2px; + right: 2px; + width: 14px; + height: 14px; + border-radius: 50%; + background: var(--orange); + border: 2px solid #fff; + animation: dotBounce 1.5s ease infinite; +} +.chatbot-fab.open .notif-dot { display: none; } + +@keyframes dotBounce { + 0%, 100% { transform: scale(1); } + 50% { transform: scale(1.2); } +} + +/* ── Chat Window ────────────────────────────────────────── */ +.chatbot-window { + position: fixed; + bottom: 96px; + right: 24px; + width: 380px; + max-height: 520px; + border-radius: var(--radius-md); + background: var(--card); + box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15); + display: flex; + flex-direction: column; + z-index: 9999; + overflow: hidden; + opacity: 0; + transform: translateY(20px) scale(0.95); + pointer-events: none; + transition: opacity 0.3s ease, transform 0.3s ease; +} +.chatbot-window.visible { + opacity: 1; + transform: translateY(0) scale(1); + pointer-events: auto; +} + +/* ── Header ─────────────────────────────────────────────── */ +.chatbot-header { + background: linear-gradient(135deg, var(--blue) 0%, #005fa3 100%); + color: #fff; + padding: 16px 18px; + display: flex; + align-items: center; + gap: 12px; + flex-shrink: 0; +} +.chatbot-header .bot-avatar { + width: 38px; + height: 38px; + border-radius: 50%; + background: rgba(255, 255, 255, 0.2); + display: flex; + align-items: center; + justify-content: center; + font-size: 20px; + flex-shrink: 0; +} +.chatbot-header .bot-info h4 { + font-size: 14px; + font-weight: 600; + margin: 0; + color: #fff; +} +.chatbot-header .bot-info span { + font-size: 11px; + opacity: 0.8; +} +.chatbot-header .close-chat { + margin-left: auto; + background: rgba(255, 255, 255, 0.15); + border: none; + color: #fff; + width: 30px; + height: 30px; + border-radius: 50%; + cursor: pointer; + font-size: 16px; + display: flex; + align-items: center; + justify-content: center; + transition: background 0.2s; +} +.chatbot-header .close-chat:hover { + background: rgba(255, 255, 255, 0.3); +} + +/* ── Messages Area ──────────────────────────────────────── */ +.chatbot-messages { + flex: 1; + overflow-y: auto; + padding: 16px; + display: flex; + flex-direction: column; + gap: 10px; + background: #f8fbfe; + min-height: 200px; + max-height: 340px; +} +.chatbot-messages::-webkit-scrollbar { width: 5px; } +.chatbot-messages::-webkit-scrollbar-track { background: transparent; } +.chatbot-messages::-webkit-scrollbar-thumb { background: #c5d9ee; border-radius: 10px; } + +/* ── Message Bubbles ────────────────────────────────────── */ +.chat-msg { + max-width: 85%; + padding: 10px 14px; + border-radius: 14px; + font-size: 13px; + line-height: 1.5; + animation: msgSlideIn 0.3s ease; + word-wrap: break-word; +} +@keyframes msgSlideIn { + from { opacity: 0; transform: translateY(8px); } + to { opacity: 1; transform: translateY(0); } +} + +.chat-msg.bot { + background: #fff; + color: #222; + border: 1px solid var(--border); + border-bottom-left-radius: 4px; + align-self: flex-start; + box-shadow: 0 1px 4px rgba(0,0,0,0.04); +} +.chat-msg.user { + background: linear-gradient(135deg, var(--blue), var(--accent)); + color: #fff; + border-bottom-right-radius: 4px; + align-self: flex-end; +} + +/* ── Typing Indicator ───────────────────────────────────── */ +.typing-indicator { + display: flex; + gap: 4px; + padding: 12px 16px; + align-self: flex-start; +} +.typing-indicator span { + width: 8px; + height: 8px; + border-radius: 50%; + background: var(--blue); + opacity: 0.4; + animation: typingDot 1.2s ease-in-out infinite; +} +.typing-indicator span:nth-child(2) { animation-delay: 0.15s; } +.typing-indicator span:nth-child(3) { animation-delay: 0.3s; } + +@keyframes typingDot { + 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } + 30% { transform: translateY(-6px); opacity: 1; } +} + +/* ── Quick Reply Buttons ────────────────────────────────── */ +.quick-replies { + display: flex; + flex-direction: column; + gap: 8px; + margin-top: 6px; +} +.quick-reply-btn { + background: #fff; + border: 1.5px solid var(--blue); + color: var(--blue); + padding: 9px 14px; + border-radius: var(--radius-sm); + font-size: 13px; + font-weight: 500; + cursor: pointer; + text-align: left; + transition: all 0.2s ease; + font-family: inherit; + display: flex; + align-items: center; + gap: 8px; +} +.quick-reply-btn:hover { + background: var(--blue); + color: #fff; + transform: translateX(4px); + box-shadow: 0 2px 8px rgba(0, 119, 200, 0.2); +} +.quick-reply-btn .qr-icon { + font-size: 16px; + flex-shrink: 0; +} + +/* ── Doc Status Cards ───────────────────────────────────── */ +.doc-status-card { + background: #fff; + border: 1px solid var(--border); + border-radius: var(--radius-xs); + padding: 10px 12px; + margin-top: 6px; + font-size: 12px; +} +.doc-status-card .doc-name { + font-weight: 600; + color: var(--navy); + margin-bottom: 4px; + font-size: 13px; +} +.doc-status-card .doc-year { + color: var(--muted); + font-size: 11px; +} +.doc-status-card .doc-badge { + display: inline-block; + padding: 2px 8px; + border-radius: var(--radius-pill); + font-size: 11px; + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.3px; +} +.doc-badge.pending { background: var(--warn-bg); color: var(--warn); } +.doc-badge.approved { background: var(--success-bg); color: var(--success); } +.doc-badge.rejected { background: var(--error-bg); color: var(--error); } + +.doc-status-card .doc-note { + margin-top: 4px; + color: var(--muted); + font-style: italic; + font-size: 11px; +} + +/* ── Summary Banner ─────────────────────────────────────── */ +.status-summary { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 8px; + margin-top: 8px; +} +.summary-item { + text-align: center; + padding: 8px 4px; + border-radius: var(--radius-xs); + background: #f1f7fb; +} +.summary-item .count { + font-size: 20px; + font-weight: 700; + display: block; +} +.summary-item .label { + font-size: 10px; + text-transform: uppercase; + color: var(--muted); + letter-spacing: 0.5px; +} +.summary-item.pending .count { color: var(--warn); } +.summary-item.approved .count { color: var(--success); } +.summary-item.rejected .count { color: var(--error); } + +/* ── FAQ List ───────────────────────────────────────────── */ +.faq-question { + background: #fff; + border: 1px solid var(--border); + border-radius: var(--radius-xs); + padding: 9px 12px; + font-size: 12.5px; + cursor: pointer; + transition: all 0.2s ease; + text-align: left; + color: var(--navy); + width: 100%; + font-family: inherit; + display: block; + margin-top: 4px; +} +.faq-question:hover { + border-color: var(--blue); + color: var(--blue); + background: var(--blue-light); +} + +/* ── Back Button ────────────────────────────────────────── */ +.back-btn { + background: none; + border: none; + color: var(--blue); + cursor: pointer; + font-size: 12px; + padding: 4px 0; + font-family: inherit; + font-weight: 500; + margin-top: 6px; + display: inline-flex; + align-items: center; + gap: 4px; +} +.back-btn:hover { text-decoration: underline; } + +/* ── Mobile Responsive ──────────────────────────────────── */ +@media (max-width: 480px) { + .chatbot-window { + bottom: 0; + right: 0; + left: 0; + width: 100%; + max-height: 75vh; + border-radius: var(--radius-md) var(--radius-md) 0 0; + } + .chatbot-fab { + bottom: 16px; + right: 16px; + width: 52px; + height: 52px; + font-size: 24px; + } +} + +/* ── Dark Mode Support ──────────────────────────────────── */ +[data-theme="dark"] .chatbot-window { background: #1a2332; } +[data-theme="dark"] .chatbot-messages { background: #0f1923; } +[data-theme="dark"] .chat-msg.bot { + background: #1e2d3d; + border-color: #2a3f54; + color: #d4dde6; +} +[data-theme="dark"] .quick-reply-btn { + background: #1e2d3d; + border-color: var(--blue); + color: var(--accent); +} +[data-theme="dark"] .quick-reply-btn:hover { + background: var(--blue); + color: #fff; +} +[data-theme="dark"] .doc-status-card { + background: #1e2d3d; + border-color: #2a3f54; +} +[data-theme="dark"] .doc-status-card .doc-name { color: #d4dde6; } +[data-theme="dark"] .faq-question { + background: #1e2d3d; + border-color: #2a3f54; + color: #d4dde6; +} +[data-theme="dark"] .faq-question:hover { + background: #253648; + border-color: var(--blue); +} +[data-theme="dark"] .summary-item { background: #1e2d3d; } diff --git a/frontend/public/css/components.css b/frontend/public/css/components.css new file mode 100644 index 0000000..cbb80ae --- /dev/null +++ b/frontend/public/css/components.css @@ -0,0 +1,484 @@ +/* ============================================================ + components.css — Reusable UI components + Load after base.css + ============================================================ */ + +/* ── App Header ──────────────────────────────────────────── */ +.app-header { + background: var(--header-bg); + padding: 0 clamp(16px, 4vw, 32px); + height: 62px; + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + position: sticky; + top: 0; + z-index: 200; + box-shadow: 0 2px 12px rgba(0,80,140,0.10); +} +.app-header .logo { height: 38px; cursor: pointer; transition: opacity var(--transition); } +.app-header .logo:hover { opacity: 0.85; } +.app-header .header-actions { display: flex; gap: 10px; align-items: center; } + +/* ── App Footer ──────────────────────────────────────────── */ +.app-footer { + background: var(--header-bg); + border-top: 1px solid rgba(0,80,140,0.10); + padding: 18px clamp(16px, 4vw, 32px); + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; + gap: 12px; + margin-top: auto; +} +.app-footer img { height: 30px; } +.app-footer small { color: var(--muted); font-size: 12px; } + +/* ── Auth Layout — Split Card ────────────────────────────── */ +.auth-shell { + min-height: 100vh; + display: flex; + align-items: stretch; + background: #fff; +} +.auth-brand { + width: 42%; + min-width: 280px; + background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%); + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 48px 40px; + color: #fff; + gap: 24px; +} +.auth-brand .brand-logo { height: 56px; } +.auth-brand h2 { color: #fff; font-size: clamp(20px,2.5vw,26px); text-align: center; margin: 0; } +.auth-brand p { color: rgba(255,255,255,0.75); font-size: 14px; text-align: center; line-height: 1.8; margin: 0; } +.auth-brand .brand-divider { width: 40px; height: 3px; background: var(--orange); border-radius: 2px; } + +.auth-form-side { + flex: 1; + display: flex; + align-items: center; + justify-content: center; + padding: clamp(32px, 5vw, 64px) clamp(24px, 6vw, 80px); + background: #fff; + overflow-y: auto; +} +.auth-box { width: 100%; max-width: 420px; } +.auth-box h1 { font-size: clamp(20px,2.5vw,26px); margin-bottom: 6px; } +.auth-box .auth-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 32px; } +.auth-links { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; line-height: 2; } + +/* Dark Theme Overrides for Auth Pages */ +body.dark-theme .auth-shell { background: var(--bg); } +body.dark-theme .auth-form-side { background: var(--bg); } +body.dark-theme .auth-box h1 { color: var(--navy); } +body.dark-theme .auth-box .auth-subtitle { color: var(--muted); } +body.dark-theme .auth-box .form-label { color: var(--muted); } +body.dark-theme .auth-box .input { background: var(--card); color: var(--navy); border-color: var(--border); } +body.dark-theme .auth-links a { color: var(--blue); } + +@media (max-width: 768px) { + .auth-shell { flex-direction: column; } + .auth-brand { + width: 100%; + min-width: unset; + min-height: unset; + padding: 24px 20px; + flex-direction: row; + justify-content: center; + gap: 16px; + } + .auth-brand p, .auth-brand .brand-divider { display: none; } + .auth-brand .brand-logo { height: 32px; } + .auth-brand h2 { font-size: 15px; margin: 0; } + .auth-form-side { padding: 28px 20px; } +} + +/* ── Page Header Row ─────────────────────────────────────── */ +.page-heading { + display: flex; + align-items: flex-end; + justify-content: space-between; + flex-wrap: wrap; + gap: 16px; + margin-bottom: 28px; +} +.page-heading h1, .page-heading h2 { margin: 0; } +.page-heading .page-meta { font-size: 13px; color: var(--muted); margin-top: 4px; } + +/* ── Stat Cards Row ──────────────────────────────────────── */ +.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; } +.stat-card { + background: var(--card); + border: 1px solid var(--border); + border-radius: var(--radius-md); + padding: 20px 22px; + display: flex; + flex-direction: column; + gap: 6px; + transition: box-shadow var(--transition), transform var(--transition); +} +.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } +.stat-card .stat-icon { font-size: 24px; margin-bottom: 4px; } +.stat-card .stat-value { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1; } +.stat-card .stat-label { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; } +.stat-card.accent-blue { border-left: 4px solid var(--blue); } +.stat-card.accent-orange{ border-left: 4px solid var(--orange); } +.stat-card.accent-green { border-left: 4px solid var(--success); } + +/* ── Tab Bar ─────────────────────────────────────────────── */ +.tab-bar { + display: flex; + gap: 0; + border-bottom: 2px solid var(--border); + margin-bottom: 24px; + overflow-x: auto; + scrollbar-width: none; +} +.tab-bar::-webkit-scrollbar { display: none; } +.tab-btn { + padding: 12px 22px; + font-family: inherit; + font-size: 14px; + font-weight: 500; + color: var(--muted); + background: none; + border: none; + border-bottom: 3px solid transparent; + margin-bottom: -2px; + cursor: pointer; + transition: color var(--transition), border-color var(--transition); + white-space: nowrap; + flex-shrink: 0; +} +.tab-btn:hover { color: var(--navy); } +.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; } +.tab-panel { display: none; } +.tab-panel.active{ display: block; animation: fadeIn 0.25s ease; } + +/* ── User Card (Admin Dashboard) ─────────────────────────── */ +.user-card { + background: var(--card); + border: 1px solid var(--border); + border-radius: var(--radius-md); + padding: 18px 20px; + display: flex; + flex-direction: column; + gap: 14px; + cursor: pointer; + transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); + position: relative; +} +.user-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c5d9ee; } +.click-layer { position: absolute; inset: 0; z-index: 0; } +.user-top { display: flex; align-items: center; gap: 14px; min-width: 0; } +.user-avatar { + width: 46px; height: 46px; border-radius: 50%; + background: linear-gradient(135deg, var(--header-bg), var(--blue-light)); + display: flex; align-items: center; justify-content: center; + font-weight: 700; font-size: 17px; color: var(--navy); + flex-shrink: 0; border: 2px solid rgba(0,119,200,0.15); +} +.user-info { min-width: 0; flex: 1; } +.user-info .u-name { font-weight: 600; color: var(--navy); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.user-info .u-email { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; } +.user-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 10; flex-wrap: wrap; } + +/* ── Role Controls ───────────────────────────────────────── */ +.role-controls { display: flex; align-items: center; gap: 8px; position: relative; z-index: 10; } +.role-select { padding: 6px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: inherit; cursor: pointer; background: #fff; flex: 1; transition: border-color var(--transition); } +.role-select:focus { outline: none; border-color: var(--blue); } +.role-save-btn { padding: 6px 14px; background: var(--blue); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer; transition: background var(--transition); white-space: nowrap; } +.role-save-btn:hover { background: var(--blue-dark); } + +/* ── Info Card (User Detail) ─────────────────────────────── */ +.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; } +@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } } +.info-item { display: flex; flex-direction: column; gap: 3px; } +.info-item .info-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); font-weight: 600; } +.info-item .info-value { font-size: 15px; font-weight: 500; color: var(--navy); } + +/* ── Document Row ────────────────────────────────────────── */ +.doc-row { + display: flex; + align-items: center; + gap: 14px; + padding: 14px 16px; + border-radius: var(--radius-sm); + border: 1px solid var(--border); + background: #fafcff; + transition: border-color var(--transition), background var(--transition); + margin-bottom: 10px; +} +.doc-row:hover { border-color: #c5d9ee; background: var(--blue-light); } +.doc-row-left { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; } +.doc-row-name { font-weight: 600; font-size: 13px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.doc-row-type { font-size: 12px; color: var(--muted); } +.doc-row-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; } + +/* ── Drop Zone ───────────────────────────────────────────── */ +.drop-zone { + border: 2px dashed #b8cfdf; + border-radius: var(--radius-md); + padding: 36px 24px; + text-align: center; + color: var(--muted); + transition: border-color var(--transition), background var(--transition); + cursor: pointer; +} +.drop-zone:hover, .drop-zone.drag-over { + border-color: var(--blue); + background: var(--blue-light); + color: var(--blue); +} +.drop-zone .drop-icon { font-size: 36px; margin-bottom: 10px; } +.drop-zone .drop-title { font-weight: 600; font-size: 15px; color: var(--navy); } +.drop-zone .drop-hint { font-size: 13px; margin-top: 4px; } + +/* ── Search Bar ──────────────────────────────────────────── */ +.search-bar { + display: flex; + align-items: center; + gap: 10px; + background: #fff; + border: 1.5px solid var(--border); + border-radius: var(--radius-pill); + padding: 9px 18px; + transition: border-color var(--transition), box-shadow var(--transition); + max-width: 360px; +} +.search-bar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,119,200,0.10); } +.search-bar input { border: none; outline: none; font-family: inherit; font-size: 14px; width: 100%; background: transparent; } +.search-bar .search-icon { color: var(--muted); font-size: 16px; flex-shrink: 0; } + +/* ── Timeline Stepper ────────────────────────────────────── */ +.timeline-control { + display: flex; + align-items: center; + gap: 12px; + background: var(--bg); + border-radius: var(--radius-sm); + padding: 10px 16px; + width: fit-content; +} +.timeline-control .tl-btn { + width: 32px; height: 32px; + border-radius: 50%; + border: 1.5px solid var(--border); + background: #fff; + font-size: 18px; + font-weight: 600; + cursor: pointer; + display: flex; align-items: center; justify-content: center; + transition: border-color var(--transition), background var(--transition); +} +.timeline-control .tl-btn:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); } +.timeline-control .tl-value { font-size: 20px; font-weight: 700; color: var(--navy); min-width: 32px; text-align: center; } +.timeline-control .tl-label { font-size: 12px; color: var(--muted); } + +/* ── Approval Table ──────────────────────────────────────── */ +.approval-table { width: 100%; border-collapse: collapse; } +.approval-table th, .approval-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13px; } +.approval-table th { background: #f5f8fb; font-weight: 600; color: var(--muted); text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; } +.approval-table tr:last-child td { border-bottom: none; } +.approval-table tr:hover td { background: #fafcff; } + +/* ── Toggle Switch (approve/reject) ─────────────────────── */ +.review-toggle { + display: flex; + gap: 6px; +} +.review-toggle label { + display: flex; + align-items: center; + gap: 5px; + padding: 5px 12px; + border-radius: var(--radius-pill); + border: 1.5px solid var(--border); + font-size: 12px; + font-weight: 600; + cursor: pointer; + transition: all var(--transition); +} +.review-toggle input[type=checkbox] { display: none; } +.review-toggle .approve-lbl { color: var(--success); } +.review-toggle .approve-lbl:has(input:checked), +.review-toggle input.approve:checked + label { background: var(--success-bg); border-color: var(--success); } +.review-toggle .reject-lbl { color: var(--error); } + +/* ── Engagement Banner ───────────────────────────────────── */ +.engagement-banner { + display: flex; + align-items: center; + gap: 16px; + padding: 16px 20px; + border-radius: var(--radius-md); + background: linear-gradient(90deg, #e3f2fd, #f0f9ff); + border: 1px solid #b3d9f5; + margin-bottom: 24px; +} +.engagement-banner .banner-icon { font-size: 28px; flex-shrink: 0; } +.engagement-banner .banner-text { flex: 1; } +.engagement-banner .banner-text strong { display: block; font-size: 14px; color: var(--navy); } +.engagement-banner .banner-text span { font-size: 13px; color: var(--muted); } +.engagement-banner.acknowledged { background: var(--success-bg); border-color: #a5d6a7; } + +/* ── Empty State ─────────────────────────────────────────── */ +.empty-state { + padding: 48px 24px; + text-align: center; + color: var(--muted); +} +.empty-state .empty-icon { font-size: 42px; margin-bottom: 12px; opacity: 0.6; } +.empty-state .empty-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; } +.empty-state .empty-hint { font-size: 13px; } + +/* ── Marketing Navbar ────────────────────────────────────── */ +.mkt-navbar { + position: absolute; + top: 0; left: 0; + width: 100%; + z-index: 20; +} +.mkt-nav-inner { + width: min(1200px, 96%); + margin: auto; + padding: 18px 12px; + display: flex; + align-items: center; + justify-content: space-between; +} +.mkt-nav-logo { height: clamp(38px,5vw,54px); object-fit: contain; } +.mkt-nav-menu { display: flex; gap: 32px; align-items: center; } +.mkt-nav-menu a { color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: color var(--transition); } +.mkt-nav-menu a:hover { color: #FFD28C; } +.mkt-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; } +.mkt-hamburger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; } + +@media (max-width: 900px) { + .mkt-nav-menu { + display: none; + position: absolute; + top: 72px; left: 0; + width: 100%; + background: var(--navy); + flex-direction: column; + gap: 0; + padding: 8px 0 20px; + } + .mkt-nav-menu a { padding: 12px 28px; width: 100%; } + .mkt-nav-menu.open { display: flex; } + .mkt-hamburger { display: flex; } +} + +/* ── Marketing Footer ────────────────────────────────────── */ +.mkt-footer { background: var(--header-bg); border-top: 4px solid var(--blue); margin-top: auto; } +.mkt-footer-top { + width: min(1200px, 92%); + margin: auto; + padding: 40px 0; + display: flex; + justify-content: space-between; + gap: 40px; + flex-wrap: wrap; +} +.mkt-footer-logo { width: clamp(120px,20vw,160px); } +.mkt-footer-links { display: flex; flex-direction: column; gap: 8px; } +.mkt-footer-links h4 { color: var(--blue); margin-bottom: 4px; font-size: 14px; } +.mkt-footer-links a { color: var(--navy); font-size: 14px; font-weight: 500; transition: color var(--transition); } +.mkt-footer-links a:hover { color: var(--blue); } +.mkt-footer-bottom { background: var(--footer-bot); text-align: center; padding: 12px; font-size: 13px; color: #555; } + +/* --- JS Extracted Components --- */ + +.doc-row-wrapper { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + flex-wrap: wrap; +} + +.btn-approve { + background: var(--success-bg); + color: var(--success); + border: 1px solid #a5d6a7; + border-radius: var(--radius-pill); +} + +.btn-reject { + background: var(--error-bg); + color: var(--error); + border: 1px solid #ef9a9a; + border-radius: var(--radius-pill); +} + +.reject-box { + display: none; + margin-top: 10px; +} + +.reject-textarea { + width: 100%; + padding: 10px; + border-radius: var(--radius-sm); + border: 1.5px solid var(--border); + font-family: inherit; + font-size: 13px; + resize: vertical; +} + +.admin-doc-actions { + display: flex; + gap: 8px; + flex-shrink: 0; +} + +.admin-docs-table { + width: 100%; + border-collapse: collapse; + font-size: 13px; +} + +.admin-docs-td { + padding: 10px 12px; + color: #444; +} + +.admin-docs-th { + padding: 10px 12px; + color: #555; + font-weight: 500; + text-align: left; + border-bottom: 2px solid var(--border); +} + +/* -- Pill Buttons for Document Actions ----------------------- */ +.btn-download-pill { + background: var(--blue); + color: #fff; + border: none; + border-radius: var(--radius-sm); + font-weight: 500; +} +.btn-download-pill:hover { + opacity: 0.9; +} + +.btn-upload-pill { + background: var(--orange); + color: #fff; + border: none; + border-radius: var(--radius-sm); + font-weight: 500; + cursor: pointer; +} +.btn-upload-pill:hover { + opacity: 0.9; +} diff --git a/frontend/public/css/marketing.css b/frontend/public/css/marketing.css new file mode 100644 index 0000000..8679f39 --- /dev/null +++ b/frontend/public/css/marketing.css @@ -0,0 +1,1199 @@ +*{ + + margin:0; + + padding:0; + + box-sizing:border-box; + + font-family:"Poppins",sans-serif; + +} + + + +body{ + + background:#f5f5f5; + + overflow-x:hidden; + +} + + + +img{max-width:100%;display:block} + + + +/* ================= NAVBAR ================= */ + + + +.navbar{ + width:100%; + position:absolute; + top:0; + left:0; + z-index:20; + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); + background: rgba(11, 37, 64, 0.15); + border-bottom: 1px solid rgba(255, 255, 255, 0.08); + transition: background 0.3s ease; +} + + + +.nav-container{ + + width:min(1200px,96%); + + margin:auto; + + padding:18px 12px; + + display:flex; + + align-items:center; + + justify-content:space-between; + +} + + + +#logos{ + + height:clamp(42px,5vw,64px); + + object-fit:contain; + +} + + + +/* NAV MENU */ + + + +.nav-menu{ + + display:flex; + + gap:32px; + + align-items:center; + +} + + + +.nav-menu a{ + + text-decoration:none; + + color:white; + + font-size:15px; + + font-weight:500; + +} + + + +.nav-menu a:hover{color:#FFD28C} + + + +/* login buttons */ + + + +.login-btn{ + + padding:10px 14px; + + background:var(--orange); + + color:#fff; + + border-radius:25px; + + border:none; + + font-weight:600; + + cursor:pointer; + +} + + + +.login-btn:hover{background:var(--orange-dark)} + + + +.login-btn:active{ + + transform:translateY(1px) scale(.94); + + box-shadow:0 2px 6px rgba(0,0,0,.12); + +} + + + +/* desktop vs mobile login visibility */ + + + +.desktop-login{display:inline-block;} + +.mobile-login{display:none;} + + + +.hamburger{ + + display:none; + + flex-direction:column; + + gap:4px; + + cursor:pointer; + +} + + + +.hamburger span{ + + width:26px; + + height:3px; + + background:white; + + border-radius:2px; + +} + + + +/* ================= HERO ================= */ + + + +.hero{ + + width:100%; + + min-height:580px; + + height:clamp(420px,60vh,620px); + + background: + + linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)), + + url("../images/home-background.jpg"); + + background-size:cover; + + background-position:center; + +} + + + +/* ================= BOTTOM BLOCK ================= */ + + + +.bottom-block{ + + width:min(900px,92%); + + margin:-360px auto 300px; + + background:#fff; + + padding:18px; + + border-radius:12px; + + display:flex; + + gap:22px; + + align-items:center; + + box-shadow:0 3px 12px rgba(0,0,0,.15); + +} + + + +.block-img{ + + width:120px; + + height:120px; + + border-radius:12px; + + background:url("/images/small.webp") center/cover; + +} + + + +.block-text h1{ + + font-size:clamp(18px,3vw,26px); + + font-weight:700; + +} + + + +.block-text p{color:#555} + + + +/* ================= ABOUT ================= */ + + + +.about-section{ + + width:min(1200px,92%); + + margin:60px auto; + + display:flex; + + gap:32px; + +} + + + +.about-section h2{ + + font-size:clamp(22px,3vw,30px); + + font-weight:700; + +} + + + +.about-section .text p{ + + line-height:1.8; + + font-size:15px; + + color:#333; + +} + + + +.about-section .note{ + + margin-top:12px; + + color:var(--orange); + + font-style:italic; + +} + + + +.about-section img{ + + width:100%; + + height:300px; + + border-radius:10px; + + object-fit:cover; + +} + + + +/* ================= SERVICES ================= */ + + + +.services-section{ + + width:min(1200px,92%); + + margin:50px auto; + + margin-bottom: 30px; + +} + + + +.services-section h2{ + + font-size:26px; + + font-weight:700; + + margin-bottom:22px; + + margin-top: 90px; + +} + + + +.services-grid{ + + display:flex; + + gap:22px; + + flex-wrap:wrap; + + justify-content:space-between; + + margin-bottom: 90px; + +} + + + +.service-card{ + + flex:1; + + min-width:260px; + + background:var(--accent); + + padding:22px; + + border-radius:20px; + + color:#fff; + + text-align:center; + + box-shadow:0 4px 12px rgba(0,0,0,.15); + + transition:.25s; + +} + + + +.service-card:hover{transform:translateY(-4px)} + + + +/* .service-card img{ + + align-items: center; + + width:110px; + + height:110px; + + border-radius:50%; + + object-fit:cover; + +} */ + + + +.service-card img{ + + display: block; + + margin: 0 auto; + + width:110px; + + height:110px; + + border-radius:50%; + + object-fit:cover; + +} + + + + + +.service-card h3{ + + margin-top:12px; + + font-size:15px; + + font-weight:600; + +} + + + +.service-card button{ + + margin-top:12px; + + padding:10px 18px; + + background:var(--orange); + + border:none; + + border-radius:20px; + + color:#fff; + + cursor:pointer; + +} + + + +.service-card button:active{ + + transform:translateY(1px) scale(.94); + + box-shadow:0 2px 6px rgba(0,0,0,.12); + +} + + + +/* ================= FOOTER ================= */ + + + +.footer{ + + background:var(--header-bg); + + margin-top:60px; + + border-top:4px solid var(--blue); + +} + + + +.footer-top{ + + width:min(1200px,92%); + + margin:auto; + + display:flex; + + justify-content:space-between; + + gap:40px; + + padding:40px 0; + + flex-wrap:wrap; + +} + + + +.footer-logo{width:220px} + + + +.footer-links{ + + display:flex; + + flex-direction:column; + + gap:10px; + +} + + + +.footer-links a{ + + text-decoration:none; + + color:var(--navy); + + font-size:16px; + + font-weight:500; + +} + + + +.footer-bottom{ + + text-align:center; + + padding:15px 0; + + background:var(--footer-bot); + +} + + + +/* ======================================================= + + RESPONSIVE BREAKPOINTS + + ======================================================= */ + + + +@media (max-width:992px){ + + + + .about-section{flex-direction:column;} + + + + .bottom-block{ + + width:96%; + + flex-direction:column; + + text-align:center; + + margin-top:-300px; + + } + + + + /* mobile nav dropdown */ + + + + .nav-menu{ + + display:none; + + position:absolute; + + top:76px; + + left:0; + + width:100%; + + background:var(--navy); + + padding:20px 0; + + flex-direction:column; + + gap:18px; + + align-items:center; + + } + + + + .nav-menu.active{display:flex;} + + + + /* desktop login hidden */ + + .desktop-login{display:none;} + + + + /* mobile login visible */ + + .mobile-login{ + + display:block; + + margin-top:6px; + + padding:10px 18px; + + border-radius:20px; + + background:var(--orange); + + color:#fff; + + font-weight:600; + + width:140px; + + text-align:center; + + } + + + + .hamburger{display:flex;} + +} + + + +@media (max-width:576px){ + + + + .service-card{min-width:100%} + + + + .service-card h3{font-size:14px;} + + + + .bottom-block{margin-bottom:240px;} + +} + + + +/* --- Page Specific Styles --- */ + + + +.page-hero h1, body.dark-theme .page-hero h1 { + font-size:clamp(22px, 4vw, 38px); + font-weight:700; + color: #ffffff !important; +} + +.page-hero p, body.dark-theme .page-hero p { + color: #ffffff !important; +} + + + +.about-wrapper{ + + width:min(1200px, 92%); + + margin:70px auto; + + display:flex; + + flex-direction:column; + + gap:40px; + +} + + + +.page-hero{ + + width:100%; + + min-height:580px; + + height:clamp(420px,60vh,620px); + + color:white; + + display:flex; + + align-items:center; + + justify-content:center; + + text-align:center; + + + + background: + + linear-gradient(rgba(56,54,54,.55),rgba(0,0,0,.55)), + + url("../images/Services-background-image.webp"); + + + + background-size:cover; + + background-position:center; + +} + + + +.about-block{ + + display:flex; + + gap:28px; + + background:#fff; + + padding:clamp(18px, 3vw, 32px); + + border-radius:14px; + + box-shadow:0 6px 16px rgba(0,0,0,.08); + + align-items:center; + +} + + + +.about-img{ + + width:380px; + + max-width:100%; + + height:260px; + + border-radius:14px; + + object-fit:cover; + +} + + + +.reverse{ + + flex-direction:row-reverse; + +} + + + +.page-hero{ + + width:100%; + + min-height:580px; + + height:clamp(420px, 60vh, 620px); + + color:white; + + display:flex; + + align-items:center; + + justify-content:center; + + text-align:center; + + + + background: + + linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)), + + url("../images/About-us-background-image.webp"); + + + + background-size:cover; + + background-position:center; + +} + + + +.page-hero h1{ + + font-size:clamp(22px,4vw,34px); + + font-weight:700; + +} + +.services-wrapper { + + width:min(1200px,92%); + + margin:70px auto; + + display:flex; + + flex-direction:column; + + gap:50px; + +} + + + +.service-block { + + display:flex; + + align-items:center; + + gap:32px; + + background:#fff; + + padding:clamp(20px,3vw,35px); + + border-radius:15px; + + box-shadow:0 4px 12px rgba(0,0,0,.12); + +} + + + +.service-block.reverse { + + flex-direction:row-reverse; + +} + + + +.service-text h2 { + + font-size:clamp(18px,2.6vw,22px); + + font-weight:700; + + margin-bottom:10px; + + color:var(--navy); + +} + + + +.service-text p { + + line-height:1.8; + + font-size:15px; + + color:#333; + +} + + + +.list-items li { + + margin-left:28px; + + color:#333; + +} + + + +.service-img, + +.service-img-bl-3 { + + width:380px; + + max-width:100%; + + height:260px; + + border-radius:14px; + + object-fit:cover; + +} + + +@media (max-width: 992px) { + .service-block, + .service-block.reverse { + flex-direction: column; + } + + .service-img, + .service-img-bl-3 { + width: 100%; + height: 240px; + } +} + + +.contact-section { + + width:min(1200px,92%); + + margin:70px auto; + + border:2px solid rgb(131,124,124); + + border-radius:15px; + + padding-top: 20px; + + padding-bottom: 20px; + +} + + + +.contact-title { + + font-size:28px; + + font-weight:700; + + margin-bottom:30px; + + text-align:center; + +} + + + +.contact-container { + + display:flex; + + padding:20px; + + width:70%; + + gap:35px; + + margin:auto; + +} + + + +.contact-info { + + flex:1; + + display:flex; + + flex-direction:column; + + gap:25px; + +} + + + +.info-box { + + padding:20px; + + border-radius:15px; + + color:white; + +} + + + +.usa { + + background:var(--accent); + +} + + + +.ind { + + background:var(--orange); + +} + + + +.contact-form { + + flex:1.3; + + background:white; + + padding:50px; + + border-radius:15px; + + box-shadow:0 3px 10px rgba(0,0,0,.15); + +} + + + +.form-row { + + display:flex; + gap:15px; +} + +.contact-form input, +.contact-form textarea { + width:100%; + padding:12px 15px; + border-radius:10px; + border:1px solid #ddd; + margin-bottom:15px; + font-family: inherit; +} + +.phone-row { + display:flex; + gap:10px; + border:1px solid #ddd; + padding:10px; + border-radius:10px; +} + +.contact-form button { + margin-top:20px; + padding:10px 25px; + background:var(--accent); + color:#fff; + border-radius:20px; + border:none; +} + +.email-box { + display:flex; + align-items:center; + margin-top:20px; + gap:10px; + font-size:14px; + color:#333; +} + +.email-box img { + width:20px; +} + +.phone img { + width:16px; +} + +/* --- Solid Navbar Modifier (for pages without hero images) --- */ +.navbar-solid { + position: relative !important; + background: var(--footer-bot) !important; + backdrop-filter: none !important; + -webkit-backdrop-filter: none !important; + border-bottom: none !important; +} +.navbar-solid .nav-menu a { + color: var(--navy) !important; +} +.navbar-solid .hamburger span { + background: var(--navy) !important; +} + +/* Micro-animations */ +.nav-menu a { + position: relative; +} +.nav-menu a::after { + content: ''; + position: absolute; + width: 0; + height: 2px; + bottom: -4px; + left: 0; + background-color: currentColor; + transition: width 0.3s ease; +} +.nav-menu a:hover::after { + width: 100%; +} + +.service-block { + transition: transform 0.3s ease, box-shadow 0.3s ease; +} +.service-block:hover { + transform: translateY(-6px); + box-shadow: 0 10px 25px rgba(0,0,0,0.12); +} + +/* --- Dark Theme Overrides for Marketing Pages --- */ +body.dark-theme .bottom-block, +body.dark-theme .about-block, +body.dark-theme .service-block, +body.dark-theme .contact-form, +body.dark-theme .service-card { + background: var(--card); +} +/* Text colors */ +body.dark-theme .service-text p, +body.dark-theme .list-items li, +body.dark-theme .email-box, +body.dark-theme p, +body.dark-theme .block-text p, +body.dark-theme .about-section .text p, +body.dark-theme .about-text p, +body.dark-theme .footer-bottom, +body.dark-theme .footer-links a { + color: var(--muted) !important; +} +/* Headers */ +body.dark-theme h1, +body.dark-theme h2, +body.dark-theme h3, +body.dark-theme h4, +body.dark-theme .block-text h1, +body.dark-theme .about-section h2, +body.dark-theme .services-section h2, +body.dark-theme .contact-title, +body.dark-theme .service-card h3 { + color: var(--navy) !important; +} +body.dark-theme .contact-form input, +body.dark-theme .contact-form textarea, +body.dark-theme .phone-row { + background: var(--bg); + color: var(--navy); + border-color: var(--border); +} +body.dark-theme .contact-section { + border-color: var(--border); +} +body.dark-theme .navbar-solid { + background: var(--card) !important; +} +@media (max-width:992px) { + body.dark-theme #navMenu, + body.dark-theme .nav-menu { + background-color: #262a34 !important; + } +} + diff --git a/frontend/public/favicon.svg b/frontend/public/favicon.svg new file mode 100644 index 0000000..6893eb1 --- /dev/null +++ b/frontend/public/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/public/icons.svg b/frontend/public/icons.svg new file mode 100644 index 0000000..e952219 --- /dev/null +++ b/frontend/public/icons.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/public/images/About-us-background-image.webp b/frontend/public/images/About-us-background-image.webp new file mode 100644 index 0000000..88b1995 Binary files /dev/null and b/frontend/public/images/About-us-background-image.webp differ diff --git a/frontend/public/images/Background-image.jpg b/frontend/public/images/Background-image.jpg new file mode 100644 index 0000000..12f1b87 Binary files /dev/null and b/frontend/public/images/Background-image.jpg differ diff --git a/frontend/public/images/Background-image.png b/frontend/public/images/Background-image.png new file mode 100644 index 0000000..aa1f271 Binary files /dev/null and b/frontend/public/images/Background-image.png differ diff --git a/frontend/public/images/Background-image.webp b/frontend/public/images/Background-image.webp new file mode 100644 index 0000000..34412b5 Binary files /dev/null and b/frontend/public/images/Background-image.webp differ diff --git a/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.jpg b/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.jpg new file mode 100644 index 0000000..b3c402e Binary files /dev/null and b/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.jpg differ diff --git a/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.png b/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.png new file mode 100644 index 0000000..85ce4a2 Binary files /dev/null and b/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.png differ diff --git a/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.webp b/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.webp new file mode 100644 index 0000000..6b9d7fa Binary files /dev/null and b/frontend/public/images/Gemini_Generated_Image_5pqvpl5pqvpl5pqv.webp differ diff --git a/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.jpg b/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.jpg new file mode 100644 index 0000000..25b7cba Binary files /dev/null and b/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.jpg differ diff --git a/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.png b/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.png new file mode 100644 index 0000000..bec1f87 Binary files /dev/null and b/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.png differ diff --git a/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.webp b/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.webp new file mode 100644 index 0000000..a782161 Binary files /dev/null and b/frontend/public/images/Gemini_Generated_Image_qacxnoqacxnoqacx.webp differ diff --git a/frontend/public/images/Services-background-image.webp b/frontend/public/images/Services-background-image.webp new file mode 100644 index 0000000..3dfc38b Binary files /dev/null and b/frontend/public/images/Services-background-image.webp differ diff --git a/frontend/public/images/about-us-block-1.webp b/frontend/public/images/about-us-block-1.webp new file mode 100644 index 0000000..5fb7fc6 Binary files /dev/null and b/frontend/public/images/about-us-block-1.webp differ diff --git a/frontend/public/images/about-us-block-2.webp b/frontend/public/images/about-us-block-2.webp new file mode 100644 index 0000000..6807c56 Binary files /dev/null and b/frontend/public/images/about-us-block-2.webp differ diff --git a/frontend/public/images/bookkeeppro-logo.jpg b/frontend/public/images/bookkeeppro-logo.jpg new file mode 100644 index 0000000..7fb778e Binary files /dev/null and b/frontend/public/images/bookkeeppro-logo.jpg differ diff --git a/frontend/public/images/bookkeeppro-logo.png b/frontend/public/images/bookkeeppro-logo.png new file mode 100644 index 0000000..df9eed6 Binary files /dev/null and b/frontend/public/images/bookkeeppro-logo.png differ diff --git a/frontend/public/images/bookkeeppro-logo.webp b/frontend/public/images/bookkeeppro-logo.webp new file mode 100644 index 0000000..efab1fa Binary files /dev/null and b/frontend/public/images/bookkeeppro-logo.webp differ diff --git a/frontend/public/images/business-meeting-long-table-with-chart.jpg b/frontend/public/images/business-meeting-long-table-with-chart.jpg new file mode 100644 index 0000000..98895b4 Binary files /dev/null and b/frontend/public/images/business-meeting-long-table-with-chart.jpg differ diff --git a/frontend/public/images/call.webp b/frontend/public/images/call.webp new file mode 100644 index 0000000..06d0d24 Binary files /dev/null and b/frontend/public/images/call.webp differ diff --git a/frontend/public/images/facebook.webp b/frontend/public/images/facebook.webp new file mode 100644 index 0000000..8de813b Binary files /dev/null and b/frontend/public/images/facebook.webp differ diff --git a/frontend/public/images/general_engagement_letter_2025-1 - common.pdf b/frontend/public/images/general_engagement_letter_2025-1 - common.pdf new file mode 100644 index 0000000..4ddd56d Binary files /dev/null and b/frontend/public/images/general_engagement_letter_2025-1 - common.pdf differ diff --git a/frontend/public/images/home-about.jpg b/frontend/public/images/home-about.jpg new file mode 100644 index 0000000..0473118 Binary files /dev/null and b/frontend/public/images/home-about.jpg differ diff --git a/frontend/public/images/home-background.jpg b/frontend/public/images/home-background.jpg new file mode 100644 index 0000000..4f3ce85 Binary files /dev/null and b/frontend/public/images/home-background.jpg differ diff --git a/frontend/public/images/home-card.jpg b/frontend/public/images/home-card.jpg new file mode 100644 index 0000000..9d4ed09 Binary files /dev/null and b/frontend/public/images/home-card.jpg differ diff --git a/frontend/public/images/individual_taxpayer_organizer_2024.pdf b/frontend/public/images/individual_taxpayer_organizer_2024.pdf new file mode 100644 index 0000000..191dc06 Binary files /dev/null and b/frontend/public/images/individual_taxpayer_organizer_2024.pdf differ diff --git a/frontend/public/images/individual_taxpayer_organizer_sole_proprietorship_rental_2025-doc-1.pdf b/frontend/public/images/individual_taxpayer_organizer_sole_proprietorship_rental_2025-doc-1.pdf new file mode 100644 index 0000000..18c5438 Binary files /dev/null and b/frontend/public/images/individual_taxpayer_organizer_sole_proprietorship_rental_2025-doc-1.pdf differ diff --git a/frontend/public/images/instagram.webp b/frontend/public/images/instagram.webp new file mode 100644 index 0000000..e45aeae Binary files /dev/null and b/frontend/public/images/instagram.webp differ diff --git a/frontend/public/images/linkedin.webp b/frontend/public/images/linkedin.webp new file mode 100644 index 0000000..0ab0de5 Binary files /dev/null and b/frontend/public/images/linkedin.webp differ diff --git a/frontend/public/images/llc_tax_organizer_2025-personal-doc-2.pdf b/frontend/public/images/llc_tax_organizer_2025-personal-doc-2.pdf new file mode 100644 index 0000000..ad2b191 Binary files /dev/null and b/frontend/public/images/llc_tax_organizer_2025-personal-doc-2.pdf differ diff --git a/frontend/public/images/mail.webp b/frontend/public/images/mail.webp new file mode 100644 index 0000000..5182b5e Binary files /dev/null and b/frontend/public/images/mail.webp differ diff --git a/frontend/public/images/partnership_tax_organizer_2025-persoal-doc-3.pdf b/frontend/public/images/partnership_tax_organizer_2025-persoal-doc-3.pdf new file mode 100644 index 0000000..8b39346 Binary files /dev/null and b/frontend/public/images/partnership_tax_organizer_2025-persoal-doc-3.pdf differ diff --git a/frontend/public/images/s_corporation_organizer_2025-business-doc-1.pdf b/frontend/public/images/s_corporation_organizer_2025-business-doc-1.pdf new file mode 100644 index 0000000..613dd0a Binary files /dev/null and b/frontend/public/images/s_corporation_organizer_2025-business-doc-1.pdf differ diff --git a/frontend/public/images/services-1.jpg b/frontend/public/images/services-1.jpg new file mode 100644 index 0000000..766822d Binary files /dev/null and b/frontend/public/images/services-1.jpg differ diff --git a/frontend/public/images/services-2.jpg b/frontend/public/images/services-2.jpg new file mode 100644 index 0000000..0c4fff3 Binary files /dev/null and b/frontend/public/images/services-2.jpg differ diff --git a/frontend/public/images/services-3.jpg b/frontend/public/images/services-3.jpg new file mode 100644 index 0000000..262ef17 Binary files /dev/null and b/frontend/public/images/services-3.jpg differ diff --git a/frontend/public/images/services-block-3.webp b/frontend/public/images/services-block-3.webp new file mode 100644 index 0000000..5233355 Binary files /dev/null and b/frontend/public/images/services-block-3.webp differ diff --git a/frontend/public/images/small.jpg b/frontend/public/images/small.jpg new file mode 100644 index 0000000..f5c6ade Binary files /dev/null and b/frontend/public/images/small.jpg differ diff --git a/frontend/public/images/small.png b/frontend/public/images/small.png new file mode 100644 index 0000000..aa44135 Binary files /dev/null and b/frontend/public/images/small.png differ diff --git a/frontend/public/images/small.webp b/frontend/public/images/small.webp new file mode 100644 index 0000000..9b6bce6 Binary files /dev/null and b/frontend/public/images/small.webp differ diff --git a/frontend/public/images/trash.png b/frontend/public/images/trash.png new file mode 100644 index 0000000..8bb661e Binary files /dev/null and b/frontend/public/images/trash.png differ diff --git a/frontend/public/images/young-business-people-using-computer-in-office.jpg b/frontend/public/images/young-business-people-using-computer-in-office.jpg new file mode 100644 index 0000000..fcfcb7b Binary files /dev/null and b/frontend/public/images/young-business-people-using-computer-in-office.jpg differ diff --git a/frontend/public/images/young-business-people-using-computer-in-office.webp b/frontend/public/images/young-business-people-using-computer-in-office.webp new file mode 100644 index 0000000..6518c98 Binary files /dev/null and b/frontend/public/images/young-business-people-using-computer-in-office.webp differ diff --git a/frontend/src/App.css b/frontend/src/App.css new file mode 100644 index 0000000..f90339d --- /dev/null +++ b/frontend/src/App.css @@ -0,0 +1,184 @@ +.counter { + font-size: 16px; + padding: 5px 10px; + border-radius: 5px; + color: var(--accent); + background: var(--accent-bg); + border: 2px solid transparent; + transition: border-color 0.3s; + margin-bottom: 24px; + + &:hover { + border-color: var(--accent-border); + } + &:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; + } +} + +.hero { + position: relative; + + .base, + .framework, + .vite { + inset-inline: 0; + margin: 0 auto; + } + + .base { + width: 170px; + position: relative; + z-index: 0; + } + + .framework, + .vite { + position: absolute; + } + + .framework { + z-index: 1; + top: 34px; + height: 28px; + transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg) + scale(1.4); + } + + .vite { + z-index: 0; + top: 107px; + height: 26px; + width: auto; + transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg) + scale(0.8); + } +} + +#center { + display: flex; + flex-direction: column; + gap: 25px; + place-content: center; + place-items: center; + flex-grow: 1; + + @media (max-width: 1024px) { + padding: 32px 20px 24px; + gap: 18px; + } +} + +#next-steps { + display: flex; + border-top: 1px solid var(--border); + text-align: left; + + & > div { + flex: 1 1 0; + padding: 32px; + @media (max-width: 1024px) { + padding: 24px 20px; + } + } + + .icon { + margin-bottom: 16px; + width: 22px; + height: 22px; + } + + @media (max-width: 1024px) { + flex-direction: column; + text-align: center; + } +} + +#docs { + border-right: 1px solid var(--border); + + @media (max-width: 1024px) { + border-right: none; + border-bottom: 1px solid var(--border); + } +} + +#next-steps ul { + list-style: none; + padding: 0; + display: flex; + gap: 8px; + margin: 32px 0 0; + + .logo { + height: 18px; + } + + a { + color: var(--text-h); + font-size: 16px; + border-radius: 6px; + background: var(--social-bg); + display: flex; + padding: 6px 12px; + align-items: center; + gap: 8px; + text-decoration: none; + transition: box-shadow 0.3s; + + &:hover { + box-shadow: var(--shadow); + } + .button-icon { + height: 18px; + width: 18px; + } + } + + @media (max-width: 1024px) { + margin-top: 20px; + flex-wrap: wrap; + justify-content: center; + + li { + flex: 1 1 calc(50% - 8px); + } + + a { + width: 100%; + justify-content: center; + box-sizing: border-box; + } + } +} + +#spacer { + height: 88px; + border-top: 1px solid var(--border); + @media (max-width: 1024px) { + height: 48px; + } +} + +.ticks { + position: relative; + width: 100%; + + &::before, + &::after { + content: ''; + position: absolute; + top: -4.5px; + border: 5px solid transparent; + } + + &::before { + left: 0; + border-left-color: var(--border); + } + &::after { + right: 0; + border-right-color: var(--border); + } +} diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx new file mode 100644 index 0000000..be00768 --- /dev/null +++ b/frontend/src/App.jsx @@ -0,0 +1,147 @@ +import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom'; +import { AuthProvider, useAuth } from './context/AuthContext'; +import { ThemeProvider } from './context/ThemeContext'; +import { ToastProvider } from './context/ToastContext'; + +// Layouts +import PublicLayout from './layouts/PublicLayout'; +import DashboardLayout from './layouts/DashboardLayout'; +import MarketingLayout from './layouts/MarketingLayout'; + +// Pages +import Login from './pages/Login'; +import Signup from './pages/Signup'; +import ForgotPassword from './pages/ForgotPassword'; +import ResetPassword from './pages/ResetPassword'; +import VerifyEmail from './pages/VerifyEmail'; +import ResendVerification from './pages/ResendVerification'; +import UserDashboard from './pages/UserDashboard'; +import AdminDashboard from './pages/AdminDashboard'; +import AdminUserDetail from './pages/AdminUserDetail'; +import Profile from './pages/Profile'; +import UploadPersonal from './pages/UploadPersonal'; +import UploadBusiness from './pages/UploadBusiness'; +import Home from './pages/Home'; +import AboutUs from './pages/AboutUs'; +import Services from './pages/Services'; +import Contact from './pages/Contact'; + +import Chatbot from './components/Chatbot'; +import AdminChatbot from './components/AdminChatbot'; + +const ProtectedRoute = ({ children, adminOnly = false }) => { + const { user, loading } = useAuth(); + + if (loading) { + return
Loading...
; + } + + if (!user) { + return ; + } + + if (adminOnly && user.role !== 'admin' && user.role !== 'super_admin') { + return ; + } + + return children; +}; + +function AppRoutes() { + return ( + <> + + + + {/* Marketing / Static Pages */} + }> + } /> + } /> + } /> + } /> + } /> + + + {/* Auth Routes */} + }> + } /> + } /> + } /> + } /> + } /> + } /> + + + {/* Protected Routes */} + }> + + + + } + /> + + + + } + /> + + + + } + /> + + + + } + /> + + {/* Admin Routes */} + + + + } + /> + + + + } + /> + + + + ); +} + +function App() { + return ( + + + + + + + + + + ); +} + +export default App; diff --git a/frontend/src/assets/hero.png b/frontend/src/assets/hero.png new file mode 100644 index 0000000..02251f4 Binary files /dev/null and b/frontend/src/assets/hero.png differ diff --git a/frontend/src/assets/react.svg b/frontend/src/assets/react.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/frontend/src/assets/react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/assets/vite.svg b/frontend/src/assets/vite.svg new file mode 100644 index 0000000..5101b67 --- /dev/null +++ b/frontend/src/assets/vite.svg @@ -0,0 +1 @@ +Vite diff --git a/frontend/src/components/AdminChatbot.jsx b/frontend/src/components/AdminChatbot.jsx new file mode 100644 index 0000000..4844610 --- /dev/null +++ b/frontend/src/components/AdminChatbot.jsx @@ -0,0 +1,226 @@ +import { useState, useRef, useEffect } from 'react'; +import { useAuth } from '../context/AuthContext'; +import { useLocation } from 'react-router-dom'; + +const FAQ_DATA = { + "Document Review": [ + { q: "How do I review a document?", a: "From the Admin Dashboard, click on any user. You'll see their uploaded documents. Click Approve or Reject and leave a note if needed." }, + { q: "What happens when I reject a document?", a: "The document's status changes to Rejected and the user is notified. They will see your review note and can upload a corrected version to replace it." }, + { q: "How do I upload admin documents for a user?", a: "Go to the user's detail page and scroll down to Admin Documents. You can upload tax returns, reports, and other finalized forms there. These will be visible to the user." } + ], + "User Management": [ + { q: "How do I see user details?", a: "Simply click on any user in the Admin Dashboard table. This will take you to their detailed view where you can see their info and all their documents." }, + { q: "Can I add another admin?", a: "Currently, Super Admins can only be created via the backend script `create_super_admin.py` for security reasons." } + ], + "Notifications": [ + { q: "How are users notified?", a: "Users receive automated emails when they sign up, when their documents are ready for review, and when you approve or reject their documents." } + ] +}; + +const CATEGORY_ICONS = { + "Document Review": "📑", + "User Management": "👥", + "Notifications": "🔔" +}; + +const formatMessage = (text) => { + if (!text) return ''; + let html = text; + html = html.replace(/\*\*(.*?)\*\*/g, '$1'); + html = html.replace(/\*(.*?)\*/g, '$1'); + html = html.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '$1'); + html = html.replace(/\n/g, '
'); + return html; +}; + +export default function AdminChatbot() { + const { user, authFetch } = useAuth(); + const location = useLocation(); + const [isOpen, setIsOpen] = useState(false); + const [messages, setMessages] = useState([]); + const [view, setView] = useState('menu'); + const [activeCategory, setActiveCategory] = useState(null); + const [inputText, setInputText] = useState(""); + const [isTyping, setIsTyping] = useState(false); + const chatEndRef = useRef(null); + + // Close chatbot when navigating + useEffect(() => { + setIsOpen(false); + }, [location.pathname]); + + useEffect(() => { + if (chatEndRef.current) { + chatEndRef.current.scrollIntoView({ behavior: 'smooth' }); + } + }, [messages, view]); + + const toggleChat = () => setIsOpen(!isOpen); + + const handleAdminStatusCheck = async () => { + setMessages([...messages, { type: 'user', text: 'Give me a system overview.' }]); + setView('chat'); + + try { + const res = await authFetch('/api/chatbot/admin-status'); + if (res.ok) { + const data = await res.json(); + setMessages(prev => [...prev, { type: 'bot', text: data.message }]); + } else { + setMessages(prev => [...prev, { type: 'bot', text: 'Sorry, I could not fetch the system status right now.' }]); + } + } catch (err) { + setMessages(prev => [...prev, { type: 'bot', text: 'Network error occurred.' }]); + } + }; + + const selectCategory = (cat) => { + setActiveCategory(cat); + setView('category'); + }; + + const askFaq = (faq) => { + setMessages(prev => [...prev, { type: 'user', text: faq.q }, { type: 'bot', text: faq.a }]); + setView('chat'); + }; + + const resetToMenu = () => { + setView('menu'); + }; + + const handleSendMessage = async (e) => { + e.preventDefault(); + if (!inputText.trim()) return; + + const userMessage = { type: 'user', role: 'user', text: inputText.trim() }; + const currentMessages = [...messages, userMessage]; + setMessages(currentMessages); + setInputText(""); + setView('chat'); + setIsTyping(true); + + try { + // Convert messages to format expected by backend + const backendMessages = currentMessages.map(m => ({ + role: m.role || (m.type === 'bot' ? 'assistant' : 'user'), + content: m.text, + reasoning_details: m.reasoning_details || null + })); + + const res = await authFetch('/api/chatbot/ask', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ messages: backendMessages }) + }); + + if (res.ok) { + const data = await res.json(); + const contentText = data.content || "Sorry, I couldn't understand that."; + const reasoning = data.reasoning_details; + setMessages(prev => [...prev, { type: 'bot', role: 'assistant', text: contentText, reasoning_details: reasoning }]); + } else { + setMessages(prev => [...prev, { type: 'bot', role: 'assistant', text: 'Sorry, I am having trouble connecting to the server.' }]); + } + } catch (err) { + setMessages(prev => [...prev, { type: 'bot', role: 'assistant', text: 'Network error occurred. Please try again.' }]); + } finally { + setIsTyping(false); + } + }; + + if (!user || (user.role !== 'admin' && user.role !== 'super_admin') || !location.pathname.startsWith('/admin')) { + return null; + } + + return ( + <> + + + {isOpen && ( +
+
+
🤖
+
+

Admin Assistant

+ System Insights & Help +
+ +
+ +
+ {view === 'menu' && ( + <> +
+ auto_awesome +

How can we help you today?

+
+ + {Object.keys(FAQ_DATA).map(cat => ( + + ))} + + )} + + {view === 'category' && ( + <> + +

{activeCategory} Questions

+ {FAQ_DATA[activeCategory].map((faq, i) => ( + + ))} + + )} + + {view === 'chat' && ( + <> + + {messages.map((msg, i) => ( +
+ ))} + {isTyping && ( +
+ Admin Assistant is typing... +
+ )} +
+ + )} +
+ +
+ {view === 'chat' ? ( +
+ setInputText(e.target.value)} + placeholder="Ask a question..." + style={{ flex: 1, padding: '8px 12px', borderRadius: 'var(--radius-pill)', border: '1px solid var(--border)', background: 'var(--card)', color: 'var(--navy)' }} + /> + +
+ ) : ( +

Admin tools & shortcuts

+ )} +
+
+ )} + + ); +} diff --git a/frontend/src/components/Chatbot.jsx b/frontend/src/components/Chatbot.jsx new file mode 100644 index 0000000..5841c3e --- /dev/null +++ b/frontend/src/components/Chatbot.jsx @@ -0,0 +1,242 @@ +import { useState, useRef, useEffect } from 'react'; +import { useAuth } from '../context/AuthContext'; +import { useLocation } from 'react-router-dom'; + +const FAQ_DATA = { + // ... (keep the same FAQ_DATA below this) + "Account": [ + { q: "How do I reset my password?", a: 'Go to the login page and click "Forgot Password". Enter your email and we\'ll send a reset link to your inbox.' }, + { q: "How do I verify my email?", a: 'Check your inbox for a verification email from BookKeepPro. Click the link inside to verify.' }, + { q: "How do I update my profile?", a: 'Go to your Profile page to update your name, phone number, or change your password.' }, + ], + "Documents": [ + { q: "What file types are accepted?", a: "We accept PDF, JPG, PNG, WEBP, DOC, and DOCX files. The maximum file size is 10 MB." }, + { q: 'What does "Pending" status mean?', a: 'Your document has been uploaded successfully and is waiting for an admin to review it.' }, + { q: 'What does "Rejected" mean?', a: "The admin found an issue with your document. Check the review note for details." }, + ], + "Tax Filing": [ + { q: "What tax years are supported?", a: "We currently support tax years 2023, 2024, 2025, and 2026." }, + { q: "What personal documents do I need?", a: 'An Individual Taxpayer Organizer for your tax year.' }, + ], + "Security": [ + { q: "Is my data secure?", a: "Absolutely. All files are stored securely on our servers with encrypted access tokens." }, + ] +}; + +const CATEGORY_ICONS = { + "Account": "👤", + "Documents": "📄", + "Tax Filing": "📋", + "Security": "🔒" +}; + +const formatMessage = (text) => { + if (!text) return ''; + let html = text; + html = html.replace(/\*\*(.*?)\*\*/g, '$1'); + html = html.replace(/\*(.*?)\*/g, '$1'); + html = html.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '$1'); + html = html.replace(/\n/g, '
'); + return html; +}; + +export default function Chatbot() { + const { user, authFetch } = useAuth(); + const location = useLocation(); + const [isOpen, setIsOpen] = useState(false); + const [messages, setMessages] = useState([]); + const [view, setView] = useState('menu'); // menu, category, chat + const [activeCategory, setActiveCategory] = useState(null); + const [inputText, setInputText] = useState(""); + const [isTyping, setIsTyping] = useState(false); + const chatEndRef = useRef(null); + + // Close chatbot when navigating + useEffect(() => { + setIsOpen(false); + }, [location.pathname]); + + useEffect(() => { + if (chatEndRef.current) { + chatEndRef.current.scrollIntoView({ behavior: 'smooth' }); + } + }, [messages, view]); + + const toggleChat = () => setIsOpen(!isOpen); + + const handleDocStatusCheck = async () => { + if (!user) { + setMessages([...messages, { type: 'bot', text: 'You need to log in to check your document status.' }]); + setView('chat'); + return; + } + + setMessages([...messages, { type: 'user', text: 'Check my document status' }]); + setView('chat'); + + try { + const res = await authFetch('/api/chatbot/doc-status'); + if (res.ok) { + const data = await res.json(); + setMessages(prev => [...prev, { type: 'bot', text: data.message }]); + } else { + setMessages(prev => [...prev, { type: 'bot', text: 'Sorry, I could not fetch your document status right now.' }]); + } + } catch (err) { + setMessages(prev => [...prev, { type: 'bot', text: 'Network error occurred.' }]); + } + }; + + const selectCategory = (cat) => { + setActiveCategory(cat); + setView('category'); + }; + + const askFaq = (faq) => { + setMessages(prev => [...prev, { type: 'user', text: faq.q }, { type: 'bot', text: faq.a }]); + setView('chat'); + }; + + const resetToMenu = () => { + setView('menu'); + }; + + const handleSendMessage = async (e) => { + e.preventDefault(); + if (!inputText.trim()) return; + + const userMessage = { type: 'user', role: 'user', text: inputText.trim() }; + const currentMessages = [...messages, userMessage]; + setMessages(currentMessages); + setInputText(""); + setView('chat'); + setIsTyping(true); + + try { + // Convert messages to format expected by backend + const backendMessages = currentMessages.map(m => ({ + role: m.role || (m.type === 'bot' ? 'assistant' : 'user'), + content: m.text, + reasoning_details: m.reasoning_details || null + })); + + const res = await authFetch('/api/chatbot/ask', { + method: 'POST', + headers: { 'Content-Type': 'application/json' }, + body: JSON.stringify({ messages: backendMessages }) + }); + + if (res.ok) { + const data = await res.json(); + // Extract content and optional reasoning details + const contentText = data.content || "Sorry, I couldn't understand that."; + const reasoning = data.reasoning_details; + setMessages(prev => [...prev, { type: 'bot', role: 'assistant', text: contentText, reasoning_details: reasoning }]); + } else { + setMessages(prev => [...prev, { type: 'bot', role: 'assistant', text: 'Sorry, I am having trouble connecting to the server.' }]); + } + } catch (err) { + setMessages(prev => [...prev, { type: 'bot', role: 'assistant', text: 'Network error occurred. Please try again.' }]); + } finally { + setIsTyping(false); + } + }; + + if (!user || user.role === 'admin' || user.role === 'super_admin' || location.pathname.startsWith('/admin')) { + return null; // Admin has a different dashboard, and logged out users shouldn't see it + } + + return ( + <> + + + {isOpen && ( +
+
+
🤖
+
+

BookKeep Assistant

+ Online and ready to help +
+ +
+ +
+ {view === 'menu' && ( + <> +
+ auto_awesome +

How can we help you today?

+
+ {user && ( + + )} + {Object.keys(FAQ_DATA).map(cat => ( + + ))} + + )} + + {view === 'category' && ( + <> + +

{activeCategory} Questions

+ {FAQ_DATA[activeCategory].map((faq, i) => ( + + ))} + + )} + + {view === 'chat' && ( + <> + + {messages.map((msg, i) => ( +
+ ))} + {isTyping && ( +
+ BookKeep Assistant is typing... +
+ )} +
+ + )} +
+ +
+ {view === 'chat' ? ( +
+ setInputText(e.target.value)} + placeholder="Ask a question..." + style={{ flex: 1, padding: '8px 12px', borderRadius: 'var(--radius-pill)', border: '1px solid var(--border)', background: 'var(--card)', color: 'var(--navy)' }} + /> + +
+ ) : ( +

Need more help? Contact Support

+ )} +
+
+ )} + + ); +} diff --git a/frontend/src/components/Footer.jsx b/frontend/src/components/Footer.jsx new file mode 100644 index 0000000..1b0ecc4 --- /dev/null +++ b/frontend/src/components/Footer.jsx @@ -0,0 +1,34 @@ +import { Link } from 'react-router-dom'; + +export default function Footer() { + return ( +
+
+
+ Bookkeepro +

Your Globally Trusted Bookkeeping Partner.

+
+ +
+

Quick Links

+ Home + About Us + Services + Contact Us +
+ +
+

Contact

+

📍 USA: McKinney, TX

+

📍 India: Pune, Maharashtra

+

📧 vedant.aiindia@gmail.com

+

📞 +918275367267

+
+
+ +
+

© 2026 Bookkeeping Business Solutions. All rights reserved.

+
+
+ ); +} diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx new file mode 100644 index 0000000..5b092e8 --- /dev/null +++ b/frontend/src/components/Navbar.jsx @@ -0,0 +1,49 @@ +import { Link, useNavigate } from 'react-router-dom'; +import { useState, useEffect } from 'react'; +import { useTheme } from '../context/ThemeContext'; + +export default function Navbar({ transparent = false }) { + const [isOpen, setIsOpen] = useState(false); + const navigate = useNavigate(); + const { theme, toggleTheme } = useTheme(); + + return ( +
+
+ + Bookkeeping Logo + + + + +
setIsOpen(!isOpen)}> + +
+
+
+ ); +} diff --git a/frontend/src/context/AuthContext.jsx b/frontend/src/context/AuthContext.jsx new file mode 100644 index 0000000..2abe9b1 --- /dev/null +++ b/frontend/src/context/AuthContext.jsx @@ -0,0 +1,73 @@ +import { createContext, useContext, useState, useEffect } from 'react'; +import { useNavigate } from 'react-router-dom'; + +const AuthContext = createContext(); + +export function AuthProvider({ children }) { + const [token, setToken] = useState(localStorage.getItem('token')); + const [user, setUser] = useState(null); + const [loading, setLoading] = useState(true); + const navigate = useNavigate(); + + useEffect(() => { + if (token) { + localStorage.setItem('token', token); + fetchUser(); + } else { + localStorage.removeItem('token'); + setUser(null); + setLoading(false); + } + }, [token]); + + const fetchUser = async () => { + try { + const res = await fetch('/api/auth/me', { + headers: { + 'Authorization': `Bearer ${token}` + } + }); + if (res.ok) { + const data = await res.json(); + setUser(data); + } else { + setToken(null); + } + } catch (err) { + console.error("Auth error:", err); + setToken(null); + } finally { + setLoading(false); + } + }; + + const login = (newToken) => { + setLoading(true); + setToken(newToken); + }; + + const logout = () => { + setToken(null); + navigate('/login'); + }; + + const authFetch = async (url, options = {}) => { + if (!options.headers) options.headers = {}; + if (token) { + options.headers['Authorization'] = `Bearer ${token}`; + } + const res = await fetch(url, options); + if (res.status === 401) { + logout(); + } + return res; + }; + + return ( + + {children} + + ); +} + +export const useAuth = () => useContext(AuthContext); diff --git a/frontend/src/context/ThemeContext.jsx b/frontend/src/context/ThemeContext.jsx new file mode 100644 index 0000000..047ac01 --- /dev/null +++ b/frontend/src/context/ThemeContext.jsx @@ -0,0 +1,33 @@ +import { createContext, useContext, useState, useEffect } from 'react'; + +const ThemeContext = createContext(); + +export function ThemeProvider({ children }) { + const [theme, setTheme] = useState(() => { + return localStorage.getItem('theme') || 'light'; + }); + + useEffect(() => { + if (theme === 'dark') { + document.documentElement.classList.add('dark-theme'); + document.body.classList.add('dark-theme'); + localStorage.setItem('theme', 'dark'); + } else { + document.documentElement.classList.remove('dark-theme'); + document.body.classList.remove('dark-theme'); + localStorage.setItem('theme', 'light'); + } + }, [theme]); + + const toggleTheme = () => { + setTheme(prev => prev === 'dark' ? 'light' : 'dark'); + }; + + return ( + + {children} + + ); +} + +export const useTheme = () => useContext(ThemeContext); diff --git a/frontend/src/context/ToastContext.jsx b/frontend/src/context/ToastContext.jsx new file mode 100644 index 0000000..07a4de7 --- /dev/null +++ b/frontend/src/context/ToastContext.jsx @@ -0,0 +1,40 @@ +import { createContext, useContext, useState, useCallback } from 'react'; + +const ToastContext = createContext(); + +export function ToastProvider({ children }) { + const [toasts, setToasts] = useState([]); + + const addToast = useCallback((message, type = 'info', duration = 3000) => { + const id = Date.now(); + setToasts(prev => [...prev, { id, message, type }]); + + if (duration > 0) { + setTimeout(() => { + setToasts(prev => prev.filter(t => t.id !== id)); + }, duration); + } + }, []); + + const removeToast = useCallback((id) => { + setToasts(prev => prev.filter(t => t.id !== id)); + }, []); + + return ( + + {children} +
+ {toasts.map(toast => ( +
+
{toast.message}
+ +
+ ))} +
+
+ ); +} + +export const useToast = () => useContext(ToastContext); diff --git a/frontend/src/index.css b/frontend/src/index.css new file mode 100644 index 0000000..7ba4f1d --- /dev/null +++ b/frontend/src/index.css @@ -0,0 +1,2715 @@ +@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0'); +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); +@import "tailwindcss"; + +/* -------------------------------- */ +/* Dashboard Actions */ +/* -------------------------------- */ +.action-grid { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 16px; + margin-top: 8px; +} +.action-card { + padding: 24px 20px; + border-radius: var(--radius-md); + border: 1px solid var(--border); + background: var(--card); + cursor: pointer; + text-align: center; + transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); +} +.action-card:hover { + transform: translateY(-3px); + box-shadow: var(--shadow-md); + border-color: #c5d9ee; +} +.action-card .ac-icon { font-size: 32px; margin-bottom: 10px; } +.action-card .ac-title { font-weight: 600; color: var(--navy); font-size: 15px; } +.action-card .ac-desc { font-size: 12px; color: var(--muted); margin-top: 4px; } +.action-card.personal { border-top: 4px solid var(--blue); } +.action-card.business { border-top: 4px solid var(--orange); } +@media(max-width:480px) { .action-grid { grid-template-columns: 1fr; } } + +/* -------------------------------- */ +/* Admin Dashboard */ +/* -------------------------------- */ +.users-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 20px; } +.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; } +.stat-card { padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); } +.stat-card .stat-title { font-size: 13px; color: var(--muted); margin-bottom: 8px; } +.stat-card .stat-val { font-size: 24px; font-weight: 700; color: var(--navy); } +.user-card { display: flex; flex-direction: column; } +.user-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 600; } + +/* -------------------------------- */ +/* Upload Components */ +/* -------------------------------- */ +.doc-slot { display:flex; align-items:center; gap:14px; padding:14px 18px; border:1.5px solid var(--border); border-radius:var(--radius-md); background:var(--card); margin-bottom:10px; transition:border-color var(--transition), background var(--transition); } +.doc-slot:hover { border-color:#c5d9ee; background:#fafcff; } +.doc-slot-icon { font-size:22px; flex-shrink:0; } +.doc-slot-info { flex:1; min-width:0; } +.doc-slot-name { font-weight:600; font-size:13px; color:var(--navy); } +.doc-slot-status { font-size:12px; color:var(--muted); margin-top:3px; } + +/* toast.css */ +.toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 9999; pointer-events: none; } +.toast { background: var(--card); color: var(--navy); padding: 12px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); border: 1px solid var(--border); display: flex; align-items: center; gap: 12px; pointer-events: auto; min-width: 300px; max-width: 90vw; } +.toast-success { border-left: 4px solid var(--success); } +.toast-error { border-left: 4px solid var(--error); } +.toast-info { border-left: 4px solid var(--blue); } +.toast-message { flex: 1; font-size: 14px; font-weight: 500; } +.toast-close { background: none; border: none; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; } + +/* --- animations.css --- */ +/* ============================================================ + animations.css — Micro-interactions & transitions + ============================================================ */ + +/* ── Page transition ─────────────────────────────────────── */ +.page-enter { + animation: fadeIn 0.3s ease both; +} + +/* ── Card hover lift ─────────────────────────────────────── */ +.lift { + transition: transform 0.2s ease, box-shadow 0.2s ease; +} +.lift:hover { + transform: translateY(-3px); + box-shadow: var(--shadow-md); +} + +/* ── Button press feedback ───────────────────────────────── */ +.btn:active { transform: translateY(1px) scale(0.97); } + +/* ── Pulse (for pending badge) ───────────────────────────── */ +@keyframes pulse-orange { + 0%, 100% { box-shadow: 0 0 0 0 rgba(255,127,17,0.35); } + 50% { box-shadow: 0 0 0 5px rgba(255,127,17,0); } +} +.pulse { animation: pulse-orange 2s infinite; } + +/* ── Skeleton shimmer ────────────────────────────────────── */ +@keyframes shimmer { + from { background-position: -600px 0; } + to { background-position: 600px 0; } +} +.skeleton { + background: linear-gradient(90deg, #e8edf2 25%, #f4f6f9 50%, #e8edf2 75%); + background-size: 600px 100%; + animation: shimmer 1.4s infinite linear; + border-radius: var(--radius-sm); + color: transparent !important; +} + +/* ── Slide in from right (toast) ─────────────────────────── */ +@keyframes toast-in { + from { opacity: 0; transform: translateX(20px); } + to { opacity: 1; transform: translateX(0); } +} + +/* ── Fade up (cards on load) ─────────────────────────────── */ +@keyframes fadeUp { + from { opacity: 0; transform: translateY(10px); } + to { opacity: 1; transform: translateY(0); } +} +.fade-up { animation: fadeUp 0.3s ease both; } + +/* ── Staggered children ──────────────────────────────────── */ +.stagger > *:nth-child(1) { animation-delay: 0.00s; } +.stagger > *:nth-child(2) { animation-delay: 0.05s; } +.stagger > *:nth-child(3) { animation-delay: 0.10s; } +.stagger > *:nth-child(4) { animation-delay: 0.15s; } +.stagger > *:nth-child(5) { animation-delay: 0.20s; } +.stagger > *:nth-child(6) { animation-delay: 0.25s; } + +/* ── Checkbox animate ────────────────────────────────────── */ +input[type=checkbox] { + accent-color: var(--blue); + width: 16px; + height: 16px; + cursor: pointer; +} + +/* ── Focus ring ──────────────────────────────────────────── */ +:focus-visible { + outline: 2px solid var(--blue); + outline-offset: 2px; +} + +/* ── Smooth link underline ───────────────────────────────── */ +.fancy-link { + position: relative; + text-decoration: none; + color: var(--blue); +} +.fancy-link::after { + content: ''; + position: absolute; + bottom: -1px; left: 0; + width: 0; height: 1.5px; + background: var(--blue); + transition: width 0.2s ease; +} +.fancy-link:hover::after { width: 100%; } + +/* --- base.css --- */ +/* ============================================================ + base.css — BookKeepPro Design System + Shared by every page. Load first. + ============================================================ */ + +/* ── Brand Tokens ─────────────────────────────────────────── */ +:root { + --blue: #4f46e5; + --blue-dark: #4338ca; + --blue-light: rgba(79, 70, 229, 0.1); + --orange: #FF7F11; + --orange-dark: #e56e0d; + --orange-light: #fff3e0; + --header-bg: rgba(255, 255, 255, 0.7); + --footer-bot: #0f172a; + --navy: #0f172a; + --accent: #6366f1; + --bg: #f8fafc; + --card: rgba(255, 255, 255, 0.75); + --muted: #64748b; + --border: rgba(226, 232, 240, 0.8); + --success: #10b981; + --success-bg: rgba(16, 185, 129, 0.1); + --error: #ef4444; + --error-bg: rgba(239, 68, 68, 0.1); + --warn: #f59e0b; + --warn-bg: rgba(245, 158, 11, 0.1); + + --radius-xs: 8px; + --radius-sm: 12px; + --radius-md: 16px; + --radius-lg: 24px; + --radius-pill: 999px; + + --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05); + --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); + --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); + --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); + --shadow-glow: 0 0 15px rgba(79, 70, 229, 0.4); + + --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); + --glass-blur: blur(12px); +} + +/* ── Reset ───────────────────────────────────────────────── */ +*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } +html { font-size: 16px; scroll-behavior: smooth; } +body { + font-family: "Inter", system-ui, sans-serif; + background: radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.08), transparent 25%), radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.08), transparent 25%), var(--bg); + background-attachment: fixed; + color: #1e293b; + min-height: 100vh; + -webkit-font-smoothing: antialiased; +} +img { max-width: 100%; display: block; } +a { color: var(--blue); text-decoration: none; } +a:hover { color: var(--blue-dark); } +.material-symbols-outlined { font-size: inherit; vertical-align: middle; line-height: 1; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; } + +/* ── Typography ──────────────────────────────────────────── */ +h1 { font-size: clamp(22px,3vw,30px); font-weight: 700; color: var(--navy); line-height: 1.25; } +h2 { font-size: clamp(18px,2.5vw,24px); font-weight: 600; color: var(--navy); line-height: 1.3; } +h3 { font-size: clamp(15px,2vw,18px); font-weight: 600; color: var(--navy); } +p { line-height: 1.7; color: #444; } +small, .text-sm { font-size: 13px; color: var(--muted); } +.text-muted { color: var(--muted); } + +/* ── Card ────────────────────────────────────────────────── */ +.card { + background: var(--card); + border-radius: var(--radius-md); + box-shadow: var(--shadow-sm); + border: 1px solid var(--border); + backdrop-filter: var(--glass-blur); + -webkit-backdrop-filter: var(--glass-blur); + padding: clamp(20px, 4vw, 32px); + transition: box-shadow var(--transition), transform var(--transition); +} +.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } +.card-flat { background: var(--card); border-radius: var(--radius-md); border: 1px solid var(--border); padding: clamp(16px, 3vw, 24px); backdrop-filter: var(--glass-blur); } + +/* ── Buttons ─────────────────────────────────────────────── */ +.btn { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 6px; + padding: 11px 22px; + font-family: inherit; + font-size: 14px; + font-weight: 600; + border: none; + border-radius: var(--radius-pill); + cursor: pointer; + transition: background var(--transition), transform var(--transition), box-shadow var(--transition); + white-space: nowrap; +} +.btn:active { transform: translateY(1px) scale(0.97); } +.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; } + +.btn-primary { background: var(--orange); color: #fff; } +.btn-primary:hover:not(:disabled) { background: var(--orange-dark); box-shadow: 0 4px 12px rgba(255,127,17,0.3); } + +.btn-secondary { background: var(--blue); color: #fff; } +.btn-secondary:hover:not(:disabled) { background: var(--blue-dark); box-shadow: 0 4px 12px rgba(0,119,200,0.25); } + +.btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 18px; } +.btn-ghost:hover:not(:disabled) { background: var(--bg); color: var(--navy); border-color: #c0cfe0; } + +.btn-danger { background: #ff4d4d; color: #fff; } +.btn-danger:hover:not(:disabled) { background: #e03c3c; box-shadow: 0 4px 12px rgba(255,77,77,0.3); } + +.btn-sm { padding: 7px 16px; font-size: 13px; } +.btn-xs { padding: 5px 12px; font-size: 12px; } +.btn-icon { padding: 9px; border-radius: var(--radius-sm); } + +/* ── Form Inputs ─────────────────────────────────────────── */ +.input, .select-input { + width: 100%; + padding: 12px 16px; + border: 1.5px solid var(--border); + border-radius: var(--radius-sm); + font-family: inherit; + font-size: 14px; + color: #222; + background: #fff; + transition: border-color var(--transition), box-shadow var(--transition); +} +.input:focus, .select-input:focus { + outline: none; + border-color: var(--blue); + box-shadow: 0 0 0 3px rgba(0,119,200,0.10); +} +.input::placeholder { color: #a8b5c2; } +.input[readonly] { background: #f8fafc; color: var(--muted); cursor: default; } +label.form-label { display: block; font-size: 13px; font-weight: 500; color: #444; margin-bottom: 6px; } +.form-group { margin-bottom: 18px; } +.password-wrap { position: relative; } +.password-wrap .input { padding-right: 56px; } +.password-toggle { + position: absolute; right: 14px; top: 50%; transform: translateY(-50%); + background: none; border: none; color: var(--blue); font-weight: 600; font-size: 13px; cursor: pointer; +} + +/* ── Badges ──────────────────────────────────────────────── */ +.badge { + display: inline-flex; align-items: center; gap: 4px; + padding: 3px 10px; border-radius: var(--radius-pill); + font-size: 11px; font-weight: 700; letter-spacing: 0.3px; + white-space: nowrap; +} +.badge-blue { background: var(--blue-light); color: var(--blue); } +.badge-orange { background: var(--orange-light); color: #e65100; border: 1px solid #ffc89a; } +.badge-red { background: #fce4ec; color: var(--error); } +.badge-green { background: var(--success-bg); color: var(--success); } +.badge-yellow { background: var(--warn-bg); color: var(--warn); border: 1px solid #ffe082; } +.badge-muted { background: #f0f4f8; color: var(--muted); } + +/* ── Status Pills (doc review) ───────────────────────────── */ +.pill-approved { background:var(--success-bg); color:var(--success); border:1px solid #a5d6a7; padding:2px 10px; border-radius:20px; font-size:11px; font-weight:700; } +.pill-rejected { background:var(--error-bg); color:var(--error); border:1px solid #ef9a9a; padding:2px 10px; border-radius:20px; font-size:11px; font-weight:700; } +.pill-pending { background:var(--warn-bg); color:var(--warn); border:1px solid #ffe082; padding:2px 10px; border-radius:20px; font-size:11px; font-weight:700; } + +/* ── Divider ─────────────────────────────────────────────── */ +.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; } + +/* ── App Layout Scaffold ─────────────────────────────────── */ +.app-body { + display: flex; + flex-direction: column; + min-height: 100vh; +} +.page-main { + flex: 1; + width: min(100%, 1100px); + margin: clamp(24px, 4vw, 40px) auto; + padding: 0 clamp(16px, 3vw, 24px); +} +.page-main-wide { + flex: 1; + width: min(100%, 1300px); + margin: clamp(24px, 4vw, 40px) auto; + padding: 0 clamp(16px, 3vw, 24px); +} + +/* ── Animations ──────────────────────────────────────────── */ +@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } } +@keyframes slideUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } } +.fade-in { animation: fadeIn 0.3s ease both; } +.slide-up { animation: slideUp 0.35s ease both; } + +/* ── Skeleton loading ────────────────────────────────────── */ +@keyframes shimmer { + from { background-position: -600px 0; } + to { background-position: 600px 0; } +} +.skeleton { + background: linear-gradient(90deg, #e8edf2 25%, #f4f6f9 50%, #e8edf2 75%); + background-size: 600px 100%; + animation: shimmer 1.4s infinite linear; + border-radius: var(--radius-sm); +} + +/* ── Utility ─────────────────────────────────────────────── */ +.flex { display: flex; } +.flex-center { display: flex; align-items: center; justify-content: center; } +.flex-between{ display: flex; align-items: center; justify-content: space-between; } +.flex-gap-sm { gap: 8px; } +.flex-gap-md { gap: 16px; } +.gap-8 { gap: 8px; } +.gap-12 { gap: 12px; } +.gap-16 { gap: 16px; } +.gap-24 { gap: 24px; } +.mt-8 { margin-top: 8px; } +.mt-16 { margin-top: 16px; } +.mt-24 { margin-top: 24px; } +.mb-8 { margin-bottom: 8px; } +.mb-16 { margin-bottom: 16px; } +.mb-24 { margin-bottom: 24px; } +.w-full { width: 100%; } +.text-center { text-align: center; } +.font-600 { font-weight: 600; } + + +/* --- UI/UX Polish --- */ + +/* Button Micro-animations */ +.btn { + transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease; +} +.btn:active { + transform: scale(0.96); +} + +/* Focus States for Accessibility */ +.input:focus, +input[type="text"]:focus, +input[type="email"]:focus, +input[type="password"]:focus, +textarea:focus { + outline: none; + border-color: var(--blue) !important; + box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.25) !important; + transition: border-color 0.2s ease, box-shadow 0.2s ease; +} + +/* Document & Admin Card Lift Effects */ +.doc-card, .doc-row, .admin-docs-td { + transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; +} +.doc-row:hover { + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0,0,0,0.05); + background: #fafafa; +} + +/* --- Dark Mode Overrides --- */ +.dark-theme { + --bg: #0B1521; + --card: #152538; + --navy: #f1f7fb; + --muted: #a8b5c2; + --border: #2A3F54; + + --header-bg: #0F2B44; + --footer-bot: #06182B; + + --blue-light: #0d263b; + --orange-light: #2d1a0a; + + --success-bg: #0b2e13; + --error-bg: #420f0f; + --warn-bg: #3d2508; + + --shadow-xs: 0 1px 4px rgba(0,0,0,0.3); + --shadow-sm: 0 2px 10px rgba(0,0,0,0.4); + --shadow-md: 0 6px 24px rgba(0,0,0,0.5); + --shadow-lg: 0 16px 48px rgba(0,0,0,0.6); +} + +/* Ensure text on dark theme maps correctly if using base html/body color */ +body.dark-theme { + background-color: var(--bg); + color: var(--navy); +} + +/* --- chatbot.css --- */ +/* ============================================================ + chatbot.css — BookKeepPro Chatbot Widget + Floating chat bubble + chat window + ============================================================ */ + +/* ── Chat Bubble (FAB) ──────────────────────────────────── */ +.chatbot-fab { + position: fixed; + bottom: 24px; + right: 24px; + width: 58px; + height: 58px; + border-radius: 50%; + background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%); + color: #fff; + border: 1px solid rgba(255, 255, 255, 0.2); + cursor: pointer; + box-shadow: var(--shadow-glow); + display: flex; + align-items: center; + justify-content: center; + font-size: 28px; + z-index: 9998; + transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease; +} +.chatbot-fab:hover { + transform: scale(1.08) rotate(5deg); + box-shadow: 0 0 25px rgba(99, 102, 241, 0.6); +} +.chatbot-fab:active { + transform: scale(0.96); +} +.chatbot-fab .fab-icon { transition: transform 0.3s ease; } +.chatbot-fab.open .fab-icon { transform: rotate(90deg); } + +/* Pulse ring animation */ +.chatbot-fab::before { + content: ""; + position: absolute; + inset: -4px; + border-radius: 50%; + border: 2px solid var(--blue); + opacity: 0; + animation: chatPulse 2.5s ease-out infinite; +} +.chatbot-fab.open::before { animation: none; opacity: 0; } + +@keyframes chatPulse { + 0% { transform: scale(1); opacity: 0.5; } + 100% { transform: scale(1.4); opacity: 0; } +} + +/* Notification dot */ +.chatbot-fab .notif-dot { + position: absolute; + top: 2px; + right: 2px; + width: 14px; + height: 14px; + border-radius: 50%; + background: var(--orange); + border: 2px solid #fff; + animation: dotBounce 1.5s ease infinite; +} +.chatbot-fab.open .notif-dot { display: none; } + +@keyframes dotBounce { + 0%, 100% { transform: scale(1); } + 50% { transform: scale(1.2); } +} + +/* ── Chat Window ────────────────────────────────────────── */ +.chatbot-window { + position: fixed; + bottom: 96px; + right: 24px; + width: 380px; + max-height: 520px; + border-radius: var(--radius-lg); + background: rgba(255, 255, 255, 0.7); + backdrop-filter: blur(16px); + -webkit-backdrop-filter: blur(16px); + border: 1px solid rgba(255, 255, 255, 0.3); + box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 20px rgba(79, 70, 229, 0.1); + display: flex; + flex-direction: column; + z-index: 9999; + overflow: hidden; + opacity: 0; + transform: translateY(20px) scale(0.95); + pointer-events: none; + transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); +} +.chatbot-window.visible { + opacity: 1; + transform: translateY(0) scale(1); + pointer-events: auto; +} + +/* ── Header ─────────────────────────────────────────────── */ +.chatbot-header { + background: linear-gradient(135deg, rgba(79, 70, 229, 0.85) 0%, rgba(56, 189, 248, 0.85) 100%); + color: #fff; + padding: 16px 18px; + display: flex; + align-items: center; + gap: 12px; + flex-shrink: 0; +} +.chatbot-header .bot-avatar { + width: 38px; + height: 38px; + border-radius: 50%; + background: rgba(255, 255, 255, 0.2); + display: flex; + align-items: center; + justify-content: center; + font-size: 20px; + flex-shrink: 0; +} +.chatbot-header .bot-info h4 { + font-size: 14px; + font-weight: 600; + margin: 0; + color: #fff; +} +.chatbot-header .bot-info span { + font-size: 11px; + opacity: 0.8; +} +.chatbot-header .close-chat { + margin-left: auto; + background: rgba(255, 255, 255, 0.15); + border: none; + color: #fff; + width: 30px; + height: 30px; + border-radius: 50%; + cursor: pointer; + font-size: 16px; + display: flex; + align-items: center; + justify-content: center; + transition: background 0.2s; +} +.chatbot-header .close-chat:hover { + background: rgba(255, 255, 255, 0.3); +} + +/* ── Messages Area ──────────────────────────────────────── */ +.chatbot-messages { + flex: 1; + overflow-y: auto; + padding: 24px 20px; + display: flex; + flex-direction: column; + gap: 14px; + background: transparent; + min-height: 200px; + max-height: 380px; + scroll-behavior: smooth; +} +.chatbot-welcome-text { + display: flex; + align-items: center; + justify-content: center; + gap: 8px; + margin-bottom: 8px; + padding: 10px; + background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(56, 189, 248, 0.05)); + border-radius: var(--radius-sm); + border: 1px solid rgba(79, 70, 229, 0.1); +} +.chatbot-welcome-text p { + font-size: 13px; + font-weight: 500; + color: var(--navy); + margin: 0; +} +.chatbot-welcome-text .sparkle { + font-size: 18px; + color: var(--blue); +} +.chatbot-messages::-webkit-scrollbar { width: 5px; } +.chatbot-messages::-webkit-scrollbar-track { background: transparent; } +.chatbot-messages::-webkit-scrollbar-thumb { background: #c5d9ee; border-radius: 10px; } + +/* ── Message Bubbles ────────────────────────────────────── */ +.chat-msg { + max-width: 85%; + padding: 10px 14px; + border-radius: 14px; + font-size: 13px; + line-height: 1.5; + animation: msgSlideIn 0.3s ease; + word-wrap: break-word; +} +@keyframes msgSlideIn { + from { opacity: 0; transform: translateY(8px); } + to { opacity: 1; transform: translateY(0); } +} + +.chat-msg.bot { + background: rgba(255, 255, 255, 0.8); + backdrop-filter: blur(8px); + color: var(--navy); + border: 1px solid rgba(255, 255, 255, 0.5); + border-bottom-left-radius: 4px; + align-self: flex-start; + box-shadow: 0 2px 8px rgba(0,0,0,0.05); +} +.chat-msg.user { + background: linear-gradient(135deg, var(--blue), var(--accent)); + color: #fff; + border-bottom-right-radius: 4px; + align-self: flex-end; +} + +/* ── Typing Indicator ───────────────────────────────────── */ +.typing-indicator { + display: flex; + gap: 4px; + padding: 12px 16px; + align-self: flex-start; +} +.typing-indicator span { + width: 8px; + height: 8px; + border-radius: 50%; + background: var(--blue); + opacity: 0.4; + animation: typingDot 1.2s ease-in-out infinite; +} +.typing-indicator span:nth-child(2) { animation-delay: 0.15s; } +.typing-indicator span:nth-child(3) { animation-delay: 0.3s; } + +@keyframes typingDot { + 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } + 30% { transform: translateY(-6px); opacity: 1; } +} + +/* ── Quick Reply Buttons ────────────────────────────────── */ +.quick-replies { + display: flex; + flex-direction: column; + gap: 8px; + margin-top: 6px; +} +.quick-reply-btn { + background: #fff; + border: 1.5px solid var(--border); + color: var(--navy); + padding: 12px 16px; + border-radius: 20px; + font-size: 13.5px; + font-weight: 500; + cursor: pointer; + text-align: left; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + font-family: inherit; + display: flex; + align-items: center; + gap: 12px; + box-shadow: 0 2px 4px rgba(0,0,0,0.02); +} +.quick-reply-btn:hover { + background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(56, 189, 248, 0.05)); + border-color: var(--blue); + color: var(--blue); + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15); +} +.quick-reply-btn .qr-icon { + font-size: 16px; + flex-shrink: 0; +} + +/* ── Doc Status Cards ───────────────────────────────────── */ +.doc-status-card { + background: #fff; + border: 1px solid var(--border); + border-radius: var(--radius-xs); + padding: 10px 12px; + margin-top: 6px; + font-size: 12px; +} +.doc-status-card .doc-name { + font-weight: 600; + color: var(--navy); + margin-bottom: 4px; + font-size: 13px; +} +.doc-status-card .doc-year { + color: var(--muted); + font-size: 11px; +} +.doc-status-card .doc-badge { + display: inline-block; + padding: 2px 8px; + border-radius: var(--radius-pill); + font-size: 11px; + font-weight: 600; + text-transform: uppercase; + letter-spacing: 0.3px; +} +.doc-badge.pending { background: var(--warn-bg); color: var(--warn); } +.doc-badge.approved { background: var(--success-bg); color: var(--success); } +.doc-badge.rejected { background: var(--error-bg); color: var(--error); } + +.doc-status-card .doc-note { + margin-top: 4px; + color: var(--muted); + font-style: italic; + font-size: 11px; +} + +/* ── Summary Banner ─────────────────────────────────────── */ +.status-summary { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 8px; + margin-top: 8px; +} +.summary-item { + text-align: center; + padding: 8px 4px; + border-radius: var(--radius-xs); + background: #f1f7fb; +} +.summary-item .count { + font-size: 20px; + font-weight: 700; + display: block; +} +.summary-item .label { + font-size: 10px; + text-transform: uppercase; + color: var(--muted); + letter-spacing: 0.5px; +} +.summary-item.pending .count { color: var(--warn); } +.summary-item.approved .count { color: var(--success); } +.summary-item.rejected .count { color: var(--error); } + +/* ── FAQ List ───────────────────────────────────────────── */ +.faq-question { + background: #fff; + border: 1px solid var(--border); + border-radius: var(--radius-xs); + padding: 9px 12px; + font-size: 12.5px; + cursor: pointer; + transition: all 0.2s ease; + text-align: left; + color: var(--navy); + width: 100%; + font-family: inherit; + display: block; + margin-top: 4px; +} +.faq-question:hover { + border-color: var(--blue); + color: var(--blue); + background: var(--blue-light); +} + +/* ── Back Button ────────────────────────────────────────── */ +.back-btn { + background: none; + border: none; + color: var(--blue); + cursor: pointer; + font-size: 12px; + padding: 4px 0; + font-family: inherit; + font-weight: 500; + margin-top: 6px; + display: inline-flex; + align-items: center; + gap: 4px; +} +.back-btn:hover { text-decoration: underline; } + +/* ── Mobile Responsive ──────────────────────────────────── */ +@media (max-width: 480px) { + .chatbot-window { + bottom: 0; + right: 0; + left: 0; + width: 100%; + max-height: 75vh; + border-radius: var(--radius-md) var(--radius-md) 0 0; + } + .chatbot-fab { + bottom: 16px; + right: 16px; + width: 52px; + height: 52px; + font-size: 24px; + } +} + +/* ── Dark Mode Support ──────────────────────────────────── */ +[data-theme="dark"] .chatbot-window { background: #1a2332; } +[data-theme="dark"] .chatbot-messages { background: #0f1923; } +[data-theme="dark"] .chat-msg.bot { + background: #1e2d3d; + border-color: #2a3f54; + color: #d4dde6; +} +[data-theme="dark"] .quick-reply-btn { + background: #1e2d3d; + border-color: var(--blue); + color: var(--accent); +} +[data-theme="dark"] .quick-reply-btn:hover { + background: var(--blue); + color: #fff; +} +[data-theme="dark"] .doc-status-card { + background: #1e2d3d; + border-color: #2a3f54; +} +[data-theme="dark"] .doc-status-card .doc-name { color: #d4dde6; } +[data-theme="dark"] .faq-question { + background: #1e2d3d; + border-color: #2a3f54; + color: #d4dde6; +} +[data-theme="dark"] .faq-question:hover { + background: #253648; + border-color: var(--blue); +} +[data-theme="dark"] .summary-item { background: #1e2d3d; } + +/* --- components.css --- */ +/* ============================================================ + components.css — Reusable UI components + Load after base.css + ============================================================ */ + +/* ── App Header ──────────────────────────────────────────── */ +.app-header { + background: var(--header-bg); + padding: 0 clamp(16px, 4vw, 32px); + height: 62px; + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + position: sticky; + top: 0; + z-index: 200; + box-shadow: 0 2px 12px rgba(0,80,140,0.10); +} +.app-header .logo { height: 38px; cursor: pointer; transition: opacity var(--transition); } +.app-header .logo:hover { opacity: 0.85; } +.app-header .header-actions { display: flex; gap: 10px; align-items: center; } + +/* ── App Footer ──────────────────────────────────────────── */ +.app-footer { + background: var(--header-bg); + border-top: 1px solid rgba(0,80,140,0.10); + padding: 18px clamp(16px, 4vw, 32px); + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; + gap: 12px; + margin-top: auto; +} +.app-footer img { height: 30px; } +.app-footer small { color: var(--muted); font-size: 12px; } + +/* ── Auth Layout — Split Card ────────────────────────────── */ +.auth-shell { + min-height: 100vh; + display: flex; + align-items: stretch; + background: #fff; +} +.auth-brand { + width: 42%; + min-width: 280px; + background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%); + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 48px 40px; + color: #fff; + gap: 24px; +} +.auth-brand .brand-logo { height: 56px; } +.auth-brand h2 { color: #fff; font-size: clamp(20px,2.5vw,26px); text-align: center; margin: 0; } +.auth-brand p { color: rgba(255,255,255,0.75); font-size: 14px; text-align: center; line-height: 1.8; margin: 0; } +.auth-brand .brand-divider { width: 40px; height: 3px; background: var(--orange); border-radius: 2px; } + +.auth-form-side { + flex: 1; + display: flex; + align-items: center; + justify-content: center; + padding: clamp(32px, 5vw, 64px) clamp(24px, 6vw, 80px); + background: #fff; + overflow-y: auto; +} +.auth-box { width: 100%; max-width: 420px; } +.auth-box h1 { font-size: clamp(20px,2.5vw,26px); margin-bottom: 6px; } +.auth-box .auth-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 32px; } +.auth-links { margin-top: 20px; font-size: 13px; color: var(--muted); text-align: center; line-height: 2; } + +/* Dark Theme Overrides for Auth Pages */ +body.dark-theme .auth-shell { background: var(--bg); } +body.dark-theme .auth-form-side { background: var(--bg); } +body.dark-theme .auth-box h1 { color: var(--navy); } +body.dark-theme .auth-box .auth-subtitle { color: var(--muted); } +body.dark-theme .auth-box .form-label { color: var(--muted); } +body.dark-theme .auth-box .input { background: var(--card); color: var(--navy); border-color: var(--border); } +body.dark-theme .auth-links a { color: var(--blue); } + +@media (max-width: 768px) { + .auth-shell { flex-direction: column; } + .auth-brand { + width: 100%; + min-width: unset; + min-height: unset; + padding: 24px 20px; + flex-direction: row; + justify-content: center; + gap: 16px; + } + .auth-brand p, .auth-brand .brand-divider { display: none; } + .auth-brand .brand-logo { height: 32px; } + .auth-brand h2 { font-size: 15px; margin: 0; } + .auth-form-side { padding: 28px 20px; } +} + +/* ── Page Header Row ─────────────────────────────────────── */ +.page-heading { + display: flex; + align-items: flex-end; + justify-content: space-between; + flex-wrap: wrap; + gap: 16px; + margin-bottom: 28px; +} +.page-heading h1, .page-heading h2 { margin: 0; } +.page-heading .page-meta { font-size: 13px; color: var(--muted); margin-top: 4px; } + +/* ── Stat Cards Row ──────────────────────────────────────── */ +.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; } +.stat-card { + background: var(--card); + border: 1px solid var(--border); + border-radius: var(--radius-md); + padding: 20px 22px; + display: flex; + flex-direction: column; + gap: 6px; + transition: box-shadow var(--transition), transform var(--transition); +} +.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } +.stat-card .stat-icon { font-size: 24px; margin-bottom: 4px; } +.stat-card .stat-value { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1; } +.stat-card .stat-label { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; } +.stat-card.accent-blue { border-left: 4px solid var(--blue); } +.stat-card.accent-orange{ border-left: 4px solid var(--orange); } +.stat-card.accent-green { border-left: 4px solid var(--success); } + +/* ── Tab Bar ─────────────────────────────────────────────── */ +.tab-bar { + display: flex; + gap: 0; + border-bottom: 2px solid var(--border); + margin-bottom: 24px; + overflow-x: auto; + scrollbar-width: none; +} +.tab-bar::-webkit-scrollbar { display: none; } +.tab-btn { + padding: 12px 22px; + font-family: inherit; + font-size: 14px; + font-weight: 500; + color: var(--muted); + background: none; + border: none; + border-bottom: 3px solid transparent; + margin-bottom: -2px; + cursor: pointer; + transition: color var(--transition), border-color var(--transition); + white-space: nowrap; + flex-shrink: 0; +} +.tab-btn:hover { color: var(--navy); } +.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; } +.tab-panel { display: none; } +.tab-panel.active{ display: block; animation: fadeIn 0.25s ease; } + +/* ── User Card (Admin Dashboard) ─────────────────────────── */ +.user-card { + background: var(--card); + border: 1px solid var(--border); + border-radius: var(--radius-md); + padding: 18px 20px; + display: flex; + flex-direction: column; + gap: 14px; + cursor: pointer; + transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); + position: relative; +} +.user-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c5d9ee; } +.click-layer { position: absolute; inset: 0; z-index: 0; } +.user-top { display: flex; align-items: center; gap: 14px; min-width: 0; } +.user-avatar { + width: 46px; height: 46px; border-radius: 50%; + background: linear-gradient(135deg, var(--header-bg), var(--blue-light)); + display: flex; align-items: center; justify-content: center; + font-weight: 700; font-size: 17px; color: var(--navy); + flex-shrink: 0; border: 2px solid rgba(0,119,200,0.15); +} +.user-info { min-width: 0; flex: 1; } +.user-info .u-name { font-weight: 600; color: var(--navy); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.user-info .u-email { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; } +.user-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 10; flex-wrap: wrap; } + +/* ── Role Controls ───────────────────────────────────────── */ +.role-controls { display: flex; align-items: center; gap: 8px; position: relative; z-index: 10; } +.role-select { padding: 6px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: inherit; cursor: pointer; background: #fff; flex: 1; transition: border-color var(--transition); } +.role-select:focus { outline: none; border-color: var(--blue); } +.role-save-btn { padding: 6px 14px; background: var(--blue); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer; transition: background var(--transition); white-space: nowrap; } +.role-save-btn:hover { background: var(--blue-dark); } + +/* ── Info Card (User Detail) ─────────────────────────────── */ +.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; } +@media (max-width: 640px) { .info-grid { grid-template-columns: 1fr; } } +.info-item { display: flex; flex-direction: column; gap: 3px; } +.info-item .info-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); font-weight: 600; } +.info-item .info-value { font-size: 15px; font-weight: 500; color: var(--navy); } + +/* ── Document Row ────────────────────────────────────────── */ +.doc-row { + display: flex; + align-items: center; + gap: 14px; + padding: 14px 16px; + border-radius: var(--radius-sm); + border: 1px solid var(--border); + background: #fafcff; + transition: border-color var(--transition), background var(--transition); + margin-bottom: 10px; +} +.doc-row:hover { border-color: #c5d9ee; background: var(--blue-light); } +.doc-row-left { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; } +.doc-row-name { font-weight: 600; font-size: 13px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.doc-row-type { font-size: 12px; color: var(--muted); } +.doc-row-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; } + +/* ── Drop Zone ───────────────────────────────────────────── */ +.drop-zone { + border: 2px dashed #b8cfdf; + border-radius: var(--radius-md); + padding: 36px 24px; + text-align: center; + color: var(--muted); + transition: border-color var(--transition), background var(--transition); + cursor: pointer; +} +.drop-zone:hover, .drop-zone.drag-over { + border-color: var(--blue); + background: var(--blue-light); + color: var(--blue); +} +.drop-zone .drop-icon { font-size: 36px; margin-bottom: 10px; } +.drop-zone .drop-title { font-weight: 600; font-size: 15px; color: var(--navy); } +.drop-zone .drop-hint { font-size: 13px; margin-top: 4px; } + +/* ── Search Bar ──────────────────────────────────────────── */ +.search-bar { + display: flex; + align-items: center; + gap: 10px; + background: #fff; + border: 1.5px solid var(--border); + border-radius: var(--radius-pill); + padding: 9px 18px; + transition: border-color var(--transition), box-shadow var(--transition); + max-width: 360px; +} +.search-bar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,119,200,0.10); } +.search-bar input { border: none; outline: none; font-family: inherit; font-size: 14px; width: 100%; background: transparent; } +.search-bar .search-icon { color: var(--muted); font-size: 16px; flex-shrink: 0; } + +/* ── Timeline Stepper ────────────────────────────────────── */ +.timeline-control { + display: flex; + align-items: center; + gap: 12px; + background: var(--bg); + border-radius: var(--radius-sm); + padding: 10px 16px; + width: fit-content; +} +.timeline-control .tl-btn { + width: 32px; height: 32px; + border-radius: 50%; + border: 1.5px solid var(--border); + background: #fff; + font-size: 18px; + font-weight: 600; + cursor: pointer; + display: flex; align-items: center; justify-content: center; + transition: border-color var(--transition), background var(--transition); +} +.timeline-control .tl-btn:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); } +.timeline-control .tl-value { font-size: 20px; font-weight: 700; color: var(--navy); min-width: 32px; text-align: center; } +.timeline-control .tl-label { font-size: 12px; color: var(--muted); } + +/* ── Approval Table ──────────────────────────────────────── */ +.approval-table { width: 100%; border-collapse: collapse; } +.approval-table th, .approval-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13px; } +.approval-table th { background: #f5f8fb; font-weight: 600; color: var(--muted); text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; } +.approval-table tr:last-child td { border-bottom: none; } +.approval-table tr:hover td { background: #fafcff; } + +/* ── Toggle Switch (approve/reject) ─────────────────────── */ +.review-toggle { + display: flex; + gap: 6px; +} +.review-toggle label { + display: flex; + align-items: center; + gap: 5px; + padding: 5px 12px; + border-radius: var(--radius-pill); + border: 1.5px solid var(--border); + font-size: 12px; + font-weight: 600; + cursor: pointer; + transition: all var(--transition); +} +.review-toggle input[type=checkbox] { display: none; } +.review-toggle .approve-lbl { color: var(--success); } +.review-toggle .approve-lbl:has(input:checked), +.review-toggle input.approve:checked + label { background: var(--success-bg); border-color: var(--success); } +.review-toggle .reject-lbl { color: var(--error); } + +/* ── Engagement Banner ───────────────────────────────────── */ +.engagement-banner { + display: flex; + align-items: center; + gap: 16px; + padding: 16px 20px; + border-radius: var(--radius-md); + background: linear-gradient(90deg, #e3f2fd, #f0f9ff); + border: 1px solid #b3d9f5; + margin-bottom: 24px; +} +.engagement-banner .banner-icon { font-size: 28px; flex-shrink: 0; } +.engagement-banner .banner-text { flex: 1; } +.engagement-banner .banner-text strong { display: block; font-size: 14px; color: var(--navy); } +.engagement-banner .banner-text span { font-size: 13px; color: var(--muted); } +.engagement-banner.acknowledged { background: var(--success-bg); border-color: #a5d6a7; } + +/* ── Empty State ─────────────────────────────────────────── */ +.empty-state { + padding: 48px 24px; + text-align: center; + color: var(--muted); +} +.empty-state .empty-icon { font-size: 42px; margin-bottom: 12px; opacity: 0.6; } +.empty-state .empty-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; } +.empty-state .empty-hint { font-size: 13px; } + +/* ── Marketing Navbar ────────────────────────────────────── */ +.mkt-navbar { + position: absolute; + top: 0; left: 0; + width: 100%; + z-index: 20; +} +.mkt-nav-inner { + width: min(1200px, 96%); + margin: auto; + padding: 18px 12px; + display: flex; + align-items: center; + justify-content: space-between; +} +.mkt-nav-logo { height: clamp(38px,5vw,54px); object-fit: contain; } +.mkt-nav-menu { display: flex; gap: 32px; align-items: center; } +.mkt-nav-menu a { color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; transition: color var(--transition); } +.mkt-nav-menu a:hover { color: #FFD28C; } +.mkt-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; } +.mkt-hamburger span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; } + +@media (max-width: 900px) { + .mkt-nav-menu { + display: none; + position: absolute; + top: 72px; left: 0; + width: 100%; + background: var(--navy); + flex-direction: column; + gap: 0; + padding: 8px 0 20px; + } + .mkt-nav-menu a { padding: 12px 28px; width: 100%; } + .mkt-nav-menu.open { display: flex; } + .mkt-hamburger { display: flex; } +} + +/* ── Marketing Footer ────────────────────────────────────── */ +.mkt-footer { background: var(--header-bg); border-top: 4px solid var(--blue); margin-top: auto; } +.mkt-footer-top { + width: min(1200px, 92%); + margin: auto; + padding: 40px 0; + display: flex; + justify-content: space-between; + gap: 40px; + flex-wrap: wrap; +} +.mkt-footer-logo { width: clamp(120px,20vw,160px); } +.mkt-footer-links { display: flex; flex-direction: column; gap: 8px; } +.mkt-footer-links h4 { color: var(--blue); margin-bottom: 4px; font-size: 14px; } +.mkt-footer-links a { color: var(--navy); font-size: 14px; font-weight: 500; transition: color var(--transition); } +.mkt-footer-links a:hover { color: var(--blue); } +.mkt-footer-bottom { background: var(--footer-bot); text-align: center; padding: 12px; font-size: 13px; color: #555; } + +/* --- JS Extracted Components --- */ + +.doc-row-wrapper { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + flex-wrap: wrap; +} + +.btn-approve { + background: var(--success-bg); + color: var(--success); + border: 1px solid #a5d6a7; + border-radius: var(--radius-pill); +} + +.btn-reject { + background: var(--error-bg); + color: var(--error); + border: 1px solid #ef9a9a; + border-radius: var(--radius-pill); +} + +.reject-box { + display: none; + margin-top: 10px; +} + +.reject-textarea { + width: 100%; + padding: 10px; + border-radius: var(--radius-sm); + border: 1.5px solid var(--border); + font-family: inherit; + font-size: 13px; + resize: vertical; +} + +.admin-doc-actions { + display: flex; + gap: 8px; + flex-shrink: 0; +} + +.admin-docs-table { + width: 100%; + border-collapse: collapse; + font-size: 13px; +} + +.admin-docs-td { + padding: 10px 12px; + color: #444; +} + +.admin-docs-th { + padding: 10px 12px; + color: #555; + font-weight: 500; + text-align: left; + border-bottom: 2px solid var(--border); +} + +/* -- Pill Buttons for Document Actions ----------------------- */ +.btn-download-pill { + background: var(--blue); + color: #fff; + border: none; + border-radius: var(--radius-sm); + font-weight: 500; +} +.btn-download-pill:hover { + opacity: 0.9; +} + +.btn-upload-pill { + background: var(--orange); + color: #fff; + border: none; + border-radius: var(--radius-sm); + font-weight: 500; + cursor: pointer; +} +.btn-upload-pill:hover { + opacity: 0.9; +} + +/* --- marketing.css --- */ +*{ + + margin:0; + + padding:0; + + box-sizing:border-box; + + font-family:"Poppins",sans-serif; + +} + + + +body{ + + background:#f5f5f5; + + overflow-x:hidden; + +} + + + +img{max-width:100%;display:block} + + + +/* ================= NAVBAR ================= */ + + + +.navbar{ + width:100%; + position:absolute; + top:0; + left:0; + z-index:20; + backdrop-filter: blur(8px); + -webkit-backdrop-filter: blur(8px); + background: rgba(11, 37, 64, 0.15); + border-bottom: 1px solid rgba(255, 255, 255, 0.08); + transition: background 0.3s ease; +} + + + +.nav-container{ + + width:min(1200px,96%); + + margin:auto; + + padding:18px 12px; + + display:flex; + + align-items:center; + + justify-content:space-between; + +} + + + +#logos{ + + height:clamp(42px,5vw,64px); + + object-fit:contain; + +} + + + +/* NAV MENU */ + + + +.nav-menu{ + + display:flex; + + gap:32px; + + align-items:center; + +} + + + +.nav-menu a{ + + text-decoration:none; + + color:white; + + font-size:15px; + + font-weight:500; + +} + + + +.nav-menu a:hover{color:#FFD28C} + + + +/* login buttons */ + + + +.login-btn{ + + padding:10px 14px; + + background:var(--orange); + + color:#fff; + + border-radius:25px; + + border:none; + + font-weight:600; + + cursor:pointer; + +} + + + +.login-btn:hover{background:var(--orange-dark)} + + + +.login-btn:active{ + + transform:translateY(1px) scale(.94); + + box-shadow:0 2px 6px rgba(0,0,0,.12); + +} + + + +/* desktop vs mobile login visibility */ + + + +.desktop-login{display:inline-block;} + +.mobile-login{display:none;} + + + +.hamburger{ + + display:none; + + flex-direction:column; + + gap:4px; + + cursor:pointer; + +} + + + +.hamburger span{ + + width:26px; + + height:3px; + + background:white; + + border-radius:2px; + +} + + + +/* ================= HERO ================= */ + + + +.hero{ + + width:100%; + + min-height:580px; + + height:clamp(420px,60vh,620px); + + background: + + linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)), + + url("../images/home-background.jpg"); + + background-size:cover; + + background-position:center; + +} + + + +/* ================= BOTTOM BLOCK ================= */ + + + +.bottom-block{ + + width:min(900px,92%); + + margin:-360px auto 300px; + + background:#fff; + + padding:18px; + + border-radius:12px; + + display:flex; + + gap:22px; + + align-items:center; + + box-shadow:0 3px 12px rgba(0,0,0,.15); + +} + + + +.block-img{ + + width:120px; + + height:120px; + + border-radius:12px; + + background:url("/images/small.webp") center/cover; + +} + + + +.block-text h1{ + + font-size:clamp(18px,3vw,26px); + + font-weight:700; + +} + + + +.block-text p{color:#555} + + + +/* ================= ABOUT ================= */ + + + +.about-section{ + + width:min(1200px,92%); + + margin:60px auto; + + display:flex; + + gap:32px; + +} + + + +.about-section h2{ + + font-size:clamp(22px,3vw,30px); + + font-weight:700; + +} + + + +.about-section .text p{ + + line-height:1.8; + + font-size:15px; + + color:#333; + +} + + + +.about-section .note{ + + margin-top:12px; + + color:var(--orange); + + font-style:italic; + +} + + + +.about-section img{ + + width:100%; + + height:300px; + + border-radius:10px; + + object-fit:cover; + +} + + + +/* ================= SERVICES ================= */ + + + +.services-section{ + + width:min(1200px,92%); + + margin:50px auto; + + margin-bottom: 30px; + +} + + + +.services-section h2{ + + font-size:26px; + + font-weight:700; + + margin-bottom:22px; + + margin-top: 90px; + +} + + + +.services-grid{ + + display:flex; + + gap:22px; + + flex-wrap:wrap; + + justify-content:space-between; + + margin-bottom: 90px; + +} + + + +.service-card{ + + flex:1; + + min-width:260px; + + background:var(--accent); + + padding:22px; + + border-radius:20px; + + color:#fff; + + text-align:center; + + box-shadow:0 4px 12px rgba(0,0,0,.15); + + transition:.25s; + +} + + + +.service-card:hover{transform:translateY(-4px)} + + + +/* .service-card img{ + + align-items: center; + + width:110px; + + height:110px; + + border-radius:50%; + + object-fit:cover; + +} */ + + + +.service-card img{ + + display: block; + + margin: 0 auto; + + width:110px; + + height:110px; + + border-radius:50%; + + object-fit:cover; + +} + + + + + +.service-card h3{ + + margin-top:12px; + + font-size:15px; + + font-weight:600; + +} + + + +.service-card button{ + + margin-top:12px; + + padding:10px 18px; + + background:var(--orange); + + border:none; + + border-radius:20px; + + color:#fff; + + cursor:pointer; + +} + + + +.service-card button:active{ + + transform:translateY(1px) scale(.94); + + box-shadow:0 2px 6px rgba(0,0,0,.12); + +} + + + +/* ================= FOOTER ================= */ + + + +.footer{ + + background:var(--header-bg); + + margin-top:60px; + + border-top:4px solid var(--blue); + +} + + + +.footer-top{ + + width:min(1200px,92%); + + margin:auto; + + display:flex; + + justify-content:space-between; + + gap:40px; + + padding:40px 0; + + flex-wrap:wrap; + +} + + + +.footer-logo{width:220px} + + + +.footer-links{ + + display:flex; + + flex-direction:column; + + gap:10px; + +} + + + +.footer-links a{ + + text-decoration:none; + + color:var(--navy); + + font-size:16px; + + font-weight:500; + +} + + + +.footer-bottom{ + + text-align:center; + + padding:15px 0; + + background:var(--footer-bot); + +} + + + +/* ======================================================= + + RESPONSIVE BREAKPOINTS + + ======================================================= */ + + + +@media (max-width:992px){ + + + + .about-section{flex-direction:column;} + + + + .bottom-block{ + + width:96%; + + flex-direction:column; + + text-align:center; + + margin-top:-300px; + + } + + + + /* mobile nav dropdown */ + + + + .nav-menu{ + + display:none; + + position:absolute; + + top:76px; + + left:0; + + width:100%; + + background:var(--navy); + + padding:20px 0; + + flex-direction:column; + + gap:18px; + + align-items:center; + + } + + + + .nav-menu.active{display:flex;} + + + + /* desktop login hidden */ + + .desktop-login{display:none;} + + + + /* mobile login visible */ + + .mobile-login{ + + display:block; + + margin-top:6px; + + padding:10px 18px; + + border-radius:20px; + + background:var(--orange); + + color:#fff; + + font-weight:600; + + width:140px; + + text-align:center; + + } + + + + .hamburger{display:flex;} + +} + + + +@media (max-width:576px){ + + + + .service-card{min-width:100%} + + + + .service-card h3{font-size:14px;} + + + + .bottom-block{margin-bottom:240px;} + +} + + + +/* --- Page Specific Styles --- */ + + + +.page-hero h1, body.dark-theme .page-hero h1 { + font-size:clamp(22px, 4vw, 38px); + font-weight:700; + color: #ffffff !important; +} + +.page-hero p, body.dark-theme .page-hero p { + color: #ffffff !important; +} + + + +.about-wrapper{ + + width:min(1200px, 92%); + + margin:70px auto; + + display:flex; + + flex-direction:column; + + gap:40px; + +} + + + +.page-hero{ + + width:100%; + + min-height:580px; + + height:clamp(420px,60vh,620px); + + color:white; + + display:flex; + + align-items:center; + + justify-content:center; + + text-align:center; + + + + background: + + linear-gradient(rgba(56,54,54,.55),rgba(0,0,0,.55)), + + url("../images/Services-background-image.webp"); + + + + background-size:cover; + + background-position:center; + +} + + + +.about-block{ + + display:flex; + + gap:28px; + + background:#fff; + + padding:clamp(18px, 3vw, 32px); + + border-radius:14px; + + box-shadow:0 6px 16px rgba(0,0,0,.08); + + align-items:center; + +} + + + +.about-img{ + + width:380px; + + max-width:100%; + + height:260px; + + border-radius:14px; + + object-fit:cover; + +} + + + +.reverse{ + + flex-direction:row-reverse; + +} + + + +.page-hero{ + + width:100%; + + min-height:580px; + + height:clamp(420px, 60vh, 620px); + + color:white; + + display:flex; + + align-items:center; + + justify-content:center; + + text-align:center; + + + + background: + + linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)), + + url("../images/About-us-background-image.webp"); + + + + background-size:cover; + + background-position:center; + +} + + + +.page-hero h1{ + + font-size:clamp(22px,4vw,34px); + + font-weight:700; + +} + +.services-wrapper { + + width:min(1200px,92%); + + margin:70px auto; + + display:flex; + + flex-direction:column; + + gap:50px; + +} + + + +.service-block { + + display:flex; + + align-items:center; + + gap:32px; + + background:#fff; + + padding:clamp(20px,3vw,35px); + + border-radius:15px; + + box-shadow:0 4px 12px rgba(0,0,0,.12); + +} + + + +.service-block.reverse { + + flex-direction:row-reverse; + +} + + + +.service-text h2 { + + font-size:clamp(18px,2.6vw,22px); + + font-weight:700; + + margin-bottom:10px; + + color:var(--navy); + +} + + + +.service-text p { + + line-height:1.8; + + font-size:15px; + + color:#333; + +} + + + +.list-items li { + + margin-left:28px; + + color:#333; + +} + + + +.service-img, + +.service-img-bl-3 { + + width:380px; + + max-width:100%; + + height:260px; + + border-radius:14px; + + object-fit:cover; + +} + + +@media (max-width: 992px) { + .service-block, + .service-block.reverse { + flex-direction: column; + } + + .service-img, + .service-img-bl-3 { + width: 100%; + height: 240px; + } +} + + +.contact-section { + + width:min(1200px,92%); + + margin:70px auto; + + border:2px solid rgb(131,124,124); + + border-radius:15px; + + padding-top: 20px; + + padding-bottom: 20px; + +} + + + +.contact-title { + + font-size:28px; + + font-weight:700; + + margin-bottom:30px; + + text-align:center; + +} + + + +.contact-container { + + display:flex; + + padding:20px; + + width:70%; + + gap:35px; + + margin:auto; + +} + + + +.contact-info { + + flex:1; + + display:flex; + + flex-direction:column; + + gap:25px; + +} + + + +.info-box { + + padding:20px; + + border-radius:15px; + + color:white; + +} + + + +.usa { + + background:var(--accent); + +} + + + +.ind { + + background:var(--orange); + +} + + + +.contact-form { + + flex:1.3; + + background:white; + + padding:50px; + + border-radius:15px; + + box-shadow:0 3px 10px rgba(0,0,0,.15); + +} + + + +.form-row { + + display:flex; + gap:15px; +} + +.contact-form input, +.contact-form textarea { + width:100%; + padding:12px 15px; + border-radius:10px; + border:1px solid #ddd; + margin-bottom:15px; + font-family: inherit; +} + +.phone-row { + display:flex; + gap:10px; + border:1px solid #ddd; + padding:10px; + border-radius:10px; +} + +.contact-form button { + margin-top:20px; + padding:10px 25px; + background:var(--accent); + color:#fff; + border-radius:20px; + border:none; +} + +.email-box { + display:flex; + align-items:center; + margin-top:20px; + gap:10px; + font-size:14px; + color:#333; +} + +.email-box img { + width:20px; +} + +.phone img { + width:16px; +} + +/* --- Solid Navbar Modifier (for pages without hero images) --- */ +.navbar-solid { + position: relative !important; + background: var(--footer-bot) !important; + backdrop-filter: none !important; + -webkit-backdrop-filter: none !important; + border-bottom: none !important; +} +.navbar-solid .nav-menu a { + color: var(--navy) !important; +} +.navbar-solid .hamburger span { + background: var(--navy) !important; +} + +/* Micro-animations */ +.nav-menu a { + position: relative; +} +.nav-menu a::after { + content: ''; + position: absolute; + width: 0; + height: 2px; + bottom: -4px; + left: 0; + background-color: currentColor; + transition: width 0.3s ease; +} +.nav-menu a:hover::after { + width: 100%; +} + +.service-block { + transition: transform 0.3s ease, box-shadow 0.3s ease; +} +.service-block:hover { + transform: translateY(-6px); + box-shadow: 0 10px 25px rgba(0,0,0,0.12); +} + +/* --- Dark Theme Overrides for Marketing Pages --- */ +body.dark-theme .bottom-block, +body.dark-theme .about-block, +body.dark-theme .service-block, +body.dark-theme .contact-form, +body.dark-theme .service-card { + background: var(--card); +} +/* Text colors */ +body.dark-theme .service-text p, +body.dark-theme .list-items li, +body.dark-theme .email-box, +body.dark-theme p, +body.dark-theme .block-text p, +body.dark-theme .about-section .text p, +body.dark-theme .about-text p, +body.dark-theme .footer-bottom, +body.dark-theme .footer-links a { + color: var(--muted) !important; +} +/* Headers */ +body.dark-theme h1, +body.dark-theme h2, +body.dark-theme h3, +body.dark-theme h4, +body.dark-theme .block-text h1, +body.dark-theme .about-section h2, +body.dark-theme .services-section h2, +body.dark-theme .contact-title, +body.dark-theme .service-card h3 { + color: var(--navy) !important; +} +body.dark-theme .contact-form input, +body.dark-theme .contact-form textarea, +body.dark-theme .phone-row { + background: var(--bg); + color: var(--navy); + border-color: var(--border); +} +body.dark-theme .contact-section { + border-color: var(--border); +} +body.dark-theme .navbar-solid { + background: var(--card) !important; +} +@media (max-width:992px) { + body.dark-theme #navMenu, + body.dark-theme .nav-menu { + background-color: #262a34 !important; +} +} + +/* ============================================================ + MISSING CLASS FIXES - ADDED IN COMPREHENSIVE AUDIT + ============================================================ */ + +/* ── App Header ─────────────────────────────────────────── */ +.app-header { + position: sticky; + top: 0; + z-index: 1000; + background: var(--header-bg); + backdrop-filter: var(--glass-blur); + -webkit-backdrop-filter: var(--glass-blur); + border-bottom: 1px solid var(--border); + padding: 12px 24px; + display: flex; + align-items: center; + justify-content: space-between; +} +.header-actions { + display: flex; + align-items: center; + gap: 12px; +} + +/* ── Page Heading ───────────────────────────────────────── */ +.page-heading { + margin-bottom: 24px; + display: flex; + gap: 20px; +} +.admin-stats { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 20px; + margin-bottom: 24px; +} + +/* ── Empty States & Tables ──────────────────────────────── */ +.empty-state { + text-align: center; + padding: 40px 20px; + background: var(--bg); + border: 1px dashed var(--border); + border-radius: var(--radius-md); + color: var(--muted); +} +.empty-icon { + font-size: 48px; + color: var(--border); + margin-bottom: 12px; +} +.empty-title { + font-size: 16px; + font-weight: 500; + color: var(--navy); +} + +.table-responsive { + overflow-x: auto; +} +.admin-table { + width: 100%; + border-collapse: collapse; +} +.admin-table th, .admin-table td { + padding: 12px 16px; + text-align: left; + border-bottom: 1px solid var(--border); +} +.admin-table th { + background: var(--bg); + font-weight: 600; + color: var(--muted); + text-transform: uppercase; + font-size: 12px; + letter-spacing: 0.5px; +} +.admin-table tr:last-child td { + border-bottom: none; +} + +/* ── Chatbot Footer ─────────────────────────────────────── */ +.chatbot-footer { + padding: 16px; + border-top: 1px solid var(--border); + background: var(--bg); + text-align: center; + font-size: 13px; + color: var(--muted); + border-radius: 0 0 var(--radius-md) var(--radius-md); +} + +/* ── Utilities ──────────────────────────────────────────── */ +.btn-upload-pill { + padding: 8px 16px; + border-radius: var(--radius-pill); + font-weight: 600; + display: inline-flex; + align-items: center; + gap: 8px; +} + +.search-wrap { + position: relative; + display: flex; + align-items: center; +} + +/* ── Dark Theme Overrides for New Classes ───────────────── */ +body.dark-theme .app-header { + background: var(--header-bg); + border-color: var(--border); +} +body.dark-theme .auth-box { + background: var(--card); +} +body.dark-theme .admin-table th { + background: var(--card); +} +body.dark-theme .chatbot-footer { + background: var(--card); + border-color: var(--border); +} +body.dark-theme .chatbot-window { + background: var(--card); + border-color: var(--border); +} +body.dark-theme .chat-msg.bot { + background: var(--blue-light); + color: var(--navy); + border-color: var(--border); +} +body.dark-theme .chat-msg.user { + background: var(--blue); + color: #fff; +} +body.dark-theme .quick-reply-btn { + background: var(--bg); + color: var(--navy); + border-color: var(--border); +} +body.dark-theme .quick-reply-btn:hover { + background: var(--blue-light); + border-color: var(--blue); +} +body.dark-theme .chatbot-welcome-text p { + color: var(--navy); +} diff --git a/frontend/src/layouts/DashboardLayout.jsx b/frontend/src/layouts/DashboardLayout.jsx new file mode 100644 index 0000000..55fb243 --- /dev/null +++ b/frontend/src/layouts/DashboardLayout.jsx @@ -0,0 +1,42 @@ +import { Outlet, Link, useNavigate } from 'react-router-dom'; +import { useAuth } from '../context/AuthContext'; +import { useTheme } from '../context/ThemeContext'; + +export default function DashboardLayout() { + const { user, logout } = useAuth(); + const navigate = useNavigate(); + const { theme, toggleTheme } = useTheme(); + + return ( +
+
+ + BookKeepPro + +
+ + + + +
+
+ +
+ +
+
+ ); +} \ No newline at end of file diff --git a/frontend/src/layouts/MarketingLayout.jsx b/frontend/src/layouts/MarketingLayout.jsx new file mode 100644 index 0000000..18108b4 --- /dev/null +++ b/frontend/src/layouts/MarketingLayout.jsx @@ -0,0 +1,13 @@ +import { Outlet } from 'react-router-dom'; +import Navbar from '../components/Navbar'; +import Footer from '../components/Footer'; + +export default function MarketingLayout() { + return ( + <> + + +