@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    body {
        @apply bg-slate-950 text-slate-100 antialiased selection:bg-cyan-500 selection:text-white;
        font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    }
}

/* Custom Scrollbar for dark theme */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Miro Board Canvas Dots */
.canvas-bg-dots {
    background-color: #080d1a;
    background-image: radial-gradient(#1e293b 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.canvas-bg-grid {
    background-color: #080d1a;
    background-image: 
        linear-gradient(to right, #131d31 1px, transparent 1px),
        linear-gradient(to bottom, #131d31 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Pulse animation for high priority items */
@keyframes alert-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.animate-alert-pulse {
    animation: alert-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

