@import "tailwindcss";

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

:root {
  --radius: 0.5rem;
  --background: #fcfcfd;
  --foreground: #1f2024;
  --card: #ffffff;
  --card-foreground: #1f2024;
  --popover: #ffffff;
  --popover-foreground: #1f2024;
  --primary: #1f2024;
  --primary-foreground: #ffffff;
  --secondary: #f6f6f8;
  --secondary-foreground: #1f2024;
  --muted: #f6f6f8;
  --muted-foreground: #6b6b76;
  --accent: #f6f6f8;
  --accent-foreground: #1f2024;
  --destructive: #e5484d;
  --destructive-foreground: #ffffff;
  --border: #e7e7eb;
  --input: #e7e7eb;
  --ring: #1f2024;
  --chart-1: #3b6df0;
  --chart-2: #3bbf6b;
  --chart-3: #f0a93b;
  --chart-4: #e5484d;
  --chart-5: #8b5cf6;
  --sidebar: #ffffff;
  --sidebar-foreground: #1f2024;
  --sidebar-primary: #1f2024;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f6f6f8;
  --sidebar-accent-foreground: #1f2024;
  --sidebar-border: #ececf0;
  --sidebar-ring: #1f2024;
  --success: #3bbf6b;
  --success-foreground: #ffffff;
  --warning: #f0a93b;
  --warning-foreground: #1f2024;
  --orange: #e8590c;
}

.dark {
  --background: #18181b;
  --foreground: #fafafa;
  --card: #18181b;
  --card-foreground: #fafafa;
  --popover: #18181b;
  --popover-foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #18181b;
  --secondary: #27272a;
  --secondary-foreground: #fafafa;
  --muted: #27272a;
  --muted-foreground: #a1a1aa;
  --accent: #27272a;
  --accent-foreground: #fafafa;
  --destructive: #e5484d;
  --destructive-foreground: #fafafa;
  --border: #3f3f46;
  --input: #3f3f46;
  --ring: #fafafa;
  --chart-1: #3b6df0;
  --chart-2: #3bbf6b;
  --chart-3: #f0a93b;
  --chart-4: #e5484d;
  --chart-5: #8b5cf6;
  --sidebar: #18181b;
  --sidebar-foreground: #fafafa;
  --sidebar-primary: #fafafa;
  --sidebar-primary-foreground: #18181b;
  --sidebar-accent: #27272a;
  --sidebar-accent-foreground: #fafafa;
  --sidebar-border: #3f3f46;
  --sidebar-ring: #fafafa;
  --success: #3bbf6b;
  --success-foreground: #ffffff;
  --warning: #f0a93b;
  --warning-foreground: #1f2024;
  --orange: #e8590c;
}

@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-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);
  --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);
  --color-success: var(--success);
  --color-success-foreground: var(--success-foreground);
  --color-warning: var(--warning);
  --color-warning-foreground: var(--warning-foreground);
  --color-orange: var(--orange);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
    font-feature-settings: "rlig" 1, "calt" 1;
  }
}
