.pill {
    position: absolute;
    left: 294px;
    width: 408px;
    height: 37px;
    background: rgba(61, 61, 61, 0.25);
    border-radius: 6px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    z-index: 50;
}

.srch-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #E0E0E0;
    border: 1px solid #C1C1C1;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    box-sizing: border-box;
    max-height: 380px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.2s;
}

.srch-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.srch-sec {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.srch-sec:not(:last-child) {
    margin-bottom: 2px;
}

.srch-hdr {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 6px 14px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #3D3D3D;
    user-select: none;
    line-height: 1.2;
    text-decoration: none;
}

.srch-hdr i {
    font-size: 14px;
    color: #3D3D3D;
    flex-shrink: 0;
}

.srch-action-item {
    cursor: pointer;
    transition: background 0.15s ease, padding-left 0.15s ease, color 0.15s ease;
}

.srch-action-item:hover,
.srch-action-item.selected {
    background: #D0D0D0;
    padding-left: 17px;
    color: #1A202C;
}

.srch-cat-cur {
    font-size: 14px;
    font-weight: 400;
    color: #718096;
    margin-left: 2px;
}

.srch-oth-hdr {
    padding: 10px 14px 4px 14px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #718096;
    user-select: none;
    line-height: 1.2;
}

.srch-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #3D3D3D;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1.3;
    transition: background 0.15s ease, padding-left 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srch-item:hover,
.srch-item.selected {
    background: #D0D0D0;
    padding-left: 17px;
    color: #1A202C;
}

.srch-empty {
    padding: 14px;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #718096;
}

.srch-loading {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 996px) {
    .pill {
        position: relative;
        left: auto;
        flex-grow: 1;
        width: auto;
        max-width: none;
    }

    .srch-dropdown {
        min-width: 260px;
    }
}