.parser-jobs-table {
    table-layout: fixed;
}

.parser-jobs-toolbar-stack {
    margin-bottom: 12px;
}

.parser-jobs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.parser-jobs-head h3 {
    margin: 0;
}

.parser-jobs-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.parser-page-history-group .parser-jobs-panel {
    margin-top: 0;
}

.parser-page-history-group .parser-jobs-panel .parser-jobs-toolbar-stack {
    margin-bottom: 8px;
}

.parser-page-history-group .parser-jobs-panel .parser-jobs-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 14px;
    min-height: 40px;
    padding: 6px 2px 6px 0;
}

.parser-page-history-group .parser-jobs-panel .parser-jobs-head h3 {
    display: flex;
    align-items: center;
    min-height: 36px;
    line-height: 1;
}

.parser-page-history-group .parser-jobs-panel .parser-jobs-actions {
    min-height: 36px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: auto;
    padding-right: 2px;
}

.parser-page-history-group .parser-jobs-panel .parser-jobs-search-open-btn {
    align-self: center;
}

.parser-jobs-action-btn {
    min-width: 56px;
    padding: 0 16px;
}

.parser-jobs-table th {
    color: #9fb2cf;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.parser-jobs-table tbody tr {
    transition: background 0.16s ease, border-color 0.16s ease;
    cursor: pointer;
}

.parser-jobs-table tbody tr:hover td {
    background: rgba(255,255,255,0.03);
}

.parser-jobs-table td {
    padding-top: 14px;
    padding-bottom: 14px;
    vertical-align: middle;
}

.parser-jobs-empty-cell {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: #d8e3f6 !important;
}

#parser-jobs-empty-row,
#invite-jobs-empty-row {
    cursor: default;
}

#parser-jobs-empty-row:hover td,
#invite-jobs-empty-row:hover td {
    background: transparent;
}

.parser-jobs-table .status-pill {
    white-space: nowrap;
    flex-wrap: nowrap;
}

.parser-jobs-table th:nth-child(1),
.parser-jobs-table td:nth-child(1) {
    width: 62px;
}

.parser-jobs-table th:nth-child(2),
.parser-jobs-table td:nth-child(2) {
    width: 120px;
}

.parser-jobs-table th:nth-child(3),
.parser-jobs-table td:nth-child(3) {
    width: 132px;
}

.parser-jobs-table th:nth-child(4),
.parser-jobs-table td:nth-child(4),
.parser-jobs-table th:nth-child(5),
.parser-jobs-table td:nth-child(5) {
    width: 110px;
}

.parser-jobs-table th:nth-child(6),
.parser-jobs-table td:nth-child(6) {
    width: 160px;
}

.parser-jobs-table th:nth-child(7),
.parser-jobs-table td:nth-child(7) {
    width: 140px;
}

.parser-job-id,
.parser-job-mode,
.parser-job-count {
    display: inline;
}

.parser-job-id {
    color: #e2e8f0;
    font-weight: 700;
}

.parser-job-mode {
    color: #dbeafe;
    font-weight: 600;
}

.parser-job-count {
    color: #e2e8f0;
    font-weight: 700;
}

.parser-job-file,
.parser-job-summary {
    min-width: 0;
}

.parser-job-file-link,
.parser-job-link {
    display: inline;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    color: #bfdbfe;
    text-decoration: none;
}

.parser-job-file-link:hover,
.parser-job-link:hover {
    background: transparent;
    color: #dbeafe;
}

.parser-job-file-name,
.parser-job-empty {
    color: #cbd5e1;
}

.parser-job-file-name,
.parser-job-summary {
    display: block;
    line-height: 1.35;
    word-break: normal;
}

.parser-job-duration-inline {
    color: #8fa2c3;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.parser-job-file-link,
.parser-job-file-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.parser-jobs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    margin-top: 2px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.parser-jobs-page-meta {
    color: #7f91af;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.parser-jobs-pagination {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.parser-jobs-pagination-shell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.parser-jobs-table-shell {
    position: relative;
    overflow: visible;
}

.parser-jobs-page-btn,
.parser-jobs-page-ellipsis {
    min-width: 30px;
    height: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.parser-jobs-page-btn {
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(14,21,34,0.26);
    color: #b8c8df;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.parser-jobs-page-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.11);
    color: #eef4ff;
}

.parser-jobs-page-btn.is-active {
    background: rgba(91, 127, 217, 0.18);
    border-color: rgba(122, 171, 255, 0.2);
    color: #eff5ff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.parser-jobs-page-btn:disabled {
    opacity: 0.42;
    cursor: default;
}

.parser-jobs-page-btn:disabled:hover {
    background: rgba(14,21,34,0.26);
    border-color: rgba(255,255,255,0.08);
    color: #b8c8df;
}

.parser-jobs-page-nav {
    min-width: 28px;
    padding: 0;
    font-size: 15px;
}

.parser-jobs-page-ellipsis {
    color: #6f84a6;
}

.parser-jobs-side-nav {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(14,21,34,0.22);
    color: #b8c8df;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.parser-jobs-side-nav[hidden],
.parser-jobs-side-float[hidden] {
    display: none !important;
}

.parser-jobs-side-nav:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.11);
    color: #eef4ff;
}

.parser-jobs-side-nav:disabled {
    opacity: 0.42;
    cursor: default;
}

.parser-jobs-side-nav:disabled:hover {
    background: rgba(14,21,34,0.22);
    border-color: rgba(255,255,255,0.08);
    color: #b8c8df;
}

.parser-jobs-side-float {
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 36px;
    min-width: 36px;
    height: auto;
    padding: 0;
    border-radius: 18px;
    border: none;
    background: transparent;
    color: rgba(195, 210, 232, 0.68);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: color 0.15s ease, opacity 0.15s ease;
    opacity: 0.82;
    box-shadow: none;
    outline: none;
}

.parser-jobs-side-float:hover {
    background: transparent;
    color: #eef4ff;
    opacity: 1;
    box-shadow: none;
}

.parser-jobs-side-float-left {
    left: -30px;
}

.parser-jobs-side-float-right {
    right: -30px;
}

.parser-jobs-side-float:disabled {
    opacity: 0.34;
    cursor: default;
}

.parser-jobs-side-float:disabled:hover {
    background: transparent;
    border-color: transparent;
    color: rgba(195, 210, 232, 0.68);
}

.parser-jobs-side-float:focus,
.parser-jobs-side-float:focus-visible {
    outline: none;
    box-shadow: none;
    background: transparent;
}

.parser-job-summary {
    color: #b9c7da;
    font-size: 13px;
    max-width: 360px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
