/* Custom styles for Construction PM AI Demo */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color-scheme: dark;
}

code, pre, .font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Gantt Chart Styling */
.gantt-row:hover {
    background-color: rgba(30, 41, 59, 0.6);
}

.gantt-bar {
    cursor: grab;
    transition: filter 0.15s ease, transform 0.1s ease;
    user-select: none;
}

.gantt-bar:active {
    cursor: grabbing;
}

.gantt-bar:hover {
    filter: brightness(1.15);
}

.gantt-bar-resize {
    cursor: ew-resize;
}

.gantt-bar.critical {
    stroke: #f43f5e;
    stroke-width: 1.5px;
}

/* Kanban Styling */
.kanban-col {
    min-height: 480px;
    transition: background-color 0.2s ease;
}

.kanban-col.drag-over {
    background-color: rgba(30, 58, 138, 0.2);
    border-color: #3b82f6;
}

.kanban-card {
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.dragging {
    opacity: 0.4;
    transform: scale(0.98);
}

/* Animations */
@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.animate-subtle {
    animation: pulse-subtle 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
