Spaces:
Running
Running
| @import 'tailwindcss'; | |
| @import 'tw-animate-css'; | |
| @custom-variant dark (&:is(.dark *)); | |
| /* Premium Dark Mode AI Chatbot Theme - Electric Blue Accent */ | |
| :root { | |
| --background: oklch(0.11 0.005 260); | |
| --foreground: oklch(0.95 0 0); | |
| --card: oklch(0.14 0.005 260); | |
| --card-foreground: oklch(0.95 0 0); | |
| --surface: oklch(0.16 0.005 260); | |
| --surface-foreground: oklch(0.95 0 0); | |
| --popover: oklch(0.14 0.005 260); | |
| --popover-foreground: oklch(0.95 0 0); | |
| --primary: oklch(0.65 0.2 250); | |
| --primary-dark: oklch(0.55 0.2 250); | |
| --primary-foreground: oklch(0.98 0 0); | |
| --secondary: oklch(0.18 0.005 260); | |
| --secondary-foreground: oklch(0.85 0 0); | |
| --muted: oklch(0.22 0.005 260); | |
| --muted-foreground: oklch(0.6 0 0); | |
| --accent: oklch(0.65 0.2 250); | |
| --accent-foreground: oklch(0.98 0 0); | |
| --destructive: oklch(0.55 0.22 25); | |
| --destructive-foreground: oklch(0.98 0 0); | |
| --border: oklch(0.25 0.01 260); | |
| --input: oklch(0.18 0.005 260); | |
| --ring: oklch(0.65 0.2 250); | |
| --chart-1: oklch(0.65 0.2 250); | |
| --chart-2: oklch(0.6 0.15 180); | |
| --chart-3: oklch(0.55 0.12 280); | |
| --chart-4: oklch(0.7 0.18 80); | |
| --chart-5: oklch(0.65 0.2 320); | |
| --radius: 0.75rem; | |
| --sidebar: oklch(0.12 0.005 260); | |
| --sidebar-foreground: oklch(0.95 0 0); | |
| --sidebar-primary: oklch(0.65 0.2 250); | |
| --sidebar-primary-foreground: oklch(0.98 0 0); | |
| --sidebar-accent: oklch(0.18 0.005 260); | |
| --sidebar-accent-foreground: oklch(0.85 0 0); | |
| --sidebar-border: oklch(0.25 0.01 260); | |
| --sidebar-ring: oklch(0.65 0.2 250); | |
| /* Custom tokens for chat UI */ | |
| --glass: oklch(0.16 0.005 260 / 0.8); | |
| --glass-border: oklch(0.35 0.02 260 / 0.5); | |
| --glow: oklch(0.65 0.2 250); | |
| --message-user: oklch(0.2 0.01 260); | |
| --message-ai: oklch(0.14 0.005 260); | |
| } | |
| .dark { | |
| --background: oklch(0.11 0.005 260); | |
| --foreground: oklch(0.95 0 0); | |
| --card: oklch(0.14 0.005 260); | |
| --card-foreground: oklch(0.95 0 0); | |
| --surface: oklch(0.16 0.005 260); | |
| --surface-foreground: oklch(0.95 0 0); | |
| --popover: oklch(0.14 0.005 260); | |
| --popover-foreground: oklch(0.95 0 0); | |
| --primary: oklch(0.65 0.2 250); | |
| --primary-dark: oklch(0.55 0.2 250); | |
| --primary-foreground: oklch(0.98 0 0); | |
| --secondary: oklch(0.18 0.005 260); | |
| --secondary-foreground: oklch(0.85 0 0); | |
| --muted: oklch(0.22 0.005 260); | |
| --muted-foreground: oklch(0.6 0 0); | |
| --accent: oklch(0.65 0.2 250); | |
| --accent-foreground: oklch(0.98 0 0); | |
| --destructive: oklch(0.55 0.22 25); | |
| --destructive-foreground: oklch(0.98 0 0); | |
| --border: oklch(0.25 0.01 260); | |
| --input: oklch(0.18 0.005 260); | |
| --ring: oklch(0.65 0.2 250); | |
| --chart-1: oklch(0.65 0.2 250); | |
| --chart-2: oklch(0.6 0.15 180); | |
| --chart-3: oklch(0.55 0.12 280); | |
| --chart-4: oklch(0.7 0.18 80); | |
| --chart-5: oklch(0.65 0.2 320); | |
| --sidebar: oklch(0.12 0.005 260); | |
| --sidebar-foreground: oklch(0.95 0 0); | |
| --sidebar-primary: oklch(0.65 0.2 250); | |
| --sidebar-primary-foreground: oklch(0.98 0 0); | |
| --sidebar-accent: oklch(0.18 0.005 260); | |
| --sidebar-accent-foreground: oklch(0.85 0 0); | |
| --sidebar-border: oklch(0.25 0.01 260); | |
| --sidebar-ring: oklch(0.65 0.2 250); | |
| } | |
| @theme inline { | |
| --font-sans: 'Inter', sans-serif; | |
| --font-mono: 'Geist Mono Variable', monospace; | |
| --color-glass: var(--glass); | |
| --color-glass-border: var(--glass-border); | |
| --color-glow: var(--glow); | |
| --color-message-user: var(--message-user); | |
| --color-message-ai: var(--message-ai); | |
| --color-surface: var(--surface); | |
| --color-surface-foreground: var(--surface-foreground); | |
| --color-background: var(--background); | |
| --color-foreground: var(--foreground); | |
| --color-card: var(--card); | |
| --color-card-foreground: var(--card-foreground); | |
| --color-popover: var(--popover); | |
| --color-popover-foreground: var(--popover-foreground); | |
| --color-primary: var(--primary); | |
| --color-primary-dark: var(--primary-dark); | |
| --color-primary-foreground: var(--primary-foreground); | |
| --color-secondary: var(--secondary); | |
| --color-secondary-foreground: var(--secondary-foreground); | |
| --color-muted: var(--muted); | |
| --color-muted-foreground: var(--muted-foreground); | |
| --color-accent: var(--accent); | |
| --color-accent-foreground: var(--accent-foreground); | |
| --color-destructive: var(--destructive); | |
| --color-destructive-foreground: var(--destructive-foreground); | |
| --color-border: var(--border); | |
| --color-input: var(--input); | |
| --color-ring: var(--ring); | |
| --color-chart-1: var(--chart-1); | |
| --color-chart-2: var(--chart-2); | |
| --color-chart-3: var(--chart-3); | |
| --color-chart-4: var(--chart-4); | |
| --color-chart-5: var(--chart-5); | |
| --radius-sm: calc(var(--radius) - 4px); | |
| --radius-md: calc(var(--radius) - 2px); | |
| --radius-lg: var(--radius); | |
| --radius-xl: calc(var(--radius) + 4px); | |
| --color-sidebar: var(--sidebar); | |
| --color-sidebar-foreground: var(--sidebar-foreground); | |
| --color-sidebar-primary: var(--sidebar-primary); | |
| --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); | |
| --color-sidebar-accent: var(--sidebar-accent); | |
| --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); | |
| --color-sidebar-border: var(--sidebar-border); | |
| --color-sidebar-ring: var(--sidebar-ring); | |
| } | |
| @layer base { | |
| * { | |
| @apply border-border outline-ring/50; | |
| } | |
| body { | |
| @apply bg-background text-foreground; | |
| } | |
| } | |
| /* Custom animations */ | |
| @keyframes glow-pulse { | |
| 0%, 100% { | |
| box-shadow: 0 0 20px oklch(0.65 0.2 250 / 0.4), 0 0 40px oklch(0.65 0.2 250 / 0.2); | |
| } | |
| 50% { | |
| box-shadow: 0 0 30px oklch(0.65 0.2 250 / 0.6), 0 0 60px oklch(0.65 0.2 250 / 0.3); | |
| } | |
| } | |
| @keyframes typing-dot { | |
| 0%, 60%, 100% { | |
| opacity: 0.3; | |
| transform: translateY(0); | |
| } | |
| 30% { | |
| opacity: 1; | |
| transform: translateY(-4px); | |
| } | |
| } | |
| @keyframes fade-in-up { | |
| from { | |
| opacity: 0; | |
| transform: translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .animate-glow-pulse { | |
| animation: glow-pulse 2s ease-in-out infinite; | |
| } | |
| .animate-typing-dot { | |
| animation: typing-dot 1.4s ease-in-out infinite; | |
| } | |
| .animate-fade-in-up { | |
| animation: fade-in-up 0.3s ease-out forwards; | |
| } | |
| /* Glassmorphism utility */ | |
| .glass { | |
| background: oklch(0.16 0.005 260 / 0.8); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border: 1px solid oklch(0.35 0.02 260 / 0.5); | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: transparent; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: oklch(0.3 0.01 260); | |
| border-radius: 3px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: oklch(0.4 0.01 260); | |
| } | |