/* Saved jobs (inc/saved-jobs.php, js/wp/saved-jobs.js) — B1G addition, 28-Nov-2026: the «Save job» control's
   saved state, the stacked card's foot, page 20 card states. Not drawn in Figma beyond the existing «Save» /
   «Remove» buttons; only existing tokens and components are used. Loaded on every page (job lists everywhere). */

/* The form is only a carrier: the button sits in its parent's flex row as the old link did. */
.vt-save-job { display: contents; }

.vt-save-job__btn.is-saved { gap: 8px; color: var(--cliente-p1-rol-primary); box-shadow: inset 0 0 0 1.5px var(--cliente-p1-rol-primary); }
.vt-save-job__tick {
  flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--vt-raw-lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.5L10.5 16L17 8.5' stroke='%23010B2B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px 16px;
}
.vt-save-job[aria-busy="true"] .vt-save-job__btn { cursor: progress; }

/* Card/Job 196:71 (stacked): «View job» left, «Save» right. */
.vt-card-job__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vt-card-job__foot .vt-save-job__btn { height: 44px; min-height: 44px; padding-inline: 18px; font-size: 14px; } /* 44px touch target (dp-uiux #49 B3). */

/* Page 20 saved-job cards. */
.ja-job__link { color: inherit; text-decoration: none; }
.ja-job__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ja-job__link:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 2px; border-radius: 4px; }
.ja-job__note { padding-top: 4px; }
.ja-job__note .ja-pill { height: auto; min-height: 27px; padding-block: 6px; white-space: normal; }
.ja-job--filled .ja-job__title, .ja-job--closed .ja-job__title, .ja-job--gone .ja-job__title { color: var(--vt-semantic-meta); }
.ja-job__actions { flex-wrap: wrap; }
/* .ja-empty sets display:flex, which would beat the hidden attribute used while there are saved rows. */
.ja-empty[hidden] { display: none; }
/* Empty-state line: the Storybook placeholder kept it on one line; the real copy wraps (dp-uiux #49 B1, 375px overflow). */
.ja-empty__text { white-space: normal; text-align: center; }
