File size: 15,050 Bytes
f2c86a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33a9c37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border-light: rgba(255, 255, 255, 0.3);
    --glass-border-dark: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --inner-glare: inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 1px 0 1px rgba(255, 255, 255, 0.05);
    --blur: blur(16px) saturate(120%);
    --accent-1: #38bdf8;
    --accent-2: #818cf8;
    --accent-3: #34d399;
    --text-primary: #f0f9ff;
    --text-secondary: rgba(240, 249, 255, 0.75);
    --text-muted: rgba(240, 249, 255, 0.45);
    --radius: 24px;
    --radius-sm: 14px;
}

/* ─── Global Reset & Background ─────────────────────────────────────────────── */
html, body, [data-testid="stAppViewContainer"], [data-testid="stApp"] {
    background: transparent !important;
}

[data-testid="stAppViewContainer"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(56, 189, 248, 0.30) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 10%, rgba(129, 140, 248, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(52, 211, 153, 0.20) 0%, transparent 55%),
        linear-gradient(135deg, #0c1445 0%, #0f172a 40%, #0d1b35 70%, #0a1628 100%);
}

/* Floating orb decorations */
[data-testid="stAppViewContainer"]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle 220px at 10% 60%, rgba(56, 189, 248, 0.12) 0%, transparent 70%),
        radial-gradient(circle 180px at 90% 75%, rgba(129, 140, 248, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
}

/* ─── Streamlit App Shell ────────────────────────────────────────────────────── */
[data-testid="stMain"] {
    background: transparent !important;
}

[data-testid="block-container"] {
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
}

/* ─── Title Container ────────────────────────────────────────────────────────── */
.title-container {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    border-bottom: 1px solid var(--glass-border-dark);
    border-right: 1px solid var(--glass-border-dark);
    border-radius: var(--radius);
    padding: 1.4rem 2rem;
    text-align: center;
    box-shadow: var(--glass-shadow), var(--inner-glare);
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
}

.title-container::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%,
        rgba(56,189,248,0.08) 0deg,
        rgba(129,140,248,0.08) 120deg,
        rgba(52,211,153,0.06) 240deg,
        rgba(56,189,248,0.08) 360deg);
    animation: rotateOrb 14s linear infinite;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes rotateOrb {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.title-container h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #e0f2fe 0%, var(--accent-1) 45%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
}

/* ─── Subtitle & Description ─────────────────────────────────────────────────── */
.subtitle {
    text-align: center;
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

.description {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ─── Input Label ────────────────────────────────────────────────────────────── */
.input-label {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.2px;
}

/* ─── Text Area (Colorful & High Visibility) ────────────────────────────────── */
textarea,
[data-testid="stTextArea"] textarea {
    /* Colorful tinted glass background instead of dark gray */
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.12) 100%) !important;
    backdrop-filter: var(--blur) !important;
    -webkit-backdrop-filter: var(--blur) !important;
    color: #000000 !important; /* Crisp white text for user input */
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.05rem !important;
    border-radius: var(--radius-sm) !important;
    padding: 1.2rem !important;
    /* Subtle colorful borders */
    border: 1px solid rgba(129, 140, 248, 0.3) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.5) !important;
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.15), 0 4px 15px rgba(56, 189, 248, 0.05) !important;
    transition: all 0.3s ease !important;
    resize: vertical !important;
}

/* When the user clicks into the text box */
textarea:focus,
[data-testid="stTextArea"] textarea:focus {
    /* Brighter colorful background on focus */
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(129, 140, 248, 0.18) 100%) !important;
    border: 1px solid var(--accent-1) !important;
    /* Neon glow effect */
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1), 0 0 20px rgba(56, 189, 248, 0.35) !important;
    outline: none !important;
}

/* Brighter, more visible Hint Text (Placeholder) */
textarea::placeholder,
[data-testid="stTextArea"] textarea::placeholder {
    color: #3b4b52 !important; /* Light sky blue */
    font-weight: 400 !important;
    font-style: italic;
    opacity: 1 !important; /* Overrides default browser dimming */
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.stButton > button {
    font-family: 'Syne', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.4px !important;
    padding: 0.65rem 1.6rem !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid rgba(56,189,248,0.35) !important;
    background: linear-gradient(135deg,
        rgba(56,189,248,0.22) 0%,
        rgba(129,140,248,0.18) 100%) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 16px rgba(56,189,248,0.15), inset 0 1px 0 rgba(255,255,255,0.10) !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.stButton > button:hover {
    background: linear-gradient(135deg,
        rgba(56,189,248,0.38) 0%,
        rgba(129,140,248,0.30) 100%) !important;
    border-color: rgba(56,189,248,0.60) !important;
    box-shadow: 0 6px 24px rgba(56,189,248,0.28), inset 0 1px 0 rgba(255,255,255,0.18) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}

.stButton > button:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 8px rgba(56,189,248,0.18) !important;
}

.stButton > button:disabled {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ─── Streamlit Alert / Info / Success / Warning Boxes ──────────────────────── */
[data-testid="stAlert"],
.stAlert,
div[data-baseweb="notification"] {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--blur) !important;
    -webkit-backdrop-filter: var(--blur) !important;
    border-top: 1px solid var(--glass-border-light) !important;
    border-left: 1px solid var(--glass-border-light) !important;
    border-bottom: 1px solid var(--glass-border-dark) !important;
    border-right: 1px solid var(--glass-border-dark) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-primary) !important;
    box-shadow: var(--glass-shadow), var(--inner-glare) !important;
}

/* Success */
[data-testid="stAlert"][data-type="success"],
div[data-baseweb="notification"][kind="positive"] {
    border-color: rgba(52, 211, 153, 0.40) !important;
    background: rgba(52, 211, 153, 0.08) !important;
}

/* Warning */
[data-testid="stAlert"][data-type="warning"],
div[data-baseweb="notification"][kind="warning"] {
    border-color: rgba(251, 191, 36, 0.40) !important;
    background: rgba(251, 191, 36, 0.08) !important;
}

/* Info */
[data-testid="stAlert"][data-type="info"],
div[data-baseweb="notification"][kind="info"] {
    border-color: rgba(56, 189, 248, 0.35) !important;
    background: rgba(56, 189, 248, 0.08) !important;
}

/* ─── Spinner ────────────────────────────────────────────────────────────────── */
[data-testid="stSpinner"] {
    color: var(--accent-1) !important;
}

/* ─── Headings inside Streamlit ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif !important;
    color: var(--text-primary) !important;
}

h3 {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
}

/* ─── Markdown text ──────────────────────────────────────────────────────────── */
[data-testid="stMarkdownContainer"] p,
[data-testid="stMarkdownContainer"] li,
[data-testid="stMarkdownContainer"] span {
    color: var(--text-secondary) !important;
    font-family: 'DM Sans', sans-serif !important;
}

[data-testid="stMarkdownContainer"] strong {
    color: var(--text-primary) !important;
}

[data-testid="stMarkdownContainer"] code {
    background: rgba(56,189,248,0.14) !important;
    color: var(--accent-1) !important;
    border-radius: 6px !important;
    padding: 0.15rem 0.45rem !important;
    font-size: 0.92em !important;
    border: 1px solid rgba(56,189,248,0.25) !important;
}

/* ─── Hide unused Streamlit elements ─────────────────────────────────────────── */
[data-testid="stTextInput"] {
    display: none !important;
}

[data-testid="stDecoration"],
[data-testid="stHeader"] {
    display: none !important;
}

/* ─── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.04);
}
::-webkit-scrollbar-thumb {
    background: rgba(56,189,248,0.30);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(56,189,248,0.55);
}

/* ─── Feedback Section ───────────────────────────────────────────────────────── */
.feedback-section {
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-top: 1px solid var(--glass-border-light);
    border-left: 1px solid var(--glass-border-light);
    border-bottom: 1px solid var(--glass-border-dark);
    border-right: 1px solid var(--glass-border-dark);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow), var(--inner-glare);
}

/* ─── Ticket ID ──────────────────────────────────────────────────────────────── */
.ticket-id {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-1);
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

/* ─── Columns ────────────────────────────────────────────────────────────────── */
[data-testid="stHorizontalBlock"] {
    gap: 1rem;
}

/* ─── Staggered fade-in on load ──────────────────────────────────────────────── */
[data-testid="stVerticalBlock"] > div {
    animation: fadeUp 0.5s ease both;
}
[data-testid="stVerticalBlock"] > div:nth-child(1) { animation-delay: 0.05s; }
[data-testid="stVerticalBlock"] > div:nth-child(2) { animation-delay: 0.12s; }
[data-testid="stVerticalBlock"] > div:nth-child(3) { animation-delay: 0.19s; }
[data-testid="stVerticalBlock"] > div:nth-child(4) { animation-delay: 0.26s; }
[data-testid="stVerticalBlock"] > div:nth-child(5) { animation-delay: 0.33s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}