ul.menu {
  padding: 0;
  list-style: none;
  width: 100%;
  height: 100%;
  font-family: "Century Gothic";
  clear: both;
}

ul.menu .list {
  font-size: 14px;
  /* border-bottom: 1px solid #fff; */
  position: relative;
  width: 100%;
  box-sizing: border-box;
  /* height: 50px; */
  vertical-align: sub;
  /* background: #2783d6; */
  clear: both;
  overflow: initial;
}

ul.menu .list-cell-arrow::before {
  content: " ";
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  /* background-color: #166bb6; */
  font-family: FontAwesome;
  position: absolute;
  right: 17px;
  top: 10px;
  padding: 0px 5px;
  color: #fff;
  border-radius: 4px;
  z-index: 0;
}

ul.menu .list-cell-arrow:after {
  content: " ";
  height: 12px;
  width: 12px;
  border-width: 2px 2px 0 0;
  border-color: #c0c0c0;
  border-style: solid;
  transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
  position: absolute;
  top: 50%;
  margin-top: -6px;
  right: 28px;
  z-index: 1;
  transition: 300ms all;
}
ul.menu .list-cell-arrow.menu-active:after {
  content: " ";
  height: 12px;
  width: 12px;
  border-width: 2px 2px 0 0;
  border-color: #c0c0c0;
  border-style: solid;
  transform: matrix(0.5, -0.5, 0.5, 0.5, 1.5, 2);
  position: absolute;
  top: 50%;
  margin-top: -6px;
  right: 28px;
  z-index: 1;
}

ul.menu .list .items {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 8px;
}
ul.menu .list .item {
  cursor: pointer;
}
ul.menu li {
  overflow: visible;
}

ul.menu .list .first-item {
  text-decoration: none;
  /* color: #fff; */
  padding: 10px 0px 10px 20px;
  display: block;
  height: 100%;
  box-sizing: border-box;
  font-weight: 600;
  position: relative;
}

ul.menu .list .first-item::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 6px;
  height: 24px;
  background-color: #64acdf;
}

ul.menu .list .second-item {
  background: #64acdf;
  text-align: center;
  height: 32px;
  line-height: 32px;
  color: #fff;
}

ul.menu .list .items {
  /* height: 0px; */
  overflow: visible;
}

/* 确保第二级列表项是浮动的第三级菜单的定位上下文 */
ul.menu .list .items li {
  position: relative;
}

/* 将第三级子菜单样式设置为浮动面板并默认隐藏 */
ul.menu .list .items .third-items {
  position: absolute;
  left: 8px;
  top: 32px;
  /* 保持在流程中进行测量，但在视觉上隐藏以允许转换 */
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0ms linear 180ms;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 8px;
  z-index: 50;
  min-width: 120px;
  border-radius: 4px;
  pointer-events: none;
}

/* 将鼠标悬停在父级第二级项目上时，显示浮动的第三级子菜单 */
ul.menu .list .items li:hover > .third-items {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0ms;
  pointer-events: auto;
}

/* 当父级 .open-left, 将子菜单放置在左侧 */
ul.menu .list .items li.open-left > .third-items {
  left: auto;
  right: calc(100% + 8px);
  transform: translateX(-6px);
}

/* 三级项目视觉效果 */
ul.menu .list .items .third-items .third-item {
  background: transparent;
  color: initial;
  text-align: left;
  height: 36px;
  line-height: 36px;
  padding: 0 12px;
  box-sizing: border-box;
}

ul.menu .list .second-item.hover {
  position: relative;
}
ul.menu .list .second-item.hover:hover {
  color: #ca1c07;
  cursor: pointer;
}
ul.menu .list .third-item.hover {
  position: relative;
}
ul.menu .list .third-item.hover:hover {
  color: #ca1c07;
  cursor: pointer;
}

.grid-column {
  grid-column: 1 / -1;
}

.login-title {
  padding: 17px 0px 17px 20px;
  display: block;
  box-sizing: border-box;
  font-weight: 600;
  position: relative;
}
.login-title::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 6px;
  height: 24px;
  background-color: #64acdf;
}

#login {
  background-color: #fff;
}
.entrance-wrapper {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.entrance-wrapper a {
  color: initial;
  text-decoration: none;
}
.entrance-wrapper a:hover {
  text-decoration: none;
}
.entrance-item {
  width: 100%;
  height: 46px;
  background-color: #64acdf;
  display: flex;
  align-items: center;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
  border-bottom: 1px solid #fff;
}

.entrance-item .icon-img {
  width: 16px;
}
.entrance-item span {
  color: #fff;
  padding-left: 10px;
}

.entrance-item:hover {
  background-color: #ca1c07;
}

.query-wrap {
  padding: 3px;
  background-color: #fff;
}
