/* Inventory Scanner — Custom Styles */

/* Smooth transitions on item cards */
.item-card {
    transition: all 0.2s ease;
}

.item-card:hover {
    border-color: #d1d5db;
}

/* Pulse animation for loading cards */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Camera reader styling */
#camera-reader {
    max-width: 400px;
    margin: 0 auto;
}

#camera-reader video {
    border-radius: 0.5rem;
}

/* Focus style for UPC input */
#upc-input:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

/* Table inputs - subtle styling */
.item-field {
    transition: box-shadow 0.15s ease;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .item-card {
        padding: 0.75rem;
    }

    #upc-input {
        font-size: 1rem;
    }
}
