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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
:root {
|
2 |
+
--tropical-indigo: rgb(120, 187, 242);
|
3 |
+
--latte-cream: #ffffff;
|
4 |
+
--wisteria: #c5dcff;
|
5 |
+
--navbar-height: 0px; /* dynamic padding */
|
6 |
+
}
|
7 |
+
|
8 |
+
body {
|
9 |
+
padding-top: var(--navbar-height);
|
10 |
+
transition: padding-top 0.2s ease;
|
11 |
+
font-family: "Rubik", sans-serif;
|
12 |
+
}
|
13 |
+
|
14 |
+
/* ---------- NAVBAR area---------- */
|
15 |
+
nav {
|
16 |
+
backdrop-filter: blur(12px);
|
17 |
+
background-color: rgba(255, 255, 255, 0.2);
|
18 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
19 |
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
20 |
+
}
|
21 |
+
|
22 |
+
/* Logo */
|
23 |
+
nav .logo {
|
24 |
+
color: #333;
|
25 |
+
font-weight: bold;
|
26 |
+
transition: color 0.3s ease;
|
27 |
+
}
|
28 |
+
nav .logo:hover {
|
29 |
+
color: var(--tropical-indigo);
|
30 |
+
}
|
31 |
+
|
32 |
+
/* Desktop links and buttons */
|
33 |
+
nav a.nav-link,
|
34 |
+
nav button.nav-link {
|
35 |
+
color: #333;
|
36 |
+
transition: color 0.3s ease;
|
37 |
+
}
|
38 |
+
|
39 |
+
/* Hamburger */
|
40 |
+
#hamburger {
|
41 |
+
color: #333;
|
42 |
+
transition: color 0.3s ease;
|
43 |
+
}
|
44 |
+
#hamburger:hover {
|
45 |
+
color: var(--tropical-indigo);
|
46 |
+
}
|
47 |
+
|
48 |
+
/* Mobile Menu */
|
49 |
+
#mobile-menu {
|
50 |
+
backdrop-filter: blur(12px);
|
51 |
+
background-color: rgba(255, 255, 255, 0.3);
|
52 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
53 |
+
border-radius: 1rem;
|
54 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
55 |
+
}
|
56 |
+
#mobile-menu a,
|
57 |
+
#mobile-menu button {
|
58 |
+
|
59 |
+
color: #333;
|
60 |
+
transition: color 0.3s ease;
|
61 |
+
}
|
62 |
+
|
63 |
+
|
64 |
+
/* ---------- BUTTONS ---------- */
|
65 |
+
#editProfileBtn,
|
66 |
+
#saveProfileBtn,
|
67 |
+
#cancelProfileBtn,
|
68 |
+
#addEntryBtn,
|
69 |
+
#resetChartBtn,
|
70 |
+
#analyzerBtn {
|
71 |
+
background-color: var(--tropical-indigo);
|
72 |
+
color: white;
|
73 |
+
transition: background-color 0.3s ease;
|
74 |
+
}
|
75 |
+
#editProfileBtn:hover,
|
76 |
+
#saveProfileBtn:hover,
|
77 |
+
#addEntryBtn:hover,
|
78 |
+
#analyzerBtn:hover {
|
79 |
+
background-color: #5ba5dd;
|
80 |
+
}
|
81 |
+
#resetChartBtn:hover {
|
82 |
+
background-color: #e63946;
|
83 |
+
}
|
84 |
+
|
85 |
+
/* ---------- INPUTS ---------- */
|
86 |
+
input,
|
87 |
+
textarea {
|
88 |
+
border: 1px solid var(--wisteria);
|
89 |
+
background-color: #fafbfc;
|
90 |
+
}
|
91 |
+
input:focus,
|
92 |
+
textarea:focus {
|
93 |
+
outline: none;
|
94 |
+
border-color: var(--tropical-indigo);
|
95 |
+
box-shadow: 0 0 0 2px rgba(120, 187, 242, 0.3);
|
96 |
+
}
|
97 |
+
|
98 |
+
/* HEADINGS */
|
99 |
+
h1,
|
100 |
+
h2,
|
101 |
+
h3,
|
102 |
+
h4 {
|
103 |
+
color: var(--tropical-indigo);
|
104 |
+
}
|
105 |
+
|
106 |
+
/* Chart Card */
|
107 |
+
#chartSection > div {
|
108 |
+
background-color: var(--latte-cream);
|
109 |
+
border: 1px solid var(--wisteria);
|
110 |
+
border-radius: 1rem;
|
111 |
+
padding: 1.5rem;
|
112 |
+
}
|
113 |
+
.rec-card {
|
114 |
+
background-color: var(--latte-cream);
|
115 |
+
border: 1px solid var(--wisteria);
|
116 |
+
border-radius: 1rem;
|
117 |
+
padding: 1.25rem;
|
118 |
+
margin-bottom: 1.5rem;
|
119 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
120 |
+
transition: all 0.3s ease;
|
121 |
+
}
|
122 |
+
.rec-card:hover {
|
123 |
+
transform: translateY(-3px);
|
124 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
125 |
+
}
|
126 |
+
.rec-title {
|
127 |
+
font-size: 1.125rem;
|
128 |
+
font-weight: 700;
|
129 |
+
color: var(--tropical-indigo);
|
130 |
+
margin-bottom: 0.5rem;
|
131 |
+
}
|
132 |
+
.rec-badge {
|
133 |
+
font-size: 0.75rem;
|
134 |
+
font-weight: 600;
|
135 |
+
padding: 0.25rem 0.75rem;
|
136 |
+
border-radius: 9999px;
|
137 |
+
}
|
138 |
+
.badge-high {
|
139 |
+
background-color: #fee2e2;
|
140 |
+
color: #b91c1c;
|
141 |
+
}
|
142 |
+
.badge-medium {
|
143 |
+
background-color: #fef3c7;
|
144 |
+
color: #92400e;
|
145 |
+
}
|
146 |
+
.badge-low {
|
147 |
+
background-color: #d1fae5;
|
148 |
+
color: #065f46;
|
149 |
+
}
|
150 |
+
.rec-content {
|
151 |
+
list-style-type: disc;
|
152 |
+
margin-left: 1.25rem;
|
153 |
+
font-size: 0.875rem;
|
154 |
+
color: #374151;
|
155 |
+
}
|
156 |
+
.rec-link {
|
157 |
+
color: var(--tropical-indigo);
|
158 |
+
text-decoration: underline;
|
159 |
+
}
|
160 |
+
.rec-link:hover {
|
161 |
+
color: #4b7bbd;
|
162 |
+
}
|
163 |
+
.btn-primary {
|
164 |
+
background-color: var(--tropical-indigo);
|
165 |
+
color: white;
|
166 |
+
transition: background-color 0.3s ease;
|
167 |
+
}
|
168 |
+
.btn-primary:hover {
|
169 |
+
background-color: #5ba5dd;
|
170 |
+
}
|
171 |
+
input,
|
172 |
+
textarea {
|
173 |
+
border: 1px solid var(--wisteria);
|
174 |
+
background-color: #fafbfc;
|
175 |
+
}
|
176 |
+
input:focus,
|
177 |
+
textarea:focus {
|
178 |
+
outline: none;
|
179 |
+
border-color: var(--tropical-indigo);
|
180 |
+
box-shadow: 0 0 0 2px rgba(120, 187, 242, 0.3);
|
181 |
+
}
|
182 |
+
h2,
|
183 |
+
h3 {
|
184 |
+
color: var(--tropical-indigo);
|
185 |
+
}
|
186 |
+
#chat-output {
|
187 |
+
background-color: #f7f9fc;
|
188 |
+
border: 1px solid var(--wisteria);
|
189 |
+
}
|
190 |
+
.fade-in {
|
191 |
+
opacity: 0;
|
192 |
+
transform: translateY(30px);
|
193 |
+
transition: all 0.8s ease-out;
|
194 |
+
}
|
195 |
+
.fade-in.show {
|
196 |
+
opacity: 1;
|
197 |
+
transform: translateY(0);
|
198 |
+
}
|
199 |
+
|
200 |
+
.glass-card {
|
201 |
+
background: rgba(162, 160, 160, 0.075);
|
202 |
+
backdrop-filter: blur(12px);
|
203 |
+
border-radius: 1rem;
|
204 |
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
205 |
+
padding: 2rem;
|
206 |
+
text-align: center;
|
207 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
208 |
+
}
|
209 |
+
.glass-card:hover {
|
210 |
+
transform: translateY(-5px);
|
211 |
+
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
|
212 |
+
}
|
213 |
+
|
214 |
+
.nav-link {
|
215 |
+
position: relative;
|
216 |
+
padding-bottom: 4px;
|
217 |
+
transition: color 0.3s;
|
218 |
+
}
|
219 |
+
.nav-link::after {
|
220 |
+
content: "";
|
221 |
+
position: absolute;
|
222 |
+
width: 0%;
|
223 |
+
height: 2px;
|
224 |
+
bottom: 0;
|
225 |
+
left: 0;
|
226 |
+
background-color: black;
|
227 |
+
transition: width 0.3s ease;
|
228 |
+
}
|
229 |
+
.nav-link:hover::after {
|
230 |
+
width: 100%;
|
231 |
+
}
|
232 |
+
|
233 |
+
.parallax {
|
234 |
+
background-attachment: fixed;
|
235 |
+
background-size: cover;
|
236 |
+
background-position: center;
|
237 |
+
position: relative;
|
238 |
+
}
|
239 |
+
|
240 |
+
/* Typing effect styles */
|
241 |
+
#typed-heading,
|
242 |
+
#typed-paragraph {
|
243 |
+
overflow: hidden;
|
244 |
+
white-space: nowrap;
|
245 |
+
border-right: 2px solid var(--tropical-indigo);
|
246 |
+
}
|
247 |
+
.rec-card {
|
248 |
+
background-color: var(--latte-cream);
|
249 |
+
border: 1px solid var(--wisteria);
|
250 |
+
border-radius: 1rem;
|
251 |
+
padding: 1.25rem;
|
252 |
+
margin-bottom: 1.5rem;
|
253 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
254 |
+
transition: all 0.3s ease;
|
255 |
+
}
|
256 |
+
.rec-card:hover {
|
257 |
+
transform: translateY(-3px);
|
258 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
|
259 |
+
}
|
260 |
+
|
261 |
+
.rec-title {
|
262 |
+
font-size: 1.125rem;
|
263 |
+
font-weight: 700;
|
264 |
+
color: var(--tropical-indigo);
|
265 |
+
margin-bottom: 0.5rem;
|
266 |
+
}
|
267 |
+
|
268 |
+
.rec-badge {
|
269 |
+
font-size: 0.75rem;
|
270 |
+
font-weight: 600;
|
271 |
+
padding: 0.25rem 0.75rem;
|
272 |
+
border-radius: 9999px;
|
273 |
+
}
|
274 |
+
.badge-high {
|
275 |
+
background-color: #fee2e2;
|
276 |
+
color: #b91c1c;
|
277 |
+
}
|
278 |
+
.badge-medium {
|
279 |
+
background-color: #fef3c7;
|
280 |
+
color: #92400e;
|
281 |
+
}
|
282 |
+
.badge-low {
|
283 |
+
background-color: #d1fae5;
|
284 |
+
color: #065f46;
|
285 |
+
}
|
286 |
+
|
287 |
+
.rec-content {
|
288 |
+
list-style-type: disc;
|
289 |
+
margin-left: 1.25rem;
|
290 |
+
font-size: 0.875rem;
|
291 |
+
color: #374151;
|
292 |
+
}
|
293 |
+
|
294 |
+
.rec-link {
|
295 |
+
color: var(--tropical-indigo);
|
296 |
+
text-decoration: underline;
|
297 |
+
}
|
298 |
+
.rec-link:hover {
|
299 |
+
color: #4b7bbd;
|
300 |
+
}
|
301 |
+
|
302 |
+
.btn-primary {
|
303 |
+
background-color: var(--tropical-indigo);
|
304 |
+
color: white;
|
305 |
+
transition: background-color 0.3s ease;
|
306 |
+
}
|
307 |
+
.btn-primary:hover {
|
308 |
+
background-color: #5ba5dd;
|
309 |
+
}
|
310 |
+
|
311 |
+
input,
|
312 |
+
textarea {
|
313 |
+
border: 1px solid var(--wisteria);
|
314 |
+
background-color: #fafbfc;
|
315 |
+
}
|
316 |
+
input:focus,
|
317 |
+
textarea:focus {
|
318 |
+
outline: none;
|
319 |
+
border-color: var(--tropical-indigo);
|
320 |
+
box-shadow: 0 0 0 2px rgba(120, 187, 242, 0.3);
|
321 |
+
}
|
322 |
+
|
323 |
+
h2,
|
324 |
+
h3 {
|
325 |
+
color: var(--tropical-indigo);
|
326 |
+
}
|
327 |
+
|
328 |
+
#chat-output {
|
329 |
+
background-color: #f7f9fc;
|
330 |
+
border: 1px solid var(--wisteria);
|
331 |
+
}
|
332 |
+
.hidden-by-default {
|
333 |
+
display: none;
|
334 |
+
}
|