*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

button,
input,
textarea,
select {
  border: none;
  outline: none;
  background: none;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.PeteWrap {
  max-width: 550px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  margin: 0 auto;
  padding-top: 6rem;
  padding-bottom: 1.8rem;
  background: #e92b17 url('../images/beijing.png') no-repeat top center;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ========== Bot ========== */
.PeteBot {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ========== Form Card ========== */
.PeteFormCard {
  width: 94%;
  margin: 0 auto 0.2rem;
  padding: 1.2rem 0.24rem 0.3rem;
  background: url('../images/kuang.png') no-repeat center;
  background-size: 100% 100%;
  border-radius: 0.24rem;
  display: flex;
  flex-direction: column;
}

.PeteFormItem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.12rem;
  min-height: 0.66rem;
  margin-bottom: 0.06rem;
  padding: 0.1rem 0.22rem;
  background: url('../images/shuru.png') no-repeat center;
  background-size: 100% 100%;
}

.PeteFormIcon {
  width: 0.4rem;
  flex-shrink: 0;
  object-fit: contain;
}

.PeteFormLabel {
  flex-shrink: 0;
  width: 1.2rem;
  font-size: 0.24rem;
  color: #333;
  white-space: nowrap;
  letter-spacing: 0.01rem;
}

.PeteFormInput {
  flex: 1;
  min-width: 0;
  height: 0.4rem;
  font-size: 0.22rem;
  color: #222222;
}

.PeteFormInput::placeholder {
  color: #b5b5b5;
  font-size: 0.22rem;
}

.PetePasswordEye {
  width: 0.32rem;
  height: 0.32rem;
  flex-shrink: 0;
  object-fit: contain;
}

/* ========== Agreement ========== */
.PeteAgreement {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.07rem 0.12rem 0.11rem;
  white-space: nowrap;
  margin-top: 0.12rem;
}

.PeteAgreementInput {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.PeteAgreementCheck {
  width: 0.28rem;
  height: 0.28rem;
  margin-right: 0.1rem;
  flex-shrink: 0;
  border-radius: 0.03rem;
  background: #d8000f;
  position: relative;
}

.PeteAgreementCheck::after {
  content: '';
  position: absolute;
  left: 0.09rem;
  top: 0.03rem;
  width: 0.09rem;
  height: 0.16rem;
  border-right: 0.04rem solid #ffffff;
  border-bottom: 0.04rem solid #ffffff;
  transform: rotate(45deg);
}

.PeteAgreementInput:not(:checked) + .PeteAgreementCheck {
  background: #ffffff;
  border: 0.02rem solid #d8000f;
}

.PeteAgreementInput:not(:checked) + .PeteAgreementCheck::after {
  display: none;
}

.PeteAgreementText,
.PeteAgreementLink {
  font-size: 0.2rem;
  line-height: 1.2;
}

.PeteAgreementText {
  color: #333333;
}

.PeteAgreementLink {
  color: #d8000f;
}

/* ========== Submit ========== */
.PeteSubmitBtn {
  width: 100%;
  margin: 0.12rem auto 0.18rem;
}

.PeteSubmitImg {
  width: 100%;
  height: 0.8rem;
  object-fit: contain;
}

.PeteLoginLink {
  width: 100%;
  margin: 0 auto;
  font-size: 0.22rem;
  color: #333333;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.01rem;
}

.PeteLoginLinkText {
  font-size: 0.22rem;
  font-weight: 700;
  color: #d5000f;
}

/* ========== Help ========== */
.PeteHelpRow {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0.12rem;
}

.PeteHelpItem {
  flex: 1;
  min-width: 0;
}

.PeteHelpIcon {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
