.job-list { color: var(--text); }
.job-list__filters { display: grid; gap: 10px; margin-bottom: 16px; }
.job-list__search-row { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; padding: 20px; border-radius: 8px; background: var(--surface); }
.job-list__search-input { flex: 1 1 180px; min-width: 0; box-sizing: border-box; padding: 10px; border: 1px solid var(--border); border-radius: 4px; background: var(--input-bg); color: var(--text); font: inherit; font-size: 16px; }
.job-list__search-input::placeholder { color: var(--placeholder-color); }
.job-list__search-input:focus { outline: none; border-color: var(--accent-color); box-shadow: none; }
.job-list__search-input[aria-invalid="true"] { border-color: #dc2626; }
.job-list__search-button { padding: 10px 20px; border: 1px solid var(--border); border-radius: 4px; background: var(--overlay-bg); color: var(--text); font: inherit; font-size: 16px; cursor: pointer; }
.job-list__search-submit { border: none; background: var(--btn-gradient); color: #000; }
.job-list__search-reset:hover { background: var(--overlay-bg-hover); }
.job-list__search-submit:hover { background: var(--btn-gradient-hover); }
.job-list__scope { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.job-list__statuses { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--input-border); border-radius: 7px; background: var(--overlay-bg); }
.job-list__status-option { min-width: 0; min-height: 30px; padding: 4px 9px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--muted-2); font: inherit; font-size: 12px; cursor: pointer; }
.job-list__status-option[aria-pressed="true"] { border-color: var(--border); background: var(--card-bg-strong); color: var(--text); }
.job-list__status-option:hover { background: var(--overlay-bg-hover); color: var(--text); }
.job-list__status-option:focus-visible, .job-list__search-button:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; }
.job-list__dates { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
.job-list__date-label { color: var(--muted); font-size: 13px; }
.job-list__dates > .localized-date-input { width: 155px; min-width: 0; }
.job-list__filter-feedback { margin: 0; color: var(--muted); font-size: 13px; }
.job-list__filter-feedback:empty { display: none; }
.job-list__filter-feedback.is-invalid { color: var(--error-text, #dc2626); }
.job-list__message { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.job-list__item { display: flex; flex-direction: column; gap: 8px; width: 100%; text-align: left; border: 1px solid transparent; border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; color: var(--text); background: var(--card-bg-strong); font: inherit; cursor: pointer; }
.job-list__item:hover { background: var(--card-bg-strong-hover); }
.job-list__item:focus-visible, .job-list__footer button:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
.job-list__item-top, .job-list__item-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.job-list__item-top strong { font-size: 18px; overflow-wrap: anywhere; }
.job-list__customer { font-size: 16px; }
.job-list__status { color: var(--accent-color); font-size: 13px; }
.light-theme .job-list__status { color: var(--text); }
.job-list__item-meta { color: var(--muted); font-size: 13px; }
.job-list__item > span, .job-list__item-meta > span { overflow-wrap: anywhere; }
.job-list__footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.job-list__footer > span { margin-right: auto; }
.job-list__footer button { color: var(--text); background: var(--overlay-bg); border: 1px solid var(--border); border-radius: 6px; padding: 8px 13px; font: inherit; cursor: pointer; }
.job-list__footer button:disabled { opacity: .45; cursor: default; }
.job-list__footer button:hover:not(:disabled) { background: var(--overlay-bg-hover); }

@media (max-width: 520px) {
    .job-list__search-input { flex-basis: 100%; }
    .job-list__dates { width: 100%; flex-wrap: wrap; }
    .job-list__date-label { flex-basis: 100%; }
    .job-list__dates > .localized-date-input { flex: 1 1 120px; }
    :is(.job-list, .job-editor) .header .nav-bar { min-width: 0; gap: 8px; }
    :is(.job-list, .job-editor) .nav-logo { width: 120px; height: auto; margin-right: 0; }
    :is(.job-list, .job-editor) .nav-path { min-width: 0; overflow-wrap: anywhere; }
    :is(.job-list, .job-editor) .header-user-menu-button { flex-shrink: 0; }
}
