@tailwind base; @tailwind components; @tailwind utilities; @layer base { :root { --background: 0 0% 100%; --foreground: 222.2 84% 4.9%; --card: 0 0% 100%; --card-foreground: 222.2 84% 4.9%; --popover: 0 0% 100%; --popover-foreground: 222.2 84% 4.9%; --primary: 142 76% 36%; --primary-foreground: 355.7 100% 97.3%; --secondary: 210 40% 96.1%; --secondary-foreground: 222.2 47.4% 11.2%; --muted: 210 40% 96.1%; --muted-foreground: 215.4 16.3% 46.9%; --accent: 210 40% 96.1%; --accent-foreground: 222.2 47.4% 11.2%; --destructive: 0 84.2% 60.2%; --destructive-foreground: 210 40% 98%; --border: 214.3 31.8% 91.4%; --input: 214.3 31.8% 91.4%; --ring: 142 76% 36%; --radius: 0.5rem; } .dark { --background: 222.2 30% 8%; --foreground: 210 40% 98%; --card: 222.2 30% 8%; --card-foreground: 210 40% 98%; --popover: 222.2 30% 8%; --popover-foreground: 210 40% 98%; --primary: 142 76% 36%; --primary-foreground: 355.7 100% 97.3%; --secondary: 217.2 20% 17.5%; --secondary-foreground: 210 40% 98%; --muted: 217.2 20% 17.5%; --muted-foreground: 215 20.2% 65.1%; --accent: 217.2 20% 17.5%; --accent-foreground: 210 40% 98%; --destructive: 0 62.8% 30.6%; --destructive-foreground: 210 40% 98%; --border: 217.2 20% 17.5%; --input: 217.2 20% 17.5%; --ring: 142 76% 36%; } } @layer base { * { @apply border-border; } body { @apply bg-background text-foreground; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } } .habit-cell { transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1); } .habit-cell:hover { transform: scale(1.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } .habit-cell:active { transform: scale(0.9); } .grid-scroll { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.2) transparent; } .grid-scroll::-webkit-scrollbar { height: 6px; } .grid-scroll::-webkit-scrollbar-track { background: transparent; } .grid-scroll::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.2); border-radius: 3px; } .dark .grid-scroll::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.2); } /* Toast custom animations */ @keyframes toast-in { 0% { transform: scale(0.7) translateY(40px); opacity: 0; } 100% { transform: scale(1) translateY(0); opacity: 1; } } .animate-toast-in { animation: toast-in 0.5s cubic-bezier(.68,-0.55,.27,1.55); } @keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0); } } .animate-float { animation: float 2s infinite ease-in-out; }