/* ============================================================
   RECRUIT (招聘) — kanban ứng viên + lịch phỏng vấn.
   Chỉ class MỚI của module này — tái dùng .card/.btn/.tag/.pv-blocks/.prow có sẵn.
   ============================================================ */

.rec-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--sp-4); align-items: start; margin-top: var(--sp-4); }
@media (max-width: 980px) { .rec-layout { grid-template-columns: 1fr; } }

/* — Board 4 cột — */
.rec-board {
  display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: var(--sp-3);
  overflow-x: auto; padding-bottom: 4px;
}
@media (max-width: 780px) { .rec-board { grid-template-columns: repeat(4, minmax(220px, 1fr)); } }

.rc-col {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  display: flex; flex-direction: column; min-width: 0;
}
.rc-col-hd {
  display: flex; align-items: center; gap: 8px; padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line-2); background: var(--card-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.rc-col-name { font-weight: 700; font-size: var(--fs-body); }
.rc-col-name .cn { font-size: 10.5px; color: var(--faint); margin-left: 4px; }
.rc-col-n {
  margin-left: auto; font-size: 10px; font-weight: 800; color: var(--purple-xl);
  background: var(--purple-soft); border: 1px solid var(--line); border-radius: var(--r-pill);
  min-width: 20px; text-align: center; padding: 1px 6px;
}
.rc-col[data-stage="hired"] .rc-col-n { color: var(--gold-l); background: var(--gold-soft); border-color: var(--gline); }

.rc-list { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-3); min-height: 60px; }
.rc-empty { font-size: var(--fs-label); color: var(--faint); text-align: center; padding: var(--sp-4) 0; border: 1px dashed var(--line-2); border-radius: var(--r-md); }

/* — Card ứng viên — */
.rc-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 10px 12px; cursor: pointer; transition: background var(--mo-fast), border-color var(--mo-fast), transform var(--mo-fast);
  animation: fadeUp var(--mo-base) var(--ease-out);
}
.rc-card:hover { background: var(--hover); border-color: var(--line); transform: translateY(-1px); }
.rc-card-top { display: flex; align-items: center; gap: 6px; }
.rc-name { flex: 1; min-width: 0; font-size: var(--fs-body); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-move { flex: none; width: 26px; height: 26px; padding: 0; justify-content: center; }
.rc-role { font-size: var(--fs-label); color: var(--muted); margin-top: 3px; }
.rc-role .cn { color: var(--faint); }
.rc-meta { margin-top: 7px; display: flex; align-items: center; gap: 6px; }
.rc-meta .tag { display: inline-flex; align-items: center; gap: 4px; }
.rc-meta .ic { width: 12px; height: 12px; }

.rc-done {
  margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: var(--fs-label);
  color: var(--gold-l); background: var(--gold-soft); border: 1px solid var(--gline);
  border-radius: var(--r-sm); padding: 5px 9px; font-weight: 700;
}
.rc-hire { margin-top: 8px; width: 100%; justify-content: center; }

/* — Sidebar lịch phỏng vấn — */
.rec-side-n {
  font-size: 10px; font-weight: 800; color: var(--purple-xl); background: var(--purple-soft);
  border: 1px solid var(--line); border-radius: var(--r-pill); min-width: 20px; text-align: center; padding: 1px 6px;
}
.rec-int-list { display: flex; flex-direction: column; gap: 8px; }
.rec-int-row {
  display: flex; flex-direction: column; gap: 3px; padding: 9px 10px;
  border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-2);
}
.rec-int-time { display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 12px; color: var(--gold-l); font-weight: 700; }
.rec-int-time .ic { width: 13px; height: 13px; }
.rec-int-info b { font-size: var(--fs-body); }
.rec-int-info .cn { font-size: 10.5px; color: var(--faint); margin-left: 5px; }

/* — Ghi chú trong hồ sơ ứng viên (right panel) — */
.rec-note-box { margin-top: var(--sp-3); padding: var(--sp-3); border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-2); }
.rec-note-lab { display: flex; align-items: center; gap: 6px; font-size: var(--fs-label); color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.rec-note-lab .cn { color: var(--faint); font-weight: 400; }
.rec-note-txt { font-size: var(--fs-body); line-height: 1.55; color: var(--ink); }

.rec-detail-actions { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-4); }
