/* Enhanced filter tag styling */
.filter-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f0f2f5;
    border-radius: 20px;
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin: 4px;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.filter-tag:hover {
    background-color: #e0e3e9;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #333;
}

.filter-tag.active {
    background: linear-gradient(135deg, #3d5afe, #00c6ff);
    color: white;
    box-shadow: 0 3px 8px rgba(61, 90, 254, 0.3);
}

/* Ensure filter tags are clickable */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    pointer-events: auto;
}

/* Make search input more visible */
#featureSearch {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

#featureSearch:focus {
    border-color: #3d5afe;
    box-shadow: 0 0 0 0.2rem rgba(61, 90, 254, 0.25);
}

/* Improve category filter dropdown */
#categoryFilter {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    background-color: white;
    transition: all 0.2s ease;
}

#categoryFilter:focus {
    border-color: #3d5afe;
    box-shadow: 0 0 0 0.2rem rgba(61, 90, 254, 0.25);
}

/* Add "no results" message */
.no-results-message {
    display: none;
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-tag {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}
