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

body {
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}

@layer base {
  :root {
    --background: 220 20% 98%; /* Light Gray */
    --foreground: 220 10% 20%; /* Dark Gray */

    --card: 0 0% 100%;
    --card-foreground: 220 10% 20%;

    --popover: 0 0% 100%;
    --popover-foreground: 220 10% 20%;

    --primary: 204 70% 53%; /* Calm Blue #3498db */
    --primary-foreground: 0 0% 100%; /* White */

    --secondary: 220 15% 90%; /* Lighter Gray for secondary elements */
    --secondary-foreground: 220 10% 20%;

    --muted: 220 15% 90%;
    --muted-foreground: 220 10% 45%;

    --accent: 145 63% 49%; /* Green #2ecc71 for success */
    --accent-foreground: 0 0% 100%; /* White */

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

    --border: 220 15% 85%;
    --input: 220 15% 85%;
    --ring: 204 70% 53%; /* Calm Blue for rings */

    --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%;
    --radius: 0.5rem;

    /* Sidebar variables - kept for completeness but not primary for this app */
    --sidebar-background: 0 0% 100%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 204 70% 53%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 220 15% 90%;
    --sidebar-accent-foreground: 220 10% 20%;
    --sidebar-border: 220 15% 85%;
    --sidebar-ring: 204 70% 53%;
  }

  .dark {
    --background: 220 15% 10%; /* Darker Background */
    --foreground: 220 10% 85%; /* Lighter Foreground */

    --card: 220 15% 15%;
    --card-foreground: 220 10% 85%;

    --popover: 220 15% 15%;
    --popover-foreground: 220 10% 85%;

    --primary: 204 65% 58%; /* Slightly adjusted blue for dark mode */
    --primary-foreground: 0 0% 100%;

    --secondary: 220 15% 25%;
    --secondary-foreground: 220 10% 85%;

    --muted: 220 15% 25%;
    --muted-foreground: 220 10% 65%;

    --accent: 145 58% 54%; /* Slightly adjusted green for dark mode */
    --accent-foreground: 0 0% 100%;

    --destructive: 0 70% 55%;
    --destructive-foreground: 0 0% 98%;

    --border: 220 15% 30%;
    --input: 220 15% 30%;
    --ring: 204 65% 58%;

    --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%;

    --sidebar-background: 220 15% 15%;
    --sidebar-foreground: 220 10% 85%;
    --sidebar-primary: 204 65% 58%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 220 15% 25%;
    --sidebar-accent-foreground: 220 10% 85%;
    --sidebar-border: 220 15% 30%;
    --sidebar-ring: 204 65% 58%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
}