/* ================================================================
   kanban.css — Kanban board + hiring pipeline (extracted from index.html Block 1)
   ================================================================ */

/* ── Kanban Board ── */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    min-height: 500px;
}
.kanban-col {
    background: #f0f2f5;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}
.col-header {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.col-count {
    background: #e0e0e0;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}
.col-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: calc(100vh - 300px);
}
.applicant-card {
    background: white;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
    border-left: 4px solid #ccc;
    position: relative;
}
.applicant-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.14);
    transform: translateY(-1px);
}
.applicant-card[data-stage="applied"] { border-left-color: #8458b3; }
.applicant-card[data-stage="approved"] { border-left-color: #f59e0b; }
.applicant-card[data-stage="interview"] { border-left-color: #3b82f6; }
.applicant-card[data-stage="hired"] { border-left-color: #22c55e; }
.applicant-card.declined-offer {
    background: #fef2f2;
    border-left-color: #ef4444;
}
.applicant-card.declined-offer:hover {
    background: #fee2e2;
    box-shadow: 0 4px 12px rgba(239,68,68,0.18);
}
.applicant-card.declined-offer .card-name,
.applicant-card.declined-offer .card-job,
.applicant-card.declined-offer .card-date {
    color: #991b1b;
}
.declined-tag {
    font-size: 11px;
    font-weight: 600;
    color: #dc2626;
}
.applicant-card .card-name {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}
.applicant-card .card-job {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}
.applicant-card .card-interview-info {
    font-size: 11px;
    color: #7c3aed;
    background: #f3e8ff;
    border-radius: 6px;
    padding: 3px 8px;
    margin-bottom: 6px;
    display: inline-block;
}
.applicant-card .card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.applicant-card .badge {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
}
.badge-resume-ok { background: #dcfce7; color: #15803d; }
.badge-resume-no { background: #fee2e2; color: #b91c1c; }
.badge-test-ok { background: #dbeafe; color: #1d4ed8; }
.badge-test-no { background: #fee2e2; color: #b91c1c; }
.applicant-card .card-date {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
}
.applicant-card .card-photo {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #e8e0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #8458b3;
    font-weight: 600;
    flex-shrink: 0;
}
.applicant-card .card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .kanban-board { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .kanban-board { grid-template-columns: 1fr; }
}

/* ── Job Hiring — job cards ── */
.job-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 30px;
    cursor: pointer; transition: all .15s;
}
.job-card:hover { border-color: #8458b3; box-shadow: 0 1px 6px rgba(132,88,179,.12); }
.job-card.selected { border-color: #8458b3; background: #f5f3ff; box-shadow: 0 0 0 2px #8458b3; }
.job-card-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 2px; }
.job-card-dept { font-size: 12px; color: #999; margin-bottom: 10px; }
.job-card-stats { display: flex; gap: 12px; margin-bottom: 8px; }
.job-stat { text-align: center; flex: 1; }
.job-stat-num { display: block; font-size: 60px; font-family: math; color: #8458b3; line-height: 1; }
.job-stat-label { display: block; font-size: 11px; color: #888; margin-top: 2px; }
.job-card-slots { font-size: 12px; color: #8458b3; font-weight: 600; }
.candidate-row:hover { background: #fafafa; }
