/* @define JobAndJobGroupHeader */

.JobAndJobGroupHeader {
    padding: var(--padding-md) var(--padding-lg) var(--padding-sm);
}

.JobAndJobGroupHeader-titleActionContainer {
    gap: 8px;
    min-width: 0;
}

.JobAndJobGroupHeader-titleWrapper {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.JobAndJobGroupHeader-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.JobAndJobGroupHeader-circleDivider {
    font-size: 2px;
    margin: 0 8px;
    color: var(--text-subtle);
    flex-shrink: 0;
}

.JobAndJobGroupHeader-remoteLinkingButton {
    white-space: nowrap;
    flex-shrink: 0;
}

.JobAndJobGroupHeader-remoteLinkingButton:focus {
    box-shadow: none;
    padding: 0;
}

.JobAndJobGroupHeader-subtitleText {
    color: var(--text-subtle);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    margin-bottom: 0;
}

.JobAndJobGroupHeader-lastModified {
    color: var(--text-subtle);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    margin-bottom: 0;
}

.JobAndJobGroupHeader-actionButtons {
    gap: 8px;
    display: flex;
    flex-shrink: 0;
}

.JobAndJobGroupHeader-claimedBy {
    color: var(--primary);
    font-weight: var(--font-weight-bold);
}

.JobAndJobGroupHeader-lockedBy {
    color: var(--text-warning);
    font-weight: var(--font-weight-bold);
}

.JobAndJobGroupHeader-subtitleRow {
    row-gap: 8px;
    min-width: 0;
}

.JobAndJobGroupHeader-subtitleLeft {
    min-width: 0;
    flex: 1 1 auto;
    overflow: visible;
}

.JobAndJobGroupHeader-claims {
    flex-shrink: 0;
}

@media (width <= 1280px) {
    .JobAndJobGroupHeader-claims {
        flex-basis: 100%;
        margin-left: 0 !important;
        margin-top: 4px;
    }
}

/* stylelint-disable plugin/selector-bem-pattern */

/* we need to disable stylelint here because descendant or child selectors violates SUIT conventions */
.JobAndJobGroupHeader-followingButton .dropdown-menu {
    min-width: 278px;
}

.JobAndJobGroupHeader-selectedFollowingType button.dropdown-item:disabled {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}
/* stylelint-enable plugin/selector-bem-pattern */
