/* The recruiter page: the landing page's sheets, with a preview of the recruiter
   dashboard in the hero's figure and three numbered steps. Made-up data, labelled. */

/* longer words than the landing's headline, so a size that keeps it to two lines */
.landing .hero .rec-title {
  font-size: clamp(36px, 3.9vw, 54px);
}

.preview-tag {
  padding: 1px 6px;
  font: 600 11px/1.5 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
}

.dash {
  border: 1px solid var(--ink);
  background: var(--panel);
  font: 12.5px/1.5 var(--font-mono);
}

.dash-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: var(--ink-2);
  border-bottom: 2px solid var(--ok);
}

.dash-bar b {
  color: var(--ink);
}

.dash-count {
  align-self: start;
  padding: 0 6px;
  white-space: nowrap;
  color: var(--mint-ink);
  background: var(--mint);
}

.dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 10px 16px 0;
  color: var(--muted);
}

.dash-tabs .on {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.dash-updated {
  margin-left: auto;
}

.dash-role {
  padding: 12px 16px 4px;
}

.dash-role p {
  margin: 0 0 8px;
  color: var(--muted);
}

.dash-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dash-chips li {
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.dash-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
}

.dash-table th,
.dash-table td {
  padding: 9px 16px;
  text-align: left;
  vertical-align: middle;
  border-top: 1px solid var(--line);
}

.dash-table tbody tr:last-child th,
.dash-table tbody tr:last-child td {
  padding-bottom: 14px;
}

.dash-table thead th {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-table tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.dash-who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-avatar {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font: 600 11px/1 var(--font-mono);
  color: var(--accent-ink);
  background: var(--accent);
}

.dash-id,
.dash-lvl {
  display: block;
}

.dash-status {
  margin-left: 6px;
  padding: 0 5px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--accent-text);
  border: 1px solid var(--accent);
}

.dash-lvl {
  font-weight: 400;
  color: var(--muted);
}

.dash-ev {
  color: var(--ink-2);
}

.dash-bars {
  display: inline-flex;
  gap: 3px;
  vertical-align: middle;
}

.dash-bars i {
  width: 10px;
  height: 14px;
  border: 1px solid var(--line-strong);
}

.dash-bars i.on {
  border-color: var(--accent);
  background: var(--accent);
}

.dash-n {
  color: var(--ink-2);
}

.dash-fit {
  padding: 1px 6px;
  white-space: nowrap;
}

.dash-fit-strong {
  color: var(--mint-ink);
  background: var(--mint);
}

.dash-fit-good {
  background: var(--lime);
  color: var(--ink);
}

.dash-fit-partial {
  border: 1px solid var(--line-strong);
  color: var(--muted);
}


.rec-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ink);
}

.rec-steps li {
  padding: 24px 26px 28px;
  border-right: 1px solid var(--line);
}

.rec-steps li:last-child {
  border-right: 0;
}

.rec-n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  font: 600 13px/1 var(--font-mono);
  color: var(--accent-ink);
  background: var(--accent);
}

/* Lucide's file-text, gamepad-2 and handshake, beside each step's number */
.rec-icon {
  width: 24px;
  height: 24px;
  margin: 2px 0 0 12px;
  vertical-align: top;
  color: var(--accent-text);
}

.rec-steps h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.rec-steps p {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 760px) {
  .rec-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .rec-steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rec-steps li:last-child {
    border-bottom: 0;
  }

  .dash-table tbody th {
    white-space: normal;
  }

  .dash-avatar {
    display: none;
  }

  /* the evidence column is the first to go on a phone */
  .dash-table th:nth-child(2),
  .dash-table td:nth-child(2) {
    display: none;
  }

  .dash-table th,
  .dash-table td {
    padding: 8px 10px;
  }
}
