@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap'); @tailwind base; @tailwind components; @tailwind utilities; :root { --primary: #4f46e5; --primary-light: #818cf8; --secondary: #7c3aed; --accent: #f43f5e; --bg-main: #f8fafc; --bg-gradient: radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(124, 58, 237, 0.05) 0px, transparent 50%); --glass: rgba(255, 255, 255, 0.7); --glass-border: rgba(255, 255, 255, 0.5); } body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: var(--bg-gradient); color: #1e293b; } h1, h2, h3 { font-family: 'Outfit', sans-serif; } .custom-scrollbar::-webkit-scrollbar { width: 5px; } .custom-scrollbar::-webkit-scrollbar-track { background: transparent; } .custom-scrollbar::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; } .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #cbd5e1; } @keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .animate-slide-up { animation: slideUp 0.3s ease-out forwards; } .glass-card { background: var(--glass); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); border: 1px solid var(--glass-border); } .chat-bubble-user { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2); } .chat-bubble-ai { background: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02); } /* Fix for overlapping LaTeX/Math */ .katex-display { overflow-x: auto; overflow-y: hidden; padding: 0.5rem 0; margin: 0.5rem 0; } @keyframes scaleIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } } .animate-scale-in { animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .animate-spin-slow { animation: spin 3s linear infinite; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @media (max-width: 640px) { .prose { font-size: 0.875rem !important; } }