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

@layer base {
  body {
    @apply bg-pantry-mist text-pantry-ink antialiased;
  }
}

@layer components {
  .btn-primary {
    @apply inline-flex items-center justify-center rounded-md bg-pantry-leaf px-4 py-2.5 text-sm font-semibold text-white shadow-sm transition hover:bg-green-800 focus:outline-none focus:ring-2 focus:ring-pantry-leaf focus:ring-offset-2;
  }

  .btn-secondary {
    @apply inline-flex items-center justify-center rounded-md border border-green-200 bg-white px-4 py-2.5 text-sm font-semibold text-pantry-leaf transition hover:border-pantry-leaf hover:bg-green-50;
  }

  .field {
    @apply w-full rounded-md border-gray-300 shadow-sm focus:border-pantry-leaf focus:ring-pantry-leaf;
  }

  .panel {
    @apply rounded-lg border border-green-100 bg-white shadow-sm;
  }

  .price {
    @apply text-xl font-extrabold text-pantry-leaf;
  }
}
