@charset "UTF-8";
/* CSS Document */
body,
h1,
h3,
h2,
h4,
h5,
h6,
p,
dl,
dd,
ul,
li,
ol,
td,
form,
input,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  font-size: 12px;
  color: #333;
}

body {
  font-size: 16px;
  font-family: "微软雅黑";
  color: #212326;
  background-image: url("/static/images/product/bg.png");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 20px 0;
}

* {
  box-sizing: border-box;
}

img {
  display: block;
  border: none;
}

a,
input {
  outline: none;
}

em,
i {
  font-style: normal;
}

b,
strong,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

.clear:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

table {
  border-collapse: collapse;
}

.border0 {
  border: none;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

::-webkit-scrollbar-thumb {
  width: 6px;
  background: #d9e0ee;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.container {
  width: 100%;
  max-width: 600px;
  margin: 30px auto 0;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group .error {
  border-color: #F56C6C;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

label.required::before {
  content: "*";
  color: #f10215;
  margin-right: 5px;
  font-size: 12px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="radio"] {
  margin-right: 5px;
}

button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

button:hover {
  background-color: #0056b3;
}

.button-disabled:hover {
  background-color: #CCCCCC;
}

.qr-code {
  text-align: center;
  margin-top: 20px;
}

.qr-code img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .qr-code img {
    width: 115px;
    height: 115px;
  }
}

.qr-code p {
  margin-top: 10px;
  font-size: 14px;
}

/* 移动端响应式样式 */
@media screen and (max-width: 768px) {
  .container {
    padding: 15px;
    margin: 30px auto 0;
    width: 90%;
  }
  button {
    font-size: 18px;
    padding: 12px 0;
  }
}

/* 更小屏幕适配 */
@media screen and (max-width: 480px) {
  .form-group label {
    font-size: 14px;
  }
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="radio"] {
    font-size: 16px;
  }
  button {
    font-size: 16px;
    padding: 10px 0;
  }
}

.header-box .logo img {
  width: 140px;
  height: auto;
  display: block;
  /* 移动端响应式样式 */
}

@media (max-width: 768px) {
  .header-box .logo img {
    width: 110px;
    height: auto;
  }
}

.image-captcha {
  align-items: center;
}

.image-captcha .ml-10 {
  flex-shrink: 0;
  margin-left: 10px;
  width: 150px;
  height: 37px;
}

@media (max-width: 768px) {
  .image-captcha .ml-10 {
    width: 140px;
  }
}

.phone-captcha {
  align-items: center;
  /* 置灰按钮的样式 */
}

.phone-captcha button {
  background-color: #444444;
  flex-shrink: 0;
  width: 150px;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .phone-captcha button {
    width: 140px;
    font-size: 13px;
  }
}

.phone-captcha .button-disabled {
  background-color: #ccc;
  /* 灰色背景 */
  color: #FFFFFF;
  /* 灰色文字 */
  cursor: not-allowed;
  /* 禁止点击 */
}

.submit-button {
  margin-top: 15px;
}

.form-company {
  align-items: center;
  justify-content: flex-start;
}

.form-company label {
  font-weight: 400;
}

.pointer {
  cursor: pointer;
}

/* 样式设置 */
.message-popup {
  position: fixed;
  text-align: center;
  top: 50%;
  /* 距离页面顶部 20px */
  left: 50%;
  transform: translate(-50%, -50%);
  /* 居中 */
  background-color: #4caf50;
  /* 绿色背景 */
  color: white;
  /* 白色文字 */
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  z-index: 9999;
  min-width: 380px;
  font-size: 14px;
  opacity: 0;
  /* 初始透明度 */
  z-index: -1;
  transition: opacity 0.5s ease;
  /* 渐变效果 */
  /* 成功消息的样式 */
  /* 失败消息的样式 */
}

.message-popup .popup_message {
  text-align: center;
}

.message-popup.success {
  background-color: #F0F9EB;
  /* 绿色背景 */
  color: #67C23A;
  /* 绿色文字 */
}

.message-popup.error {
  background-color: #FEF0F0;
  /* 红色背景 */
  color: #F56C6C;
  /* 红色文字 */
}

/* 弹窗的样式 */
.dialog-modal {
  display: none;
  /* 初始隐藏 */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  /* 半透明背景 */
}

/* 弹窗内容的样式 */
/* 弹窗背景遮罩 */
.dialog-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 弹窗内容 */
.popup_content {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  max-width: 400px;
  width: 80%;
}

.popup_content h2 {
  color: #67C23A;
  font-size: 24px;
  margin-bottom: 15px;
}

.popup_content p {
  font-size: 14px;
  margin-bottom: 20px;
}

.popup_content .qr_code img {
  max-width: 145px;
  height: auto;
  margin: 0 auto 20px;
}

.popup_content button {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup_content button:hover {
  background-color: #0056B3;
}
