@tailwind base;
@tailwind components;
@tailwind utilities;

/* Definition of the design system. All colors, gradients, fonts, etc should be defined here. 
All colors MUST be HSL.
*/

@layer base {
  :root {
    --background: 30 24% 93%;
    --foreground: 212 42% 18%;

    --card: 30 24% 95%;
    --card-foreground: 212 42% 18%;

    --popover: 30 24% 95%;
    --popover-foreground: 212 42% 18%;

    --primary: 212 42% 18%;
    --primary-foreground: 30 24% 93%;

    --secondary: 30 20% 88%;
    --secondary-foreground: 212 42% 25%;

    --muted: 30 15% 85%;
    --muted-foreground: 212 20% 45%;

    --accent: 183 73% 53%;
    --accent-foreground: 30 24% 93%;

    --destructive: 7 100% 74%;
    --destructive-foreground: 30 24% 93%;

    --border: 30 15% 80%;
    --input: 30 15% 80%;
    --ring: 183 73% 53%;

    --hero-gradient: linear-gradient(135deg, hsl(212 42% 18%), hsl(183 73% 53%));
    --success: 79 56% 65%;
    --success-foreground: 212 42% 18%;
    --warning: 7 100% 74%;
    --warning-foreground: 30 24% 93%;

    --radius: 0.75rem;

    --radius: 0.5rem;

    --sidebar-background: 0 0% 98%;

    --sidebar-foreground: 240 5.3% 26.1%;

    --sidebar-primary: 240 5.9% 10%;

    --sidebar-primary-foreground: 0 0% 98%;

    --sidebar-accent: 240 4.8% 95.9%;

    --sidebar-accent-foreground: 240 5.9% 10%;

    --sidebar-border: 220 13% 91%;

    --sidebar-ring: 217.2 91.2% 59.8%;
  }

  .dark {
    --background: 212 42% 8%;
    --foreground: 30 24% 88%;

    --card: 212 42% 12%;
    --card-foreground: 30 24% 88%;

    --popover: 212 42% 12%;
    --popover-foreground: 30 24% 88%;

    --primary: 183 73% 53%;
    --primary-foreground: 212 42% 8%;

    --secondary: 212 20% 20%;
    --secondary-foreground: 30 24% 88%;

    --muted: 212 15% 25%;
    --muted-foreground: 30 15% 65%;

    --accent: 183 73% 53%;
    --accent-foreground: 212 42% 8%;

    --destructive: 7 100% 74%;
    --destructive-foreground: 212 42% 8%;

    --border: 212 15% 25%;
    --input: 212 15% 25%;
    --ring: 183 73% 53%;

    --hero-gradient: linear-gradient(135deg, hsl(183 73% 53%), hsl(212 42% 18%));
    --success: 79 56% 65%;
    --success-foreground: 212 42% 8%;
    --warning: 7 100% 74%;
    --warning-foreground: 212 42% 8%;
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
  }
}