/* 학교/전공 통계 모달 스타일 */
.stats-modal {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.stats-modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stats-modal-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  width: 800px;
  max-height: 90vh;
  overflow: hidden;
}

.stats-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.stats-modal-header {
  padding: 20px;
  /* border-bottom: 1px solid #eee; */
  position: relative;
}

.stats-modal-header h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.stats-modal-header .close-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
}

.stats-modal-body {
  padding: 20px;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
  display: flex;
  margin-bottom: 30px;
  /* gap: 20px; */
}

.stats-list-container {
  flex: 1;
  /* border: 1px solid #E0E5EB; */
  /* border-radius: 4px; */
  /* padding: 10px; */
}

.stats-list-container h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  /* margin: 0 0 15px 0; */
  padding: 12px 10px 12px 10px;
  border: 1px solid #afbbcc;
  background-color: #f6f7f9;
  /* padding-bottom: 10px; */
  /* border-bottom: 1px solid #eee; */
}

.stats-list.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats-list.modal-list li {
  display: flex;
  align-items: center;
  padding: 14px 12px 14px 12px;
  border: 1px solid #e0e5eb;
  /* border-bottom: 1px solid #f5f5f5; */
}

.stats-list.modal-list li:first-child {
  border-top: none;
}

/* .stats-list.modal-list li:last-child {
  border-bottom: 1px solid #f5f5f5;
} */

.stats-list.modal-list .rank {
  width: 40px;
  /* color: #4F78FF; */
  font-weight: bold;
}

.stats-list.modal-list .name {
  flex: 1;
  /* padding: 0 15px; */
}

.stats-list.modal-list .percentage {
  width: 80px;
  text-align: right;
  color: #666;
}

.research-header,
.edu-header {
  background-color: transparent !important;
}

/*모달*/
/* ._modalInfo ._MbDTCon {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100001;
    width: 100%;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
}

._modalInfo ._MbDTCon .__tab {
    padding-left: 20px;
    max-width: 100%;
    height: 50px;
    border-bottom: 1px solid #CBD3DE;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 50px;
    background-color: #F6F7F9;
    border-radius: 24px 24px 0 0;
}
._modalInfo ._MbDTCon .__lst {
    height: 200px;
    overflow-y: auto;
}
._modalInfo ._MbDTCon .__lst .info_top {
    background: #EBEEF2;
    padding: 14px 20px;
}
._modalInfo ._MbDTCon .__lst .info_top .__tit4 {
    font-weight: 700;
    font-size: clamp(14px, 3vw, 18px);
    color: #495264;
    line-height: 100%;
}


._modalInfo ._MbDTCon .__lst .lst_info {
    padding: 16px 20px;
    border-bottom: 1px solid #efefef;
    cursor: pointer;
    justify-content: left;
    align-items: center;
}
._modalInfo ._MbDTCon .__lst .lst_info .info_wrp {
    align-items: center;
}
._modalInfo ._MbDTCon .__lst .lst_info .info_wrp ._flex {
    gap : 16px;
}

._modalInfo ._MbDTCon .__lst .lst_info .__tit{
    font-size: clamp(14px, 3vw, 18px);
    line-height: 100%;
    letter-spacing: -0.02em;
    font-weight: 500;
    color: #858585;
}
._modalInfo ._MbDTCon .__lst .lst_info .__tit2{
    color: #414141;
}
._modalInfo ._MbDTCon .__lst .lst_info .__tit3{
    font-weight: 400;
    color: #858585;
}

._modalInfo ._MbDTCon .__lst .lst_info .__tit2 div {
    font-size: clamp(14px, 3vw, 18px);
    line-height: 100%;
    letter-spacing: -0.02em;
    font-weight: 500;
    color: #414141;
}

._modalInfo ._MbDTCon .__lst .lst_info .__tit2 div:last-child {
    font-size: clamp(13px, 3vw, 17px);
    line-height: 100%;
    letter-spacing: -0.02em;
    font-weight: 500;
    color: #676767;
    margin-top: 4px;
}

._modalInfo ._MbDTCon .__lst .lst_info.active .__tit{
    color: #2561FA;
}
._modalInfo ._MbDTCon .__lst .lst_info.active .__tit div:first-child {
    font-weight: 700;
    color: #2561FA;
}
._modalInfo ._MbDTCon .__lst .lst_info.active .__tit2 {
    font-weight: bold;
}

._modalInfo ._MbDTCon .__bt{
    border-top: 1px solid #EFEFEF;
    height: 80px;
    padding: 14px 20px 0 20px;
}
._modalInfo ._MbDTCon .__bt .__sbmBtn {
    width: 100%;
    height: 42px;
    line-height: 42px;
    border-radius: 4px;
    background-color: #2561fa;
    text-align: center;
    color: #fff;
    font-size: clamp(12px, 3vw, 20px);
    font-weight: 700;
    letter-spacing: -0.02em;
    border: 0;
    cursor: pointer;
} */

.stats-modal-header h3 {
  display: none;
}

/*모바일*/
@media screen and (max-width: 1024px) {
  .stats-modal-wrap {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    z-index: 11111;
    bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    top: unset;
    bottom: 0;
    transform: unset;
    left: 0;
  }
  .stats-modal-header {
    padding: 20px 15px 12px 20px;
    background-color: #F6F7F9;
    border-bottom: 1px solid #AFBBCC;
  }
  .stats-modal-header h3 {
    display: block;
  }
  .stats-modal-body {
    padding: 0;
    padding-bottom: 20px;
  }
  .stats-list-container h4 {
    display: none;
  }
  .stats-list.modal-list li {
    border-bottom: 0;
  }
  .stats-list.modal-list li:last-child {
    border-bottom: 1px solid #e0e5eb;
  }
  .stats-modal-footer {
    border-top: 1px solid #EFEFEF;
    padding: 14px 20px 0 20px;
    position: absolute;
    bottom : 0;
    left: 0;
    width: 100%;
    background-color: #fff;
  }
  .stats-modal-footer .__sbmBtn {
    width: 100%;
    height: 42px;
    line-height: 42px;
    border-radius: 4px;
    background-color: #2561fa;
    text-align: center;
    color: #fff;
    font-size: clamp(12px, 3vw, 20px);
    font-weight: 700;
    letter-spacing: -0.02em;
    border: 0;
    cursor: pointer;
    
  }
  .stats-modal-header .close-btn {
    display: none;
  }
  .contest-container .stats-list .list-header, .award-container .stats-list .list-header {
    background-color: #EBEEF2 !important;
  }
  .contest-container .stats-list .name, .contest-container .stats-list .year-title{
    color: #495264 !important;
  }
  .research-container .stats-list .research-name {
    font-size: clamp(13px, 3vw, 17px);
    font-weight: 500;
    line-height: 120%;
    color: #676767;
  }
  .research-container .stats-list li {
    border-bottom: 0 !important;
  }
  .research-container .stats-list .list-header {
    background-color: #EBEEF2 !important;
  }
  .stats-list-container {
    height: 100%;
    padding-bottom: 30px;
  }
  .edu-container .stats-list li .edu-title .edu-txt {
    font-size: clamp(13px, 3vw, 17px);
    color: #676767;
    font-weight: 500;
    line-height: 120%;
  }
  .stats-modal-body {
    max-height: calc(70vh - 80px);
  }

  
}

/*pc*/
@media screen and (min-width: 1024px) {
    
}
