.nepalevs-car-search {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.search-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d3b8a0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.car-search-input {
    width: 100%;
    padding: 8px 34px 8px 8px;
    border: none;
    font-size: 14px;
    outline: none;
    color: #666;
}

.car-search-input::placeholder {
    color: #666;
}

.voice-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #d3b8a0;
    background-color: #fff;
    border-radius: 4px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s;
}

.voice-search-btn i {
    font-size: 14px;
}

.voice-search-btn.listening {
    color: #ff0000;
}

.voice-search-btn:hover {
    color: #b89a7f;
}

.voice-search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.voice-search-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
}

.voice-wave {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 40px;
    margin-bottom: 10px;
}

.voice-wave span {
    display: inline-block;
    width: 8px;
    height: 10px;
    background: #ff0000;
    margin: 0 4px;
    border-radius: 4px;
    animation: wave 0.6s infinite ease-in-out alternate;
}

.voice-wave span:nth-child(1) {
    animation-delay: 0s;
}

.voice-wave span:nth-child(2) {
    animation-delay: 0.2s;
}

.voice-wave span:nth-child(3) {
    animation-delay: 0.4s;
}

.voice-wave span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes wave {
    0% {
        height: 10px;
        transform: translateY(0);
    }
    100% {
        height: 30px;
        transform: translateY(-20px);
    }
}

.voice-status {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.search-result-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f5f5f5;
}

.search-result-item.no-results {
    color: #999;
    cursor: default;
}

.search-result-item.no-results:hover {
    background: none;
}