Spaces:
Runtime error
Runtime error
File size: 3,722 Bytes
5683654 62bad1a 5683654 62bad1a 45088e5 62bad1a 45088e5 5683654 62bad1a | 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 | @tailwind base;
@tailwind components;
@tailwind utilities;
:root {
/* Primary Colors */
--color-cream-white: #FFFCF7;
--color-warm-gray-50: #F5F3F0;
--color-warm-gray-100: #E8E5E0;
--color-warm-gray-200: #D4D0CA;
--color-warm-gray-900: #2A2520;
/* Accent Colors */
--color-forest-green: #2D5C3F;
--color-forest-green-dark: #234730;
--color-sage-green: #6B8E6F;
--color-terracotta: #C85835;
--color-soft-blue: #4A7C8C;
/* Feedback Colors */
--color-success: #2D5C3F;
--color-warning: #D4803F;
--color-error: #C85835;
/* Text Colors */
--color-text-primary: #2A2520;
--color-text-secondary: #5A5147;
--color-text-tertiary: #8A8179;
/* Font sizes - Larger scale */
--font-size-xs: 0.875rem;
--font-size-sm: 1rem;
--font-size-base: 1.125rem;
--font-size-lg: 1.375rem;
--font-size-xl: 1.75rem;
--font-size-2xl: 2.25rem;
--font-size-3xl: 3rem;
/* Font family */
--font-sans: 'Inter', -apple-system, system-ui, sans-serif;
/* Border radius */
--radius-lg: 12px;
--radius-xl: 16px;
--radius-2xl: 24px;
}
/* Base styles */
body {
font-family: var(--font-sans);
background-color: var(--color-cream-white);
color: var(--color-text-primary);
font-size: var(--font-size-base);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin: 0;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes gentleFloat {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-8px); }
}
@keyframes scalePulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
.animate-fade-in-up {
animation: fadeInUp 0.6s ease-out forwards;
}
.animate-gentle-float {
animation: gentleFloat 4s ease-in-out infinite;
}
.animate-scale-pulse {
animation: scalePulse 2s ease-in-out infinite;
}
/* Staggered animations */
.animate-delay-100 { animation-delay: 100ms; }
.animate-delay-150 { animation-delay: 150ms; }
.animate-delay-200 { animation-delay: 200ms; }
.animate-delay-300 { animation-delay: 300ms; }
.animate-delay-400 { animation-delay: 400ms; }
.animate-delay-500 { animation-delay: 500ms; }
/* ── Chat component animations ── */
/* Simple fade-in (no translate) for overlays */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.animate-fade-in {
animation: fadeIn 0.25s ease-out forwards;
}
/* Typing indicator bouncing dots */
@keyframes typingBounce {
0%, 60%, 100% {
transform: translateY(0);
opacity: 0.4;
}
30% {
transform: translateY(-4px);
opacity: 1;
}
}
.animate-typing-bounce {
animation: typingBounce 1.4s ease-in-out infinite;
}
/* Urgent timer pulsing glow */
@keyframes urgentPulse {
0%, 100% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.25);
}
50% {
transform: scale(1.02);
box-shadow: 0 0 20px 4px rgba(220, 38, 38, 0.3);
}
}
.animate-urgent-pulse {
animation: urgentPulse 1.5s ease-in-out infinite;
}
/* Loading bar animation for agent initialization */
@keyframes loadingBar {
0% { width: 0%; }
10% { width: 10%; }
20% { width: 25%; }
40% { width: 45%; }
60% { width: 65%; }
80% { width: 85%; }
100% { width: 100%; }
}
.animate-loading-bar {
animation: loadingBar 180s ease-out forwards; /* 3 minutes */
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--color-warm-gray-50);
}
::-webkit-scrollbar-thumb {
background: var(--color-warm-gray-200);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-text-tertiary);
}
|