/* 遮罩层 */
.register-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 弹框内容区 */
.register-mask-con {
  width: 920px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #1983ff;
  overflow: hidden;
  position: relative;
}

/* 关闭按钮 */
.subject-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background-image: url(../images/subject-close.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  z-index: 10;
}

.subject-close:hover {
  background-image: url(../images/subject-close-hover.png);
}

/* 标题 */
.register-mask-con .title {
  height: 56px;
  line-height: 56px;
  text-align: center;
  background: #404480;
  font-size: 18px;
  color: #fff;
}

/* "3门"特殊样式 */
.register-mask-con .title .highlight {
  color: #42bdf8;
}

/* 科目列表 */
.subject-container {
  padding: 0 24px 0 24px;
  background: rgba(38, 41, 77);
}
.subject-list {
  display: flex;
  padding: 24px 0px;
  gap: 24px;
  align-items: center;
  position: relative;
}

/* subject-list 底部分隔线 */
.subject-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(270deg, #66c7ff1a 0%, #66ccff4d 51.04%, #66c7ff1a 100%);
}

/* 最后一个不加分隔线 */
.subject-list:last-child::after {
  display: none;
}

/* 科目标记 */
.subject-sign {
  width: 60px;
  height: 24px;
  background-image: url(../images/subject-sign.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
}

/* 科目块 */
.subject-block {
  width: 120px;
  height: 64px;
  background-image: url(../images/subject-block.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 科目块hover状态 */
.subject-block:hover {
  background-image: url(../images/subject-block-hover.png);
}

/* 科目块选中状态 */
.subject-block.cur {
  background-image: url(../images/subject-block-cur.png);
}

/* 科目块选中对勾 */
.subject-block.cur::after {
  content: '';
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 16px;
  height: 16px;
  background-image: url(../images/subject-correct.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.subject-foot {
  background: #333666;
  height: 56px;
  gap: 16px;
  display: flex;
  justify-content: flex-end;
  padding-right: 24px;
  align-items: center;
}
.subject-foot button {
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  width: 120px;
  height: 36px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.subject-foot button.cancel {
  width: 120px;
  height: 36px;
  border: none;
  border-radius: 4px;
  border: 1px solid #1692f2;
  color: #1692f2;
  background: transparent;
}
.subject-foot button.cancel:hover {
  border: 1px solid #6cf;
  color: #6cf;
}
.subject-foot button.sure {
  color: #fff;
  background: #37f;
  width: 120px;
  height: 36px;
}
.subject-foot button.sure:hover {
  background: #3bf;
}
