/* Custom Styles for IT Operation Tasks Kanban & Dashboard */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --font-sans: 'Kanit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: #0f172a;
    color: #f8fafc;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Kanban Board Column Scroll */
.kanban-col-body {
    max-height: calc(100vh - 270px);
    min-height: 400px;
    overflow-y: auto;
}

/* Drag and Drop Effects */
.task-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    cursor: grab;
}
.task-card:active {
    cursor: grabbing;
}
.task-card.dragging {
    opacity: 0.4;
    transform: scale(0.97);
}

.kanban-column.drag-over {
    background-color: rgba(59, 130, 246, 0.08);
    border: 2px dashed #3b82f6 !important;
}

/* Animation utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.2s ease-out forwards;
}

/* Badge glows */
.badge-urgent {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-medium {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-low {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
