diff --git a/public/faq.css b/public/faq.css index c92ee082..7d83bfeb 100644 --- a/public/faq.css +++ b/public/faq.css @@ -681,4 +681,33 @@ html[data-theme="light"] .category-btn:hover{ /* FAQ hover */ html[data-theme="light"] .faq-item:hover{ background:#f9fafb; +}/* Scroll To Top Button */ + +#scrollTopBtn{ + position: fixed; + bottom: 30px; + right: 30px; + background: linear-gradient(135deg,#00e6a8,#64ffda); + color: #000; + border: none; + padding: 14px 16px; + border-radius: 50%; + font-size: 18px; + cursor: pointer; + display: none; + z-index: 1000; + box-shadow: 0 0 15px rgba(100,255,218,0.7); + transition: all 0.3s ease; +} + +#scrollTopBtn:hover{ + transform: translateY(-4px) scale(1.1); + box-shadow: 0 0 25px rgba(100,255,218,1); +} + +/* Dark Mode */ + +body.dark-mode #scrollTopBtn{ + background: linear-gradient(135deg,#64ffda,#00bfa5); + color:white; } \ No newline at end of file diff --git a/public/faq.html b/public/faq.html index ede67564..91e02ad2 100644 --- a/public/faq.html +++ b/public/faq.html @@ -568,7 +568,10 @@
© 2026 ExpenseFlow. All rights reserved.
- + +