diff --git a/Styles/auth.css b/Styles/auth.css index 2900de3..d70371d 100644 --- a/Styles/auth.css +++ b/Styles/auth.css @@ -9,7 +9,7 @@ /* Authentication Card */ .auth-card { - background: var(--card-bg); + background: var(--card-background); border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); padding: 2rem; @@ -20,7 +20,7 @@ .auth-card h2 { text-align: center; margin-bottom: 1.5rem; - color: var(--text); + color: var(--text-color); } /* Authentication Form */ @@ -37,24 +37,24 @@ } .form-group label { - color: var(--text); + color: var(--text-color); font-weight: 500; } .form-group input, .form-group select { padding: 0.75rem; - border: 1px solid var(--border); + border: 1px solid var(--border-color); border-radius: 5px; - background: var(--input-bg); - color: var(--text); + background: var(--background-color); + color: var(--text-color); font-size: 1rem; } .form-group input:focus, .form-group select:focus { outline: none; - border-color: var(--accent); + border-color: var(--secondary-color); box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.2); } @@ -65,7 +65,7 @@ /* Authentication Button */ .auth-button { - background: var(--accent); + background: var(--secondary-color); color: white; border: none; border-radius: 5px; @@ -77,7 +77,7 @@ } .auth-button:hover { - background: var(--hover); + background: var(--primary-color); } /* Authentication Links */ @@ -88,11 +88,11 @@ .auth-links p { margin: 0.5rem 0; - color: var(--text); + color: var(--text-color); } .auth-links a { - color: var(--accent); + color: var(--secondary-color); text-decoration: none; font-weight: 500; } @@ -115,6 +115,38 @@ margin-top: 0.25rem; } +/* Password Visibility Toggle */ +.password-wrapper { + position: relative; + display: flex; + align-items: center; +} + +.password-wrapper input { + width: 100%; + padding-right: 2.5rem; +} + +.password-toggle { + position: absolute; + right: 0.5rem; + background: none; + border: none; + cursor: pointer; + color: var(--text-color); + padding: 0.25rem; + font-size: 1.1rem; + display: flex; + align-items: center; + justify-content: center; + opacity: 0.6; + transition: opacity 0.2s; +} + +.password-toggle:hover { + opacity: 1; +} + /* Responsive Design */ @media (max-width: 480px) { .auth-card { diff --git a/Styles/chat.css b/Styles/chat.css index 2dd3710..02621fe 100644 --- a/Styles/chat.css +++ b/Styles/chat.css @@ -24,7 +24,7 @@ justify-content: space-between; align-items: center; padding: 15px; - background-color: var(--accent); + background-color: var(--secondary-color); color: var(--text-color); border-top-left-radius: 10px; border-top-right-radius: 10px; @@ -87,7 +87,7 @@ .chatbot-send { margin-left: 10px; padding: 10px 15px; - background-color: var(--accent); + background-color: var(--secondary-color); color: var(--text-color); border: none; border-radius: 5px; @@ -100,7 +100,7 @@ right: 20px; width: 50px; height: 50px; - background-color: var(--accent); + background-color: var(--secondary-color); color: var(--text-color); border: none; border-radius: 50%; @@ -135,7 +135,7 @@ } .chatbot-messages::-webkit-scrollbar-thumb:hover { - background: var(--accent); + background: var(--secondary-color); } /* Loading animation */ @@ -153,7 +153,7 @@ .typing-indicator span { width: 8px; height: 8px; - background: var(--accent); + background: var(--secondary-color); border-radius: 50%; animation: typing 1s infinite ease-in-out; } diff --git a/Styles/main.css b/Styles/main.css index 83dd353..9ab1144 100644 --- a/Styles/main.css +++ b/Styles/main.css @@ -1138,6 +1138,40 @@ ul li i.fa-check { color: var(--light-text); } +/* Scroll to Top Button */ +#scrollToTop { + position: fixed; + bottom: 2rem; + right: 2rem; + width: 44px; + height: 44px; + background: var(--secondary-color); + color: white; + border: none; + border-radius: 50%; + cursor: pointer; + font-size: 1.25rem; + display: flex; + align-items: center; + justify-content: center; + box-shadow: 0 2px 10px rgba(0,0,0,0.2); + opacity: 0; + visibility: hidden; + transform: translateY(10px); + transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease; + z-index: 999; +} + +#scrollToTop.visible { + opacity: 1; + visibility: visible; + transform: translateY(0); +} + +#scrollToTop:hover { + background: var(--primary-color); +} + /* Responsive Modal */ @media (max-width: 768px) { .modal-content { diff --git a/admin.html b/admin.html index aa0c2b7..1067321 100644 --- a/admin.html +++ b/admin.html @@ -3,7 +3,7 @@
-