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

body {
  font-family: Arial, Helvetica, sans-serif;
}

@layer base {
  :root {
    --background: 210 8% 95%; /* Light Gray */
    --foreground: 210 10% 23%;
    --card: 0 0% 100%;
    --card-foreground: 210 10% 23%;
    --popover: 0 0% 100%;
    --popover-foreground: 210 10% 23%;
    --primary: 210 25% 45%; /* Deep Blue */
    --primary-foreground: 0 0% 98%;
    --secondary: 210 8% 90%;
    --secondary-foreground: 210 10% 23%;
    --muted: 210 8% 85%;
    --muted-foreground: 210 8% 45%;
    --accent: 207 50% 80%; /* Soft Green */
    --accent-foreground: 210 25% 25%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 210 8% 80%;
    --input: 210 8% 80%;
    --ring: 210 25% 45%;
    --radius: 0.5rem;
    --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%;
  }

  .dark {
    --background: 210 10% 15%;
    --foreground: 0 0% 98%;
    --card: 210 10% 20%;
    --card-foreground: 0 0% 98%;
    --popover: 210 10% 15%;
    --popover-foreground: 0 0% 98%;
    --primary: 210 25% 65%;
    --primary-foreground: 0 0% 98%;
    --secondary: 210 10% 25%;
    --secondary-foreground: 0 0% 98%;
    --muted: 210 10% 25%;
    --muted-foreground: 210 8% 65%;
    --accent: 207 50% 50%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 210 10% 30%;
    --input: 210 10% 30%;
    --ring: 210 25% 65%;
    --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%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

@media print {
  .no-print {
    display: none !important;
  }
  body {
    background-color: #fff !important;
    color: #000 !important;
  }
  main {
    padding: 0;
    margin: 0;
  }
  .report-container > div > .card-print {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}
