* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: clamp(42.75px, calc(100vw / 7.5), 100px);
  background: #ffffff;
}

@media (min-width: 780px) {
  html { background: #f2f2f2; }
}

body {
  font-size: 16px;
  background: #ffffff;
  max-width: 7.5rem;
  margin: 0 auto;
  min-height: 100vh;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  font-family: Tahoma, Arial, sans-serif;
  color: #1f1f1f;
}

img { border: none; display: block; }
button, input { font: inherit; }
button { border: 0; background: transparent; }
[hidden] { display: none !important; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.payWrap,
.payTimeWrap,
.resulteWrap { background: #ffffff; }

.content { padding: 0 0.35rem 0.4rem; }
.payWrap .content { padding-top: 0.28rem; }

.header-module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0 0.3rem;
}

.header-module .big-title { font-size: 0.26rem; }

.money-module {
  border-radius: 10px;
  padding: 0.35rem 0.5rem 0.3rem 0.35rem;
  background: #003f15;
}

.money-module .money { padding-bottom: 0.1rem; color: #ffffff; }
.money-module .number {
  font-size: 0.5rem;
  margin-right: 0.1rem;
  font-weight: bold;
}
.money-module .cn { font-size: 0.4rem; color: #ffffff; }
.money-module .unit { font-size: 0.24rem; color: #ffffff; }

.payment-module { margin-top: 0.3rem; }
.payment-module .big-title {
  font-size: 0.26rem;
  color: #222222;
  margin-bottom: 0.3rem;
}
.payment-module .list-item {
  display: flex;
  justify-content: space-between;
  gap: 0.12rem;
}
.payment-module .item {
  text-align: center;
  border: 1px solid #f6f6f6;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  padding: 0.2rem 0.04rem 0.3rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.payTimeWrap .payment-module .item {
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  padding: 0.08rem 0;
  flex-wrap: nowrap;
}
.bank-mark {
  height: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.24rem;
  font-weight: 700;
  color: #003f15;
  letter-spacing: 0.02em;
}
.payTimeWrap .bank-mark { height: 0.5rem; font-size: 0.2rem; }
.payment-module .item.active { border: 1px solid #003f15; }
.payTimeWrap .payment-module .item.active { background: rgba(250, 228, 76, 0.1); }
.payment-module .img { height: 0.6rem; display: inline-block; }
.payTimeWrap .payment-module .img { height: 0.5rem; }
.payment-module .name {
  text-align: center;
  display: inline-block;
  width: 100%;
  font-size: 0.16rem;
  color: #9e9e9e;
  margin-top: 0.08rem;
  line-height: 1.2;
}
.check-box { display: none; }
.item.active .check-box { display: block; }
.check-box .check {
  width: 0;
  height: 0;
  border-left: 0.7rem solid transparent;
  border-bottom: 0.7rem solid #003f15;
  position: absolute;
  bottom: 0;
  right: 0;
}
.check-icon {
  position: absolute;
  bottom: 0.1rem;
  right: 0.03rem;
  width: 0.3rem;
  height: 0.3rem;
  fill: #ffffff;
}

.form-module { margin-top: 0.3rem; }
.form-module .title,
.field .title {
  font-size: 0.26rem;
  color: #000000;
  padding-top: 0.3rem;
  padding-bottom: 0.2rem;
}
.form-module .input,
.file-name {
  border: 1px solid #003f15;
  border-radius: 5px;
  width: 100%;
  padding: 0.25rem 0.3rem;
  box-sizing: border-box;
  font-size: 0.28rem;
  background: #ffffff;
  color: #1f1f1f;
}
.form-module .input::placeholder { color: #c0c4cc; }

.account-module .sub-des p {
  font-size: 0.26rem;
  color: #003f15;
  line-height: 0.4rem;
  font-weight: bold;
}

.btn-module {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
}
.btn-module .btn,
.resulteWrap .btn {
  background: #003f15;
  width: 100%;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.36rem;
  font-weight: bold;
  border-radius: 0.2rem;
  color: #ffffff;
  cursor: pointer;
}
.resulteWrap .btn {
  height: 0.9rem;
  line-height: 0.9rem;
  border-radius: 10px;
  font-size: 0.32rem;
  display: block;
}
.btn-module .btn:disabled { opacity: 0.55; }

.field .value {
  font-size: 0.32rem;
  font-weight: bold;
  word-break: break-all;
}
.field .value.mono { letter-spacing: 0.02rem; }
.copy-btn {
  margin-top: 0.15rem;
  background: #eef5f1;
  color: #003f15;
  border-radius: 0.1rem;
  padding: 0.12rem 0.24rem;
  font-size: 0.24rem;
  font-weight: bold;
  cursor: pointer;
}

.file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1rem;
  border: 1px dashed #003f15;
  border-radius: 5px;
  color: #003f15;
  font-size: 0.28rem;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}
.file-btn input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.preview {
  width: 100%;
  max-height: 3.2rem;
  object-fit: contain;
  margin-top: 0.2rem;
  border-radius: 5px;
  background: #f6f6f6;
}
.notice {
  margin-top: 0.15rem;
  color: #ca3135;
  font-size: 0.24rem;
  font-weight: bold;
  line-height: 0.36rem;
}

.title-module { padding-top: 0.4rem; }
.title-module .big-title {
  font-size: 0.46rem;
  font-weight: bold;
  color: #000000;
  padding-bottom: 0.2rem;
}
.title-module .sub-title { font-size: 0.26rem; color: #827f81; }

.time-module {
  margin-top: 0.5rem;
  background: #b42318;
  border-radius: 0.2rem;
  padding: 0.42rem 0.24rem 0.32rem;
  text-align: center;
}
.payWrap .time-module.pay-count {
  margin-top: 0;
  padding: 0.42rem 0.24rem 0.32rem;
}
.time-module .clock {
  font-size: 0.72rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.16rem;
  line-height: 1;
}
.payWrap .time-module.pay-count .clock {
  font-size: 0.72rem;
  margin-bottom: 0.16rem;
}
.time-module .sub-title {
  font-size: 0.28rem;
  font-weight: bold;
  color: #ffffff;
}
.payWrap .time-module.pay-count .sub-title {
  font-size: 0.28rem;
}
.payTimeWrap .payment-module { margin-top: 0.5rem; }

.warning-module { margin-top: 0.8rem; }
.warning-module .big-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}
.warning-module .icon {
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.2rem;
  fill: #ca3135;
}
.warning-module .name {
  font-size: 0.36rem;
  font-weight: bold;
  color: #222222;
}
.warning-module .sub-title {
  text-align: center;
  padding: 0 0.4rem;
}
.warning-module p {
  font-size: 0.28rem;
  line-height: 0.45rem;
}

.icon-module { padding: 0.8rem 0 0.85rem; }
.icon-module .icon,
.icon-module .logo { width: 100%; text-align: center; }
.icon-module .icon .img {
  width: 2rem;
  height: 2rem;
  display: inline-block;
}
.icon-module .logo { padding-top: 0.1rem; }
.icon-module .logo .img {
  height: 0.8rem;
  display: inline-block;
  margin: 0 auto;
}
.resulteWrap .btn-module { padding: 0 0.3rem; }

.order-id {
  margin-top: 0.2rem;
  color: #9e9e9e;
  font-size: 0.22rem;
  word-break: break-all;
}

.toast {
  position: fixed;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 40;
  max-width: 6rem;
  padding: 0.22rem 0.28rem;
  border-radius: 0.1rem;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-size: 0.26rem;
  line-height: 0.4rem;
  text-align: center;
}
.loading {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}
.loading p {
  max-width: 5.4rem;
  padding: 0.28rem 0.32rem;
  border-radius: 0.12rem;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-size: 0.26rem;
  text-align: center;
}

.copy-sink {
  position: fixed;
  left: -9999px;
  top: 0;
}
