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

@import './variables.css';
@import './panels.css';

/* Compatibility: text-size-adjust */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@layer base {
  body {
    @apply bg-gray-50 text-gray-900;
  }
}

@layer components {
  .btn {
    @apply px-4 py-2 rounded-lg font-medium transition-colors duration-200;
  }
  
  .btn-primary {
    @apply bg-primary-500 text-white hover:bg-primary-600;
  }
  
  .btn-secondary {
    @apply bg-gray-200 text-gray-800 hover:bg-gray-300;
  }
  
  .card {
    @apply bg-white rounded-xl shadow-sm border border-gray-200 p-6;
  }
  
  .stat-card {
    @apply card border-l-4 border-l-primary-500;
  }
  
  .status-badge {
    @apply inline-flex items-center gap-2 px-3 py-1 rounded-full text-sm font-semibold;
  }
  
  .status-badge.healthy {
    @apply bg-green-100 text-green-800;
  }
  
  .status-badge.degraded {
    @apply bg-yellow-100 text-yellow-800;
  }
  
  .status-badge.unhealthy {
    @apply bg-red-100 text-red-800;
  }
}

