.search-icon-btn, .search-close-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
}

.search-icon-btn {
    background-color: #22292e !important;
    border: 1px solid #333 !important;
    border-radius: 4px;
    border-bottom-left-radius: 4px !important;
    border-top-left-radius: 4px !important;
    right: 8px;
    width: 30px;
    height: 30px;
    z-index: 2;
}

.search-close-btn {
    right: 65px;
    font-size: 18px;
    color: #00c3f9;
    z-index: 3;
    width: 24px;
    height: 24px;
}

.search-mic-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    right: 44px;
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: #aaa;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    display: none;
    transition: color 0.2s;
}

.search-mic-btn:hover {
    color: #e50914;
}

.search-mic-btn.listening {
    color: #e50914;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.2); opacity: 0.8; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

.search-close-btn:hover {
    color: #fff;
}

#search-query {
    background-color: #141414 !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    padding-left: 15px;
    border-radius: 4px;
    height: 45px;
}

#search-query:focus {
    background-color: #191919 !important;
    border-color: #00c3f9 !important;
    box-shadow: none !important;
    color: #fff !important;
}

#search-query::placeholder {
    color: #888;
}