/* ── Reset & Base ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink-950: #070c18;
  --ink-900: #0d1424;
  --ink-800: #111c30;
  --ink-700: #16243d;
  --ink-600: #1e3050;
  --surface: #111827;
  --surface-2: #161e2e;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.13);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --brand: #2563eb;
  --brand-light: #4f8ef7;
  --violet: #8b5cf6;
  --teal: #06b6d4;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --white: #fff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.4);
}

html,
body {
  height: 100%;
  background: var(--ink-950);
  color: var(--text-secondary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 14px;
}

a {
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* ── Auth ──────────────────────────────────────────────────────────── */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 30% 60%, rgba(37, 99, 235, 0.12), transparent 60%), var(--ink-950);
}

.auth-card {
  width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.logo-icon.sm {
  width: 32px;
  height: 32px;
  font-size: 15px;
  border-radius: 8px;
}

.logo-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-title.sm {
  font-size: 15px;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.auth-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.auth-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 10px 12px;
  outline: none;
  transition: border-color .15s;
}

.form-input:focus {
  border-color: var(--brand-light);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
  width: 100%;
}

select.form-input {
  cursor: pointer;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #fff;
}

.btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-danger {
  background: rgba(239, 68, 68, .15);
  border: 1px solid rgba(239, 68, 68, .3);
  color: #f87171;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 12px;
}

.btn-icon {
  padding: 6px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

/* ── Layout ────────────────────────────────────────────────────────── */
.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--ink-900);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--border);
}

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  transition: all .15s;
  text-align: left;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.nav-item.active {
  background: rgba(37, 99, 235, 0.14);
  color: #60a5fa;
  font-weight: 600;
}

.nav-icon {
  font-size: 15px;
}

.sidebar-user {
  padding: 14px 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.user-role {
  font-size: 10px;
  color: var(--text-muted);
}

.logout-btn {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 16px;
  padding: 4px;
  border-radius: 4px;
}

.logout-btn:hover {
  color: var(--red);
}

/* Main */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  height: 58px;
  background: var(--ink-900);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 26px;
  gap: 16px;
  flex-shrink: 0;
}

.page-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  flex: 1;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  width: 200px;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.page-content {
  flex: 1;
  overflow-y: auto;
  padding: 26px;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* ── Cards / Grids ─────────────────────────────────────────────────── */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ── Stat Cards ────────────────────────────────────────────────────── */
.stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, linear-gradient(90deg, var(--brand), var(--violet)));
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  font-family: 'JetBrains Mono', monospace;
}

.stat-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Avatar ────────────────────────────────────────────────────────── */
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.avatar.sm {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.avatar.lg {
  width: 56px;
  height: 56px;
  font-size: 20px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Stage Pills ───────────────────────────────────────────────────── */
.stage-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.stage-sourced {
  color: #94a3b8;
  background: rgba(148, 163, 184, .15);
}

.stage-contacted {
  color: #60a5fa;
  background: rgba(96, 165, 250, .15);
}

.stage-screening {
  color: #fbbf24;
  background: rgba(251, 191, 36, .15);
}

.stage-interview {
  color: #a78bfa;
  background: rgba(167, 139, 250, .15);
}

.stage-offer {
  color: #22d3ee;
  background: rgba(34, 211, 238, .15);
}

.stage-hired {
  color: #34d399;
  background: rgba(52, 211, 153, .15);
}

.stage-rejected {
  color: #f87171;
  background: rgba(248, 113, 113, .15);
}

.stage-withdrawn {
  color: #6b7280;
  background: rgba(107, 114, 128, .15);
}

/* ── Tag Chip ──────────────────────────────────────────────────────── */
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

/* ── Skill Chip ────────────────────────────────────────────────────── */
.skill {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  font-size: 11px;
}

/* ── Candidate List ────────────────────────────────────────────────── */
.candidate-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.candidate-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background .12s;
}

.candidate-row:last-child {
  border-bottom: none;
}

.candidate-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.candidate-row.selected {
  background: rgba(37, 99, 235, 0.09);
}

.cand-info {
  flex: 1;
  min-width: 0;
}

.cand-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cand-headline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cand-skills {
  display: flex;
  gap: 5px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.cand-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 11px;
}

.star.on {
  color: var(--amber);
}

.star.off {
  color: var(--ink-600);
}

.cand-loc {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Candidate Detail Panel ────────────────────────────────────────── */
.detail-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.detail-identity {
  display: flex;
  gap: 14px;
  align-items: center;
}

.detail-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.detail-headline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

.detail-loc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.section-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.stage-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stage-btn {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: all .15s;
}

.stage-btn.active {
  border-color: var(--stage-color);
  color: var(--stage-color);
  background: var(--stage-bg);
}

.action-row {
  display: flex;
  gap: 10px;
}

.linkedin-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  border-radius: var(--radius-sm);
  background: #0a66c2;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

.linkedin-btn:hover {
  background: #0958a8;
}

/* ── Filters bar ───────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}

.filter-pill {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: all .15s;
}

.filter-pill.active {
  border-color: var(--brand-light);
  background: rgba(79, 142, 247, .12);
  color: var(--brand-light);
}

.filter-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Jobs ──────────────────────────────────────────────────────────── */
.job-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color .15s;
}

.job-card:hover {
  border-color: var(--border-hover);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.job-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
}

.job-dept {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.status-badge {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-open {
  background: rgba(16, 185, 129, .15);
  color: #34d399;
}

.status-paused {
  background: rgba(245, 158, 11, .15);
  color: #fbbf24;
}

.status-closed {
  background: rgba(239, 68, 68, .15);
  color: #f87171;
}

.job-salary {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.job-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, .06);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--violet));
  border-radius: 4px;
  transition: width .5s ease;
}

/* ── Pipeline Kanban ───────────────────────────────────────────────── */
.kanban-board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.kanban-col {
  min-width: 220px;
  flex-shrink: 0;
}

.kanban-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.kanban-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kanban-count {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kanban-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: border-color .15s;
}

.kanban-card:hover {
  border-color: var(--border-hover);
}

.kanban-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kanban-card-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kanban-card-hl {
  font-size: 11px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kanban-empty {
  border: 1px dashed rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-600);
}

/* ── Pipeline Bar Chart ────────────────────────────────────────────── */
.pipeline-chart {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 80px;
}

.pipe-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.pipe-bar-count {
  font-size: 11px;
  font-weight: 700;
}

.pipe-bar {
  width: 100%;
  min-height: 6px;
  border-radius: 4px 4px 0 0;
  transition: height .5s ease;
}

.pipe-bar-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── Activity Timeline ─────────────────────────────────────────────── */
.activity-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.activity-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
}

.activity-time {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Tables ────────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: var(--text-secondary);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ── Modal ─────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(4px);
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 520px;
  max-width: 96vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ── Toast ─────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-primary);
  z-index: 200;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  animation: toast-in .2s ease;
}

.toast.success {
  border-left: 3px solid var(--green);
}

.toast.error {
  border-left: 3px solid var(--red);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ── Util ──────────────────────────────────────────────────────────── */
.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 4px;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-20 {
  gap: 20px;
}

.mt-4 {
  margin-top: 4px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-16 {
  margin-bottom: 16px;
}

.text-sm {
  font-size: 12px;
}

.text-muted {
  color: var(--text-muted);
}

.text-primary {
  color: var(--text-primary);
}

.font-bold {
  font-weight: 700;
}

.section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 13px;
}

.candidates-layout {
  display: flex;
  gap: 20px;
}

.candidates-layout .candidate-list {
  flex: 1;
}

.candidates-layout .detail-panel {
  width: 360px;
  flex-shrink: 0;
}

/* ── Drag & Drop ───────────────────────────────────────────────────── */
.kanban-dropzone {
  min-height: 60px;
  transition: background .15s, border .15s;
  border-radius: 8px;
  padding: 2px;
}

.kanban-dropzone.drag-over {
  background: rgba(79, 142, 247, 0.08);
  outline: 2px dashed rgba(79, 142, 247, 0.4);
  outline-offset: -2px;
}

.kanban-card[draggable]:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all .15s;
}

.kanban-card[draggable]:active {
  cursor: grabbing;
}

/* ── Edit button on candidate rows ────────────────────────────────── */
.cand-actions {
  opacity: 0;
  transition: opacity .15s;
}

.candidate-row:hover .cand-actions {
  opacity: 1;
}
