/*
 * board-kit.css — the look of every Kanban board (docs/BOARD-KIT-RECIPE.md).
 * Was public/css/kanban-board.css + 225 lines of inline <style> in the driver
 * board view; merged here unchanged (same rules, same order) on 2026-10-03.
 * The board's background is per board (wayfinding) and set in
 * resources/views/pipeline/driver/_styles.blade.php from PipelineRegistry.
 * 2026-10-03 pass 2: every rule scoped to .board, so the board's old reset no
 * longer restyles the site menu; unused selectors removed.
 */


/*
 * 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.
 */

.board .swim-lane .heading {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f4f4f4;
    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).
 */

.board .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;
}

/* ---- from the driver board view ---- */

/* ---- RESET/BASIC STYLING ---- */

.board, .board * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.board::-webkit-scrollbar, .board *::-webkit-scrollbar {
    display: none;
}

.board {
    /* The Golden Template's one column width (Michael 2026-10-03: card widths are the same on
       every board). Set here only; a card fills its column. R125 fails on any other width. */
    --board-lane-width: 340px;
    width: 100%;
    height: 100vh;
    overflow: scroll;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
}

.board .first_name {
    text-decoration: none;
}

/* ---- FORM ---- */

/* ---- BOARD ---- */

.board .lanes {
    display: flex;
    align-items: flex-start;
    justify-content: start;
    margin-bottom: 100px;
    gap: 16px;
    padding: 24px 32px;
    overflow: scroll;
    height: 100%;
}

.board .heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}

.board .swim-lane {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f4f4f4;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.25);
    padding: 12px;
    border-radius: 4px;
    width: var(--board-lane-width);        /* one lane width on every board (was 19% / content-sized) */
    min-width: var(--board-lane-width);
    max-width: var(--board-lane-width);
    min-height: 120px;
    flex-shrink: 0;
}

.board .task {
    background: white;
    color: black;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: 4px;
    word-break: break-word;
    font-size: 14px;
    cursor: pointer;
}

.board .is-dragging {
    scale: 1.05;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.25);
    background: rgb(50, 50, 50);
    color: white;
}

.board .form-control {
    width: 50%;
    margin-top: 10px;
    margin-right: 8px;
    margin-left: 30px;
}

.board .btn {
    margin-top: 10px;
    margin-right: 10px;
}

/* .archive-btn lives in partials/record/_card_archive (2026-09-22) */

/*
    star */

.board a {
    text-decoration: none;
    color: royalblue;
}

.board hr {
    margin: 40px 0;
    border-top: 1px dashed #dddddd;
}

.board .filter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 30px;
    margin-top: 10px;
    height: auto;
    width: auto;
}

.board .clear_filter {
    margin-left: 10px;
    margin-top: auto;
}

.board .clear_filter button {
    height: 30px;
    padding: 0 10px;
}

.board #search {
    height: 30px;
    width: 265px;
}

.board .list-options {
    margin-top: 10px;
}
