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

@layer base {
    html {
      font-family: 'Inter', system-ui, sans-serif;
    }
  }
  
  @layer components {
    .btn-primary {
      @apply bg-primary-600 hover:bg-primary-700 text-white font-medium py-2 px-4 rounded-lg transition-colors duration-200;
    }
    
    .btn-secondary {
      @apply bg-gray-200 hover:bg-gray-300 text-gray-800 font-medium py-2 px-4 rounded-lg transition-colors duration-200;
    }
    
    .btn-danger {
      @apply bg-red-600 hover:bg-red-700 text-white font-medium py-2 px-4 rounded-lg transition-colors duration-200;
    }
    
    .card {
      @apply bg-white rounded-lg shadow-sm border border-gray-200 p-6;
    }
    
    .input-field {
      @apply w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent;
    }
    
    .tab-active {
      @apply border-primary-500 text-primary-600 bg-primary-50;
    }
    
    .tab-inactive {
      @apply border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300;
    }
    
    .line-clamp-2 {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }
