
.search-container {
    margin-bottom: 2rem;
    position: relative;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.search-input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
}

.clear-search-btn {
    position: absolute;
    right: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.clear-search-btn:hover {
    background-color: #f8f9fa;
    color: #dc3545;
}

.search-results-count {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-input {
        padding: 0.8rem 2.5rem 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .search-icon {
        right: 0.8rem;
        font-size: 1rem;
    }
    
    .clear-search-btn {
        right: 3rem;
        font-size: 1rem;
    }
}

/* Animation for filtered items */
.tool-item {
    transition: all 0.3s ease;
}