@import "tailwindcss";
@import "tw-animate-css";

@custom-variant dark (&:is(.dark *));

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-nunito: var(--font-nunito);
  --color-chart-5: var(--chart-5);
  --color-chart-4: var(--chart-4);
  --color-chart-3: var(--chart-3);
  --color-chart-2: var(--chart-2);
  --color-chart-1: var(--chart-1);
  --color-ring: var(--ring);
  --color-input: var(--input);
  --color-border: var(--border);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);

  --color-accent-foreground: var(--accent-foreground);
  --color-accent: var(--accent);
  --color-muted-foreground: var(--muted-foreground);
  --color-muted: var(--muted);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted-100: var(--muted-100);
  --color-muted-200: var(--muted-200);
  --color-secondary: var(--secondary);
  --color-primary-foreground: var(--primary-foreground);
  --color-primary: var(--primary);
  --color-popover-foreground: var(--popover-foreground);
  --color-popover: var(--popover);
  --color-card-foreground: var(--card-foreground);
  --color-card: var(--card);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --breakpoint-xs: 380px;

  --color-custom-orange: var(--custom-orange);
  --color-custom-orange-foreground: var(--custom-orange-foreground);
  --color-custom-blue: var(--custom-blue);
  --color-custom-blue-foreground: var(--custom-blue-foreground);
  --color-custom-green: var(--custom-green);
  --color-custom-green-100: var(--custom-green-100);
  --color-custom-orange-100: var(--custom-orange-100);
  --color-custom-blue-100: var(--custom-blue-100);
  --color-custom-blue-200: var(--custom-blue-200);
  --color-custom-blue-300: var(--custom-blue-300);
}

:root {
  --radius: 0.625rem;
  --background: #fbfbfb;
  --foreground: #141824;

  --card: #fff;
  --card-foreground: #141824;

  --popover: #fff;
  --popover-foreground: #141824;

  --primary: #b4f68c;
  --primary-foreground: #0e0e0e;
  --secondary: #8511d9;
  --secondary-foreground: #f1f6ff;

  --muted: #d9d9d9;
  --muted-foreground: #31374a;
  --muted-100: #525b75;
  --muted-200: #f5f7fa;

  --custom-orange: #ffcc85;
  --custom-orange-foreground: #e5780b;
  --custom-blue: #60c6ff;
  --custom-blue-foreground: #c7ebff;
  --custom-green: #6ec35a;
  --custom-green-100: #65cc26;
  --custom-orange-100: #ffefca;
  --custom-blue-100: #85a9ff;
  --custom-blue-200: #f2f6ff;
  --custom-blue-300: #e5edff;

  --accent: #ebf1f6;
  --accent-foreground: #0e0e0e;
  --destructive: #fa3b1d;
  --destructive-foreground: #f48270;

  --border: #e6e6e6;
  --input: #fbfbfb;
  --ring: #b4f68c;
  --chart-1: #60c6ff;
  --chart-2: #ffcc85;
  --chart-3: #f48270;
  --chart-4: #90d67f;
  --chart-5: #3874ff;
}

.dark {
  --background: #141824;
  --foreground: #fbfbfb;

  --card: #1c2130;
  --card-foreground: #fbfbfb;

  --popover: #1c2130;
  --popover-foreground: #fbfbfb;

  --primary: #b4f68c;
  --primary-foreground: #0e0e0e;
  --secondary: #8511d9;
  --secondary-foreground: #f1f6ff;

  --muted: #31374a;
  --muted-foreground: #8a91a8;
  --muted-100: #525b75;
  --muted-200: #f5f7fa;

  --custom-orange: #ffcc85;
  --custom-orange-foreground: #e5780b;
  --custom-blue: #60c6ff;
  --custom-blue-foreground: #c7ebff;
  --custom-green: #6ec35a;
  --custom-green-100: #65cc26;

  --custom-orange-100: #ffefca;
  --custom-blue-100: #85a9ff;
  --custom-blue-200: #f2f6ff;
  --custom-blue-300: #e5edff;

  --accent: #2a2e3c;
  --accent-foreground: #fbfbfb;
  --destructive: #fa3b1d;
  --destructive-foreground: #f48270;

  --border: #2a2e3c;
  --input: #2a2e3c;
  --ring: #b4f68c;

  --chart-1: #60c6ff;
  --chart-2: #ffcc85;
  --chart-3: #f48270;
  --chart-4: #90d67f;
  --chart-5: #3874ff;
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground font-nunito;
  }
}
