                                                                        
                                             
                                                                          
                                                              
                                                                        

[data-job-search-suggest-field] {
    position: relative;
}

.jss-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1200;
    max-height: 340px;
    overflow-y: auto;
    background: var(--white, #fff);
    border: 1px solid var(--border, #e5e5ea);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    -webkit-overflow-scrolling: touch;
}

.jss-dropdown[hidden] {
    display: none;
}

.jss-group-title {
    padding: 10px 14px 6px;
    color: #86868b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.jss-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    background: transparent;
    color: var(--dark, #1d1d1f);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
}

.jss-item:hover,
.jss-item.active {
    background: var(--light-grey, #f5f5f7);
}

.jss-item-main {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.jss-item-name {
    overflow: hidden;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jss-item-detail {
    overflow: hidden;
    color: #86868b;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jss-item-type {
    flex: 0 0 auto;
    color: #86868b;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

                                                            
.search-bar [data-job-search-suggest-field] {
    display: block;
}

.search-bar [data-job-search-suggest-input] {
    width: 100%;
}

@media (max-width: 768px) {
    .jss-dropdown {
        max-height: min(300px, 48vh);
    }

    .jss-item {
        min-height: 50px;
        padding: 12px 14px;
    }
}
