@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@100..900&display=swap');

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

@layer base {
  :root {
    --background: 210 40% 98%;
    --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%;
    --primary: 173 77% 26%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --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: 173 77% 26%;
    --radius: 0.5rem;
    --font-dm-sans: 'DM Sans', sans-serif;
  }
}

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

@layer components {
  .card-gradient {
    @apply bg-gradient-to-br from-white to-slate-50;
  }

  .card-hover {
    @apply transition-all duration-300 hover:shadow-lg hover:scale-[1.02];
  }

  .stat-card {
    @apply rounded-lg border bg-card shadow-sm card-gradient card-hover;
  }

  .glass-effect {
    @apply backdrop-blur-sm bg-white/30;
  }

  .gradient-primary {
    @apply bg-gradient-to-r from-teal-500 to-teal-600;
  }

  .gradient-secondary {
    @apply bg-gradient-to-r from-blue-500 to-blue-600;
  }

  .gradient-accent {
    @apply bg-gradient-to-r from-amber-500 to-amber-600;
  }

  .gradient-danger {
    @apply bg-gradient-to-r from-red-500 to-red-600;
  }

  .text-gradient {
    @apply bg-gradient-to-r from-teal-600 to-blue-600 bg-clip-text text-transparent;
  }

  .smooth-transition {
    @apply transition-all duration-300 ease-out;
  }

  .badge-modern {
    @apply inline-flex items-center rounded-full px-3 py-1 text-sm font-medium;
  }

  .sidebar-gradient {
    @apply bg-gradient-to-b from-slate-900 to-slate-950;
  }
}
