body {
  min-width: 1210px;
}
.nav-father {
  display: flex;
  background-color: #1e9fff !important;
}
.layui-nav-item {
  cursor: pointer;
}
.body_zh {
  width: 100%;
  height: 100%;
}
.body_zh .J_iframe {
  width: 100%;
  height: 100%;
}
.nav-father {
  position: relative;
}
.title-box {
  max-width: 500px;
  height: 64px;
  padding-left: 20px;
  display: inline-block;
  line-height: 64px;
  vertical-align: top;
  text-align: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}
.title-box .company-box {
  width: 100%;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-box {
  width: auto;
  height: 60px;
  line-height: 60px;
  color: #ffffff;
  font-size: 13px;
  vertical-align: top;
  position: absolute;
  top: 5px;
  right: 40px;
  cursor: default;
}
.logOutBtn {
  position: absolute;
  top: 20px;
  right: 10px;
  cursor: pointer;
  color: #fff;
}
.footer_zh {
  width: 100%;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: default;
  position: fixed;
  bottom: 0px;
  background-color: #fff;
  border-top: 1px solid #ccc;
}
body {
  overflow: hidden;
}
.nav-father {
  position: relative;
  z-index: 10000;
}
.layui-nav {
  padding-top: 4px;
}
.layui-footer {
  color: #999aaa;
}

.abroad-nav-wrapper {
  padding: 0 0 0 20px;
  min-width: 120px;
}

.classAnalysis-nav-wrapper {
  padding: 0;
  min-width: 160px;
}

#shipSchedule::after {
  content: "中国-全球";
  display: block;
  position: absolute;
  height: 16px;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
  padding: 0 4px;
  border-radius: 2px 2px 2px 0;
  top: 2px;
  right: 0;
  background: #ff551f;
  color: #ffffff;
}

/* 海外运踪：角标样式（与船期查询等一致） */
.abroad-nav-item::after {
  content: "全球15家主流船公司";
  display: block;
  position: absolute;
  height: 16px;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
  padding: 0 4px;
  border-radius: 2px 2px 2px 0;
  top: 2px;
  right: 0;
  background: #ff551f;
  color: #ffffff;
  white-space: nowrap;
}

/* 跨境电商：角标样式（与船期查询等一致） */
.pre9810-nav-item::after {
  content: "9810/9710 订单推送";
  display: block;
  position: absolute;
  height: 16px;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
  padding: 0 4px;
  border-radius: 2px 2px 2px 0;
  top: 2px;
  right: -30px;
  background: #ff551f;
  color: #ffffff;
  white-space: nowrap;
}

#classAnalysis::before,
#shipSchedule::before,
.pre9810-nav-item::before,
.abroad-nav-item::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid #ff551f;
  border-right: 4px solid transparent;
  position: absolute;
  top: 17px;
  right: 30px;
}

#classAnalysis::after {
  content: "智能归类、品牌备案查询";
  display: block;
  position: absolute;
  height: 16px;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
  padding: 0 4px;
  border-radius: 2px 2px 2px 0;
  top: 2px;
  right: -80px;
  background: #ff551f;
  color: #ffffff;
}

.nav-fcw-item.showTag::after {
  display: block;
}

.nav-fcw-item.showTag::before {
  display: block;
}

.nav-fcw-item.classAnalysis::before {
  right: 29px;
}

/* 限制导航栏 logo 尺寸，避免图片过大 */
.title-box .company-box img.agent-logo {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 10px;
}

.title-box .company-box {
  width: 100%;
  font-weight: bold;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.header_menu_wrapper {
  overflow-x: auto;
  overflow-y: hidden;
}
.page_header_menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
  border: none;
  height: 64px;
}
.page_header_menu .menu_item_wrapper {
  flex-shrink: 0;
}
.page_header_menu .layui-nav-item {
  margin: 0 4px;
  position: relative;
}
.page_header_menu .layui-nav-item > a {
  padding: 0 16px;
}

/* 下拉子菜单：固定定位 + 高 z-index，由 JS 按父级位置设 top/left，不被遮挡 */
.page_header_menu .layui-nav-child {
  position: fixed;
  min-width: 120px;
  z-index: 99999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 胶囊标签：全局可复用 */
.nav-fcw-badge {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: normal;
  color: #ff6b42;
  border: 1px solid #ff6b42;
  border-radius: 999px;
  background-color: transparent;
  white-space: nowrap;
}

/* 主文案 + 右侧徽章：顶栏下拉里含 .nav-fcw-badge 的链接自动分栏；其它场景给 a 加 .nav-fcw-item--with-badge */
.page_header_menu .layui-nav-child .nav-fcw-item:has(.nav-fcw-badge),
.nav-fcw-item.nav-fcw-item--with-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}
