.Indexsearch {
  display: flex;
  align-items: center;
  position: relative;
  /* 若原有样式已定义宽高/背景，可删除以下默认值 */
  width: 400px; /* 适配原有宽度，可根据实际调整 */
  height: 38px; /* 适配原有高度 */
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* 搜索输入框样式（复用原有text01类，保证样式兼容） */
.Indexsearch .text01 {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}

/* 占位符样式优化 */
.Indexsearch .text01::placeholder {
  color: #999;
  font-size: 13px;
}

/* 搜索按钮样式（保留原有图标，适配布局） */
.Indexsearch .search-btn-icon {
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
  padding: 0 12px;
  height: 100%;
  color: #666; /* 图标颜色，适配原有样式 */
  font-size: 16px;
  transition: color 0.2s ease;
}

/* 按钮hover效果 */
.Indexsearch .search-btn-icon:hover {
  color: #0066cc; /* 主色调，可替换为你的网站颜色 */
}

/* 聚焦时容器样式（可选，提升体验） */
.Indexsearch:focus-within {
  border-color: #0066cc;
  box-shadow: 0 0 4px rgba(0, 102, 204, 0.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .Indexsearch {
    width: 100%;
    height: 34px;
  }
  .Indexsearch .text01 {
    padding: 0 8px;
    font-size: 13px;
  }
}
