* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
}
/* 清除默认样式 */
input[type="text"],
input[type="password"],
button {
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  background: none;
  color: inherit;
  font: inherit;
}
/*重新设置样式*/
input[type="text"],
input[type="password"] {
  width: 100%;
  height: 50px;
  border-radius: 8px;
  border: 1px solid #cccccc;
  padding: 15px 20px;
  margin-bottom: 15px;
}
input[type="text"]:focus,
input[type="password"]:focus {
  border: 1px solid #1269f1;
}
.w1200 {
  margin: 0 auto;
  width: 1200px;
}
.df {
  display: flex;
}
.jcc {
  justify-content: center;
}
.jcsb {
  justify-content: space-between;
}
.aic {
  align-items: center;
}
.container {
  width: 100%;
  height: 100%;
  background: url("../img/bg.jpg") no-repeat center center fixed;
  background-size: cover;
}
.header {
  position: relative;
  height: 80px;
  /* background: #1269F1; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* box-shadow: inset 0 -1px 0 #e3e5e7; */
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px 2px;
  /* background-color: rgba(0, 0, 0, 0.1); */
}
/* .header::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(180deg, rgba(0, 82, 211, 0.76) 0%, rgba(69, 62, 255, 0) 100%);
} */
.header .right-school-logo {
  height: 48px;
}
.header .title {
  width: 600px;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  color: #ffffff;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 2px;
}
.header .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-right: 20px;
}
.header .login-btn,
.header .logout-btn {
  cursor: pointer;
  width: 120px;
  height: 44px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  font-size: 16px;
  color: #ffffff;
  line-height: 44px;
  text-align: center;
}
.header .login-btn:hover,
.header .logout-btn:hover {
  opacity: 0.9;
}
.header .login-info {
  display: none;
}
.main .tit-section {
  margin: 40px 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main .tit-section img {
  margin-right: 16px;
  width: 94px;
}
.main .tit-section .title {
  font-weight: 900;
  font-size: 46px;
  color: #ffffff;
  /* color: #F75445; */
}
.main .box-section {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 60px;
}
.main .box-section .box-item {
  width: 30%;
  /* height: 280px; */
  background: linear-gradient(180deg, #f3fcff 0%, #51cffb 100%);
  /* background: linear-gradient(0deg, rgba(113, 247, 255, 0.54) 0%, #FFFFFF 100%); */
  box-shadow:
    0px 0px 51px 0px rgba(0, 81, 205, 0.24),
    0px 4px 21px 0px rgba(43, 205, 224, 0.34);
  border-radius: 60px;
  padding: 20px 28px;
  text-align: center;
}
.main .box-section .box-item .item-logo {
  margin-bottom: 15px;
  height: 45px;
}
.main .box-section .box-item .item-title {
  margin: 10px 0 25px;
  font-weight: bold;
  font-size: 32px;
  color: #000000;
  line-height: 30px;
}
.main .box-section .box-item .item-content {
  min-height: 118px;
  border-top: 1px dashed #0e60f0;
  padding: 20px 0;
  font-size: 16px;
  color: #0e60f0;
  line-height: 30px;
  text-align: left;
}
.main .box-section .box-item .item-content p {
  line-height: 1.6em;
}
.main .box-section .box-item .btn-sec {
  display: flex;
  justify-content: center;
  align-items: center;
}
.main .box-section .box-item .btn-sec .btn {
  cursor: pointer;
  position: relative;
  width: 80%;
  height: 45px;
  background: linear-gradient(0deg, #0e60f0 0%, #05d3ff 100%);
  border-radius: 16px;
  border: 3px solid #ffffff;
  font-size: 20px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main .box-section .box-item .btn-sec .btn:nth-child(2) {
  margin-left: 15px;
}
.main .box-section .box-item .btn-sec .btn:hover {
  opacity: 0.9;
}
.main .box-section .box-item .btn-sec .btn .qrcode-box {
  display: none;
  position: absolute;
  bottom: 42px;
  left: -30px;
  padding: 10px;
  width: 200px;
  height: 200px;
  border-radius: 5px;
  background: #ffffff;
}
.main .box-section .box-item .btn-sec .btn .qrcode-box img {
  width: 100%;
  height: 100%;
}
.popup-box {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  /* 半透明黑色背景 */
  z-index: 1;
  /* 确保遮罩层在其他内容之上 */
}
.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  border-radius: 16px;
  background: #ffffff;
  padding: 30px 0 80px;
}
.product-select-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  border-radius: 32px;
  background: linear-gradient(180deg, #f3fcff 0%, #ffffff 100%);
  box-shadow:
    0px 0px 51px 0px rgba(0, 81, 205, 0.24),
    0px 4px 21px 0px rgba(43, 205, 224, 0.34);
  padding: 42px 44px 38px;
  text-align: center;
}
.login-box .close-btn {
  cursor: pointer;
  position: absolute;
  width: 18px;
  right: -22px;
  top: -18px;
}
.product-select-box .close-btn {
  cursor: pointer;
  position: absolute;
  width: 18px;
  right: -18px;
  top: -18px;
}
.login-box .title {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 24px;
  color: #333333;
  line-height: 33px;
  text-align: center;
  cursor: pointer;
}
.login-box .title .tit {
  display: inline-block;
}
.login-box .title .tit.active {
  color: #409eff;
}
.product-select-box .title {
  font-weight: 600;
  font-size: 30px;
  color: #0e60f0;
  line-height: 42px;
}
.product-select-box .product-select-subtitle {
  margin: 14px auto 30px;
  max-width: 320px;
  font-size: 16px;
  color: #4d6fb8;
  line-height: 26px;
}
.product-select-box .terminal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.product-select-box .terminal-btn {
  cursor: pointer;
  width: 190px;
  height: 60px;
  border-radius: 20px;
  border: 3px solid #ffffff;
  font-weight: 600;
  font-size: 22px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 10px 24px rgba(14, 96, 240, 0.18);
}
.product-select-box .terminal-btn.student {
  background: linear-gradient(180deg, #05d3ff 0%, #0e60f0 100%);
}
.product-select-box .terminal-btn.teacher {
  background: linear-gradient(180deg, #5de0b7 0%, #0d9b83 100%);
}
.product-select-box .terminal-btn:hover {
  opacity: 0.92;
}

.login-box .eye-btn {
  cursor: pointer;
  position: absolute;
  width: 17px;
  top: 18px;
  right: 18px;
}
.login-box .forget-pwd {
  text-align: right;
  font-size: 14px;
  color: #0e60f0;
}
.login-box .switch-login-type {
  text-align: right;
  font-size: 14px;
  color: #0e60f0;
  cursor: pointer;
}
.login-box .login-btn {
  cursor: pointer;
  margin-top: 20px;
  width: 100%;
  height: 50px;
  background: linear-gradient(180deg, #05d3ff 0%, #0e60f0 100%);
  border-radius: 16px;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
}
.login-box .login-btn:hover {
  opacity: 0.9;
}
.login-box .login-tip {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  background: #f8f9fc;
  border-radius: 0px 0px 16px 16px;
  font-size: 16px;
  color: #999999;
  line-height: 50px;
  text-align: center;
}
.login-box .login-tip .service {
  cursor: pointer;
  border-bottom: 1px solid #999999;
}
.login-box .login-tip .service:hover {
  color: #0e60f0;
}

/* 手机号登录 */
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blue-code-btn {
  width: 240px;
  height: 50px;
  background-color: #e3ecf8;
  border: 1px solid #1269f1;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 15px;
  margin-left: 10px;
  color: #1c77d3;
  display: inline-block;
  text-align: center;
  line-height: 50px;
}

.code-btn:hover {
  background: #1c77d3;
  color: #fff;
}

.grey-code-btn {
  width: 240px;
  height: 50px;
  background-color: rgb(160, 207, 255);
  border: 1px solid rgb(160, 207, 255);
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 15px;
  margin-left: 10px;
  color: #ffffff;
  display: inline-block;
  text-align: center;
  line-height: 50px;
}

.toast {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.55);
  /* 半透明黑色背景 */
  color: white;
  /* 白色文字 */
  padding: 20px 30px;
  /* 设置内边距 */
  border-radius: 10px;
  /* 圆角边框 */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  /* 添加阴影效果 */
  text-align: center;
  /* 文字居中 */
  z-index: 1000;
  /* 确保Toast在最上层显示 */
}
.popup-service,
.popup-privacy {
  display: none;
  width: 1200px;
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.popup-service .back-btn,
.popup-privacy .back-btn {
  cursor: pointer;
  color: #fff;
}
.popup-service .service-content,
.popup-privacy .service-content {
  padding: 50px 50px;
  width: 100%;
  height: 70vh;
  background: linear-gradient(0deg, #71f7ff 0%, #ffffff 100%);
  box-shadow:
    0px 0px 51px 0px rgba(0, 81, 205, 0.24),
    0px 4px 21px 0px rgba(43, 205, 224, 0.34);
  border-radius: 60px;
  overflow-y: auto;
  scrollbar-width: none;
}
.popup-service .service-content .service-title,
.popup-privacy .service-content .service-title {
  font-size: 22px;
  text-align: center;
}

.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7) no-repeat center center;
  z-index: 1000;
  /* 确保加载动画在其他内容之上 */
}

.loading-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

/* 如果你选择使用CSS动画而不是GIF */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #4393f3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.main .box-section .box-item .item-logo.jyzdk {
  margin-bottom: 15px;
  height: 40px;
}
