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

@layer components {
    .glass-card {
        @apply bg-white border border-outline-variant shadow-sm backdrop-blur-md;
    }
    
    .tab-btn.active {
        @apply bg-surface-container-high text-primary font-bold shadow-sm;
    }
    
    .kanban-column {
        @apply bg-surface-container-low p-sm rounded-xl min-h-[500px];
    }
}

/* Custom Scrollbar for sleekness */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #c3c6d7;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #737686;
}

/* Fade in animation for view transitions */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Loader */
.spinner {
    border: 3px solid rgba(0, 74, 198, 0.1);
    border-left-color: #004ac6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
