/* Search wrapper */
.ljp-search-wrapper { 
    position: relative; 
    max-width: 500px; /* Desktop max-width */
    margin: 0 auto 20px; 
}

/* Search input - Desktop */
@media screen and (min-width: 768px) {
    #ljp-search-input { 
        width: 100%; 
        padding: 10px 45px 10px 12px; /* Right padding X के लिए */
        font-size: 16px; 
        border: 1px solid #ccc; 
        border-radius: 10px; 
    }
}

/* Search input - Mobile (Full screen width) */
@media screen and (max-width: 767px) {
    #ljp-search-input { 
        width: 100%; 
        padding: 12px 50px 12px 12px; /* X के लिए right padding */
        font-size: 18px; 
        border: 1px solid #ccc; 
        border-radius: 10px; 
        box-sizing: border-box; 
    }
}

/* Clear (X) button */
#ljp-clear-input { 
    position: absolute; 
    right: 12px; 
    top: 50%; 
    transform: translateY(-50%); 
    cursor: pointer; 
    color: #888; 
    font-size: 26px; /* बड़ा किया */
    line-height: 1; 
    z-index: 10; /* हमेशा input के ऊपर दिखे */
    background: transparent;
}

/* Loader */
#ljp-search-loader { 
    position: absolute; 
    right: 50px; 
    top: 50%; 
    transform: translateY(-50%); 
    font-size: 14px; 
    color: #666; 
}

/* Search results */
#ljp-search-results { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    max-height: 300px; 
    overflow-y: auto; 
    background: #fff; 
    display: none; 
    z-index: 5; /* X के नीचे */
    position: absolute; 
    width: 100%; 
    top: 100%; 
}

.ljp-result-item { 
    padding: 8px 12px; 
    cursor: pointer; 
    border-bottom: 1px solid #eee; 
}

.ljp-result-item:last-child { 
    border-bottom: none; 
}

.ljp-result-item:hover, 
.ljp-result-item.selected { 
    background: #f0f8ff; 
}

.ljp-highlight { 
    color: blue; 
    font-weight: bold; 
}
