/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
}

/* Dark mode toggle styles */
.dark-mode-toggle {
    cursor: pointer;
}

/* Form styles */
.form-input {
    @apply w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white;
}

.form-label {
    @apply block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1;
}

.form-button {
    @apply w-full bg-primary-600 hover:bg-primary-700 text-white font-medium py-2 px-4 rounded-md transition duration-300;
}

/* Card styles */
.card {
    @apply bg-white dark:bg-gray-800 rounded-lg shadow-md overflow-hidden transition duration-300;
}

/* Table styles */
.data-table {
    @apply min-w-full divide-y divide-gray-200 dark:divide-gray-700;
}

.data-table th {
    @apply px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider;
}

.data-table td {
    @apply px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-gray-200;
}

/* Alert styles */
.alert {
    @apply px-4 py-3 rounded relative;
}

.alert-success {
    @apply bg-green-100 border border-green-400 text-green-700 dark:bg-green-800 dark:text-green-100 dark:border-green-600;
}

.alert-error {
    @apply bg-red-100 border border-red-400 text-red-700 dark:bg-red-800 dark:text-red-100 dark:border-red-600;
}