.searchbar-container {
    position: relative;
}

.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-top: none;
    border-radius: 0;
    box-shadow: 0 0.5rem 1rem rgba(34, 34, 34, 0.175);
    max-height: 60vh;
    overflow-y: auto;
    z-index: 1000;
    font-size: 1rem;
}

.suggestion-item {
    border-bottom: 1px solid #e2e2e3;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f2f2f2;
}

.suggestion-item mark {
    background: #fff3cd;
    color: #ffc107;
    padding: 1px 2px;
    border-radius: 0;
    font-weight: 600;
}

.searchbar-container .clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    color: #5d6d75;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    z-index: 1001;
    display: block;
}

.searchbar-container .clear-btn:hover {
    color: #2a2a2a;
}

/* Adjust clear button position when search button is present */
.searchbar-container .search-clear-btn {
    right: 3.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-suggestions-dropdown {
        max-height: 50vh;
        font-size: 0.875rem;
    }
}
