@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

.nav-link {
    @apply text-gray-600 hover:text-gray-900 transition-colors duration-200;
}

.nav-link.active {
    @apply text-blue-600 font-semibold;
}

.btn {
    @apply px-4 py-2 rounded transition-colors duration-200;
}

.btn-primary {
    @apply bg-blue-500 text-white hover:bg-blue-600;
}

.btn-danger {
    @apply bg-red-500 text-white hover:bg-red-600;
}

.card {
    @apply bg-white rounded-lg shadow-md p-6;
}

.form-input {
    @apply mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-300 focus:ring focus:ring-blue-200 focus:ring-opacity-50;
}

.form-label {
    @apply block text-sm font-medium text-gray-700;
}

.table {
    @apply min-w-full divide-y divide-gray-200;
}

.table th {
    @apply px-6 py-3 bg-gray-50 text-left text-xs font-medium text-gray-500 uppercase tracking-wider;
}

.table td {
    @apply px-6 py-4 whitespace-nowrap;
}

.loading {
    @apply flex justify-center items-center;
}

.loading::after {
    content: "";
    width: 50px;
    height: 50px;
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}