/* HelpDesk Pro Custom Styles */

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Status indicators */
.status-dot {
    @apply w-2 h-2 rounded-full inline-block mr-2;
}

.status-open { @apply bg-yellow-500; }
.status-in-progress { @apply bg-blue-500; }
.status-resolved { @apply bg-green-500; }
.status-closed { @apply bg-gray-500; }

/* Priority indicators */
.priority-urgent { @apply text-red-600 bg-red-100; }
.priority-high { @apply text-orange-600 bg-orange-100; }
.priority-medium { @apply text-yellow-600 bg-yellow-100; }
.priority-low { @apply text-gray-600 bg-gray-100; }

/* File type colors */
.file-pdf { @apply text-red-600; }
.file-doc { @apply text-blue-600; }
.file-xls { @apply text-green-600; }
.file-img { @apply text-purple-600; }
.file-zip { @apply text-gray-600; }

/* Loading spinner */
.spinner {
    @apply inline-block w-4 h-4 border-2 border-solid border-current border-r-transparent rounded-full;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.shadow-soft {
    box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
}

/* Dark mode support (if implemented) */
@media (prefers-color-scheme: dark) {
    .dark-mode-auto {
        @apply bg-gray-900 text-white;
    }
}