@font-face {
  font-family: 'Poppins-Bold';
  font-style: normal;
  src: 
    /* 本地字体优先 */
    local('Poppins-Bold'),
    url('../font/Poppins Bold.otf') format('opentype');
}
@font-face {
  font-family: 'Poppins Medium';
  font-style: normal;
  src: 
    /* 本地字体优先 */
    local('Poppins Medium'),
    url('../font/Poppins Medium.otf') format('opentype');
}

@font-face {
  font-family: 'Poppins Regular';
  font-style: normal;
  src: 
    /* 本地字体优先 */
    local('Poppins Regular'),
    url('../font/Poppins Regular.otf') format('opentype');
}


.css-Poppins-Bold{font-family: 'Poppins-Bold';}
.css-PoppinsMedium{font-family: 'Poppins Medium';}
.css-PoppinsRegular{font-family: 'Poppins Regular';}

html {
  font-size: 62.5% !important; /* 16px × 62.5% = 10px */
}
body{font-size: 1.4rem;color: #313131;font-family: 'css-PoppinsRegular'}
.custom-scrollbar::-webkit-scrollbar {
    width: 4px; /* 细线宽度 */
    height: 4px; /* 水平滚动条高度 */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3b82f6; /* 蓝色 */
    border-radius: 2px;
}

/* Firefox兼容 */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 transparent;
}

.titSwiper .swiper-slide.slide-active{background-color: #006CFF;color:#fff;border:1px solid #006CFF;}
.SteelGradeActive{border:1px solid #65A6FF !important;color:#2882FF !important;background-color: #E5F0FF;}

/* 搜索结果列表样式 */
.search-result {
  box-sizing: border-box;
}
.search-result li {
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.search-result li:hover {
  background-color: #f3f4f6; /*  hover 灰色背景 */
}
.search-result .no-result {
  padding: 8px 16px;
  color: #9ca3af; /* 无结果提示色 */
  text-align: center;
}

.Js-ej-xg {
    min-height: 120px; /* 根据实际内容高度调整 */
    width: 100%;
}
/* 加载提示样式 */
.global-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* 确保在最上层 */
  transition: opacity 0.3s;
}

/* 加载动画（简单 spinner） */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.loading-text {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

/* 隐藏加载提示 */
.global-loading.hidden {
  display: none;
}

/* 旋转动画 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}