/* Custom CSS Styles for FloraFind & Grounded SPA */

@layer utilities {
    /* Custom Scrollbar styling */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    ::-webkit-scrollbar-track {
        background: transparent;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(34, 197, 94, 0.35);
        border-radius: 9999px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(34, 197, 94, 0.65);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


/* Badge Glow effects */
.badge-unlocked {
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

/* Custom Toast Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-toast {
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animated Shimmer Bar */
@keyframes shimmerGradient {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-progress-shimmer {
    background-size: 200% 100%;
    animation: shimmerGradient 2s linear infinite;
}

/* Loader Pulse Ring */
@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.animate-pulse-ring {
    animation: ringPulse 2s ease-in-out infinite;
}
