/* Custom Global Styles for ToolBox Pro */

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

/* Custom Scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: oklch(var(--b3));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: oklch(var(--p));
}

/* Base custom animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Glassmorphism helpers */
.glass-panel {
    background: oklch(var(--b1) / 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid oklch(var(--bc) / 0.1);
}

/* Selection color */
::selection {
    background: oklch(var(--p) / 0.3);
    color: oklch(var(--p));
}

/* Soft pulse for interactive parts */
@keyframes softPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.hover-soft-pulse:hover {
    animation: softPulse 2s infinite ease-in-out;
}
