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

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
}

/* Smooth scroll for transaction list */
#recent-transactions {
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}

#recent-transactions::-webkit-scrollbar {
    width: 6px;
}

#recent-transactions::-webkit-scrollbar-track {
    background: transparent;
}

#recent-transactions::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 3px;
}

/* Modal transition */
#transaction-modal > div {
    transition: all 0.3s ease;
}

#transaction-modal[data-show="true"] > div {
    transform: scale(1);
    opacity: 1;
}

/* Animation for transaction cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transaction-item {
    animation: fadeInUp 0.3s ease forwards;
}

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

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}