@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.animate-slide-in {
    animation: slideIn 0.3s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}
@keyframes scanLine {
    0% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(100%); opacity: 0.5; }
    100% { transform: translateY(100%); opacity: 0; }
}
.scan-effect {
    background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.3), transparent);
    animation: scanLine 2s infinite;
    top: 0;
    height: 100%;
}
button:hover, a[href*='checkout']:hover {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
    transform: scale(1.05);
}
.dark body {
    background: linear-gradient(to bottom, #1f2937, #111827);
}
.dark .bg-white {
    background-color: #1f2937;
}
.dark .text-gray-800 {
    color: #e5e7eb;
}
.dark .text-gray-600 {
    color: #9ca3af;
}
.dark .bg-gray-50 {
    background-color: #374151;
}
.dark .bg-gray-300 {
    background-color: #4b5563;
}
.dark .text-blue-600 {
    color: #60a5fa;
}
#webcam-placeholder {
    transition: opacity 0.3s ease;
}
.search-result:hover {
    transition: background-color 0.2s ease;
}