body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Open Sans', 'Microsoft Yahei', 'national_regular', Roboto,
    Helvetica, Segoe UI, 'Helvetica Neue', STHeiTiHelvetica Neue, Arial,
    sans-serif;
}
[contenteditable='true'],
input,
textarea {
  -webkit-user-select: auto !important;
  -khtml-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  -o-user-select: auto !important;
  user-select: auto !important;
}
.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.activity {
  display: flex;
  flex-direction: column;
  max-width: 3.75rem;
}
.backImage {
  background-image: url('./background.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.header {
  margin: 0.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header .logo {
  width: 30%;
  align-self: flex-start;
}
.header .banner {
  width: 80%;
  margin-top: 0.2rem;
}
.header .pet {
  width: 85%;
}
.main {
  /* height: 40%; */
}
.main .main-container {
  position: relative;
}
.main .redPackage {
  position: absolute;
  width: 60%;
  top: 0.5rem;
  left: 0.75rem;
}
.main .information {
  width: 90%;
  margin: 0 0.2rem;
}
.main .input-telephone {
  position: absolute;
  top: 1.45rem;
  width: 100%;
  text-align: center;
  height: 0;
  z-index: 990;
}
.main .telephone-style {
  border-radius: 2rem;
  height: 0.3rem;
  background-color: #e8ecff;
  border: none;
  width: 2rem;
  text-align: center;
  font-size: 0.1rem;
}
/* .main input:focus {
  outline: 2px solid #51c9ff;
  background: rgba(3, 16, 28, 0);
  border-radius: 2rem;
} */
.main-container .btn-submit {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 1.8rem;
  height: 0;
}
.btn-style {
  border: none;
  width: 2rem;
  height: 0.3rem;
  border-radius: 0.1rem;
  color: #fff;
  background-color: #fd4a7f;
}
.btn-style:hover {
  cursor: pointer;
}

.btn-submit .btn-active {
  background-color: #fd4a80a9;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  margin: 0 0.1rem;
  font-size: 0.1rem;
}
.footer .text-background {
  background-color: #cddff5;
  width: 100%;
  border-radius: 0.1rem;
}
.text-title {
  display: flex;
  text-align: center;
  justify-content: center;
}
.text-title .text-span {
  width: 0.7rem;
  height: 0;
  border-left: 0.06rem solid transparent;
  border-right: 0.06rem solid transparent;
  border-top: 0.2rem solid #007aff;
  position: relative;
  border-bottom-right-radius: 0.14rem;
  border-bottom-left-radius: 0.14rem;
}
.text-span::before {
  content: '使用须知';
  position: absolute;
  top: -0.17rem;
  left: 0.15rem;
}
.text-word {
  font-size: 0.1rem;
  padding: 0.1rem;
}
.text-word P {
  margin-block: 0.05rem;
}
.loading {
  position: relative;
  margin-left: 0.1rem;
}

.footer-logo {
  margin: 0.2rem 0;
}

.loading::before {
  position: absolute;
  content: '';
  width: 0.12rem;
  height: 0.12rem;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #fff;
  border-right-color: #fff;
  border-left-color: #fff;
  animation: run 2s linear infinite;
  left: -0.25rem;
}
.doc {
  font-size: 0.1rem;
  position: absolute;
  top: 3rem;
  width: 100%;
  text-align: center;
}

.dialog {
  width: 2rem;
  height: 1rem;
  background-color: rgb(0 0 0 / 60%);
  position: fixed;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0.2rem;
  font-size: 0.15rem;
  color: #ffffffb3;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 999;
}

.circle {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  border: 0.03rem solid #ffffffb3;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.05rem;
}

.right::before {
  content: '';
  width: 0.25rem;
  height: 0.12rem;
  border: 0.03rem solid #ffffffb3;
  border-right: none;
  border-top: none;
  transform: rotate(312deg) translate(0.02rem, -0.03rem);
}
.point::before {
  content: '!';
  font-size: 0.35rem;
}

/* 定义动画 */
@keyframes run {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
