* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: #fff;
  color: #595959;
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  min-height: 100%;
  font-size: 0.875rem;
  font-weight: 400;
}

.div-title {
  padding: 6.5rem 0 0 2.625rem;
  height: 24.5625rem;
  color: #fff;
  font-weight: 500;
  background: url(bc.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* 核心属性：覆盖容器，保持比例 */
  display: flex;
  justify-content: space-between;
}
.logo {
  padding-top: 1.3125rem;
}
.logo .image {
  width: 10.3125rem;
  height: 10.875rem;
}

.text1 {
  letter-spacing: 3%;
  font-size: 1.5rem;
  line-height: 2.25rem;
}
.text2 {
  margin: 0.5rem 0 2rem 0;
  font-size: 1.5rem;
  line-height: 2.25rem;
}
.text3 {
  margin: 0.5rem 0 2rem 0;
  font-size: 1rem;
  line-height: 1.5rem;
}
.div-from {
  position: relative;
  z-index: 1;
  margin-top: -8.8125rem;
  padding: 2rem;
  width: 100%;
  min-height: 100%;
  background-color: #fff;
  border-radius: 2rem 2rem 0 0;
}
.from-input {
  padding: 0 1rem;
  background-color: #f4f4f4;
  border-radius: 1.5rem;
  border: none;
  width: 100%;
  height: 3rem;
  line-height: 3rem;
  color: #262626;
}
.from-input .el-input__wrapper {
  padding: 0 !important;
  background-color: #f4f4f4 !important;
  box-shadow: none !important;
}
.from-name {
  margin: 0 0 0.5rem 0;
  padding: 0 0.5625rem;
  font-size: 1.125rem;
  line-height: 1.6875rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.from-name .image {
  margin-right: 0.4375rem;
  width: 1.25rem;
  height: 1.5rem;
}
.input-phone {
  margin-bottom: 2rem;
}
.from-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.from-code .from-input {
  width: 12.5625rem;
}
.from-code .code {
  width: 6.375rem;
  height: 2.5rem;
  border-radius: 1.25rem;
  color: #fff;
  .el-button {
    width: 6.375rem;
    height: 2.5rem;
    padding: 0;
    line-height: 2.5rem;
  }
}
.from-title {
  padding: 0 0.625rem;
  font-size: 1.5rem;
  line-height: 2.25rem;
  color: #262626;
}
.title-margin {
  margin: 1.75rem 0 1.5rem;
}
.input-margin {
  margin-bottom: 1.5rem;
}
.from-tips {
  margin-bottom: 0.5rem;
  line-height: 1.3125rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.from-tips .image {
  margin-right: 0.25rem;
  width: 1rem;
  height: 1rem;
}
.title-margin1 {
  margin: 2.3125rem 0 1.375rem;
}
.from-sex {
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.from-sex .sex {
  width: 6rem;
  height: 6rem;
  border-radius: 1.25rem;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 1rem;
}
.from-sex .sex .image {
  margin-bottom: 0.4rem;
  width: 1.875rem;
  height: 1.875rem;
}
.from-sex .sex.active {
  color: #fff;
  background-color: #3782ff;
}
.from-sex .sex.girl.active {
  background-color: #ff6a6a;
}
.title-margin2 {
  margin: 1.75rem 0;
}
.register {
  margin-top: 2.5625rem;
  padding-top: 0.875rem;
  width: 19.625rem;
  height: 5.5rem;
  background: url(button1.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* 核心属性：覆盖容器，保持比例 */
  display: flex;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.agree {
  margin-top: -0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 0.75rem;
  color: #8c8c8c;
}
.agree .label {
  display: flex;
  justify-content: center;
  align-items: center;
}
.agree .label text {
  margin-left: 0.25rem;
}
.agreement text {
  color: #fa8545;
}
