/* Applying the Inter font family */
body {
    @apply bg-gray-50 text-gray-800;
    font-family: 'Inter', sans-serif;
}

/* Custom styles for a subtle glow effect on buttons and cards */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
}

.btn-amazon {
    background-color: #FF9900;
    color: #131921;
}

.btn-amazon:hover {
    background-color: #FFA51C;
}

/* Style for active filter button */
.filter-btn.active {
    background-color: #4f46e5;
    color: white;
}

/* Modal styles */
.modal-overlay {
    transition: opacity 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease;
}

/* Simple loading spinner */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Dark mode loader */
.dark .loader {
    border-color: #374151; /* dark:border-gray-700 */
    border-top-color: #4f46e5; /* dark:border-indigo-600 */
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}