Spaces:
Running
Running
File size: 19,649 Bytes
cd61bf7 dc7e33a ca23984 dc7e33a bd3a2c8 cd61bf7 1f6ebd8 cd61bf7 20ee727 ef78ff8 20ee727 bd3a2c8 ef78ff8 57a0bd5 ef78ff8 20ee727 ef78ff8 20ee727 ef78ff8 20ee727 ef78ff8 20ee727 ef78ff8 ca23984 abb8c3e 3425727 abb8c3e ca23984 abb8c3e 53900e6 48e3948 fafcde0 b4da4fc cd61bf7 fafcde0 b2e8e03 3539f8f a848251 3539f8f b2e8e03 bd3a2c8 fafae3e bd3a2c8 ef78ff8 bd3a2c8 6027253 b2e8e03 e61b09b ef78ff8 be0a401 3539f8f a848251 3539f8f cd61bf7 ef78ff8 20ee727 ef78ff8 746a7ef ef78ff8 20ee727 ef78ff8 746a7ef 20ee727 ef78ff8 65d2c0e ef78ff8 65d2c0e ef78ff8 65d2c0e ef78ff8 65d2c0e ef78ff8 746a7ef ef78ff8 bd3a2c8 20ee727 ef78ff8 326ae89 bd3a2c8 ef78ff8 326ae89 bd3a2c8 ef78ff8 20ee727 326ae89 bd3a2c8 ef78ff8 326ae89 ef78ff8 20ee727 ef78ff8 7a5f952 20ee727 ef78ff8 cd61bf7 20ee727 ef78ff8 20ee727 ef78ff8 7a5f952 ef78ff8 cd61bf7 bd3a2c8 ef78ff8 bd3a2c8 ef78ff8 bd3a2c8 cd61bf7 ef78ff8 bd3a2c8 ef78ff8 bd3a2c8 cd61bf7 ef78ff8 bd3a2c8 ef78ff8 bd3a2c8 ef78ff8 bd3a2c8 ef78ff8 bd3a2c8 ef78ff8 bd3a2c8 ef78ff8 bd3a2c8 cd61bf7 bd3a2c8 ef78ff8 bd3a2c8 cd61bf7 ef78ff8 bd3a2c8 cd61bf7 ef78ff8 cd61bf7 ca13047 bd3a2c8 ca13047 bd3a2c8 ef78ff8 bd3a2c8 ca13047 bd3a2c8 ef78ff8 bd3a2c8 ca13047 124d6b6 ef78ff8 124d6b6 ef78ff8 124d6b6 ef78ff8 20ee727 ef78ff8 20ee727 ef78ff8 20ee727 ef78ff8 124d6b6 ef78ff8 4d1e257 fca6539 4d1e257 880042a 4d1e257 fca6539 4d1e257 880042a 4d1e257 db54885 2450a28 68806fe cb7ca84 93744a8 cb7ca84 93744a8 cb7ca84 c307f87 cb7ca84 57a0bd5 d14e1f7 57a0bd5 d14e1f7 57a0bd5 bd3a2c8 | 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 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 | @import "tailwindcss";
/* Tailwind CSS v4 Theme Extension — Use CSS Variables as Tailwind Classes */
@theme {
/* Backgrounds */
--color-background: var(--background);
--color-surface: var(--surface);
--color-surface-elevated: var(--surface-elevated);
--color-surface-hover: var(--surface-hover);
/* Primary Colors */
--color-primary: var(--primary);
--color-primary-light: var(--primary-light);
--color-secondary: var(--secondary);
--color-accent: var(--accent);
--color-accent-cyan: var(--accent-cyan);
/* Semantic */
--color-success: var(--success);
--color-warning: var(--warning);
--color-error: var(--error);
--color-info: var(--info);
/* Text */
--color-foreground: var(--foreground);
--color-text-secondary: var(--text-secondary);
--color-text-muted: var(--text-muted);
--color-text-dim: var(--text-dim);
/* Material 3 Token Integration */
--color-md-primary: var(--md-sys-color-primary);
--color-md-on-primary: var(--md-sys-color-on-primary);
--color-md-primary-container: var(--md-sys-color-primary-container);
--color-md-on-primary-container: var(--md-sys-color-on-primary-container);
--color-md-secondary: var(--md-sys-color-secondary);
--color-md-on-secondary: var(--md-sys-color-on-secondary);
--color-md-secondary-container: var(--md-sys-color-secondary-container);
--color-md-on-secondary-container: var(--md-sys-color-on-secondary-container);
--color-md-surface: var(--md-sys-color-surface);
--color-md-on-surface: var(--md-sys-color-on-surface);
--color-md-surface-container: var(--md-sys-color-surface-container);
--color-md-surface-container-high: var(--md-sys-color-surface-container-high);
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
background-color: var(--background);
}
/*
DESIGN SYSTEM: AURORA DARK
Premium, bold design with gradients and glassmorphism
*/
:root {
/* === AURORA PALETTE === */
/* Backgrounds */
--background: #020206;
--surface: #0D0E18;
--surface-elevated: #12131F;
--surface-hover: #1A1B2E;
/* Primary Gradient (Indigo → Violet → Pink) */
--primary: #6366F1;
--primary-light: #818CF8;
--secondary: #8B5CF6;
--accent: #EC4899;
--accent-cyan: #22D3EE;
/* Semantic Colors */
--success: #10B981;
--warning: #F59E0B;
--error: #EF4444;
--info: #3B82F6;
/* Text */
--foreground: #F8FAFC;
--text-secondary: #CBD5E1;
--text-muted: #64748B;
--text-dim: #475569;
/* Borders */
--border: rgba(255, 255, 255, 0.08);
--border-hover: rgba(255, 255, 255, 0.15);
--border-active: rgba(99, 102, 241, 0.5);
/* Glow Effects */
--glow-primary: rgba(99, 102, 241, 0.4);
--glow-accent: rgba(236, 72, 153, 0.4);
--glow-success: rgba(16, 185, 129, 0.4);
/* Radius */
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-xl: 24px;
/* === MATERIAL 3 DESIGN SYSTEM TOKENS (Mapped to Aurora) === */
/* https://m3.material.io/styles/color/the-color-system/tokens */
/* Primary */
--md-sys-color-primary: var(--primary);
--md-sys-color-on-primary: #FFFFFF;
--md-sys-color-primary-container: #312E81;
/* Indigo 900 */
--md-sys-color-on-primary-container: #E0E7FF;
/* Indigo 100 */
.touch-callout-none {
-webkit-touch-callout: none !important;
-webkit-user-select: none !important;
user-select: none !important;
}
--md-sys-color-secondary: var(--secondary);
--md-sys-color-on-secondary: #FFFFFF;
--md-sys-color-secondary-container: #4C1D95;
/* Violet 900 */
--md-sys-color-on-secondary-container: #EDE9FE;
/* Violet 100 */
/* Tertiary (Accent) */
--md-sys-color-tertiary: var(--accent);
--md-sys-color-on-tertiary: #FFFFFF;
--md-sys-color-tertiary-container: #831843;
/* Pink 900 */
--md-sys-color-on-tertiary-container: #FCE7F3;
/* Pink 100 */
/* Error */
--md-sys-color-error: var(--error);
--md-sys-color-on-error: #FFFFFF;
--md-sys-color-error-container: #450A0A;
--md-sys-color-on-error-container: #FEE2E2;
/* Background & Surface */
--md-sys-color-background: var(--background);
--md-sys-color-on-background: var(--foreground);
--md-sys-color-surface: var(--surface);
--md-sys-color-on-surface: var(--foreground);
--md-sys-color-surface-variant: var(--surface-elevated);
--md-sys-color-on-surface-variant: var(--text-secondary);
/* Surface Containers (M3 Elevation Levels) */
--md-sys-color-surface-container-lowest: #050510;
/* background */
--md-sys-color-surface-container-low: #0D0E18;
/* surface */
--md-sys-color-surface-container: #12131F;
/* surface-elevated */
--md-sys-color-surface-container-high: #1A1B2E;
/* surface-hover */
--md-sys-color-surface-container-highest: #232438;
/* Outline */
--md-sys-color-outline: var(--border);
--md-sys-color-outline-variant: var(--border-hover);
/* Elevation (Shadows) */
--md-sys-elevation-1: 0px 1px 2px 0px rgba(0, 0, 0, 0.3),
0px 1px 3px 1px rgba(0, 0, 0, 0.15);
--md-sys-elevation-2: 0px 1px 2px 0px rgba(0, 0, 0, 0.3),
0px 2px 6px 2px rgba(0, 0, 0, 0.15);
--md-sys-elevation-3: 0px 1px 3px 0px rgba(0, 0, 0, 0.3),
0px 4px 8px 3px rgba(0, 0, 0, 0.15);
--md-sys-elevation-4: 0px 2px 3px 0px rgba(0, 0, 0, 0.3),
0px 6px 10px 4px rgba(0, 0, 0, 0.15);
--md-sys-elevation-5: 0px 4px 4px 0px rgba(0, 0, 0, 0.3),
0px 8px 12px 6px rgba(0, 0, 0, 0.15);
/* Mobile Layout Constants */
--header-height-mobile: calc(52px + env(safe-area-inset-top, 0px));
--footer-height-mobile: calc(70px + env(safe-area-inset-bottom, 0px));
/* Increased from 50px to ensure better spacing */
@media (min-width: 768px) {
--header-height-mobile: 0px;
--footer-height-mobile: 0px;
}
}
/* Common Layout Utilities */
.modal-mobile-bottom-buffer {
padding-bottom: var(--footer-height-mobile);
}
html {
scroll-behavior: smooth;
background-color: #050510;
height: 100%;
}
@media (max-width: 767px) {
html {
height: 100%;
}
}
body {
background-color: transparent;
color: var(--foreground);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
overflow-x: hidden;
min-height: 100dvh;
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
position: relative;
}
@media (max-width: 767px) {
body {
height: auto;
min-height: 100dvh;
}
}
/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 700;
letter-spacing: -0.02em;
}
/* === INPUTS & FORMS === */
input,
textarea,
select {
color: var(--foreground) !important;
background-color: var(--surface) !important;
border: 1px solid var(--border) !important;
border-radius: var(--radius-md) !important;
transition: all 0.2s ease;
font-size: 14px;
}
input::placeholder,
textarea::placeholder {
color: var(--text-muted) !important;
}
input:focus,
textarea:focus,
select:focus {
outline: none !important;
border-color: var(--primary) !important;
box-shadow: 0 0 0 3px var(--glow-primary), 0 0 20px -5px var(--glow-primary) !important;
}
/* Chrome Autofill Fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
-webkit-background-clip: text;
-webkit-text-fill-color: var(--foreground) !important;
transition: background-color 5000s ease-in-out 0s;
box-shadow: inset 0 0 20px 20px var(--surface);
}
/* === SCROLLBAR === */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: var(--background);
}
::-webkit-scrollbar-thumb {
background: var(--text-dim);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* === GLASS CARDS === */
.glass-card {
background: rgba(13, 14, 24, 0.8);
backdrop-filter: blur(16px) saturate(180%);
-webkit-backdrop-filter: blur(16px) saturate(180%);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
transition: all 0.3s ease;
}
.glass-card:hover {
border-color: var(--border-hover);
box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.5);
}
/* Glass card with gradient border on hover */
.glass-card-gradient {
background: rgba(13, 14, 24, 0.8);
backdrop-filter: blur(16px) saturate(180%);
-webkit-backdrop-filter: blur(16px) saturate(180%);
border-radius: var(--radius-lg);
position: relative;
transition: all 0.3s ease;
}
.glass-card-gradient::before {
content: "";
position: absolute;
inset: 0;
border-radius: var(--radius-lg);
padding: 1px;
background: linear-gradient(135deg, transparent 40%, var(--primary) 50%, var(--accent) 60%, transparent 70%);
background-size: 300% 300%;
background-position: 0% 0%;
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 0;
transition: all 0.5s ease;
}
.glass-card-gradient:hover::before {
opacity: 1;
background-position: 100% 100%;
}
/* === GRADIENT TEXT === */
.text-gradient-aurora {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.text-gradient-primary {
background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.text-gradient-success {
background: linear-gradient(135deg, var(--success) 0%, #34D399 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
/* === GLOW EFFECTS === */
.glow-primary {
box-shadow: 0 0 20px -5px var(--glow-primary);
}
.glow-accent {
box-shadow: 0 0 20px -5px var(--glow-accent);
}
.glow-success {
box-shadow: 0 0 20px -5px var(--glow-success);
}
/* Text glow */
.text-glow-primary {
text-shadow: 0 0 20px var(--glow-primary);
}
.text-glow-accent {
text-shadow: 0 0 20px var(--glow-accent);
}
/* === BUTTONS === */
.btn-primary {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
color: white;
font-weight: 600;
padding: 12px 24px;
border-radius: var(--radius-md);
border: none;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px -3px var(--glow-primary);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px -5px var(--glow-primary);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-secondary {
background: var(--surface-elevated);
color: var(--foreground);
font-weight: 600;
padding: 12px 24px;
border-radius: var(--radius-md);
border: 1px solid var(--border);
cursor: pointer;
transition: all 0.3s ease;
}
.btn-secondary:hover {
background: var(--surface-hover);
border-color: var(--border-hover);
}
/* === AURORA BACKGROUND ACCENTS === */
.aurora-bg {
position: fixed;
inset: 0;
pointer-events: none;
z-index: -1;
overflow: hidden;
}
.aurora-blob {
position: absolute;
border-radius: 50%;
filter: blur(80px);
opacity: 0.5;
animation: aurora-float 20s ease-in-out infinite;
}
.aurora-blob-1 {
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
top: -200px;
left: -100px;
}
.aurora-blob-2 {
width: 500px;
height: 500px;
background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
bottom: -150px;
right: -100px;
animation-delay: -10s;
}
.aurora-blob-3 {
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation-delay: -5s;
}
/* === ANIMATIONS === */
@keyframes aurora-float {
0%,
100% {
transform: translate(0, 0) scale(1);
}
25% {
transform: translate(30px, -30px) scale(1.05);
}
50% {
transform: translate(-20px, 20px) scale(0.95);
}
75% {
transform: translate(-30px, -10px) scale(1.02);
}
}
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes scale-in {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes pulse-glow {
0%,
100% {
opacity: 0.5;
box-shadow: 0 0 20px -5px var(--glow-primary);
}
50% {
opacity: 1;
box-shadow: 0 0 30px -3px var(--glow-primary);
}
}
@keyframes shimmer {
from {
background-position: 200% 0;
}
to {
background-position: -200% 0;
}
}
@keyframes float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.animate-fade-in {
animation: fade-in 0.5s ease-out forwards;
}
.animate-scale-in {
animation: scale-in 0.3s ease-out forwards;
}
.animate-pulse-glow {
animation: pulse-glow 3s ease-in-out infinite;
}
.animate-shimmer {
background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
background-size: 200% 100%;
animation: shimmer 2s linear infinite;
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
/* === SPOTLIGHT EFFECT === */
.spotlight-card {
position: relative;
overflow: hidden;
}
.spotlight-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 200%;
height: 100%;
background: linear-gradient(115deg,
transparent 0%,
transparent 40%,
rgba(255, 255, 255, 0.03) 45%,
rgba(255, 255, 255, 0.08) 50%,
rgba(255, 255, 255, 0.03) 55%,
transparent 60%,
transparent 100%);
transform: skewX(-20deg);
transition: left 0.6s ease;
pointer-events: none;
}
.spotlight-card:hover::before {
left: 100%;
}
/* === UTILITY CLASSES === */
.input-glow:focus-within {
box-shadow: 0 0 0 3px var(--glow-primary);
border-color: var(--primary);
}
/* Heat badges */
.badge-hot {
background: linear-gradient(135deg, #EF4444 0%, #F97316 100%);
color: white;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.badge-warm {
background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
color: #1F2937;
}
.badge-cold {
background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
color: white;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
/* Status indicators */
.status-online {
background: var(--success);
box-shadow: 0 0 8px var(--glow-success);
}
.status-offline {
background: var(--text-dim);
}
.status-busy {
background: var(--warning);
box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}
/* Gradient borders */
.border-gradient {
border: 1px solid transparent;
background: linear-gradient(var(--surface), var(--surface)) padding-box,
linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) border-box;
}
/* Loading skeleton */
.skeleton {
background: linear-gradient(90deg, var(--surface) 25%, var(--surface-elevated) 50%, var(--surface) 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
border-radius: var(--radius-md);
}
/* === MARQUEE ANIMATION === */
@keyframes marquee {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@keyframes marquee-infinite {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
.animate-marquee {
animation: marquee 30s linear infinite;
}
.animate-marquee-infinite {
animation: marquee-infinite 40s linear infinite;
}
.animate-marquee:hover,
.animate-marquee-infinite:hover {
animation-play-state: paused;
}
/* GPU acceleration for smooth animations */
.gpu-accelerated {
will-change: transform;
transform: translateZ(0);
backface-visibility: hidden;
}
/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
.animate-marquee,
.animate-marquee-infinite {
animation: none;
}
}
/* === MOBILE SPECIFIC === */
/* Safe area for bottom navigation */
.safe-area-bottom {
padding-bottom: env(safe-area-inset-bottom, 0);
}
/* Prevent zoom on iOS when focusing inputs */
@media screen and (max-width: 767px) {
input,
textarea,
select {
font-size: 16px !important;
/* Prevents iOS zoom */
}
/* Add bottom padding for pages with bottom nav */
.mobile-page-padding {
padding-bottom: 80px;
}
}
/* Fix for virtual keyboard pushing content */
@supports (height: 100dvh) {
.h-screen {
height: 100dvh;
}
}
/* Fix scroll lock when alternating between scrollable areas */
.overflow-y-auto,
.overflow-auto {
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
}
/* Ensure touch events work properly on mobile nav */
nav,
aside,
.sidebar {
touch-action: pan-y;
}
/* === MOBILE CHAT IMPROVEMENTS === */
/* Chat page fills available space from flex parent, respecting header */
.chat-container {
height: 100%;
/* On mobile, use dynamic viewport for keyboard handling */
}
@media screen and (max-width: 767px) {
.chat-container {
height: 100dvh;
height: calc(100vh - 64px - 56px);
/* Subtract mobile header and bottom nav */
}
}
/* Mobile chat list improvements */
@media screen and (max-width: 767px) {
/* Compact sidebar on mobile */
.sidebar {
width: 100% !important;
max-width: none !important;
}
/* Chat header more compact */
.chat-header {
padding: 12px 16px !important;
}
/* Leads list items - larger touch targets */
.lead-item {
min-height: 64px;
padding: 12px 16px;
}
/* Message input area - fixed at bottom */
.message-input-container {
position: sticky;
bottom: 0;
background: var(--surface);
padding-bottom: env(safe-area-inset-bottom, 12px);
border-top: 1px solid var(--border);
}
/* AI summary drawer - full width on small screens */
.ai-summary-drawer {
width: 100% !important;
max-width: 100vw !important;
border-radius: 24px 24px 0 0 !important;
}
}
/* Aurora palette improvements for better contrast */
.text-slate-400 {
color: var(--text-secondary) !important;
}
.text-slate-500 {
color: var(--text-muted) !important;
}
.text-slate-600 {
color: var(--text-dim) !important;
}
.bg-slate-800 {
background-color: var(--surface-elevated) !important;
}
.bg-slate-900 {
background-color: var(--surface) !important;
}
/* Gradient accents matching landing page */
.aurora-gradient-text {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.aurora-gradient-bg {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}
/* Custom scrollbar matching Aurora theme */
.custom-scrollbar::-webkit-scrollbar {
width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 2px;
opacity: 0.5;
}
/* Touch-friendly interactive elements */
@media (hover: none) and (pointer: coarse) {
@keyframes voice-wave {
0%,
100% {
transform: scaleY(1);
}
50% {
transform: scaleY(1.5);
}
}
.animate-voice-wave {
animation: voice-wave 1s infinite ease-in-out;
}
button,
a,
.clickable {
min-height: 44px;
min-width: 44px;
}
/* Exclude Radix Switch from min-width rule - it has its own sizing */
button[role="switch"] {
min-height: auto !important;
height: 24px !important;
min-width: 44px !important;
width: 44px !important;
aspect-ratio: 44/24 !important;
flex-shrink: 0 !important;
}
} |