/* 搜索区域样式优化（独立样式） */
.search-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.search-toggle-btn {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  cursor: pointer;
}

.search-toggle-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.engine-manager-btn {
  margin-left: auto;
}

.search-form {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}

.search-box {
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
}

.search-btn {
  height: 40px;
  min-width: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.engine-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.engine-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.engine-name {
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.engine-actions {
  display: inline-flex;
  gap: 6px;
}

.icon-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}