/* Task Management — Kanban, Calendar, Dashboards */

.task-kanban-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    min-height: 420px;
}

.task-kanban-column {
    flex: 0 0 280px;
    min-width: 280px;
    background: var(--bs-tertiary-bg);
    border-radius: 10px;
    padding: 0.75rem;
}

.task-kanban-column-header {
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-kanban-card {
    background: var(--bs-body-bg);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    cursor: default;
    transition: box-shadow 0.15s;
}

.task-kanban-card:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.task-kanban-card .task-id {
    font-size: 0.7rem;
    color: var(--bs-primary);
    font-weight: 600;
}

#task-calendar {
    min-height: 520px;
}

#task-calendar .fc-event {
    cursor: pointer;
    border: none;
    font-size: 0.75rem;
}

.sla-gauge {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.sla-gauge span {
    display: block;
    height: 100%;
}

.followup-slot {
    border-left: 3px solid var(--portal-accent, #6c3a36);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--bs-body-bg);
    border-radius: 0 8px 8px 0;
}

.followup-slot.overdue {
    border-left-color: #f06548;
    background: rgba(240, 101, 72, 0.05);
}

.escalation-card-critical {
    border-left: 4px solid #f06548;
}

.escalation-card-high {
    border-left: 4px solid #f7b84b;
}

.visit-status-active {
    animation: portal-pulse 1.5s ease-in-out infinite;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0ab39c;
    margin-right: 4px;
}
