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

:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;

  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;

  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;

  /* Verde como cor primária */
  --primary: 142 70% 30%;
  --primary-foreground: 210 40% 98%;

  /* Bege como cor secundária */
  --secondary: 36 50% 85%;
  --secondary-foreground: 222.2 47.4% 11.2%;

  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;

  --accent: 142 70% 90%;
  --accent-foreground: 222.2 47.4% 11.2%;

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

  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 142 70% 30%;

  --radius: 0.5rem;

  /* Cores para gráficos */
  --chart-1: 142 70% 30%;
  --chart-2: 36 50% 85%;
  --chart-3: 142 70% 50%;
  --chart-4: 36 50% 65%;
  --chart-5: 142 70% 70%;
}

.dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;

  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;

  --popover: 222.2 84% 4.9%;
  --popover-foreground: 210 40% 98%;

  --primary: 142 70% 30%;
  --primary-foreground: 210 40% 98%;

  --secondary: 36 50% 85%;
  --secondary-foreground: 222.2 47.4% 11.2%;

  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;

  --accent: 142 70% 20%;
  --accent-foreground: 210 40% 98%;

  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;

  --border: 217.2 32.6% 17.5%;
  --input: 217.2 32.6% 17.5%;
  --ring: 142 70% 40%;
}

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

/* Classes personalizadas para CorpCare */
.corpcare-container {
  @apply container mx-auto px-4 sm:px-6 lg:px-8;
}

.corpcare-heading {
  @apply text-3xl sm:text-4xl font-bold text-primary;
}

.corpcare-subheading {
  @apply text-xl sm:text-2xl font-semibold text-primary/80;
}

.corpcare-button {
  @apply px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors;
}

.corpcare-button-secondary {
  @apply px-4 py-2 bg-secondary text-secondary-foreground rounded-md hover:bg-secondary/90 transition-colors;
}

.corpcare-card {
  @apply bg-white p-6 rounded-lg shadow-md border border-gray-200;
}

.corpcare-section {
  @apply py-12;
}
