File size: 5,719 Bytes
5fc13d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

html, body, [class*="css"] {
    font-family: 'Outfit', sans-serif;
    color: #e0e0e0;
}

/* Glassmorphism Background with subtle animation */
.stApp {
    background: radial-gradient(circle at 10% 20%, rgb(18, 22, 28) 0%, rgb(10, 10, 14) 90.2%);
    background-attachment: fixed;
}

/* Custom Card - Enhanced */
.custom-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.custom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.custom-card:hover::before {
    opacity: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-text {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(90deg, #4CC9F0 0%, #4361EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Buttons - Modern Gradient */
div.stButton > button {
    background: linear-gradient(135deg, #4361EE 0%, #3F37C9 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

div.stButton > button[kind="secondary"] {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: none;
}

div.stButton > button:hover {
    background: linear-gradient(135deg, #4895EF 0%, #4361EE 100%);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.5);
    transform: translateY(-2px);
    color: white;
}

div.stButton > button:active {
    transform: scale(0.98);
}

/* Inputs - Sleek Dark */
.stTextInput > div > div > input {
    background-color: rgba(0, 0, 0, 0.2);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
}

.stTextInput > div > div > input:focus {
    border-color: #4361EE;
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

/* Chat Messages */
.stChatMessage {
    background-color: transparent;
}

.stChatMessage[data-testid="stChatMessageAvatarUser"] {
    background-color: #2b2d42; /* Dark user avatar bg */
    border: 1px solid rgba(255,255,255,0.1);
}

.stChatMessage[data-testid="stChatMessageAvatarAssistant"] {
    background: linear-gradient(135deg, #4361EE, #F72585); /* Vibrant gradient */
}

div[data-testid="stChatMessageContent"] {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Headings */
h1, h2, h3 {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
}

/* Sidebar */
section[data-testid="stSidebar"] {
    background: rgba(18, 22, 28, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

section[data-testid="stSidebar"] [data-testid="stVerticalBlock"] {
    gap: 0.5rem;
}

.st-emotion-cache-16txtl3 { /* Sidebar nav links container - this class might change, targeting via attribute if possible */
    padding-top: 2rem;
}

/* Sidebar Nav Links */
.stPageLink a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.stPageLink a:hover {
    background: rgba(67, 97, 238, 0.2);
    border-color: rgba(67, 97, 238, 0.5);
    transform: translateX(5px);
}

.stPageLink p {
    font-weight: 600;
}

/* Divider with Gradient */
hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    margin: 30px 0;
}

/* Status Badges - Pill shape */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
}

.status-ingested {
    background: rgba(4, 212, 137, 0.15); /* Vivid green tint */
    color: #2ecc71;
    border: 1px solid rgba(4, 212, 137, 0.3);
}

.status-pending {
    background: rgba(255, 179, 11, 0.15); /* Amber tint */
    color: #f1c40f;
    border: 1px solid rgba(255, 179, 11, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #121212; 
}
::-webkit-scrollbar-thumb {
    background: #444; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #666; 
}