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

:root {
  --primary-color: #3b82f6; /* blue-500 */
  --secondary-color: #10b981; /* emerald-500 */
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
}

.btn-primary {
  @apply bg-blue-500 hover:bg-blue-600 text-white font-medium py-2 px-4 rounded-lg transition duration-200;
}

.btn-secondary {
  @apply bg-gray-200 hover:bg-gray-300 text-gray-800 font-medium py-2 px-4 rounded-lg transition duration-200;
}

.card {
  @apply bg-white rounded-xl shadow-md overflow-hidden border border-gray-200;
}

.package-item {
  @apply flex justify-between items-center p-4 bg-gray-50 rounded-lg border border-gray-200 hover:bg-gray-100 transition duration-200;
}

.status-active {
  @apply bg-green-100 text-green-800 px-2 py-1 rounded-full text-sm font-medium;
}

.status-inactive {
  @apply bg-red-100 text-red-800 px-2 py-1 rounded-full text-sm font-medium;
}

.status-pending {
  @apply bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full text-sm font-medium;
}

.modal-open {
  display: flex !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}