@import "tailwindcss"; @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); } /* ═══ DARK THEME ═══ */ :root, [data-theme="dark"] { --background: #06080d; --foreground: #c8d6e5; --accent: #00e5ff; --accent-dim: #0097a7; --accent-purple: #7c4dff; --accent-pink: #ff4081; --surface: rgba(12, 18, 30, 0.7); --surface-border: rgba(0, 229, 255, 0.08); --surface-hover: rgba(0, 229, 255, 0.04); --text-primary: #ffffff; --text-secondary: #c8d6e5; --text-muted: #6b7280; --text-accent: #00e5ff; --text-accent-hover: #67edff; --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.15); --grid-color: rgba(0, 229, 255, 0.03); --row-hover: rgba(0, 229, 255, 0.04); --input-bg: rgba(12, 18, 30, 0.6); --input-border: rgba(0, 229, 255, 0.1); --input-focus: rgba(0, 229, 255, 0.4); --chart-grid: rgba(0, 229, 255, 0.06); --btn-active-bg: rgba(0, 229, 255, 0.2); --btn-active-border: rgba(0, 229, 255, 0.5); --progress-bg: rgba(0, 229, 255, 0.08); --spinner-track: rgba(0, 229, 255, 0.3); --spinner-head: #00e5ff; color-scheme: dark; } /* ═══ LIGHT THEME ═══ */ [data-theme="light"] { --background: #f7f8fc; --foreground: #1e293b; --accent: #0284c7; --accent-dim: #0369a1; --accent-purple: #7c3aed; --accent-pink: #db2777; --surface: rgba(255, 255, 255, 0.85); --surface-border: rgba(2, 132, 199, 0.12); --surface-hover: rgba(2, 132, 199, 0.04); --text-primary: #0f172a; --text-secondary: #475569; --text-muted: #94a3b8; --text-accent: #0284c7; --text-accent-hover: #0369a1; --glow-cyan: 0 4px 20px rgba(2, 132, 199, 0.08); --grid-color: rgba(2, 132, 199, 0.04); --row-hover: rgba(2, 132, 199, 0.05); --input-bg: rgba(255, 255, 255, 0.8); --input-border: rgba(2, 132, 199, 0.15); --input-focus: rgba(2, 132, 199, 0.4); --chart-grid: rgba(2, 132, 199, 0.08); --btn-active-bg: rgba(2, 132, 199, 0.12); --btn-active-border: rgba(2, 132, 199, 0.3); --progress-bg: rgba(2, 132, 199, 0.1); --spinner-track: rgba(2, 132, 199, 0.3); --spinner-head: #0284c7; color-scheme: light; } body { background: var(--background); color: var(--foreground); font-family: var(--font-sans), system-ui, sans-serif; transition: background 0.3s, color 0.3s; } /* Grid background — dark only */ [data-theme="dark"] body::before { content: ''; position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-color) 1px, transparent 1px), linear-gradient(90deg, var(--grid-color) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 100%); } /* Top ambient glow — dark only */ [data-theme="dark"] body::after { content: ''; position: fixed; top: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 229, 255, 0.06) 0%, transparent 70%); z-index: -1; pointer-events: none; } /* Light theme subtle background */ [data-theme="light"] body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(2, 132, 199, 0.03) 0%, transparent 60%); } /* Glass card */ .glass { background: var(--surface); backdrop-filter: blur(16px); border: 1px solid var(--surface-border); border-radius: 12px; transition: border-color 0.2s, background 0.3s; } .glass:hover { border-color: var(--input-border); } /* Gradient heading */ .gradient-text { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* Table row glow on hover */ .row-glow:hover { background: var(--row-hover); } /* Accent button */ .btn-accent { background: var(--btn-active-bg); border: 1px solid var(--surface-border); color: var(--text-accent); transition: all 0.2s; } .btn-accent:hover { border-color: var(--btn-active-border); box-shadow: var(--glow-cyan); } /* Input style */ .input-glass { background: var(--input-bg); border: 1px solid var(--input-border); color: var(--foreground); transition: border-color 0.2s; } .input-glass::placeholder { color: var(--text-muted); } .input-glass:focus { outline: none; border-color: var(--input-focus); box-shadow: 0 0 12px rgba(2, 132, 199, 0.1); } /* Spinner */ .spinner { border: 2px solid var(--spinner-track); border-top-color: var(--spinner-head); } /* Themed text utility classes */ .text-t-primary { color: var(--text-primary); } .text-t-secondary { color: var(--text-secondary); } .text-t-muted { color: var(--text-muted); } .text-t-accent { color: var(--text-accent); } .text-t-accent:hover { color: var(--text-accent-hover); } .border-t { border-color: var(--surface-border); } /* Scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--surface-border); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--input-border); } /* Recharts overrides */ .recharts-cartesian-grid-horizontal line, .recharts-cartesian-grid-vertical line { stroke: var(--chart-grid) !important; } .recharts-text { fill: var(--text-muted) !important; }