/* @define JobAndJobGroupParentCard */

.JobAndJobGroupParentCard--container {
    background-color: var(--surface-default);
    padding: 12px;
    border: var(--border-default) solid 1px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.JobAndJobGroupParentCard--container.is-disabled {
    background-color: var(--secondary-subtle);
}

.JobAndJobGroupParentCard--innerContent {
    min-width: 0;
    overflow: hidden;
    flex: 1;
}

.JobAndJobGroupParentCard--content {
    min-width: 0;
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
    max-width: 100%;
}

.JobAndJobGroupParentCard--wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.JobAndJobGroupParentCard--actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.JobAndJobGroupParentCard--link {
    text-decoration: underline;
    text-decoration-color: currentcolor;
}

.JobAndJobGroupParentCard--actionButtons {
    /* AR: in Figma this should be a tertiary btn - but our btn is not up to date with Figma */
    border-color: var(--border-subtle);
}

@media (width <= 650px), (950px <= width <= 1200px) {
    .JobAndJobGroupParentCard--content {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}
