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

body {
    font-family: 'Inter', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #1f2937;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.fade-out {
    animation: fadeOut 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

/* Pulse animation for active QR buttons */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 70, 239, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(217, 70, 239, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 70, 239, 0);
    }
}

/* Glow effect for primary buttons */
.glow:hover {
    filter: drop-shadow(0 0 6px rgba(217, 70, 239, 0.5));
}

/* Transition for buttons */
button {
    transition: all 0.2s ease-out;
}

/* Custom context menu */
.context-menu {
    position: absolute;
    z-index: 1000;
    width: 200px;
    background: #374151;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.context-menu-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #e5e7eb;
}

.context-menu-item:hover {
    background: #4b5563;
}

.context-menu-divider {
    height: 1px;
    background: #4b5563;
    margin: 0.25rem 0;
}