Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +378 -378
static/style.css
CHANGED
|
@@ -1,379 +1,379 @@
|
|
| 1 |
-
/* βββ Google Fonts βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 2 |
-
@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');
|
| 3 |
-
|
| 4 |
-
/* βββ CSS Variables βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 5 |
-
:root {
|
| 6 |
-
--glass-bg: rgba(255, 255, 255, 0.05);
|
| 7 |
-
--glass-border-light: rgba(255, 255, 255, 0.3);
|
| 8 |
-
--glass-border-dark: rgba(255, 255, 255, 0.05);
|
| 9 |
-
--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
| 10 |
-
--inner-glare: inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 1px 0 1px rgba(255, 255, 255, 0.05);
|
| 11 |
-
--blur: blur(16px) saturate(120%);
|
| 12 |
-
--accent-1: #38bdf8;
|
| 13 |
-
--accent-2: #818cf8;
|
| 14 |
-
--accent-3: #34d399;
|
| 15 |
-
--text-primary: #f0f9ff;
|
| 16 |
-
--text-secondary: rgba(240, 249, 255, 0.75);
|
| 17 |
-
--text-muted: rgba(240, 249, 255, 0.45);
|
| 18 |
-
--radius: 24px;
|
| 19 |
-
--radius-sm: 14px;
|
| 20 |
-
}
|
| 21 |
-
|
| 22 |
-
/* βββ Global Reset & Background βββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 23 |
-
html, body, [data-testid="stAppViewContainer"], [data-testid="stApp"] {
|
| 24 |
-
background: transparent !important;
|
| 25 |
-
}
|
| 26 |
-
|
| 27 |
-
[data-testid="stAppViewContainer"]::before {
|
| 28 |
-
content: "";
|
| 29 |
-
position: fixed;
|
| 30 |
-
inset: 0;
|
| 31 |
-
z-index: -2;
|
| 32 |
-
background:
|
| 33 |
-
radial-gradient(ellipse at 15% 20%, rgba(56, 189, 248, 0.30) 0%, transparent 55%),
|
| 34 |
-
radial-gradient(ellipse at 85% 10%, rgba(129, 140, 248, 0.28) 0%, transparent 50%),
|
| 35 |
-
radial-gradient(ellipse at 50% 80%, rgba(52, 211, 153, 0.20) 0%, transparent 55%),
|
| 36 |
-
linear-gradient(135deg, #0c1445 0%, #0f172a 40%, #0d1b35 70%, #0a1628 100%);
|
| 37 |
-
}
|
| 38 |
-
|
| 39 |
-
/* Floating orb decorations */
|
| 40 |
-
[data-testid="stAppViewContainer"]::after {
|
| 41 |
-
content: "";
|
| 42 |
-
position: fixed;
|
| 43 |
-
inset: 0;
|
| 44 |
-
z-index: -1;
|
| 45 |
-
background:
|
| 46 |
-
radial-gradient(circle 220px at 10% 60%, rgba(56, 189, 248, 0.12) 0%, transparent 70%),
|
| 47 |
-
radial-gradient(circle 180px at 90% 75%, rgba(129, 140, 248, 0.14) 0%, transparent 70%);
|
| 48 |
-
pointer-events: none;
|
| 49 |
-
}
|
| 50 |
-
|
| 51 |
-
body {
|
| 52 |
-
font-family: 'DM Sans', sans-serif;
|
| 53 |
-
color: var(--text-primary);
|
| 54 |
-
}
|
| 55 |
-
|
| 56 |
-
/* βββ Streamlit App Shell ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 57 |
-
[data-testid="stMain"] {
|
| 58 |
-
background: transparent !important;
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
[data-testid="block-container"] {
|
| 62 |
-
padding-top: 2rem !important;
|
| 63 |
-
padding-bottom: 3rem !important;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
/* βββ Title Container ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 67 |
-
.title-container {
|
| 68 |
-
background: var(--glass-bg);
|
| 69 |
-
backdrop-filter: var(--blur);
|
| 70 |
-
-webkit-backdrop-filter: var(--blur);
|
| 71 |
-
border-top: 1px solid var(--glass-border-light);
|
| 72 |
-
border-left: 1px solid var(--glass-border-light);
|
| 73 |
-
border-bottom: 1px solid var(--glass-border-dark);
|
| 74 |
-
border-right: 1px solid var(--glass-border-dark);
|
| 75 |
-
border-radius: var(--radius);
|
| 76 |
-
padding: 1.4rem 2rem;
|
| 77 |
-
text-align: center;
|
| 78 |
-
box-shadow: var(--glass-shadow), var(--inner-glare);
|
| 79 |
-
margin-bottom: 1.2rem;
|
| 80 |
-
position: relative;
|
| 81 |
-
overflow: hidden;
|
| 82 |
-
}
|
| 83 |
-
|
| 84 |
-
.title-container::before {
|
| 85 |
-
content: "";
|
| 86 |
-
position: absolute;
|
| 87 |
-
top: -60%;
|
| 88 |
-
left: -20%;
|
| 89 |
-
width: 140%;
|
| 90 |
-
height: 200%;
|
| 91 |
-
background: conic-gradient(from 180deg at 50% 50%,
|
| 92 |
-
rgba(56,189,248,0.08) 0deg,
|
| 93 |
-
rgba(129,140,248,0.08) 120deg,
|
| 94 |
-
rgba(52,211,153,0.06) 240deg,
|
| 95 |
-
rgba(56,189,248,0.08) 360deg);
|
| 96 |
-
animation: rotateOrb 14s linear infinite;
|
| 97 |
-
pointer-events: none;
|
| 98 |
-
border-radius: 50%;
|
| 99 |
-
}
|
| 100 |
-
|
| 101 |
-
@keyframes rotateOrb {
|
| 102 |
-
from { transform: rotate(0deg); }
|
| 103 |
-
to { transform: rotate(360deg); }
|
| 104 |
-
}
|
| 105 |
-
|
| 106 |
-
.title-container h1 {
|
| 107 |
-
font-family: 'Syne', sans-serif;
|
| 108 |
-
font-size: 2.4rem;
|
| 109 |
-
font-weight: 800;
|
| 110 |
-
margin: 0;
|
| 111 |
-
background: linear-gradient(135deg, #e0f2fe 0%, var(--accent-1) 45%, var(--accent-2) 100%);
|
| 112 |
-
-webkit-background-clip: text;
|
| 113 |
-
-webkit-text-fill-color: transparent;
|
| 114 |
-
background-clip: text;
|
| 115 |
-
letter-spacing: -0.5px;
|
| 116 |
-
position: relative;
|
| 117 |
-
}
|
| 118 |
-
|
| 119 |
-
/* βββ Subtitle & Description ββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 120 |
-
.subtitle {
|
| 121 |
-
text-align: center;
|
| 122 |
-
font-family: 'Syne', sans-serif;
|
| 123 |
-
font-size: 1.15rem;
|
| 124 |
-
font-weight: 600;
|
| 125 |
-
color: var(--text-secondary);
|
| 126 |
-
margin-bottom: 0.4rem;
|
| 127 |
-
letter-spacing: 0.3px;
|
| 128 |
-
}
|
| 129 |
-
|
| 130 |
-
.description {
|
| 131 |
-
text-align: center;
|
| 132 |
-
font-size: 0.95rem;
|
| 133 |
-
font-weight: 300;
|
| 134 |
-
font-style: italic;
|
| 135 |
-
color: var(--text-muted);
|
| 136 |
-
margin-bottom: 2rem;
|
| 137 |
-
}
|
| 138 |
-
|
| 139 |
-
/* βββ Input Label ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 140 |
-
.input-label {
|
| 141 |
-
font-family: 'Syne', sans-serif;
|
| 142 |
-
font-size: 1.05rem;
|
| 143 |
-
font-weight: 600;
|
| 144 |
-
color: var(--text-secondary);
|
| 145 |
-
margin-bottom: 0.5rem;
|
| 146 |
-
display: flex;
|
| 147 |
-
align-items: center;
|
| 148 |
-
gap: 0.4rem;
|
| 149 |
-
letter-spacing: 0.2px;
|
| 150 |
-
}
|
| 151 |
-
|
| 152 |
-
/* βββ Text Area (Colorful & High Visibility) ββββββββββββββββββββββββββββββββββ */
|
| 153 |
-
textarea,
|
| 154 |
-
[data-testid="stTextArea"] textarea {
|
| 155 |
-
/* Colorful tinted glass background instead of dark gray */
|
| 156 |
-
background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.12) 100%) !important;
|
| 157 |
-
backdrop-filter: var(--blur) !important;
|
| 158 |
-
-webkit-backdrop-filter: var(--blur) !important;
|
| 159 |
-
color: #000000 !important; /* Crisp white text for user input */
|
| 160 |
-
font-family: 'DM Sans', sans-serif !important;
|
| 161 |
-
font-size: 1.05rem !important;
|
| 162 |
-
border-radius: var(--radius-sm) !important;
|
| 163 |
-
padding: 1.2rem !important;
|
| 164 |
-
/* Subtle colorful borders */
|
| 165 |
-
border: 1px solid rgba(129, 140, 248, 0.3) !important;
|
| 166 |
-
border-top: 1px solid rgba(56, 189, 248, 0.5) !important;
|
| 167 |
-
box-shadow: inset 0 4px 12px rgba(0,0,0,0.15), 0 4px 15px rgba(56, 189, 248, 0.05) !important;
|
| 168 |
-
transition: all 0.3s ease !important;
|
| 169 |
-
resize: vertical !important;
|
| 170 |
-
}
|
| 171 |
-
|
| 172 |
-
/* When the user clicks into the text box */
|
| 173 |
-
textarea:focus,
|
| 174 |
-
[data-testid="stTextArea"] textarea:focus {
|
| 175 |
-
/* Brighter colorful background on focus */
|
| 176 |
-
background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(129, 140, 248, 0.18) 100%) !important;
|
| 177 |
-
border: 1px solid var(--accent-1) !important;
|
| 178 |
-
/* Neon glow effect */
|
| 179 |
-
box-shadow: inset 0 2px 8px rgba(0,0,0,0.1), 0 0 20px rgba(56, 189, 248, 0.35) !important;
|
| 180 |
-
outline: none !important;
|
| 181 |
-
}
|
| 182 |
-
|
| 183 |
-
/* Brighter, more visible Hint Text (Placeholder) */
|
| 184 |
-
textarea::placeholder,
|
| 185 |
-
[data-testid="stTextArea"] textarea::placeholder {
|
| 186 |
-
color: #3b4b52 !important; /* Light sky blue */
|
| 187 |
-
font-weight: 400 !important;
|
| 188 |
-
font-style: italic;
|
| 189 |
-
opacity: 1 !important; /* Overrides default browser dimming */
|
| 190 |
-
}
|
| 191 |
-
|
| 192 |
-
/* βββ Buttons ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 193 |
-
.stButton > button {
|
| 194 |
-
font-family: 'Syne', sans-serif !important;
|
| 195 |
-
font-weight: 600 !important;
|
| 196 |
-
font-size: 0.95rem !important;
|
| 197 |
-
letter-spacing: 0.4px !important;
|
| 198 |
-
padding: 0.65rem 1.6rem !important;
|
| 199 |
-
border-radius: var(--radius-sm) !important;
|
| 200 |
-
border: 1px solid rgba(56,189,248,0.35) !important;
|
| 201 |
-
background: linear-gradient(135deg,
|
| 202 |
-
rgba(56,189,248,0.22) 0%,
|
| 203 |
-
rgba(129,140,248,0.18) 100%) !important;
|
| 204 |
-
backdrop-filter: blur(14px) !important;
|
| 205 |
-
-webkit-backdrop-filter: blur(14px) !important;
|
| 206 |
-
color: var(--text-primary) !important;
|
| 207 |
-
box-shadow: 0 4px 16px rgba(56,189,248,0.15), inset 0 1px 0 rgba(255,255,255,0.10) !important;
|
| 208 |
-
transition: all 0.25s ease !important;
|
| 209 |
-
cursor: pointer !important;
|
| 210 |
-
}
|
| 211 |
-
|
| 212 |
-
.stButton > button:hover {
|
| 213 |
-
background: linear-gradient(135deg,
|
| 214 |
-
rgba(56,189,248,0.38) 0%,
|
| 215 |
-
rgba(129,140,248,0.30) 100%) !important;
|
| 216 |
-
border-color: rgba(56,189,248,0.60) !important;
|
| 217 |
-
box-shadow: 0 6px 24px rgba(56,189,248,0.28), inset 0 1px 0 rgba(255,255,255,0.18) !important;
|
| 218 |
-
transform: translateY(-2px) !important;
|
| 219 |
-
color: #fff !important;
|
| 220 |
-
}
|
| 221 |
-
|
| 222 |
-
.stButton > button:active {
|
| 223 |
-
transform: translateY(0px) !important;
|
| 224 |
-
box-shadow: 0 2px 8px rgba(56,189,248,0.18) !important;
|
| 225 |
-
}
|
| 226 |
-
|
| 227 |
-
.stButton > button:disabled {
|
| 228 |
-
background: rgba(255,255,255,0.05) !important;
|
| 229 |
-
border-color: rgba(255,255,255,0.08) !important;
|
| 230 |
-
color: var(--text-muted) !important;
|
| 231 |
-
cursor: not-allowed !important;
|
| 232 |
-
transform: none !important;
|
| 233 |
-
box-shadow: none !important;
|
| 234 |
-
}
|
| 235 |
-
|
| 236 |
-
/* βββ Streamlit Alert / Info / Success / Warning Boxes ββββββββββββββββββββββββ */
|
| 237 |
-
[data-testid="stAlert"],
|
| 238 |
-
.stAlert,
|
| 239 |
-
div[data-baseweb="notification"] {
|
| 240 |
-
background: var(--glass-bg) !important;
|
| 241 |
-
backdrop-filter: var(--blur) !important;
|
| 242 |
-
-webkit-backdrop-filter: var(--blur) !important;
|
| 243 |
-
border-top: 1px solid var(--glass-border-light) !important;
|
| 244 |
-
border-left: 1px solid var(--glass-border-light) !important;
|
| 245 |
-
border-bottom: 1px solid var(--glass-border-dark) !important;
|
| 246 |
-
border-right: 1px solid var(--glass-border-dark) !important;
|
| 247 |
-
border-radius: var(--radius-sm) !important;
|
| 248 |
-
color: var(--text-primary) !important;
|
| 249 |
-
box-shadow: var(--glass-shadow), var(--inner-glare) !important;
|
| 250 |
-
}
|
| 251 |
-
|
| 252 |
-
/* Success */
|
| 253 |
-
[data-testid="stAlert"][data-type="success"],
|
| 254 |
-
div[data-baseweb="notification"][kind="positive"] {
|
| 255 |
-
border-color: rgba(52, 211, 153, 0.40) !important;
|
| 256 |
-
background: rgba(52, 211, 153, 0.08) !important;
|
| 257 |
-
}
|
| 258 |
-
|
| 259 |
-
/* Warning */
|
| 260 |
-
[data-testid="stAlert"][data-type="warning"],
|
| 261 |
-
div[data-baseweb="notification"][kind="warning"] {
|
| 262 |
-
border-color: rgba(251, 191, 36, 0.40) !important;
|
| 263 |
-
background: rgba(251, 191, 36, 0.08) !important;
|
| 264 |
-
}
|
| 265 |
-
|
| 266 |
-
/* Info */
|
| 267 |
-
[data-testid="stAlert"][data-type="info"],
|
| 268 |
-
div[data-baseweb="notification"][kind="info"] {
|
| 269 |
-
border-color: rgba(56, 189, 248, 0.35) !important;
|
| 270 |
-
background: rgba(56, 189, 248, 0.08) !important;
|
| 271 |
-
}
|
| 272 |
-
|
| 273 |
-
/* βββ Spinner ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 274 |
-
[data-testid="stSpinner"] {
|
| 275 |
-
color: var(--accent-1) !important;
|
| 276 |
-
}
|
| 277 |
-
|
| 278 |
-
/* βββ Headings inside Streamlit ββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 279 |
-
h1, h2, h3, h4 {
|
| 280 |
-
font-family: 'Syne', sans-serif !important;
|
| 281 |
-
color: var(--text-primary) !important;
|
| 282 |
-
}
|
| 283 |
-
|
| 284 |
-
h3 {
|
| 285 |
-
font-size: 1.15rem !important;
|
| 286 |
-
font-weight: 600 !important;
|
| 287 |
-
color: var(--text-secondary) !important;
|
| 288 |
-
}
|
| 289 |
-
|
| 290 |
-
/* βββ Markdown text ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 291 |
-
[data-testid="stMarkdownContainer"] p,
|
| 292 |
-
[data-testid="stMarkdownContainer"] li,
|
| 293 |
-
[data-testid="stMarkdownContainer"] span {
|
| 294 |
-
color: var(--text-secondary) !important;
|
| 295 |
-
font-family: 'DM Sans', sans-serif !important;
|
| 296 |
-
}
|
| 297 |
-
|
| 298 |
-
[data-testid="stMarkdownContainer"] strong {
|
| 299 |
-
color: var(--text-primary) !important;
|
| 300 |
-
}
|
| 301 |
-
|
| 302 |
-
[data-testid="stMarkdownContainer"] code {
|
| 303 |
-
background: rgba(56,189,248,0.14) !important;
|
| 304 |
-
color: var(--accent-1) !important;
|
| 305 |
-
border-radius: 6px !important;
|
| 306 |
-
padding: 0.15rem 0.45rem !important;
|
| 307 |
-
font-size: 0.92em !important;
|
| 308 |
-
border: 1px solid rgba(56,189,248,0.25) !important;
|
| 309 |
-
}
|
| 310 |
-
|
| 311 |
-
/* βββ Hide unused Streamlit elements βββββββββββββββββββββββββββββββββββββββββββ */
|
| 312 |
-
[data-testid="stTextInput"] {
|
| 313 |
-
display: none !important;
|
| 314 |
-
}
|
| 315 |
-
|
| 316 |
-
[data-testid="stDecoration"],
|
| 317 |
-
[data-testid="stHeader"] {
|
| 318 |
-
display: none !important;
|
| 319 |
-
}
|
| 320 |
-
|
| 321 |
-
/* βββ Scrollbar ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 322 |
-
::-webkit-scrollbar {
|
| 323 |
-
width: 6px;
|
| 324 |
-
}
|
| 325 |
-
::-webkit-scrollbar-track {
|
| 326 |
-
background: rgba(255,255,255,0.04);
|
| 327 |
-
}
|
| 328 |
-
::-webkit-scrollbar-thumb {
|
| 329 |
-
background: rgba(56,189,248,0.30);
|
| 330 |
-
border-radius: 99px;
|
| 331 |
-
}
|
| 332 |
-
::-webkit-scrollbar-thumb:hover {
|
| 333 |
-
background: rgba(56,189,248,0.55);
|
| 334 |
-
}
|
| 335 |
-
|
| 336 |
-
/* βββ Feedback Section βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 337 |
-
.feedback-section {
|
| 338 |
-
margin-top: 2rem;
|
| 339 |
-
padding: 1.4rem 1.6rem;
|
| 340 |
-
background: var(--glass-bg);
|
| 341 |
-
backdrop-filter: var(--blur);
|
| 342 |
-
-webkit-backdrop-filter: var(--blur);
|
| 343 |
-
border-top: 1px solid var(--glass-border-light);
|
| 344 |
-
border-left: 1px solid var(--glass-border-light);
|
| 345 |
-
border-bottom: 1px solid var(--glass-border-dark);
|
| 346 |
-
border-right: 1px solid var(--glass-border-dark);
|
| 347 |
-
border-radius: var(--radius);
|
| 348 |
-
box-shadow: var(--glass-shadow), var(--inner-glare);
|
| 349 |
-
}
|
| 350 |
-
|
| 351 |
-
/* βββ Ticket ID ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 352 |
-
.ticket-id {
|
| 353 |
-
font-family: 'Syne', sans-serif;
|
| 354 |
-
font-size: 1.1rem;
|
| 355 |
-
font-weight: 700;
|
| 356 |
-
color: var(--accent-1);
|
| 357 |
-
margin-top: 1rem;
|
| 358 |
-
letter-spacing: 0.5px;
|
| 359 |
-
}
|
| 360 |
-
|
| 361 |
-
/* βββ Columns ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 362 |
-
[data-testid="stHorizontalBlock"] {
|
| 363 |
-
gap: 1rem;
|
| 364 |
-
}
|
| 365 |
-
|
| 366 |
-
/* βββ Staggered fade-in on load ββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 367 |
-
[data-testid="stVerticalBlock"] > div {
|
| 368 |
-
animation: fadeUp 0.5s ease both;
|
| 369 |
-
}
|
| 370 |
-
[data-testid="stVerticalBlock"] > div:nth-child(1) { animation-delay: 0.05s; }
|
| 371 |
-
[data-testid="stVerticalBlock"] > div:nth-child(2) { animation-delay: 0.12s; }
|
| 372 |
-
[data-testid="stVerticalBlock"] > div:nth-child(3) { animation-delay: 0.19s; }
|
| 373 |
-
[data-testid="stVerticalBlock"] > div:nth-child(4) { animation-delay: 0.26s; }
|
| 374 |
-
[data-testid="stVerticalBlock"] > div:nth-child(5) { animation-delay: 0.33s; }
|
| 375 |
-
|
| 376 |
-
@keyframes fadeUp {
|
| 377 |
-
from { opacity: 0; transform: translateY(16px); }
|
| 378 |
-
to { opacity: 1; transform: translateY(0); }
|
| 379 |
}
|
|
|
|
| 1 |
+
/* βββ Google Fonts βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 2 |
+
@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');
|
| 3 |
+
|
| 4 |
+
/* βββ CSS Variables βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 5 |
+
:root {
|
| 6 |
+
--glass-bg: rgba(255, 255, 255, 0.05);
|
| 7 |
+
--glass-border-light: rgba(255, 255, 255, 0.3);
|
| 8 |
+
--glass-border-dark: rgba(255, 255, 255, 0.05);
|
| 9 |
+
--glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
| 10 |
+
--inner-glare: inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 1px 0 1px rgba(255, 255, 255, 0.05);
|
| 11 |
+
--blur: blur(16px) saturate(120%);
|
| 12 |
+
--accent-1: #38bdf8;
|
| 13 |
+
--accent-2: #818cf8;
|
| 14 |
+
--accent-3: #34d399;
|
| 15 |
+
--text-primary: #f0f9ff;
|
| 16 |
+
--text-secondary: rgba(240, 249, 255, 0.75);
|
| 17 |
+
--text-muted: rgba(240, 249, 255, 0.45);
|
| 18 |
+
--radius: 24px;
|
| 19 |
+
--radius-sm: 14px;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
/* βββ Global Reset & Background βββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 23 |
+
html, body, [data-testid="stAppViewContainer"], [data-testid="stApp"] {
|
| 24 |
+
background: transparent !important;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
[data-testid="stAppViewContainer"]::before {
|
| 28 |
+
content: "";
|
| 29 |
+
position: fixed;
|
| 30 |
+
inset: 0;
|
| 31 |
+
z-index: -2;
|
| 32 |
+
background:
|
| 33 |
+
radial-gradient(ellipse at 15% 20%, rgba(56, 189, 248, 0.30) 0%, transparent 55%),
|
| 34 |
+
radial-gradient(ellipse at 85% 10%, rgba(129, 140, 248, 0.28) 0%, transparent 50%),
|
| 35 |
+
radial-gradient(ellipse at 50% 80%, rgba(52, 211, 153, 0.20) 0%, transparent 55%),
|
| 36 |
+
linear-gradient(135deg, #0c1445 0%, #0f172a 40%, #0d1b35 70%, #0a1628 100%);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
/* Floating orb decorations */
|
| 40 |
+
[data-testid="stAppViewContainer"]::after {
|
| 41 |
+
content: "";
|
| 42 |
+
position: fixed;
|
| 43 |
+
inset: 0;
|
| 44 |
+
z-index: -1;
|
| 45 |
+
background:
|
| 46 |
+
radial-gradient(circle 220px at 10% 60%, rgba(56, 189, 248, 0.12) 0%, transparent 70%),
|
| 47 |
+
radial-gradient(circle 180px at 90% 75%, rgba(129, 140, 248, 0.14) 0%, transparent 70%);
|
| 48 |
+
pointer-events: none;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
body {
|
| 52 |
+
font-family: 'DM Sans', sans-serif;
|
| 53 |
+
color: var(--text-primary);
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
/* βββ Streamlit App Shell ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 57 |
+
[data-testid="stMain"] {
|
| 58 |
+
background: transparent !important;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
[data-testid="block-container"] {
|
| 62 |
+
padding-top: 2rem !important;
|
| 63 |
+
padding-bottom: 3rem !important;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
/* βββ Title Container ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 67 |
+
.title-container {
|
| 68 |
+
background: var(--glass-bg);
|
| 69 |
+
backdrop-filter: var(--blur);
|
| 70 |
+
-webkit-backdrop-filter: var(--blur);
|
| 71 |
+
border-top: 1px solid var(--glass-border-light);
|
| 72 |
+
border-left: 1px solid var(--glass-border-light);
|
| 73 |
+
border-bottom: 1px solid var(--glass-border-dark);
|
| 74 |
+
border-right: 1px solid var(--glass-border-dark);
|
| 75 |
+
border-radius: var(--radius);
|
| 76 |
+
padding: 1.4rem 2rem;
|
| 77 |
+
text-align: center;
|
| 78 |
+
box-shadow: var(--glass-shadow), var(--inner-glare);
|
| 79 |
+
margin-bottom: 1.2rem;
|
| 80 |
+
position: relative;
|
| 81 |
+
overflow: hidden;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.title-container::before {
|
| 85 |
+
content: "";
|
| 86 |
+
position: absolute;
|
| 87 |
+
top: -60%;
|
| 88 |
+
left: -20%;
|
| 89 |
+
width: 140%;
|
| 90 |
+
height: 200%;
|
| 91 |
+
background: conic-gradient(from 180deg at 50% 50%,
|
| 92 |
+
rgba(56,189,248,0.08) 0deg,
|
| 93 |
+
rgba(129,140,248,0.08) 120deg,
|
| 94 |
+
rgba(52,211,153,0.06) 240deg,
|
| 95 |
+
rgba(56,189,248,0.08) 360deg);
|
| 96 |
+
animation: rotateOrb 14s linear infinite;
|
| 97 |
+
pointer-events: none;
|
| 98 |
+
border-radius: 50%;
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
@keyframes rotateOrb {
|
| 102 |
+
from { transform: rotate(0deg); }
|
| 103 |
+
to { transform: rotate(360deg); }
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.title-container h1 {
|
| 107 |
+
font-family: 'Syne', sans-serif;
|
| 108 |
+
font-size: 2.4rem;
|
| 109 |
+
font-weight: 800;
|
| 110 |
+
margin: 0;
|
| 111 |
+
background: linear-gradient(135deg, #e0f2fe 0%, var(--accent-1) 45%, var(--accent-2) 100%);
|
| 112 |
+
-webkit-background-clip: text;
|
| 113 |
+
-webkit-text-fill-color: transparent;
|
| 114 |
+
background-clip: text;
|
| 115 |
+
letter-spacing: -0.5px;
|
| 116 |
+
position: relative;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
/* βββ Subtitle & Description βββββββββοΏ½οΏ½βββββββββββββββββββββββββββββββββββββββββ */
|
| 120 |
+
.subtitle {
|
| 121 |
+
text-align: center;
|
| 122 |
+
font-family: 'Syne', sans-serif;
|
| 123 |
+
font-size: 1.15rem;
|
| 124 |
+
font-weight: 600;
|
| 125 |
+
color: var(--text-secondary);
|
| 126 |
+
margin-bottom: 0.4rem;
|
| 127 |
+
letter-spacing: 0.3px;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
.description {
|
| 131 |
+
text-align: center;
|
| 132 |
+
font-size: 0.95rem;
|
| 133 |
+
font-weight: 300;
|
| 134 |
+
font-style: italic;
|
| 135 |
+
color: var(--text-muted);
|
| 136 |
+
margin-bottom: 2rem;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
/* βββ Input Label ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 140 |
+
.input-label {
|
| 141 |
+
font-family: 'Syne', sans-serif;
|
| 142 |
+
font-size: 1.05rem;
|
| 143 |
+
font-weight: 600;
|
| 144 |
+
color: var(--text-secondary);
|
| 145 |
+
margin-bottom: 0.5rem;
|
| 146 |
+
display: flex;
|
| 147 |
+
align-items: center;
|
| 148 |
+
gap: 0.4rem;
|
| 149 |
+
letter-spacing: 0.2px;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
/* βββ Text Area (Colorful & High Visibility) ββββββββββββββββββββββββββββββββββ */
|
| 153 |
+
textarea,
|
| 154 |
+
[data-testid="stTextArea"] textarea {
|
| 155 |
+
/* Colorful tinted glass background instead of dark gray */
|
| 156 |
+
background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.12) 100%) !important;
|
| 157 |
+
backdrop-filter: var(--blur) !important;
|
| 158 |
+
-webkit-backdrop-filter: var(--blur) !important;
|
| 159 |
+
color: #000000 !important; /* Crisp white text for user input */
|
| 160 |
+
font-family: 'DM Sans', sans-serif !important;
|
| 161 |
+
font-size: 1.05rem !important;
|
| 162 |
+
border-radius: var(--radius-sm) !important;
|
| 163 |
+
padding: 1.2rem !important;
|
| 164 |
+
/* Subtle colorful borders */
|
| 165 |
+
border: 1px solid rgba(129, 140, 248, 0.3) !important;
|
| 166 |
+
border-top: 1px solid rgba(56, 189, 248, 0.5) !important;
|
| 167 |
+
box-shadow: inset 0 4px 12px rgba(0,0,0,0.15), 0 4px 15px rgba(56, 189, 248, 0.05) !important;
|
| 168 |
+
transition: all 0.3s ease !important;
|
| 169 |
+
resize: vertical !important;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
/* When the user clicks into the text box */
|
| 173 |
+
textarea:focus,
|
| 174 |
+
[data-testid="stTextArea"] textarea:focus {
|
| 175 |
+
/* Brighter colorful background on focus */
|
| 176 |
+
background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(129, 140, 248, 0.18) 100%) !important;
|
| 177 |
+
border: 1px solid var(--accent-1) !important;
|
| 178 |
+
/* Neon glow effect */
|
| 179 |
+
box-shadow: inset 0 2px 8px rgba(0,0,0,0.1), 0 0 20px rgba(56, 189, 248, 0.35) !important;
|
| 180 |
+
outline: none !important;
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
/* Brighter, more visible Hint Text (Placeholder) */
|
| 184 |
+
textarea::placeholder,
|
| 185 |
+
[data-testid="stTextArea"] textarea::placeholder {
|
| 186 |
+
color: #3b4b52 !important; /* Light sky blue */
|
| 187 |
+
font-weight: 400 !important;
|
| 188 |
+
font-style: italic;
|
| 189 |
+
opacity: 1 !important; /* Overrides default browser dimming */
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
/* βββ Buttons ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 193 |
+
.stButton > button {
|
| 194 |
+
font-family: 'Syne', sans-serif !important;
|
| 195 |
+
font-weight: 600 !important;
|
| 196 |
+
font-size: 0.95rem !important;
|
| 197 |
+
letter-spacing: 0.4px !important;
|
| 198 |
+
padding: 0.65rem 1.6rem !important;
|
| 199 |
+
border-radius: var(--radius-sm) !important;
|
| 200 |
+
border: 1px solid rgba(56,189,248,0.35) !important;
|
| 201 |
+
background: linear-gradient(135deg,
|
| 202 |
+
rgba(56,189,248,0.22) 0%,
|
| 203 |
+
rgba(129,140,248,0.18) 100%) !important;
|
| 204 |
+
backdrop-filter: blur(14px) !important;
|
| 205 |
+
-webkit-backdrop-filter: blur(14px) !important;
|
| 206 |
+
color: var(--text-primary) !important;
|
| 207 |
+
box-shadow: 0 4px 16px rgba(56,189,248,0.15), inset 0 1px 0 rgba(255,255,255,0.10) !important;
|
| 208 |
+
transition: all 0.25s ease !important;
|
| 209 |
+
cursor: pointer !important;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.stButton > button:hover {
|
| 213 |
+
background: linear-gradient(135deg,
|
| 214 |
+
rgba(56,189,248,0.38) 0%,
|
| 215 |
+
rgba(129,140,248,0.30) 100%) !important;
|
| 216 |
+
border-color: rgba(56,189,248,0.60) !important;
|
| 217 |
+
box-shadow: 0 6px 24px rgba(56,189,248,0.28), inset 0 1px 0 rgba(255,255,255,0.18) !important;
|
| 218 |
+
transform: translateY(-2px) !important;
|
| 219 |
+
color: #fff !important;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.stButton > button:active {
|
| 223 |
+
transform: translateY(0px) !important;
|
| 224 |
+
box-shadow: 0 2px 8px rgba(56,189,248,0.18) !important;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.stButton > button:disabled {
|
| 228 |
+
background: rgba(255,255,255,0.05) !important;
|
| 229 |
+
border-color: rgba(255,255,255,0.08) !important;
|
| 230 |
+
color: var(--text-muted) !important;
|
| 231 |
+
cursor: not-allowed !important;
|
| 232 |
+
transform: none !important;
|
| 233 |
+
box-shadow: none !important;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
/* βββ Streamlit Alert / Info / Success / Warning Boxes ββββββββββββββββββββββββ */
|
| 237 |
+
[data-testid="stAlert"],
|
| 238 |
+
.stAlert,
|
| 239 |
+
div[data-baseweb="notification"] {
|
| 240 |
+
background: var(--glass-bg) !important;
|
| 241 |
+
backdrop-filter: var(--blur) !important;
|
| 242 |
+
-webkit-backdrop-filter: var(--blur) !important;
|
| 243 |
+
border-top: 1px solid var(--glass-border-light) !important;
|
| 244 |
+
border-left: 1px solid var(--glass-border-light) !important;
|
| 245 |
+
border-bottom: 1px solid var(--glass-border-dark) !important;
|
| 246 |
+
border-right: 1px solid var(--glass-border-dark) !important;
|
| 247 |
+
border-radius: var(--radius-sm) !important;
|
| 248 |
+
color: var(--text-primary) !important;
|
| 249 |
+
box-shadow: var(--glass-shadow), var(--inner-glare) !important;
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
/* Success */
|
| 253 |
+
[data-testid="stAlert"][data-type="success"],
|
| 254 |
+
div[data-baseweb="notification"][kind="positive"] {
|
| 255 |
+
border-color: rgba(52, 211, 153, 0.40) !important;
|
| 256 |
+
background: rgba(52, 211, 153, 0.08) !important;
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
/* Warning */
|
| 260 |
+
[data-testid="stAlert"][data-type="warning"],
|
| 261 |
+
div[data-baseweb="notification"][kind="warning"] {
|
| 262 |
+
border-color: rgba(251, 191, 36, 0.40) !important;
|
| 263 |
+
background: rgba(251, 191, 36, 0.08) !important;
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
/* Info */
|
| 267 |
+
[data-testid="stAlert"][data-type="info"],
|
| 268 |
+
div[data-baseweb="notification"][kind="info"] {
|
| 269 |
+
border-color: rgba(56, 189, 248, 0.35) !important;
|
| 270 |
+
background: rgba(56, 189, 248, 0.08) !important;
|
| 271 |
+
}
|
| 272 |
+
|
| 273 |
+
/* βββ Spinner ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 274 |
+
[data-testid="stSpinner"] {
|
| 275 |
+
color: var(--accent-1) !important;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
/* βββ Headings inside Streamlit ββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 279 |
+
h1, h2, h3, h4 {
|
| 280 |
+
font-family: 'Syne', sans-serif !important;
|
| 281 |
+
color: var(--text-primary) !important;
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
h3 {
|
| 285 |
+
font-size: 1.15rem !important;
|
| 286 |
+
font-weight: 600 !important;
|
| 287 |
+
color: var(--text-secondary) !important;
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
/* βββ Markdown text ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 291 |
+
[data-testid="stMarkdownContainer"] p,
|
| 292 |
+
[data-testid="stMarkdownContainer"] li,
|
| 293 |
+
[data-testid="stMarkdownContainer"] span {
|
| 294 |
+
color: var(--text-secondary) !important;
|
| 295 |
+
font-family: 'DM Sans', sans-serif !important;
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
[data-testid="stMarkdownContainer"] strong {
|
| 299 |
+
color: var(--text-primary) !important;
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
[data-testid="stMarkdownContainer"] code {
|
| 303 |
+
background: rgba(56,189,248,0.14) !important;
|
| 304 |
+
color: var(--accent-1) !important;
|
| 305 |
+
border-radius: 6px !important;
|
| 306 |
+
padding: 0.15rem 0.45rem !important;
|
| 307 |
+
font-size: 0.92em !important;
|
| 308 |
+
border: 1px solid rgba(56,189,248,0.25) !important;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
/* βββ Hide unused Streamlit elements βββββββββββββββββββββββββββββββββββββββββββ */
|
| 312 |
+
[data-testid="stTextInput"] {
|
| 313 |
+
display: none !important;
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
[data-testid="stDecoration"],
|
| 317 |
+
[data-testid="stHeader"] {
|
| 318 |
+
display: none !important;
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
/* βββ Scrollbar ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 322 |
+
::-webkit-scrollbar {
|
| 323 |
+
width: 6px;
|
| 324 |
+
}
|
| 325 |
+
::-webkit-scrollbar-track {
|
| 326 |
+
background: rgba(255,255,255,0.04);
|
| 327 |
+
}
|
| 328 |
+
::-webkit-scrollbar-thumb {
|
| 329 |
+
background: rgba(56,189,248,0.30);
|
| 330 |
+
border-radius: 99px;
|
| 331 |
+
}
|
| 332 |
+
::-webkit-scrollbar-thumb:hover {
|
| 333 |
+
background: rgba(56,189,248,0.55);
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
/* βββ Feedback Section βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 337 |
+
.feedback-section {
|
| 338 |
+
margin-top: 2rem;
|
| 339 |
+
padding: 1.4rem 1.6rem;
|
| 340 |
+
background: var(--glass-bg);
|
| 341 |
+
backdrop-filter: var(--blur);
|
| 342 |
+
-webkit-backdrop-filter: var(--blur);
|
| 343 |
+
border-top: 1px solid var(--glass-border-light);
|
| 344 |
+
border-left: 1px solid var(--glass-border-light);
|
| 345 |
+
border-bottom: 1px solid var(--glass-border-dark);
|
| 346 |
+
border-right: 1px solid var(--glass-border-dark);
|
| 347 |
+
border-radius: var(--radius);
|
| 348 |
+
box-shadow: var(--glass-shadow), var(--inner-glare);
|
| 349 |
+
}
|
| 350 |
+
|
| 351 |
+
/* βββ Ticket ID ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 352 |
+
.ticket-id {
|
| 353 |
+
font-family: 'Syne', sans-serif;
|
| 354 |
+
font-size: 1.1rem;
|
| 355 |
+
font-weight: 700;
|
| 356 |
+
color: var(--accent-1);
|
| 357 |
+
margin-top: 1rem;
|
| 358 |
+
letter-spacing: 0.5px;
|
| 359 |
+
}
|
| 360 |
+
|
| 361 |
+
/* βββ Columns ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 362 |
+
[data-testid="stHorizontalBlock"] {
|
| 363 |
+
gap: 1rem;
|
| 364 |
+
}
|
| 365 |
+
|
| 366 |
+
/* βββ Staggered fade-in on load ββββββββββββββββββββββββββββββββββββββββββββββββ */
|
| 367 |
+
[data-testid="stVerticalBlock"] > div {
|
| 368 |
+
animation: fadeUp 0.5s ease both;
|
| 369 |
+
}
|
| 370 |
+
[data-testid="stVerticalBlock"] > div:nth-child(1) { animation-delay: 0.05s; }
|
| 371 |
+
[data-testid="stVerticalBlock"] > div:nth-child(2) { animation-delay: 0.12s; }
|
| 372 |
+
[data-testid="stVerticalBlock"] > div:nth-child(3) { animation-delay: 0.19s; }
|
| 373 |
+
[data-testid="stVerticalBlock"] > div:nth-child(4) { animation-delay: 0.26s; }
|
| 374 |
+
[data-testid="stVerticalBlock"] > div:nth-child(5) { animation-delay: 0.33s; }
|
| 375 |
+
|
| 376 |
+
@keyframes fadeUp {
|
| 377 |
+
from { opacity: 0; transform: translateY(16px); }
|
| 378 |
+
to { opacity: 1; transform: translateY(0); }
|
| 379 |
}
|