.common-header-box {
  width: 100%;
  height: 164px;
  background-image: url('/assets/images/image 13.png');
  background-size: cover;
  padding-top: 41px;
}

.common-header-box .common-header-box-inner {
  display: flex;
  width: 1200px !important;
  margin: 0 auto;
  justify-content: space-between;
}

.common-header-box-inner .common-header-box-left {
  display: flex;
  position: relative; /* 父元素相对定位 */
}

.common-header-box .common-header-box-logo-box {
  display: flex;
  margin-left: 32px;
}

.common-header-box .common-header-box-logo-box-image {
  width: 100px;
  height: 84px;
}

.common-header-box .common-header-box-logo-box-image img {
  width: 100%;
  height: 100%;
}

.common-header-box .common-header-box-logo-box-text {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
}

.common-header-box .logo-vertical-line {
  height: 35px;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  margin-left: 20px;
  margin-top: 25px;
  margin-right: 20px;
}

.common-header-box .ai-logo {
  height: 99px;
  position: relative;
}

.common-header-box .ai-logo a {
  text-decoration: none;
  display: block;
}

.common-header-box .ai-logo .pop-info {
  height: 96px;
  visibility: visible;
  position: absolute;
  z-index: 1;
  width: 280px;
  background-color: white;
  color: #333;
  text-align: left;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  top: 24px;
  left: 150px;

  margin-left: 10px;
  opacity: 1;
  transition: opacity 0.3s, visibility 0.3s;
}
.common-header-box .ai-logo .pop-info::after {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  transform: translateY(-50%) translateX(-100%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent white transparent transparent;
}
.common-header-box .ai-logo .bubble-content-title {
  font-size: 14px;
  font-weight: 400;
  color: #4e5969;
  margin-top: 14px;
}

.common-header-box .ai-logo .bubble-content.hidden {
  visibility: hidden;
  opacity: 0;
}

.common-header-box .ai-logo .bubble-content::after {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  transform: translateY(-50%) translateX(-100%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.common-header-box .ai-logo .bubble-content-close-btn {
  position: absolute;
  top: 15px;
  right: 19px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
  /* color: #4e5969; */
}

.common-header-box .logo-text-1 {
  height: 47px;
  margin-top: 12px;
  line-height: 47px;
  font-family: Alibaba PuHuiTi, Alibaba PuHuiTi;
  font-weight: bold;
  font-size: 34px;
  color: #000000;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.common-header-box .common-logined-box-new {
  height: 40px;
  color: #0c4ea1;
  font-size: 16px;
  line-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-decoration: none;
  box-sizing: border-box;
}
.common-header-box .logo-text-2 {
  height: 22px;
  line-height: 22px;
  font-family: Alibaba PuHuiTi, Alibaba PuHuiTi;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

/*** 右側部分***/
.common-header-box-inner .common-header-box-right {
  display: flex;
  justify-content: flex-end;
  margin-top: -37px;
}
.loginout-box-new {
  width: 64px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);

  font-size: 16px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #333333;
  line-height: 40px;
  text-align: center;
}
.header-search {
  
  height: 40px;
  line-height: 40px;
  position: absolute; /* 子元素绝对定位 */
  top: 44px;
  left: 801px;
}

.header-search-main {
  border: 1px solid rgba(0,0,0,0.08);
  width: 400px;
  height: 40px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-search-icon {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  /* margin-left: 12px; */
}

.header-search-input {
  border: none;
  /* 移除边框 */
  outline: none;
  /* 移除点击时的轮廓 */
  width: 600px;
  margin: 10px;
  color: #000;
  font-size: 14px;
  flex: 1;
}

.header-search-btn {
  color: white;
  border: none;
  width: 80px;
  height: 40px;
  border-radius: 0 8px 8px 0;
  /* background: #106fff; */
  background: #163E83;
  font-size: 16px;
  cursor: pointer;
}
.group_20{
  width: 100%;
  height: 60px;
  background-color: #163E83;
}
.group-title {
  width: 1200px;
  height: 60px;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.title-name {
  width: 150px;
  line-height: 60px;
  text-align: center;
  font-family: Source Han Sans SC, Source Han Sans SC;
  font-weight: 500;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.60);
  font-style: normal;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;

  position: relative; /* 用于下划线定位 */
  opacity: 0.7; /* 未选中时透明度降低 */
  transition: all 0.3s ease; /* 平滑过渡效果 */
}
.line {
  width: 2px;
  height: 12px;
  background-color: #005ba3;
  margin-top: 14px;
}

.rightbox {
  display: flex;
  margin-left: 0px !important;
  height: 40px;
  width: 100px !important;
  justify-content: space-between;
  align-items: center;
}

.rightbox a {
  text-decoration: none;
}

.logined-box-new {
  width: 100px;
  height: 40px;
  color: #0c4ea1;
  font-size: 16px;
  line-height: 40px;

  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-decoration: none;
  box-sizing: border-box;
}

.login-box-new {
  float: left;
  height: 40px;
  border-radius: 4px;
  font-size: 16px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: bold;
  color: #005ba3;
  line-height: 40px;
  text-align: center;
  margin-right: 10px;
}
.register-box-new {
  height: 40px;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: bold;
  color: #005ba3;
  line-height: 40px;
  margin-left: 10px;
}
/** 数据库系统*/
.group-title .title-name.active-[activeIndex] {
  font-weight: 500;
  font-size: 20px;
  color: #ffffff;
  opacity: 1;
  position: relative;
  background: rgba(255,255,255,0.2);
  /* background-color: #063870; */
}


/* 吸顶效果类 */
.group_20.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* 
.group-title .title-name.active-[activeIndex]:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 4px;
    background: #FFFFFF;
    border-radius: 0px 0px 0px 0px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
} */

/* 下拉菜单样式 */
.dropdown {
  position: relative;
  display: inline-block;
  width: 150px;
  /* 固定宽度，与普通链接一致 */
  padding: 0;
  /* 移除内边距 */
  text-align: center;
  height: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #063870;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 100%;
  left: -5px;
  border-radius: 8px;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 16px;
  font-family: Source Han Sans SC, Source Han Sans SC;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* dropdown hover效果 - 整个容器背景色 */
.group_20 .group-title .dropdown {
  transition: all 0.3s ease;
}

.group_20 .group-title .dropdown:hover {
  background: rgba(255,255,255,0.2);
  /* background-color: #0052ce !important; */
}

.group_20 .group-title .dropdown:hover .title-name {
  color: #ffffff !important;
  background-color: transparent !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

/* 确保所有dropdown元素统一的hover效果 */
.group_20 .group-title .dropdown .title-name {
  transition: all 0.3s ease;
  border-radius: 4px;
}

/* 三级菜单样式 */
.dropdown-submenu {
  position: relative;
}

/* 标记有子菜单的菜单项 */
/* .dropdown-submenu > a::after {
        content: ' ▶';
        font-size: 12px;
        float: right;
    } */

.dropdown-submenu-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
  top: 0;
  left: 100%;
  border-radius: 8px;
  margin-left: 5px;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateX(-10px);
}

.dropdown-submenu-content a {
  color: rgba(0, 0, 0, 0.8);
  padding: 12px 10px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  font-family: Source Han Sans SC, Source Han Sans SC;
  text-align: left;
}

/* 显示二级菜单 */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 显示三级菜单 */
.dropdown-submenu:hover .dropdown-submenu-content {
  display: block;
  opacity: 1;
  margin-left: 10px;
  /* transform: translateX(0); */
}

/* 响应式调整 */
@media (max-width: 768px) {
  .dropdown-content,
  .dropdown-submenu-content {
    min-width: 150px;
  }

  .title-name,
  .dropdown-content a {
    padding: 10px 14px;
    font-size: 14px;
  }
}
