@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Animation for cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Filter buttons */
.filter-btn {
    @apply px-3 py-1 rounded-lg text-sm font-medium transition-all duration-200;
    @apply bg-gray-100 text-gray-700 hover:bg-gray-200;
}

.filter-btn.active {
    @apply bg-blue-600 text-white hover:bg-blue-700;
}

/* Sortable table headers */
.sortable {
    transition: background-color 0.2s ease;
}

.sortable:hover {
    @apply bg-gray-50;
}

/* Modal animations */
.modal-content {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form inputs */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    @apply ring-2 ring-blue-500 border-blue-500;
}

/* Image upload */
#placeholderImage {
    transition: background-color 0.3s ease;
}

#itemPreview {
    transition: opacity 0.3s ease;
}

/* Badges for status */
.status-badge {
    @apply px-2 py-1 rounded-full text-xs font-medium;
}

.status-badge.low-stock {
    @apply bg-yellow-100 text-yellow-800;
}

.status-badge.out-of-stock {
    @apply bg-red-100 text-red-800;
}

.status-badge.in-stock {
    @apply bg-green-100 text-green-800;
}
/* Modal transition */
.modal-transition {
    transition: opacity 0.3s ease;
}