/*
 * kanban-board.css
 * Page-specific styling for the recruiter/carrier kanban board
 * (resources/views/kanban/kanban.blade.php): sticky column headings and the
 * live count badge. Kept out of the blade's inline <style> so this behaviour
 * lives in its own file. Loaded via @section('style'); the blade's inline
 * <style> block is the only other style source on this page.
 *
 * Sticky: the lane's own overflow:scroll was removed from the inline block so
 * the heading's nearest scrolling ancestor becomes the board's scroll viewport
 * rather than the lane box itself. sticky then pins each heading to the top of
 * that viewport while its column is on screen. .swim-lane .heading is used
 * (higher specificity than the inline .heading) so these rules win regardless
 * of stylesheet order; font-size/weight still cascade from the inline rule.
 */
.swim-lane .heading {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f4f4f4;             /* match lane bg so cards scroll under, not through */
    padding: 6px 2px 6px 2px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

/*
 * Count badge — "New  61", with 61 as a compact filled pill so the five column
 * totals scan at a glance. Accent matches the card "contacts" chip (#0066cc).
 */
.kanban-count {
    display: inline-block;
    min-width: 22px;
    padding: 1px 8px;
    margin-left: 4px;
    border-radius: 11px;
    background: #0066cc;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
}
