/* Custom styles for the delivery app */

:root {
    --primary: #f97316; /* orange-500 */
    --primary-hover: #ea580c; /* orange-600 */
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Card hover effect */
.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Animation for adding to cart */
@keyframes bounce-subtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.animate-add {
    animation: bounce-subtle 0.3s ease-in-out;
}

/* Hide scrollbar for cleaner look on categories */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Skeleton loader effect */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
