/* 03 · Job Search · Results — Figma 369:1125 (Desktop 369:1126 · Mobile 371:4540)
   Line-heights are Figma's values rounded to whole px: Figma lays text out on whole-pixel lines,
   so rounding is what reproduces its box heights. */

/* Search band — 369:1173 / 371:4567 */
.js-band { background: var(--vt-gradient-deep); padding-block: 28px 32px; }
.js-band__inner { display: flex; flex-direction: column; gap: 14px; }
.js-band__label { color: var(--vt-raw-sky); line-height: 14px; }   /* Figma 14.4 → text box 14 */
.js-band .vt-input { color: var(--vt-semantic-ink); }
/* Button/Update search 369:1184 — lime pill, 16px label + 17px arrow (not the Button/* component) */
.js-band__submit {
  gap: 12px; height: 59px; padding: 0 30px 0 34px; width: 100%;
  background: var(--vt-raw-lime); color: var(--cliente-p1-rol-deep);
  font-size: 16px; line-height: 19.36px;
}
.js-band__submit .vt-arrow { font-size: 17px; line-height: 20.57px; }

/* Results — 369:1187 / 371:4581 */
.js-results { padding-block: 32px 56px; }
.js-results__inner { display: flex; flex-direction: column; gap: 18px; }
.js-head { display: flex; flex-direction: column; gap: 18px; }
.js-head__count { display: flex; flex-direction: column; gap: 18px; }
.js-head__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 34px; line-height: 41px; letter-spacing: -0.68px;
  color: var(--vt-semantic-ink);
}
.js-head__query { font-size: 16px; line-height: 19px; color: var(--vt-semantic-body); }
.js-controls { display: flex; align-items: center; gap: 10px; }
.js-controls__label {
  font-size: 12px; line-height: 14.52px; font-weight: 600; letter-spacing: 1.44px; text-transform: uppercase;
  color: var(--vt-semantic-meta);
}
.js-select {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex: 1 1 0; min-width: 0; height: 45px; padding: 0 16px 0 20px;
  border-radius: var(--vt-radius-pill); background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-200);
  font-size: 15px; line-height: 18.15px; color: var(--vt-semantic-ink);
  transition: box-shadow var(--vt-dur-1) var(--vt-ease-soft);
}
.js-select:hover { box-shadow: inset 0 0 0 1.5px var(--vt-raw-state-focus); }
.js-select:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 0; }
.js-select .vt-icon { transition: transform var(--vt-dur-2) var(--vt-ease-out); }
.js-select:hover .vt-icon { transform: translate3d(0, 2px, 0); }
.js-active, .js-filters__active { display: flex; flex-wrap: wrap; gap: 8px; }
.js-active .vt-chip, .js-filters__active .vt-chip { white-space: pre; }

.js-list { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.js-list__items { display: flex; flex-direction: column; gap: 16px; }

/* Filters — 369:1199 (Desktop only; Mobile shows the "Filters (2)" button) */
.js-filters {
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px 24px; border-radius: var(--vt-radius-28);
  background: var(--vt-base-white); box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.js-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.js-filters__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 24px; line-height: 29px; letter-spacing: -0.36px; color: var(--vt-semantic-ink);
}
.js-filters__clear { font-size: 14px; line-height: 16.94px; font-weight: 600; color: var(--cliente-p1-rol-primary); }
.js-group { display: flex; flex-direction: column; }
.js-group__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 22px; text-align: left; }
.js-group__head:focus-visible { outline: 3px solid var(--vt-raw-state-focus); outline-offset: 4px; border-radius: 4px; }
.js-group__title { font-size: 15px; line-height: 18.15px; font-weight: 600; color: var(--vt-semantic-ink); }
.js-group__toggle { font-size: 18px; line-height: 21.78px; font-weight: 600; color: var(--cliente-p1-rol-secondary); }
.js-group__toggle::before { content: "+"; }
.js-group__head[aria-expanded="true"] .js-group__toggle::before { content: "–"; }
.js-group__panel { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.js-option { display: flex; align-items: center; gap: 10px; width: fit-content; cursor: pointer; font-size: 15px; line-height: 18.15px; color: var(--vt-semantic-body); }
.js-option span { transition: color var(--vt-dur-1) var(--vt-ease-soft); }
.js-option:hover span { color: var(--vt-semantic-ink); }
.js-filters__actions { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.js-filters__actions .vt-btn--secondary { height: 45px; }
.js-filters__actions .vt-btn--primary { height: 56px; justify-content: space-between; }

/* Empty state — 444:6337 / 444:6354 */
.js-empty {
  display: flex; flex-direction: column; gap: 12px; padding: 48px 36px;
  border-radius: var(--vt-radius-32); background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.js-empty__caption {
  font-size: 12px; line-height: 15px; font-weight: 600; letter-spacing: 1.44px; text-transform: uppercase;
  color: var(--vt-semantic-meta);
}
.js-empty__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 28px; line-height: 32px; letter-spacing: -0.42px; color: var(--vt-semantic-ink);
}
.js-empty__body { font-size: 16px; line-height: 25px; /* Figma 24.8 → 4 lines = 100 */ color: var(--vt-semantic-body); }
.js-empty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.js-empty__alert { height: 56px; }

@media (min-width: 1024px) {
  .js-band { padding-block: 44px 52px; }
  .js-band__inner { flex-direction: row; align-items: flex-end; gap: 16px; }
  .js-band__field { flex: 1 1 0; }
  .js-band__submit { width: auto; height: 56px; }

  .js-results { padding-block: 56px 110px; }
  .js-results__inner { gap: 36px; }
  .js-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .js-head__count { gap: 8px; }
  .js-head__title { font-size: 48px; line-height: 48px; letter-spacing: -1.2px; }
  .js-head__query { font-size: 18px; line-height: 22px; }
  .js-controls { gap: 12px; }
  .js-select { flex: none; width: 220px; height: 48px; padding: 0 18px 0 22px; }
  .js-body { display: flex; align-items: flex-start; gap: 32px; }
  .js-filters { flex: none; width: 300px; }
  .js-list { flex: 1 1 0; }
  .js-pagination { display: flex; justify-content: center; padding-top: 24px; }
}
