* {
  margin: 0;
  padding: 0;
}

body {
  padding: 2rem 0;
}

a {
  text-decoration: none;
}

#main * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

#main {
  font-size: 0.7rem;
  font-family: "AlibabaPuHuiTiRegular";
  position: relative;
  margin: 0 auto;
  width: 100%;
  height: calc(100vh - 4rem);
  background-size: 100%;
}

#main .startPage {
  background: #f4f7ff url(../img/poster.jpg) no-repeat;
  background-size: cover;
  background-position: center top;
  height: 100%;
  width: 100%;
}

#main input,
#main select,
#main textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
}

#main i,
#main em {
  font-style: normal;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #f1f1f1 inset !important;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

table {
  width: 100%;
  text-align: center;
  /*文本居中*/
  border-collapse: collapse;
  /*表格的边框合并，如果相邻，则共用一个边框*/
  border-spacing: 0;
  /*设置行与单元格边框的间距。当表格边框独立（即border-collapse:separate;）此属性才起作用*/
}

table td {
  word-break: break-all;
  /*允许在字内换行,即单词可分*/
  word-wrap: break-word;
  /*允许长单词或URL地址换行*/
  border-right: 1px solid #939598;
  border-bottom: 1px solid #939598;
}

/* 滚动槽 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: none;
}

::-webkit-scrollbar-track {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.06);
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.dis-f {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dis-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dis-c {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn {
  cursor: pointer;
  text-align: center;
}
.tc {
  text-align: center;
}
.pr {
  position: relative;
}
.po {
  position: absolute;
}
.po-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}

@font-face {
  font-family: "AvantiBold";
  src: url(https://m.igo.cn/zt/gaokao_product/font/AvantiBold.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiBold";
  src: url(https://m.igo.cn/zt/gaokao_product/font/Alibaba-PuHuiTi-Bold_0.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiRegular";
  src: url(https://m.igo.cn/zt/gaokao_product/font/AlibabaPuHuiTiRegular.ttf);
}

@font-face {
  font-family: "AlibabaPuHuiTiMedium";
  src: url(https://m.igo.cn/zt/gaokao_product/font/Alibaba-PuHuiTi-Medium.ttf);
}
#main .formbox {
  padding: 0 1.48rem;
  width: 100%;
  position: fixed;
  bottom: 3.8rem;
  left: 50%;
  transform: translateX(-50%);
}

#main .formbox .formbg {
  height: 5.35rem;
  background: linear-gradient(to right, #3e3b6f 24%, transparent 95%);
  border-radius: 0.64rem;
  padding-top: 0.73rem;
  align-items: flex-start;
}

#main .formbox .formbg > p {
  font-size: 0.73rem;
  line-height: 1rem;
  font-family: "AlibabaPuHuiTiMedium";
  color: #f2f2f2;
  width: 1.5rem;
  padding: 0 0.4rem;
}
#main .formbox .formbg .chosebox {
  width: 100%;
  background-color: #f2f2f2;
  box-shadow: 0rem 0.13rem 0rem 0rem #f1c852;
  border-radius: 0.64rem;
  padding: 0.88rem 0.45rem;
}

#main .formbox .chosebox > div {
  height: 1.5rem;
  background: #e6e6e6 url(../img/degree.png) no-repeat;
  background-size: auto 0.65rem;
  border-radius: 0.13rem;
  background-position: 0.35rem center;
  padding-left: 1.48rem;
}
#main .formbox .chosebox p {
  font-size: 0.51rem;
  color: #808080;
}
#main .formbox .chosebox > div.location {
  background-image: url(../img/location.png);
  background-position: 0.5rem center;
  margin-top: 0.4rem;
}
#main .calculate-btn {
  font-family: "AlibabaPuHuiTiBold";
  font-size: 0.75rem;
  letter-spacing: 0rem;
  color: #ffffff;
  background-image: linear-gradient(90deg, #fdc877 0%, #e49e39 100%);
  box-shadow: 0rem 0.13rem 0rem 0rem #ffedb3;
  border-radius: 0.84rem;
  height: 1.73rem;
  margin-top: 2.35rem;
}
#main .choseLay {
  position: fixed;
  top: 2rem;
  left: 0;
  width: 100%;
  height: calc(100% - 2rem);
  display: none;
  z-index: 100;
}
#main .choseLay > div {
  width: 100%;
  position: fixed;
  bottom: 0;
  padding: 0.8rem 0.8rem 6rem;
  background: #ffffff;
  border-radius: 0.6rem 0.6rem 0 0;
  box-shadow: 0 -0.1rem 1.5rem rgb(0 0 0 / 22%);
}
#main .choseLay .stitle {
  font-size: 0.9rem;
  font-family: "AlibabaPuHuiTiBold";
  line-height: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 0.8rem;
}
#main .choseLay .list {
  width: 100%;
  flex-wrap: wrap;
}
#main .choseLay p {
  background: #eeeff0;
  color: #666;
  width: 30%;
  text-align: center;
  line-height: 1.4rem;
  font-size: 0.6rem;
  margin-top: 0.5rem;
  border-radius: 1.4rem;
}
#main .choseLay p.active {
  background: #fcd673;
  color: #7b5903;
}
#main .choseLay p:nth-child(1),
#main .choseLay p:nth-child(2),
#main .choseLay p:nth-child(3) {
  margin-top: 0;
}
#main .choseLay .confirm {
  font-family: "AlibabaPuHuiTiMedium";
  position: absolute;
  bottom: 3rem;
  width: 90%;
  height: 2rem;
  background: #fcd673;
  left: 50%;
  color: #7b5903;
  text-align: center;
  line-height: 2rem;
  font-size: 0.75rem;
  transform: translateX(-50%);
  border-radius: 2rem;
}
#main .loginPage {
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg, #fefcf7, #fffdf9);
  padding: 4rem 1.45rem 0;
  position: relative;
  display: none;
}
#main .loginPage h2 {
  font-family: "AlibabaPuHuiTiBold";
  font-size: 1.05rem;
  line-height: 1.05rem;
  font-weight: normal;
  color: #5e3c40;
  text-align: center;
}
#main .loginPage p {
  font-size: 0.85rem;
  line-height: 0.85rem;
  margin: 0.9rem 0 1.7rem;
  color: #5e3c40;
  text-align: center;
}
#main .loginPage form {
  position: relative;
}
#main .loginPage .item {
  background: url(../img/name.png) no-repeat;
  background-size: 0.75rem auto;
  background-position: left center;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
}
#main .loginPage .item.tel {
  background-image: url(../img/tel.png);
}
#main .loginPage .item.yzm {
  background-image: url(../img/code.png);
}
#main .loginPage .item input {
  border: solid 1px #dddddd;
  background-color: #ffffff;
  height: 1.8rem;
  border-radius: 0.2rem;
  font-size: 0.55rem;
  padding-left: 0.55rem;
  width: 100%;
}
#main .loginPage .item input::placeholder {
  color: #939598;
}
#main .loginPage .item.yzm > div {
  border: solid 1px #dddddd;
  background-color: #ffffff;
  height: 1.8rem;
  border-radius: 0.2rem;
  font-size: 0.55rem;
  width: 100%;
  padding-right: 0.4rem;
}
#main .loginPage .item.yzm input {
  border: none;
  background: none;
  height: 100%;
}
#main .loginPage .item.yzm span {
  color: #db2c35;
  text-decoration: underline;
  flex-shrink: 0;
}
#main .loginPage .submit {
  width: 8rem;
  height: 1.5rem;
  line-height: 1.5rem;
  font-size: 0.65rem;
  color: #fff;
  text-align: center;
  margin: 2.2rem 0 0 3rem;
  border-radius: 1rem;
  background-color: #db2c35;
}

#main .loginPage .reset {
  font-size: 0.6rem;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #939598;
  height: 1.5rem;
  line-height: 1.5rem;
}
.custom-alert {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.custom-alert.show {
  display: flex;
}

.alert-content {
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  transform: translateY(20px) scale(0.9);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.custom-alert.show .alert-content {
  transform: translateY(0) scale(1);
}

.alert-message {
  margin: 0;
  font-size: .55rem;
  color: #333333;
}

/* Loading 弹窗样式 */
.loading-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.loading-modal.show {
  display: flex;
}

.loading-content {
  background-color: white;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  min-width: 200px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  margin: 0;
  font-size: 16px;
  color: #333;
}