:root {
    --bg-promoted-offer: #eef7ff;
}


[data-bs-theme="dark"] {
    --bg-promoted-offer: var(--bs-dark);

    .offer-card em {
        background: rgb(var(--bs-success-rgb), 0.6) !important;
        color: var(--bs-body-color);
    }

    .job-avatar {
        filter: brightness(0.85) saturate(0.5);
    }
}

/*.offer-card-filter {*/
/*    border: 1px solid var(--bs-border-color);*/
/*    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);*/
/*}*/

.offer-card-filter .filter-count {
    float: right;
    color: #6c757d;
}
.offer-card-filter .filter-group {
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.offer-card-filter .filter-group:last-of-type {
    border-bottom: none;
}

.offer-card-filter fieldset legend {
    font-weight: 500 !important;
}

.offer-card {
    cursor: pointer;
    border: 1px solid var(--bs-border-color);
    border-left: 4px solid var(--bs-success);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.offer-card .job-title {
    font-weight: 500;
    color: var(--bs-body-color);
}

.offer-card em {
    font-style: normal;
    background: rgb(var(--bs-warning-rgb), 0.3);
}

.offer-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.offer-card.featured .job-title {
    color: var(--bs-primary-text-emphasis) !important;
}

.offer-card.featured {
    border-color: var(--bs-primary-border-subtle) !important;
    border-left: 4px solid var(--bs-primary) !important;
    background-color: var(--bg-promoted-offer) !important;
}

.offer-card.featured .badge-keyword {
    background-color: transparent !important;
    color: var(--bs-primary-text-emphasis) !important;
    border-color: var(--bs-primary-border-subtle) !important;
}

.offer-card.featured h6 {
    color: var(--bs-primary-text-emphasis);
}

.offer-card.offer-visited, .offer-card.offer-last-visited  {
    border-left: 4px solid var(--bs-secondary);
    opacity: 0.45;
}

.offer-card.offer-last-visited {
    border-left: 4px solid var(--bs-danger) !important;
}

.btn-quick-apply {
    /*display: none !important;*/
    /*position: absolute;*/
    /*right: 10px;*/
    /*top: 6px;*/
    /*z-index: 1000 !important;*/
}

@media (min-width: 992px) {
    .offer-card:hover .btn-quick-apply {
        display: inline-block !important;
    }
}

.fs-7 {
    font-size: 0.85rem !important;
}

.fs-8 {
    font-size: 0.75rem !important;
}

.fs-9 {
    font-size: 0.65rem !important;
}

.mb-2-5 {
    margin-bottom: 0.75rem !important;
}
