@charset "utf-8";

/* ============================================================
   scoreQuery 中间内容区
   PC：仅用 px；max-width:768px 才用 rem
   ============================================================ */
.w1400 {
  width: 1400px;
  margin: 0 auto;
}

.scoreQuery {
  width: 100%;
  padding-bottom: 50px;
  background: #ededed url(../images/score_page_bg.png) no-repeat center 100px;
  background-size: cover;
  /* 结果区随内容撑开，避免被裁切 */
  overflow: visible;
  height: auto;
  min-height: 0;
  max-height: none;
}

.scoreQuery-inner {
  position: relative;
  background: #ffffff;
  padding: 40px 100px;
  overflow: visible;
  height: auto;
  max-height: none;
}

.scoreQuery-result,
.scoreQuery-batches {
  overflow: visible;
  height: auto;
  max-height: none;
}

/* ---------- 查询面板 832×453 ---------- */
.scoreQuery-search {
  width: 832px;
  min-height: 453px;
  height: auto;
  margin: 58px auto 100px;
  padding-bottom: 24px;
  box-sizing: border-box;
  background: url(../images/score_search_bg.png) no-repeat center center;
  background-size: 100% 100%;
  box-shadow: 0px 4px 10px 0px #e6f4fe;
  overflow: hidden;
  border-radius: 20px;
}

.scoreQuery-search__form {
  float: right;
  width: 400px;
  margin: 15px 40px 0 0;
}

.scoreQuery-search__title {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: bold;
  line-height: 40px;
  color: #3d3d3d;
  text-align: center;
}

.scoreQuery-search__tip {
  padding: 0;
  font-size: 14px;
  line-height: 22px;
  color: #5f93d4;
  text-align: center;
}

.scoreQuery-field {
  width: 100%;
  margin-top: 20px;
}

/* 同行字段（考试年份 + 考试名称）：左右各占一半 */
.scoreQuery-field--inline {
  width: 100%;
  margin-top: 16px;
}

.scoreQuery-field__col {
  float: left;
  width: 50%;
  box-sizing: border-box;
}

.scoreQuery-field__col:first-child {
  padding-right: 7px;
}

.scoreQuery-field__col:last-child {
  padding-left: 7px;
}

.scoreQuery-field__label {
  display: block;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 20px;
  color: #3d3d3d;
  padding-left: 13px;
}

/* 必填项：label 前红色星号 */
.scoreQuery-field__label--required:before {
  content: '*';
  margin-right: 4px;
  color: #e64545;
}

.scoreQuery-field__box {
  position: relative;
  width: 100%;
  height: 40px;
  background: #ffffff;
  border: 1px solid #cfd9e5;
  border-radius: 6px;
  overflow: visible;
}

.scoreQuery-field__box:focus-within,
.scoreQuery-field__box.is-focus {
  border: 1px solid #1b6bc9;
  box-shadow: 0px 4px 10px 0px #cfd9e5;
}
.scoreQuery-field__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  margin-top: -10px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.scoreQuery-field__icon--name {
  background-image: url(../images/score_query_icon1.png);
}

.scoreQuery-field__icon--id {
  width: 25px;
  height: 18px;
  margin-top: -9px;
  background-image: url(../images/score_query_icon2.png);
}

/* 新增字段图标：考试年份 / 考试名称 / 准考证号（20×20） */
.scoreQuery-search__btn3,
.scoreQuery-search__btn4,
.scoreQuery-search__btn5 {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.scoreQuery-search__btn3 {
  background-image: url(../images/score_query_icon5.png);
}

.scoreQuery-search__btn4 {
  background-image: url(../images/score_query_icon6.png);
}

.scoreQuery-search__btn5 {
  background-image: url(../images/score_query_icon7.png);
}

.scoreQuery-field__input {
  display: block;
  width: 100%;
  height: 38px;
  padding: 0 14px 0 44px;
  font-size: 14px;
  color: #333333;
  background: transparent;
  border: 0;
  outline: none;
  box-sizing: border-box;
}

/* 下拉框：沿用输入框外观（含左侧图标留白），右侧留出原生箭头空间 */
select.scoreQuery-field__input {
  height: 40px;
  padding-right: 30px;
  line-height: 40px;
  cursor: pointer;
}

select.scoreQuery-field__input:disabled {
  color: #a8b0bc;
  cursor: not-allowed;
}

.scoreQuery-field__box.is-disabled {
  background: #f7f9fc;
}

.scoreQuery-search__btn {
  display: block;
  width: 100%;
  margin-top: 30px;
  padding: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 42px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(270deg, #003f86 0%, #1b6bc9 100%);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.scoreQuery-search__btn:hover {
  opacity: 0.9;
}
.scoreQuery-search__btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.scoreQuery-search__btn-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  margin-top: 10px;
  vertical-align: top;
  background: url(../images/score_query_icon3.png) no-repeat center center;
  background-size: contain;
}

.scoreQuery-search__btn-text {
  display: inline-block;
  vertical-align: top;
}

.scoreQuery-search__note {
  margin: 15px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 18px;
  color: #c3c3c3;
  text-align: center;
}

/* ---------- 结果区 ---------- */
.scoreQuery-result {
  width: 100%;
}

.scoreQuery-student {
  width: 100%;
  padding: 0 24px 20px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #e6f4fe;
}

.scoreQuery-requery {
  float: right;
  margin-top: 8px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 32px;
  color: #1b6bc9;
  background: #ffffff;
  border: 1px solid #1b6bc9;
  border-radius: 6px;
  cursor: pointer;
}
.user-logo {
  width: 70px;
  height: 70px;
  margin-right: 26px;
}
.scoreQuery-requery:hover {
  background: #e8f1ff;
}

.none {
  display: none !important;
}

.scoreQuery-student__info {
  overflow: hidden;
}

.scoreQuery-student__name {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 28px;
  color: #1a1a1a;
}

.scoreQuery-student__desc {
  margin: 4px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 22px;
  color: #666666;
}

.scoreQuery-student__count {
  color: #1e6fff;
  font-weight: bold;
}

.scoreQuery-batch {
  width: 100%;
  margin-bottom: 40px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 10px 0px #e6f4fe;
}

.scoreQuery-batch__head {
  height: 80px;
  padding: 0 20px;
  border-radius: 20px 20px 0px 0px;
  background: linear-gradient(270deg, #1b6bc9 0%, #0b4da0 100%);
  color: #ffffff;
}

.scoreQuery-batch__icon {
  width: 20px;
  margin-right: 12px;
}

.scoreQuery-batch__name {
  float: left;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 52px;
  color: #ffffff;
}

.scoreQuery-batch__time {
  float: right;
  font-size: 14px;
  line-height: 52px;
  color: #ffffff;
}

.scoreQuery-batch__body {
  padding: 20px 50px 44px;
  margin-top: -28px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0px 4px 10px 0px #e6f4fe;
}

.scoreQuery-subject {
  margin-bottom: 50px;
}
.scoreQuery-subject:last-of-type {
  margin-bottom: 0;
}

.scoreQuery-subject__title {
  margin: 0;
  padding: 0 16px;
  font-size: 18px;
  font-weight: bold;
  line-height: 40px;
  padding-bottom: 15px;
  color: #0b4da0;
  border-bottom: 1px solid #e6ecf4;
}

.scoreQuery-score {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #e9eef5;
  padding: 13px 50px;
  line-height: 24px;
  color: #3c3c3c;
  font-size: 18px;
}
.scoreQuery-score.zcj {
  background: #e6f1ff;
  border-color: #e6f1ff;
  font-weight: bold;
  color: #0e53a8;
}
.scoreQuery-score:last-child {
  border-bottom: 0;
}

.scoreQuery-score:nth-child(even) {
  background: #f8fafc;
}

.scoreQuery-score__label {
  float: left;
  width: 10%;
}

.scoreQuery-score__value {
  float: right;
}

.scoreQuery-score__value--total {
  font-size: 18px;
}

/* 成绩字段值为链接（单元格内容为 http(s) 地址）时展示为可点击链接 */
.scoreQuery-score__link {
  color: #1b6bc9;
  text-decoration: underline;
  word-break: break-all;
}

.scoreQuery-score__link:hover {
  color: #0b4da0;
}

.scoreQuery-empty {
  width: 100%;
  margin: 40px auto 0;
  padding: 60px 20px 50px;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 16px 0px rgba(0, 63, 134, 0.06);
  box-sizing: border-box;
}

.scoreQuery-empty__icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #f0f2f5;
  border-radius: 50%;
  position: relative;
}

.scoreQuery-empty__icon:before {
  content: "i";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: bold;
  line-height: 64px;
  color: #c0c4cc;
  text-align: center;
}

.scoreQuery-empty__title {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: #666666;
}

.scoreQuery-empty__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: #999999;
}

/* ---------- 768px 以下：rem（配合 js/setFont.js，750 设计稿） ---------- */
@media screen and (max-width: 768px) {
  .w1400 {
    width: 100%;
  }

  .scoreQuery {
    min-height: auto;
    padding-bottom: 0.48rem;
    background-size: cover;
    background-position: center top;
  }

  .scoreQuery-inner,
  .scoreQuery-inner.centerWidth,
  .scoreQuery-inner.w1400 {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.24rem 0.25rem 0.4rem;
  }

  /* 查询卡片：单栏、字号阶梯清晰 */
  .scoreQuery-search {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0.16rem auto 0.32rem;
    padding-bottom: 0;
    border-radius: 0.2rem;
    box-shadow: 0 0.04rem 0.16rem rgba(0, 63, 134, 0.08);
    background-size: cover;
    background-position: left center;
  }

  .scoreQuery-search__form {
    float: none;
    width: auto;
    margin: 0.36rem 0.25rem 0.4rem;
    padding: 0.32rem 0.25rem 0.36rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0.16rem;
    box-sizing: border-box;
  }

  .scoreQuery-search__title {
    font-size: 0.4rem;
    line-height: 0.56rem;
    letter-spacing: 0.02rem;
  }

  .scoreQuery-search__tip {
    margin: 0.08rem 0 0;
    font-size: 0.26rem;
    line-height: 0.4rem;
  }

  .scoreQuery-field {
    height: auto;
    margin-top: 0.28rem;
  }

  /* 考试年份 + 考试名称同行：窄屏保持一行两列 */
  .scoreQuery-field--inline {
    margin-top: 0.28rem;
  }

  .scoreQuery-field__col:first-child {
    padding-right: 0.12rem;
  }

  .scoreQuery-field__col:last-child {
    padding-left: 0.12rem;
  }

  .scoreQuery-field__label {
    margin-bottom: 0.12rem;
    padding-left: 0.04rem;
    font-size: 0.32rem;
    line-height: 0.4rem;
  }

  .scoreQuery-field__box {
    height: 0.88rem;
    border-radius: 0.1rem;
  }

  .scoreQuery-field__input {
    height: 0.86rem;
    line-height: 0.86rem;
    font-size: 0.3rem;
    padding: 0 0.2rem 0 0.76rem;
  }

  /* 下拉框：左侧同样留出图标位置，右侧留出原生箭头空间 */
  select.scoreQuery-field__input {
    height: 0.86rem;
    line-height: 0.86rem;
    padding: 0 0.5rem 0 0.76rem;
  }

  .scoreQuery-field__icon {
    left: 0.22rem;
    width: 0.36rem;
    height: 0.36rem;
    margin-top: -0.18rem;
  }

  .scoreQuery-field__icon--id {
    width: 0.4rem;
    height: 0.3rem;
    margin-top: -0.15rem;
  }

  .scoreQuery-search__btn {
    height: 0.88rem;
    line-height: 0.88rem;
    margin-top: 0.36rem;
    font-size: 0.32rem;
    border-radius: 0.12rem;
  }

  .scoreQuery-search__btn-icon {
    width: 0.36rem;
    height: 0.36rem;
    margin-top: 0.26rem;
    margin-right: 0.12rem;
  }

  .scoreQuery-search__note {
    margin-top: 0.24rem;
    font-size: 0.25rem;
    line-height: 0.36rem;
  }

  .scoreQuery-student {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0.1rem 0.25rem 0.25rem;
    margin-bottom: 0.24rem;
    border-radius: 0.16rem;
    box-sizing: border-box;
  }

  .user-logo {
    width: 0.88rem;
    height: 0.88rem;
    margin-right: 0.2rem;
    flex-shrink: 0;
  }

  .scoreQuery-student__info {
    flex: 1;
    min-width: 0;
  }

  .scoreQuery-student__name {
    font-size: 0.34rem;
    line-height: 0.48rem;
  }

  .scoreQuery-student__desc {
    margin-top: 0.06rem;
    font-size: 0.26rem;
    line-height: 0.38rem;
  }

  .scoreQuery-batch {
    margin-bottom: 0.28rem;
    border-radius: 0.16rem;
    overflow: hidden;
  }

  .scoreQuery-batch__head {
    height: auto;
    min-height: 0;
    padding: 0.28rem 0.28rem 0.48rem;
    border-radius: 0.16rem 0.16rem 0 0;
    box-sizing: border-box;
  }

  .scoreQuery-batch__name,
  .scoreQuery-batch__time {
    float: none;
    display: block;
    line-height: 1.4;
  }

  .scoreQuery-batch__name {
    font-size: 0.32rem;
    line-height: 0.46rem;
  }

  .scoreQuery-batch__time {
    margin-top: 0.1rem;
    font-size: 0.28rem;
    line-height: 0.36rem;
    opacity: 0.92;
  }

  .scoreQuery-batch__body {
    margin-top: -0.24rem;
    padding: 0.2rem 0.2rem 0.28rem;
    border-radius: 0.16rem;
    box-sizing: border-box;
  }

  .scoreQuery-subject {
    margin-bottom: 0.28rem;
  }

  .scoreQuery-subject:last-of-type {
    margin-bottom: 0;
  }

  .scoreQuery-subject__title {
    display: flex;
    align-items: center;
    height: auto;
    margin: 0;
    padding: 0.2rem 0.16rem 0.18rem;
    font-size: 0.32rem;
    line-height: 0.44rem;
    border-bottom: 1px solid #e6ecf4;
  }

  .scoreQuery-batch__icon {
    display: inline-block;
    width: 0.28rem;
    margin: 0 0.1rem 0 0;
    vertical-align: middle;
    flex-shrink: 0;
  }

  /* 成绩行：左右对齐，避免上下堆叠 */
  .scoreQuery-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.2rem;
    padding: 0.22rem 0.2rem;
    font-size: 0.28rem;
    line-height: 0.4rem;
    overflow: visible;
    box-sizing: border-box;
  }

  .scoreQuery-score.zcj {
    border-radius: 0.08rem;
  }

  .scoreQuery-score__label,
  .scoreQuery-score__value {
    float: none;
    display: block;
    width: auto;
    padding: 0;
    font-size: 0.3rem;
    line-height: 0.4rem;
  }

  .scoreQuery-score__label {
    flex: 0 0 auto;
    max-width: 42%;
  }

  .scoreQuery-score__value {
    flex: 1 1 auto;
    text-align: right;
    word-break: break-all;
  }

  .scoreQuery-score__value--total {
    font-size: 0.32rem;
    font-weight: bold;
  }

  .scoreQuery-empty {
    margin-top: 0.32rem;
    padding: 0.64rem 0.32rem 0.56rem;
    border-radius: 0.16rem;
  }

  .scoreQuery-empty__icon {
    width: 0.88rem;
    height: 0.88rem;
    margin-bottom: 0.24rem;
  }

  .scoreQuery-empty__icon:before {
    font-size: 0.4rem;
    line-height: 0.88rem;
  }

  .scoreQuery-empty__title {
    font-size: 0.3rem;
    line-height: 0.44rem;
  }

  .scoreQuery-empty__desc {
    margin-top: 0.12rem;
    font-size: 0.26rem;
    line-height: 0.38rem;
  }
}
