/* Transitions and animations */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

.slide-in {
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Order card hover effect */
.order-card {
    transition: all 0.2s ease-in-out;
}
.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Status badges */
.status-badge {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
}

.status-DRAFT { @apply bg-gray-100 text-gray-800; }
.status-PENDING_REVIEW { @apply bg-yellow-100 text-yellow-800; }
.status-IN_PROGRESS { @apply bg-blue-100 text-blue-800; }
.status-COMPLETED { @apply bg-green-100 text-green-800; }
.status-CANCELLED { @apply bg-red-100 text-red-800; }

/* Table styles */
.table-row-hover:hover {
    background-color: #f9fafb;
}

/* Modal backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
