.njb-browser,
.njb-browser * {
    box-sizing: border-box;
}

.njb-browser {
    --njb-border: #dedede;
    --njb-muted: #777d88;
    --njb-text: #151515;
    --njb-accent: #2d66c3;
    --njb-featured: #fffbed;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .9fr);
    gap: clamp(34px, 6vw, 90px);
    width: 100%;
    align-items: start;
    font-family: inherit;
}

.njb-main-column,
.njb-filter-column {
    min-width: 0;
}

.njb-keyword-wrap {
    position: relative;
    margin-bottom: 18px;
}

.njb-keyword,
.njb-filter-group select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--njb-border);
    border-radius: 3px;
    background: #fff;
    color: var(--njb-text);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.njb-keyword {
    padding: 0 46px 0 14px;
}

.njb-keyword:focus,
.njb-filter-group select:focus {
    border-color: var(--njb-accent);
    box-shadow: 0 0 0 3px rgba(45, 102, 195, .12);
}

.njb-search-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 16px;
    height: 16px;
    margin-top: -9px;
    border: 2px solid #9ba1a9;
    border-radius: 50%;
    pointer-events: none;
}

.njb-search-icon::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 2px;
    right: -5px;
    bottom: -2px;
    background: #9ba1a9;
    transform: rotate(45deg);
    transform-origin: left center;
}

.njb-status {
    display: flex;
    justify-content: space-between;
    min-height: 20px;
    margin: -7px 0 8px;
    color: var(--njb-muted);
    font-size: 13px;
}

.njb-results {
    border: 1px solid var(--njb-border);
    border-bottom: 0;
    background: #fff;
    position: relative;
}

.njb-results::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .62);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.njb-browser.is-loading .njb-results::after {
    opacity: 1;
    visibility: visible;
}

.njb-job-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 90px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--njb-border);
    color: inherit;
    text-decoration: none !important;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.njb-job-card.is-featured {
    background: var(--njb-featured);
}

.njb-job-card:hover,
.njb-job-card:focus-visible {
    background: #f8fafc;
    color: inherit;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(17, 24, 39, .07);
    position: relative;
    z-index: 2;
}

.njb-logo {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 3px;
    background: #f4f4f4;
}

.njb-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.njb-logo-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #c5c9ce;
}

.njb-logo-placeholder svg {
    fill: currentColor;
}

.njb-job-content {
    min-width: 0;
}

.njb-job-title {
    display: block;
    margin-bottom: 8px;
    color: var(--njb-text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.njb-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    color: var(--njb-muted);
    font-size: 12px;
    line-height: 1.45;
}

.njb-meta-item {
    position: relative;
    padding-left: 17px;
}

.njb-meta-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 12px;
    height: 12px;
    opacity: .72;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.njb-company::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777d88'%3E%3Cpath d='M3 21V7h6V3h6v8h6v10H3zm2-2h2v-2H5v2zm0-4h2v-2H5v2zm0-4h2V9H5v2zm6 8h2v-2h-2v2zm0-4h2v-2h-2v2zm0-4h2V9h-2v2zm0-4h2V5h-2v2zm6 12h2v-2h-2v2zm0-4h2v-2h-2v2z'/%3E%3C/svg%3E");
}

.njb-location::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777d88'%3E%3Cpath d='M12 22s7-6.1 7-13A7 7 0 1 0 5 9c0 6.9 7 13 7 13zm0-9.5A3.5 3.5 0 1 1 12 5a3.5 3.5 0 0 1 0 7.5z'/%3E%3C/svg%3E");
}

.njb-salary::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777d88'%3E%3Cpath d='M3 5h18v14H3V5zm2 2v10h14V7H5zm7 1c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
}

.njb-job-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 120px;
    padding: 5px 10px;
    border: 1px solid #d7dce2;
    border-radius: 3px;
    background: #fff;
    color: #6d7480;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.njb-filter-column {
    padding-top: 1px;
}

.njb-filter-group {
    margin-bottom: 28px;
}

.njb-filter-group label {
    display: block;
    margin-bottom: 11px;
    color: var(--njb-text);
    font-size: 15px;
    font-weight: 500;
}

.njb-filter-group select {
    padding: 0 40px 0 13px;
    color: #747b86;
    appearance: auto;
}

.njb-load-more {
    display: block;
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--njb-border);
    border-radius: 0 0 3px 3px;
    background: #fff;
    color: var(--njb-text);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    transition: background-color .18s ease, color .18s ease;
}

.njb-load-more:hover,
.njb-load-more:focus-visible {
    background: var(--njb-accent);
    color: #fff;
}

.njb-load-more:disabled {
    cursor: wait;
    opacity: .65;
}

.njb-load-more.is-hidden {
    display: none;
}

.njb-empty {
    display: flex;
    min-height: 150px;
    padding: 28px;
    border-bottom: 1px solid var(--njb-border);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    color: var(--njb-muted);
    text-align: center;
}

.njb-empty strong {
    color: var(--njb-text);
    font-size: 16px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .njb-browser {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .njb-filter-column {
        grid-row: 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .njb-filter-group {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .njb-filter-column {
        grid-template-columns: 1fr;
    }

    .njb-job-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 14px;
    }

    .njb-job-type {
        grid-column: 2;
        justify-self: start;
        margin-top: -3px;
    }

    .njb-job-meta {
        gap: 5px 12px;
    }
}
