@import "tailwindcss";

/* Supabase · https://uidesignmd.com/design-md/supabase/DESIGN.md
 * Reference canvas: light. Alternate surfaces and contrast adjustments are derived.
 * Reference license: https://uidesignmd.com/design-md-license.txt
 * Load licensed brand fonts separately. */
:root {
  --background: #FFFFFF;
  --foreground: #171717;
  --card: #FAFAFA;
  --card-foreground: #171717;
  --popover: #FAFAFA;
  --popover-foreground: #171717;
  --primary: #3ECF8E;
  --primary-foreground: #171717;
  --secondary: #FAFAFA;
  --secondary-foreground: #171717;
  --muted: #FAFAFA;
  --muted-foreground: #707070;
  --background-muted-foreground: #707070;
  --card-muted-foreground: #707070;
  --accent: #E9DCF3;
  --accent-foreground: #171717;
  --destructive: #C52239;
  --destructive-foreground: #FFFFFF;
  --border: #DFDFDF;
  --input: #909090;
  --ring: #35A371;
  --brand-primary: #3ECF8E;
  --brand-accent: #6B01C2;
  --chart-1: #35A371;
  --chart-2: #6B01C2;
  --chart-3: #5568A8;
  --chart-4: #490A7E;
  --chart-5: #2E855E;
  --sidebar: #FAFAFA;
  --sidebar-foreground: #171717;
  --sidebar-primary: #3ECF8E;
  --sidebar-primary-foreground: #171717;
  --sidebar-accent: #E9DCF3;
  --sidebar-accent-foreground: #171717;
  --sidebar-border: #DFDFDF;
  --sidebar-ring: #35A371;
  --font-body: "Circular", "Inter Variable", system-ui, sans-serif;
  --font-heading: "Circular", "Inter Variable", system-ui, sans-serif;
  --font-code: ui-monospace, "JetBrains Mono Variable", ui-monospace, monospace;
  --radius: 6px;
}

.dark, [data-theme="dark"] {
  --background: #1C1C1C;
  --foreground: #FFFFFF;
  --card: #202020;
  --card-foreground: #FFFFFF;
  --popover: #202020;
  --popover-foreground: #FFFFFF;
  --secondary: #333333;
  --secondary-foreground: #FFFFFF;
  --muted: #333333;
  --muted-foreground: #B8B8B8;
  --background-muted-foreground: #B0B0B0;
  --card-muted-foreground: #B1B1B1;
  --accent: #2F1A40;
  --accent-foreground: #FFFFFF;
  --destructive: #FB7185;
  --destructive-foreground: #000000;
  --border: #464646;
  --input: #6B6B6B;
  --ring: #3ECF8E;
  --chart-1: #3ECF8E;
  --chart-2: #9143D2;
  --chart-4: #A667DA;
  --chart-5: #8BE2BB;
  --sidebar: #202020;
  --sidebar-foreground: #FFFFFF;
  --sidebar-accent: #2F1A40;
  --sidebar-accent-foreground: #FFFFFF;
  --sidebar-border: #464646;
  --sidebar-ring: #3ECF8E;
}

@theme inline {
  --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-background-muted-foreground: var(--background-muted-foreground);
  --color-card-muted-foreground: var(--card-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-brand-primary: var(--brand-primary);
  --color-brand-accent: var(--brand-accent);
  --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);
  --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);
  --font-sans: var(--font-body);
  --font-display: var(--font-heading);
  --font-mono: var(--font-code);
  --radius-sm: calc(var(--radius) * .6);
  --radius-md: calc(var(--radius) * .8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
}
