.smartadvisor {
  background-color: rgb(233,243,255);
}
.header {
  display: flex;
  align-items: center;
  height: 70px;
  padding-left: 20px;
  background-color: rgb(41, 40, 255);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.echarts-tooltip {
  z-index: 9999; /* 设置足够高的层级 */
  position: absolute;
}

.content .sideNar::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.header img {
  margin-right: 20px;
  border-radius: 50%;
}
.content {
  display: flex;
  
}
.content .sideNar {
  box-sizing: border-box;
  width: 200px;
  flex-shrink: 0; 
  height: calc(100vh - 70px);
  overflow-y: scroll;
  padding: 20px;
}
  .content .sideNar .narItem {
    line-height: 40px;
    text-align: center;
    border-bottom: 1px solid #aaa;
    cursor: pointer;
  }
  .content .sideNar .narItem.active {
  background-color: #C2DAFF;
  }
.content .servece {
  width: calc(100vw - 200px);
  
}

/* 测评页面 */

.professRecommend {
  padding: 20px;
  display: none;
  height: calc(100vh - 70px);
  box-sizing: border-box;
  overflow-y: scroll;

}
.recommendTitle {
  font-weight: bold;
  font-size: 16px;
}
.professRecommendListWrap {
  padding-left: 20px;
}
.professRecommendListWrap .professRecommendList {
  margin-top: 15px;
}
.professRecommendListWrap .professRecommendList .listTitle {
  margin-bottom: 10px;
}
.professRecommendListWrap .professRecommendList .listContents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* 自适应最小120px，最大1fr */
  gap: 10px 10px; /* 上下间距 10px，左右间距 10px */
  row-gap: 10px; /* 单独设置上下间距（可选） */
}
.professRecommendListWrap .professRecommendList .listContents span {
  padding: 5px;
  border: 1px solid #999;
  border-radius: 3px;
  background-color: #fff;
  margin-right: 10px;
  text-align: center;
  cursor: pointer;
}
.professRecommendListWrap .professRecommendList .listContents span.active {
  border-color: #339dee;
  color: #339dee;
  background-color: transparent;
}

.professRecommendBtn {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 30px;
  right: 30px;
}
.professRecommendBtn div {
  padding: 8px 15px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #999;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;

}
.professRecommendBtn .sureBtn {
  margin-left: 10px;
  color: #fff;
  background-color: #339dee;
  border-color: #339dee;
}

/* 测评结果页面 */
.evaluationResult {
  box-sizing: border-box;
  display: none;
  padding: 20px;
  width: 100%;
  height: calc(100vh - 70px);
}
.evaluationResultContent {
  display: flex;

}

.evaluationResultRight {
 width: 40%;
}
.evaluationResultRight .rightTile {
  font-size: 16px;
  padding: 10px 15px;
  background-color: #fff;
}

.resultTop .rightTop .imgList {
  display: flex;
  align-items: center;
  margin: 0 10px;
}
.resultTop .rightTop .imgList img {
  width: 30px;
  cursor: pointer;
}


.resultTop .rightTop {
  display: flex;
  align-items: center;
 
}

#majorChart {
 width: 100%;
 height: calc(100vh - 70px - 20px - 20px - 44px);
}
.evaluationResult .resultContentLeft {
  background-color: #fff;
  padding: 0 10px 10px;
  flex: 1;
  height: calc(100vh - 70px - 20px - 20px);
  overflow-y:scroll;
}


.evaluationResult .item {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 固定 2 列 */
  gap: 15px;
  margin-bottom: 10px;
}
.resultContentLeft .title {
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  padding-top: 10px;
  background-color: #fff;
}
@media (max-width: 768px) {
  .evaluationResult .item {
    grid-template-columns: 1fr; /* 手机端单列显示 */
  }
}


.evaluationResult .title div {
  border-bottom: 1px solid #ccc;
  font-size: 16px;
  padding-bottom: 10px;
}
.evaluationResult .resultList .item .itemLeft {
  display: flex;
  flex-direction: column;
  max-height: 320px;
  overflow-y: scroll;
  min-width: 0; /* 允许 flex 子元素收缩到更小 */
}
.evaluationResult .resultList .item .itemLeft::-webkit-scrollbar { 
  display: none; /* Chrome, Safari and Opera */
}
.evaluationResult .resultList .item .itemLeft, .evaluationResult .resultList .item .itemRight  {
  box-sizing: border-box;
  /* height: 300px; */
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  flex: 1 1 50%; /* 平分父容器空间 */
}

.evaluationResult .resultList .item .itemRight .echarts{
  width: 100%;
  height: 300px;
}
.evaluationResult .resultList .item .itemLeft .majorTop {
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.evaluationResult .resultList .item .itemLeft .majorTop .majorWrap {
  display: flex;
  flex-direction: column;
}
.evaluationResult .resultList .item .itemLeft .majorTop .majorName {
  font-size: 16px;
  font-weight: bold;
  margin-right: 20px;
}
.evaluationResult .resultList .item .itemLeft .majorTop .majorLevelName {
  font-size: 16px;
  font-weight: bold;
}
.evaluationResult .resultList .item .itemLeft .matchingDegree span {
  font-size: 16px;
  font-weight: bold;
}
.evaluationResult .resultList .item .itemLeft .majorContent {
  flex: 1;
  padding: 10px 0;
}
.evaluationResult .resultList .item .itemLeft .itemEnd {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
  padding-right: 20px;

}
.evaluationResult .resultList .item .itemLeft .itemEnd .goRegister {
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
  background-color: #339dee;
  color: #fff;
}
.satisfaction {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.satisfaction .reEvaluate {
 
  color: #fff;
  background-color: #339dee;
  border-color: #339dee;
  padding: 0 15px;
  border-radius: 3px;
  cursor: pointer;
  line-height: 35px;
}