/* ── Job list ── */
.job-list { display: flex; flex-direction: column; gap: 8px; }

/* ── Match bar ── */
.match-bar-wrap { height: 3px; border-radius: 2px; background: var(--bd); margin-top: 5px; }
.match-bar-fill {
  height:100%; border-radius:2px;
  background: linear-gradient(90deg, var(--acc) 0%, var(--acc-t) 100%);
}

/* ── Card inner layout — replaces inline styles in jobs.html ── */
.card-top     { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.card-title   { font-size: 13px; font-weight: 500; color: var(--t1); }
.card-co      { font-size: 11px; color: var(--t2); margin-bottom: 7px; }
.card-row     { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; flex-wrap: wrap; }
.card-salary  { font-size: 10px; color: var(--t3); font-family: var(--fm); }
.card-actions { display: flex; justify-content: space-between; align-items: center; }
.card-hint    { font-size: 9px; color: var(--t3); }

/* ── AI apply button ── */
.btn-apply-ai {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 20px; border-radius: 8px;
  background: var(--acc); color: #fff; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: var(--fb);
  transition: opacity .12s; letter-spacing: .01em;
}
.btn-apply-ai:hover { opacity: .9; }
.apply-resume-note { font-size: 11px; color: var(--t3); text-align: center; margin-top: 6px; }

/* ── Keyword highlight ── */
mark.kw-added {
  background: rgba(74,222,128,.18);
  color: #4ade80;
  border-radius: 2px;
  padding: 0 2px;
  font-style: normal;
}

/* ── ATS improve hint ── */
.improve-result { padding: 4px 0; }
.improve-hint {
  margin-top: 6px;
  padding: 8px 10px;
  background: rgba(248,113,113,.07);
  border: 1px solid rgba(248,113,113,.18);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.improve-hint-text { font-size: 11px; color: var(--t2); }
.btn-improve {
  font-size: 11px; padding: 4px 10px; border-radius: 4px;
  border: 1px solid rgba(248,113,113,.4); color: #f87171;
  background: transparent; cursor: pointer; white-space: nowrap;
  font-family: var(--fb); transition: background .12s;
}
.btn-improve:hover { background: rgba(248,113,113,.1); }

/* ── ATS tailor / apply result ── */
.tailor-result { padding: 4px 0; }
.ats-score { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.changes-title { font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.change-item { font-size: 12px; color: var(--t2); margin-bottom: 5px; }
.tailored-text {
  width: 100%;
  min-height: 220px;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--t1);
  font-family: monospace;
  font-size: 11px;
  line-height: 1.6;
  resize: vertical;
  margin-top: 8px;
  box-sizing: border-box;
}
