
/** Header Stats Styles **/

#job-search-stats .job-location {
    color: #172736;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

#job-search-stats .job-openings {
    color: #586674;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/** Driver Type Headers **/

.driver-type-heading-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.driver-type-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.driver-type-heading .driver-type-title {
    color: #333;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.group-company-driver .driver-type-heading .driver-type-title {
    color: #0053A1;
}

.group-lease-purchase .driver-type-heading .driver-type-title {
    color: #E6403B;
}

.group-owner-operator .driver-type-heading .driver-type-title {
    color: #00894D;
}

.group-team .driver-type-heading .driver-type-title {
    color: #9A348E;
}

.driver-type-heading .driver-type-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #333;
}

.group-company-driver .driver-type-heading .driver-type-separator {
    background: #0053A1;
}

.group-lease-purchase .driver-type-heading .driver-type-separator {
    background: #E6403B;
}

.group-owner-operator .driver-type-heading .driver-type-separator {
    background: #00894D;
}

.group-team .driver-type-heading .driver-type-separator {
    background: #9A348E;
}

.driver-type-heading .opening-count {
    color: #586674;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/** Expand Buttons **/

.job-results-container button.expand-btn {
    appearance: none;
    border: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
}

.job-results-container .expand-btn {
    display: flex;
    padding: 4px 0;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.job-results-container .expand-btn .view-text {
    color: #172736;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.job-results-container .expand-btn .arrow {
    margin-bottom: 4px;
}

.job-results-container  .expand-btn.expand-all {
    padding: 0 16px;
}

/** Job Results Styles **/

body .job-results-container * {
    font-family: 'Hanken Grotesk', sans-serif !important;
}

.job-results-container {
    max-width: 1180px;
    margin: 0 auto;

    display: flex;
    padding-bottom: 64px;
    flex-direction: column;
    align-items: flex-start;
    gap: 64px;
}

.message-container {
    text-align: center;
}

.driver-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.jobs-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.job-result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 0 8px 8px 0;
    border-left: 4px solid #333;
    background: #FFF;
    box-shadow: 0 0 32px 0 rgba(23, 39, 54, 0.05);
}

.group-company-driver .job-result {
    border-color: #0053A1;
}

.group-lease-purchase .job-result {
    border-color: #E6403B;
}

.group-owner-operator .job-result {
    border-color: #00894D;
}

.group-team .job-result {
    border-color: #9A348E;
}

/** Job Result Brief Styles **/

.job-result-brief {
    display: flex;
    padding: 16px;
    align-items: center;
    gap: 32px;
    align-self: stretch;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 0 32px 0 rgba(23, 39, 54, 0.05);
    cursor: pointer;
    width: 100%;
}

.job-result-brief .job-logo {
    width: 96px;
    height: auto;
    flex-shrink: 0;
    aspect-ratio: 2/1;
    align-items: center;
    display: flex;
}

.job-result-brief .job-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1 0 0;
}

.job-result-brief .job-title .client-name {
    color: #172736;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    align-self: stretch;
}
.job-result-brief .job-title .route-and-type {
    color: #172736;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    align-self: stretch;
}

.job-result-brief .job-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.job-result-brief .job-stats .bordered-col {
    border-left: 1px solid #E5E7EB;
    padding-left: 16px;
}

.job-result-brief .job-stats .job-route {
    width: 96px;
}

.job-result-brief .job-stats .job-home-time {
    width: 160px;
}

.job-result-brief .job-stats .job-driver-pay,
.job-result-brief .job-stats .job-sign-on-bonus {
    width: 130px;
}

.job-result-brief .job-control {
    display: flex;
    width: 10px;
    padding: 4px 0;
    justify-content: flex-end;
    align-items: center;
}

.job-result-brief .job-col {
    display:flex;
    flex-direction:column;
    gap:4px;
    align-self: flex-start;
}

.job-result-brief .job-col span {
    color: #586674;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
    align-self: stretch;
}

.job-result-brief .job-col strong {
    color: #172736;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2em;
    flex: 1 0 0;
    align-self: stretch;
}

/** Job Details Card - shown on expansion **/

.job-details-card {
    display: flex;
    padding: 16px;
    margin: 0 16px 0 16px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    border-top: 1px solid  #C1CCD7;
}

.job-details-card .job-details-header {
    align-self: stretch;
    color: #586674;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
}

.job-details-card .details-group {
    display: flex;
    align-items: center;
    gap: 64px;
    align-self: stretch;
}

 .details-group .detail-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    align-self: stretch;
    padding-top: 8px;
    width: 100%;
}

.details-group .detail-row {
    padding: 0 0 8px 0;
    gap: 16px;
    align-self: stretch;
    border-bottom: 1px solid #F0F2F5;
    justify-content: space-between;
    width: 100%;
    display: flex;
    align-items: center;
}

.details-group .detail-row:last-child {
    border-bottom: none;
}

.details-group .detail-row span {
    color: #586674;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;

    flex: 0 0 auto;
    white-space: nowrap;
}

.details-group .detail-row strong {
    color: #172736;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-align: right;
}

.job-details-card .job-contact-callout {
    align-self: stretch;
    padding: 12px 16px;
    border-radius: 4px;
    background: #F0F2F5;
}

.job-contact-callout p {
    margin: 0;
    color: #586674;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.job-contact-callout strong {
    color: #172736;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 1100px) {

    .job-result-brief .job-stats {
        gap: 8px;
    }

    .job-result-brief .job-stats .bordered-col {
        padding-left: 8px;
    }

    .job-result-brief .job-stats .job-route {
        width: 96px;
    }

    .job-result-brief .job-stats .job-home-time {
        width: 160px;
    }

    .job-result-brief .job-stats .job-driver-pay,
    .job-result-brief .job-stats .job-sign-on-bonus {
        width: 110px;
    }

    .job-result-brief .job-control {
        display: none;
    }
}

@media (max-width: 950px) {

    /** Job Results - Mobile Styles **/

    .job-results-container {
        padding-bottom: 32px;
        gap: 32px;
    }

    .job-result-brief {
        flex-direction: column;
        gap: 8px;
    }

    .job-result-brief .job-logo {
        position: absolute;
        left: 16px;
    }

    .job-result-brief .job-title {
        width: calc(100% - 112px);
        align-self: flex-end;
    }

    .job-result-brief .job-stats {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        padding-top: 8px;
    }

    .job-result-brief .job-stats .job-route,
    .job-result-brief .job-stats .job-home-time,
    .job-result-brief .job-stats .job-driver-pay,
    .job-result-brief .job-stats .job-sign-on-bonus {
        width: 100%;
        border: 0;
        padding: 8px 0 0 0;
        border-top: 1px solid #E5E7EB;
    }

    /** Job Details Card - Mobile Styles **/

    .job-details-card {
        padding: 16px 0 0;
    }

    .job-details-card .details-group {
        flex-direction: column;
        gap: 0;
    }

    .details-group .detail-col {
        border-bottom: 1px solid #F0F2F5;
    }

    .details-group .detail-col:last-child {
        border-bottom: none;
    }

    .details-group .detail-row,
    .details-group .detail-row span,
    .details-group .detail-row strong {
        display: block;
        justify-self: self-start;
    }

    .details-group .detail-row span {
        color: #586674;
        font-size: 11px;
        font-style: normal;
        font-weight: 700;
        line-height: 16px;
        text-transform: uppercase;
        align-self: stretch;
    }

    .job-details-card .job-contact-callout {
        margin-bottom: 16px;
    }

    .job-contact-callout p {
        font-size: 15px;
        line-height: 22px;
    }
}
