Spaces:
Sleeping
Sleeping
File size: 13,197 Bytes
9bc686b | 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 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 | @tailwind base;
@tailwind components;
@tailwind utilities;
/* βββ Design Tokens (Strict Minimalist Light Theme: White & Dark Grey Only) βββ */
:root {
--bg-base: #ffffff; /* Pure White */
--bg-surface: #ffffff; /* Pure White */
--bg-elevated: #ffffff; /* Pure White */
--bg-overlay: rgba(255, 255, 255, 0.95);
--accent-primary: #18181b; /* Zinc 900 / Dark Grey */
--accent-cyan: #27272a; /* Zinc 800 */
--accent-indigo: #27272a;
--accent-emerald: #18181b;
--accent-amber: #3f3f46;
--accent-rose: #18181b;
--border-subtle: #f4f4f5; /* Zinc 100 */
--border-medium: #e4e4e7; /* Zinc 200 */
--border-strong: #d4d4d8; /* Zinc 300 */
--text-primary: #18181b; /* Zinc 900 - Dark Grey */
--text-secondary: #3f3f46; /* Zinc 700 - Medium Dark Grey */
--text-muted: #71717a; /* Zinc 500 - Medium Grey */
--text-faint: #a1a1aa; /* Zinc 400 - Light Grey */
--glow-blue: 0 4px 20px rgba(24, 24, 27, 0.03);
--glow-cyan: 0 4px 20px rgba(24, 24, 27, 0.03);
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
--radius-2xl: 24px;
--radius-3xl: 32px;
}
/* βββ Base Reset βββ */
*, *::before, *::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--bg-base);
color: var(--text-primary);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
line-height: 1.6;
}
/* βββ Typography βββ */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.02em;
}
.font-mono, code, pre, .mono {
font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}
/* βββ Scrollbar βββ */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
background: rgba(113, 113, 122, 0.2);
border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(113, 113, 122, 0.35);
}
/* βββ Glass Components βββ */
.glass {
background: #ffffff;
border: 1px solid var(--border-medium);
}
.glass-panel {
background: #ffffff;
border: 1px solid var(--border-medium);
}
.glass-card {
background: #ffffff;
border: 1px solid var(--border-medium);
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
border-color: var(--border-strong);
background: #ffffff;
transform: translateY(-0.5px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
/* βββ Card Glow Variants (Clean zinc shadows) βββ */
.card-glow-blue,
.card-glow-cyan,
.card-glow-emerald,
.card-glow-amber,
.card-glow-rose {
box-shadow: 0 4px 20px rgba(24, 24, 27, 0.02);
}
/* βββ Gradient Text βββ */
.gradient-text,
.gradient-text-blue,
.gradient-text-cyan {
background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* βββ Buttons βββ */
.btn-primary {
background: var(--text-primary);
color: white;
font-weight: 650;
border: 1px solid var(--text-primary);
border-radius: var(--radius-lg);
padding: 10px 20px;
font-size: 13px;
cursor: pointer;
transition: all 0.15s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
position: relative;
overflow: hidden;
}
.btn-primary:hover {
background: #27272a;
border-color: #27272a;
transform: translateY(-0.5px);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: #e4e4e7; border-color: #e4e4e7; color: #a1a1aa; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost {
background: #ffffff;
color: var(--text-secondary);
border: 1px solid var(--border-medium);
border-radius: var(--radius-lg);
padding: 9px 18px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.15s ease;
}
.btn-ghost:hover {
background: #f4f4f5;
border-color: var(--border-strong);
color: var(--text-primary);
}
/* βββ Form Inputs βββ */
.input-field {
width: 100%;
background: #ffffff;
border: 1px solid var(--border-medium);
border-radius: var(--radius-md);
padding: 0 14px;
height: 40px;
color: var(--text-primary);
font-size: 13px;
font-family: inherit;
transition: all 0.15s ease;
outline: none;
}
.input-field::placeholder { color: var(--text-muted); }
.input-field:focus {
border-color: var(--text-primary);
background: #ffffff;
box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.05);
}
select.input-field option {
background: #ffffff;
color: var(--text-primary);
}
/* Chrome Autofill Styling Override */
.input-field:-webkit-autofill,
.input-field:-webkit-autofill:hover,
.input-field:-webkit-autofill:focus,
.input-field:-webkit-autofill:active {
-webkit-text-fill-color: var(--text-primary) !important;
-webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
box-shadow: 0 0 0px 1000px #ffffff inset !important;
transition: background-color 5000s ease-in-out 0s;
}
/* Hide native Chrome autofill key/card icons to prevent overlap with Lucide icons */
.input-field::-webkit-contacts-auto-fill-button,
.input-field::-webkit-credentials-auto-fill-button {
visibility: hidden;
display: none !important;
pointer-events: none;
}
/* βββ Status Badges (Strict Minimalist Grays) βββ */
.badge {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 10px;
border-radius: 99px;
font-size: 11px;
font-weight: 650;
letter-spacing: 0.01em;
background: #f4f4f5;
color: #27272a;
border: 1px solid #e4e4e7;
}
.badge-emerald,
.badge-blue,
.badge-indigo,
.badge-slate {
background: #f4f4f5;
color: #18181b;
border: 1px solid #e4e4e7;
}
.badge-amber {
background: #fffbeb;
color: #78350f;
border: 1px solid #fef3c7;
}
.badge-rose {
background: #fef2f2;
color: #991b1b;
border: 1px solid #fee2e2;
}
/* βββ Dividers βββ */
.divider {
border: none;
border-top: 1px solid var(--border-subtle);
margin: 0;
}
/* βββ Ambient Background Effects (Hidden for strict minimalism) βββ */
.ambient-bg {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
background: #ffffff;
}
/* βββ Grid Mesh Background (Minimalist) βββ */
.mesh-bg {
background-image:
linear-gradient(rgba(24, 24, 27, 0.01) 1px, transparent 1px),
linear-gradient(90deg, rgba(24, 24, 27, 0.01) 1px, transparent 1px);
background-size: 48px 48px;
}
/* βββ Kiosk Scanner Laser βββ */
@keyframes scan-line {
0% { top: 0%; opacity: 1; }
48% { opacity: 1; }
50% { top: 100%; opacity: 0; }
51% { top: 0%; opacity: 0; }
52% { opacity: 1; }
100% { top: 100%; opacity: 1; }
}
.scanner-laser {
position: absolute;
left: 0;
width: 100%;
height: 1.5px;
background: linear-gradient(90deg, transparent 0%, rgba(24, 24, 27, 0.5) 30%, rgba(24, 24, 27, 0.5) 70%, transparent 100%);
box-shadow: 0 0 8px rgba(24, 24, 27, 0.15);
animation: scan-line 3s cubic-bezier(0.4,0,0.6,1) infinite;
}
/* βββ Fade In Animation βββ */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp {
animation: fadeInUp 0.35s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.animate-fade-in {
animation: fadeIn 0.25s ease both;
}
/* βββ Pulse Ring βββ */
@keyframes pulse-ring {
0% { transform: scale(1); opacity: 0.5; }
100% { transform: scale(1.4); opacity: 0; }
}
.pulse-ring::after {
content: '';
position: absolute;
inset: 0;
border-radius: 50%;
background: currentColor;
animation: pulse-ring 1.5s ease infinite;
}
/* βββ Loading Skeleton βββ */
@keyframes shimmer {
0% { background-position: -400px 0; }
100% { background-position: 400px 0; }
}
.skeleton {
background: linear-gradient(90deg, rgba(24, 24, 27, 0.02) 25%, rgba(24, 24, 27, 0.05) 50%, rgba(24, 24, 27, 0.02) 75%);
background-size: 400px 100%;
animation: shimmer 1.5s infinite;
border-radius: var(--radius-md);
}
/* βββ Page Transition βββ */
.page-enter {
animation: fadeInUp 0.3s cubic-bezier(0.4,0,0.2,1) both;
}
/* βββ Sidebar Active Indicator βββ */
.nav-active-dot {
width: 3px;
height: 24px;
border-radius: 99px;
background: var(--text-primary);
}
/* βββ Table Styles βββ */
.data-table {
width: 100%;
border-collapse: collapse;
}
.data-table thead tr {
border-bottom: 1px solid var(--border-medium);
}
.data-table thead th {
padding: 12px 20px;
font-size: 10px;
font-weight: 650;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-secondary);
font-family: 'JetBrains Mono', monospace;
background: #f4f4f5;
}
.data-table tbody tr {
border-bottom: 1px solid rgba(24, 24, 27, 0.04);
transition: background 0.15s ease;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover {
background: #f4f4f5;
}
.data-table tbody td {
padding: 14px 20px;
font-size: 12.5px;
color: var(--text-secondary);
}
/* βββ Modal Backdrop βββ */
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.2);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
z-index: 50;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
animation: fadeIn 0.2s ease;
}
.modal-content {
background: var(--bg-surface);
border: 1px solid var(--border-medium);
border-radius: var(--radius-2xl);
padding: 28px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
animation: fadeInUp 0.25s cubic-bezier(0.4,0,0.2,1) both;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
/* βββ Stat Card Accent Lines βββ */
.stat-card {
position: relative;
overflow: hidden;
}
.stat-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 1px;
background: var(--border-medium);
}
/* βββ Kiosk Full Screen βββ */
.kiosk-frame {
background: #ffffff;
}
/* βββ Corner Brackets βββ */
.corner-bracket {
position: absolute;
width: 20px;
height: 20px;
}
.corner-bracket-tl { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; border-radius: 4px 0 0 0; }
.corner-bracket-tr { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; border-radius: 0 4px 0 0; }
.corner-bracket-bl { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; border-radius: 0 0 0 4px; }
.corner-bracket-br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; border-radius: 0 0 4px 0; }
/* βββ Tooltip βββ */
[data-tooltip] {
position: relative;
}
[data-tooltip]::after {
content: attr(data-tooltip);
position: absolute;
bottom: calc(100% + 6px);
left: 50%;
transform: translateX(-50%);
background: rgba(24, 24, 27, 0.95);
border: 1px solid var(--border-medium);
color: #ffffff;
font-size: 11px;
padding: 5px 10px;
border-radius: var(--radius-sm);
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.15s ease;
z-index: 99;
}
[data-tooltip]:hover::after { opacity: 1; }
/* βββ Number Ticker βββ */
@keyframes countUp {
from { transform: translateY(6px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.count-up {
animation: countUp 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
/* βββ Custom Form Icon Padding Helpers βββ */
.input-field.pl-icon {
padding-left: 40px !important;
}
.input-field.pr-icon {
padding-right: 40px !important;
}
/* βββ Robotic Eye & Cybernetic Animations βββ */
@keyframes eyeBlink {
0%, 90%, 94%, 98%, 100% {
transform: scaleY(1);
}
92%, 96% {
transform: scaleY(0.15);
}
}
@keyframes pupilPulse {
0%, 100% {
transform: scale(1);
filter: drop-shadow(0 0 2px #22d3ee) drop-shadow(0 0 6px #0891b2);
}
50% {
transform: scale(1.15);
filter: drop-shadow(0 0 4px #22d3ee) drop-shadow(0 0 12px #0891b2);
}
}
@keyframes rotateRing {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes laserFlicker {
0%, 100% {
opacity: 0.4;
}
50% {
opacity: 0.85;
filter: drop-shadow(0 0 3px #22d3ee);
}
}
.animate-eye-lid {
transform-origin: 50px 50px;
animation: eyeBlink 5s ease-in-out infinite;
}
.animate-pupil {
transform-origin: 50px 50px;
animation: pupilPulse 2s ease-in-out infinite;
}
.animate-rotate-ring {
transform-origin: 50px 50px;
animation: rotateRing 12s linear infinite;
}
.animate-rotate-ring-reverse {
transform-origin: 50px 50px;
animation: rotateRing 8s linear infinite reverse;
}
.animate-laser {
animation: laserFlicker 1.5s ease-in-out infinite;
}
|