.jobs-list-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Soft chip on the icon controls (toolbar itself stays height:0 overlay). */
.job-left > .jobs-list-toolbar .jobs-view-switch-link,
.job-left > .jobs-list-toolbar .jobs-list-bulk-delete {
    padding: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

html[data-theme="dark"] .job-left > .jobs-list-toolbar .jobs-view-switch-link,
html[data-theme="dark"] .job-left > .jobs-list-toolbar .jobs-list-bulk-delete {
    background: rgba(17, 24, 39, 0.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.jobs-list-bulk-delete {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.jobs-list-bulk-delete img {
    width: 18px;
    height: 18px;
    display: block;
}

.job-container.is-job-list-selecting .job-item[data-can-delete="1"] {
    position: relative;
}

.job-container.is-job-list-selecting .job-item[data-can-delete="1"]::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border: 2px solid #007aff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    pointer-events: none;
}

.job-container.is-job-list-selecting .job-item.is-job-list-marked {
    background: rgba(0, 122, 255, 0.14);
    box-shadow: inset 0 0 0 2px #007aff;
}

.job-container.is-job-list-selecting .job-item.is-job-list-marked::before {
    background: #007aff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2L6.4 11.1 12.5 4.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    border-color: #007aff;
}

.job-container.is-job-list-selecting .job-item[data-can-delete="1"] {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

html[data-theme="dark"] .job-container.is-job-list-selecting .job-item[data-can-delete="1"]::before {
    background: rgba(17, 24, 39, 0.92);
    border-color: #5ac8fa;
}

html[data-theme="dark"] .job-container.is-job-list-selecting .job-item.is-job-list-marked {
    background: rgba(90, 200, 250, 0.18);
    box-shadow: inset 0 0 0 2px #5ac8fa;
}

html[data-theme="dark"] .job-container.is-job-list-selecting .job-item.is-job-list-marked::before {
    background-color: #5ac8fa;
    border-color: #5ac8fa;
}

html[data-theme="dark"] .jobs-list-bulk-delete img {
    filter: invert(1) brightness(1.15);
}
