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

body {
  font-family: Arial, Helvetica, sans-serif; /* Updated to use fallback fonts directly */
}

@layer base {
  :root {
    --background: 207 90% 94%; /* Light Blue - #E3F2FD */
    --foreground: 0 0% 3.9%; /* Almost Black */

    --card: 0 0% 100%; /* White */
    --card-foreground: 0 0% 3.9%; /* Almost Black */

    --popover: 0 0% 100%; /* White */
    --popover-foreground: 0 0% 3.9%; /* Almost Black */

    --primary: 217 91% 60%; /* Saturated Blue - #4285F4 */
    --primary-foreground: 0 0% 98%; /* White */

    --secondary: 217 80% 85%; /* Lighter Saturated Blue */
    --secondary-foreground: 0 0% 9%; /* Dark Gray for Lighter Blue */

    --muted: 210 40% 90%; /* Muted Light Blue */
    --muted-foreground: 0 0% 45.1%; /* Gray */

    --accent: 266 44% 58%; /* Purple - #7E57C2 */
    --accent-foreground: 0 0% 98%; /* White */

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;

    --border: 217 30% 80%; /* Muted Blue for borders */
    --input: 217 30% 75%; /* Muted Blue for input borders */
    --ring: 217 91% 60%; /* Saturated Blue for rings */

    --radius: 0.5rem;

    /* Chart colors - can be adjusted if charts are implemented */
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;

    /* Sidebar specific theme variables */
    --sidebar-background: 217 91% 60%; /* Primary Blue #4285F4 */
    --sidebar-foreground: 0 0% 98%;    /* White */
    --sidebar-primary: 217 91% 50%;    /* Darker blue for active/hover background */
    --sidebar-primary-foreground: 0 0% 98%; /* White for active/hover text */
    --sidebar-accent: 217 91% 70%;     /* Lighter blue for general hover background */
    --sidebar-accent-foreground: 0 0% 98%; /* White for general hover text */
    --sidebar-border: 217 91% 50%;     /* Darker blue (same as sidebar-primary) for borders */
    --sidebar-ring: 217 91% 70%;       /* Lighter blue for focus rings */
  }

  .dark {
    /* Keeping dark mode fairly standard for now, can be customized further if needed */
    --background: 0 0% 3.9%;
    --foreground: 0 0% 98%;
    --card: 0 0% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 0 0% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 217 91% 60%; /* Saturated Blue - #4285F4 */
    --primary-foreground: 0 0% 98%; /* White */
    --secondary: 0 0% 14.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 0 0% 14.9%;
    --muted-foreground: 0 0% 63.9%;
    --accent: 266 44% 58%; /* Purple - #7E57C2 */
    --accent-foreground: 0 0% 98%; /* White */
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 14.9%;
    --input: 0 0% 14.9%;
    --ring: 217 91% 60%; /* Saturated Blue */
    
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;

    /* Dark Sidebar specific theme variables */
    --sidebar-background: 217 91% 50%; /* Darker Primary Blue */
    --sidebar-foreground: 0 0% 98%;    /* White */
    --sidebar-primary: 217 91% 40%;    /* Even Darker blue for active/hover background */
    --sidebar-primary-foreground: 0 0% 98%; /* White for active/hover text */
    --sidebar-accent: 217 91% 60%;     /* Primary blue for general hover background */
    --sidebar-accent-foreground: 0 0% 98%; /* White for general hover text */
    --sidebar-border: 217 91% 40%;     /* Even Darker blue for borders */
    --sidebar-ring: 217 91% 60%;       /* Primary blue for focus rings */
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
