@import "tailwindcss"; @import "tw-animate-css"; @custom-variant dark (&:is(.dark *)); :root { --background: oklch(0.98 0.005 106.42); /* Light Gray */ --foreground: oklch(0.1 0 0); /* Dark Gray */ --card: oklch(1 0 0); /* White */ --card-foreground: oklch(0.1 0 0); /* Dark Gray */ --popover: oklch(1 0 0); /* White */ --popover-foreground: oklch(0.1 0 0); /* Dark Gray */ --primary: oklch(0.6 0.2 260); /* Vibrant Blue */ --primary-foreground: oklch(0.95 0 0); /* Light Gray */ --secondary: oklch(0.8 0.15 280); /* Vibrant Purple */ --secondary-foreground: oklch(0.95 0 0); /* Light Gray */ --muted: oklch(0.9 0.01 250); /* Light Gray */ --muted-foreground: oklch(0.4 0.01 250); /* Gray */ --accent: oklch(0.7 0.25 290); /* Vibrant Pink */ --accent-foreground: oklch(0.95 0 0); /* Light Gray */ --destructive: oklch(0.5 0.25 25); /* Deep Red */ --destructive-foreground: oklch(0.95 0 0); /* Light Gray */ --border: oklch(0.8 0.02 250); /* Gray */ --input: oklch(0.8 0.02 250); /* Gray */ --ring: oklch(0.6 0.2 260 / 0.5); /* Vibrant Blue with transparency */ --radius: 0.5rem; } .dark { --background: oklch(0.1 0 0); /* Dark Gray */ --foreground: oklch(0.95 0 0); /* Light Gray */ --card: oklch(0.15 0 0); /* Darker Gray */ --card-foreground: oklch(0.95 0 0); /* Light Gray */ --popover: oklch(0.1 0 0); /* Dark Gray */ --popover-foreground: oklch(0.95 0 0); /* Light Gray */ --primary: oklch(0.6 0.2 260); /* Vibrant Blue */ --primary-foreground: oklch(0.95 0 0); /* Light Gray */ --secondary: oklch(0.8 0.15 280); /* Vibrant Purple */ --secondary-foreground: oklch(0.95 0 0); /* Light Gray */ --muted: oklch(0.2 0 0); /* Dark Gray */ --muted-foreground: oklch(0.7 0 0); /* Light Gray */ --accent: oklch(0.7 0.25 290); /* Vibrant Pink */ --accent-foreground: oklch(0.95 0 0); /* Light Gray */ --destructive: oklch(0.5 0.25 25); /* Deep Red */ --destructive-foreground: oklch(0.95 0 0); /* Light Gray */ --border: oklch(0.2 0 0); /* Dark Gray */ --input: oklch(0.2 0 0); /* Dark Gray */ --ring: oklch(0.6 0.2 260 / 0.5); /* Vibrant Blue with transparency */ } @theme inline { --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); --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-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; } /* Mobile UX Optimizations - Prevent Zoom & Unwanted Gestures */ html { -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */ -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */ touch-action: pan-y manipulation; /* Allow vertical scroll, prevent zoom gestures */ /* Use dynamic viewport height for Chrome mobile address bar */ height: 100%; } html, body { /* Support for dvh (dynamic viewport height) - adjusts with Chrome address bar */ min-height: 100dvh; } body { overscroll-behavior: none; /* Prevent pull-to-refresh */ -webkit-user-select: none; /* Prevent text selection on iOS */ user-select: none; /* Prevent text selection */ -webkit-touch-callout: none; /* Disable iOS callout menu */ } /* Allow text selection only where needed */ input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; } /* Prevent double-tap zoom on buttons and interactive elements */ button, a, [role="button"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; } /* Safe Area Support for iOS Notch/Dynamic Island */ @supports (padding: env(safe-area-inset-top)) { body { padding-top: env(safe-area-inset-top); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); /* Don't add bottom padding - causes gap in Chrome Android */ /* Each component handles its own bottom safe area */ } } }