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

@layer base {
    /**
     * Tailwind CSS theme
     * tailwind.config.ts expects the following color variables to be expressed as HSL values.
     * A different format will require also updating the theme in tailwind.config.ts.
    */
    :root {
        --background: 0 0% 100%;
        --foreground: 216 15% 15%;

        --card: 0 0% 100%;
        --card-foreground: 216 15% 15%;

        --popover: 0 0% 100%;
        --popover-foreground: 216 15% 15%;

        --primary: 212 100% 45%;
        --primary-foreground: 0 0% 100%;

        --secondary: 210 40% 96%;
        --secondary-foreground: 216 15% 15%;

        --muted: 210 40% 96%;
        --muted-foreground: 215 16% 47%;

        --accent: 212 100% 95%;
        --accent-foreground: 212 100% 45%;

        --destructive: 0 84% 60%;
        --destructive-foreground: 0 0% 100%;

        --border: 214 32% 91%;
        --input: 214 32% 91%;
        --ring: 212 100% 45%;

        --radius: 0.5rem;

        --sidebar-background: 0 0% 98%;
        --sidebar-foreground: 216 15% 15%;
        --sidebar-primary: 212 100% 45%;
        --sidebar-primary-foreground: 0 0% 100%;
        --sidebar-accent: 212 100% 95%;
        --sidebar-accent-foreground: 212 100% 45%;
        --sidebar-border: 214 32% 91%;
        --sidebar-ring: 212 100% 45%;
    }

    .dark {
        --background: 216 15% 8%;
        --foreground: 0 0% 95%;

        --card: 216 15% 10%;
        --card-foreground: 0 0% 95%;

        --popover: 216 15% 10%;
        --popover-foreground: 0 0% 95%;

        --primary: 212 100% 55%;
        --primary-foreground: 0 0% 100%;

        --secondary: 217 33% 17%;
        --secondary-foreground: 0 0% 95%;

        --muted: 217 33% 17%;
        --muted-foreground: 215 20% 65%;

        --accent: 217 33% 17%;
        --accent-foreground: 212 100% 55%;

        --destructive: 0 63% 31%;
        --destructive-foreground: 0 0% 100%;

        --border: 217 33% 17%;
        --input: 217 33% 17%;
        --ring: 212 100% 55%;
        --sidebar-background: 216 15% 6%;
        --sidebar-foreground: 0 0% 95%;
        --sidebar-primary: 212 100% 55%;
        --sidebar-primary-foreground: 0 0% 100%;
        --sidebar-accent: 217 33% 15%;
        --sidebar-accent-foreground: 0 0% 95%;
        --sidebar-border: 217 33% 15%;
        --sidebar-ring: 212 100% 55%;
    }
}

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

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