/* The job search form (templates/jobs_search.html). Owner 2026-11-15, of the form on a phone: "Bit cluttered dont
   you agree?" It is one card: the search box, then state and specialty side by side, then a full-width button; the
   extra filters in an even grid; the tick boxes as two columns of chips that fill when ticked. Tokens only. */
.filters { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: var(--card); border-radius: 16px; box-shadow: var(--lift); }
.filters-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.filters-row .field:first-child, .filters-row .actions { grid-column: 1 / -1; }
.filters-row .actions { margin: 0; }
.filters-row .actions .btn { width: 100%; }
.filters select, .filters input[type="search"] { width: 100%; height: 44px; box-sizing: border-box; }
.filters details.more { margin-top: 0; padding-top: 12px; color: var(--ink); }
.filters details.more .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.filters details.more .form-row .field:last-child { grid-column: 1 / -1; }
.filters .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.filters .checks legend { padding: 0; margin-bottom: 8px; }
.filters .checks label { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 10px; font-size: 0.875rem; line-height: 1.25; }
.filters .checks label:has(input:checked) { border-color: var(--blue); background: var(--band); }
.filters .checks input { margin: 0; flex: none; }
.filters .links { margin: 0; }
@media (min-width: 48rem) {
  .filters { padding: 20px 24px; }
  .filters-row { grid-template-columns: 2fr 1fr 1fr auto; }
  .filters-row .field:first-child, .filters-row .actions { grid-column: auto; }
  .filters details.more .form-row { grid-template-columns: repeat(3, 1fr); }
  .filters details.more .form-row .field:last-child { grid-column: auto; }
  .filters .checks { grid-template-columns: repeat(4, 1fr); }
}
