/* 中文注释：设置全局字体和背景 */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  /* display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box; */
}

/* 中文注释：搜索区域，最大宽度 1400px */
.search-section {
  width: 100%;
  max-width: 1400px;
  margin: 20px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  padding: 30px;
  border-top: 5px solid #3498db;

  /* 默认最小高度 */
  min-height: 600px;
}

/* 视口高度 ≥ 1080px 时 */
@media (min-height: 1080px) {
  .search-section {
    min-height: 800px;
  }
}

/* 中文注释：搜索容器，控制表单最大宽度 800px */
.search-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 中文注释：搜索表单容器，渐变背景 */
.search-form-container {
  01
2  width: 100%;
  background: linear-gradient(135deg, #2a8ad6 0%, #3a9ae5 100%);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-top: 50px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
}

/* 中文注释：搜索表单，水平布局 */
.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 800px;
  gap: 15px;
  flex-wrap: nowrap;
}

/* 中文注释：搜索输入框 */
.search-input {
  flex-grow: 1;
}

/* 中文注释：搜索类型下拉菜单 */
.search-type {
  min-width: 180px;
}

/* 中文注释：搜索按钮 */
.search-button {
  height: 48px;
  padding: 0 30px !important;
  border-radius: 8px !important;
  font-weight: 600;
  line-height: 48px;
}

/* 中文注释：Select2 样式修复 */
.select2-container--bootstrap-5 .select2-selection {
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 4px !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
  padding-left: 15px !important;
  line-height: 46px !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  right: 10px !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
  z-index: 9999 !important;
}

/* 中文注释：Semantic UI 下拉菜单样式 */
.ui.selection.dropdown {
  min-width: 180px;
  height: 48px !important;
}

.ui.compact.selection.dropdown {
  min-width: 180px;
  height: 48px !important;
  line-height: 46px !important;
  display: flex !important;
  align-items: center !important;
}

.ui.dropdown > .text {
  line-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

.ui.dropdown .menu > .item {
  line-height: 46px !important;
  display: flex !important;
  align-items: center !important;
}

.ui.dropdown .menu {
  z-index: 9999 !important;
}

/* 中文注释：示例链接容器 */
.examples-container {
  margin-top: 15px;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
}

/* 中文注释：示例链接 */
.examples .label {
  font-weight: bold;
  color: #ffffff;
}

.examples a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 5px;
}

.examples a:hover {
  text-decoration: underline;
}

/* 中文注释：响应式设计 */
@media (max-width: 768px) {
  .search-section {
    min-height: 400px;
    padding: 40px 0;
  }
  
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input,
  .search-type,
  .search-button {
    margin: 5px 0;
    width: 100% !important;
  }
}
