
/* Custom styles for Django integration */
.django-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Django form styles */
.django-form {
    @apply space-y-4;
}

.django-form .form-group {
    @apply space-y-2;
}

.django-form label {
    @apply block text-sm font-medium text-gray-700;
}

.django-form input,
.django-form textarea,
.django-form select {
    @apply block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500;
}

.django-form .error {
    @apply text-red-600 text-sm mt-1;
}

.django-form .help-text {
    @apply text-gray-500 text-sm mt-1;
}

/* Django messages */
.django-messages {
    @apply space-y-2 mb-4;
}

.django-message {
    @apply p-4 rounded-md;
}

.django-message.success {
    @apply bg-green-50 text-green-800 border border-green-200;
}

.django-message.error {
    @apply bg-red-50 text-red-800 border border-red-200;
}

.django-message.warning {
    @apply bg-yellow-50 text-yellow-800 border border-yellow-200;
}

.django-message.info {
    @apply bg-blue-50 text-blue-800 border border-blue-200;
}

/* Django pagination */
.django-pagination {
    @apply flex justify-center space-x-2 mt-8;
}

.django-pagination .page-link {
    @apply px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50;
}

.django-pagination .page-link.current {
    @apply bg-blue-600 text-white border-blue-600;
}

/* Django CSRF token */
.csrf-token {
    @apply hidden;
} 