@font-face {
  font-family: SourceHan;
  src: url("../font/SourceHanSansCN-Medium.otf");
}

body,
html {
  font-family: "SourceHan" !important;
  margin: 0;
  padding: 0;
  font-size: 10px;
  background-color: #022660;
  color: #fff;
}
@media screen and (min-width: 1200px) {
  body,
  html {
    font-size: 16px !important;
  }
}
.class-btn {
  position: absolute;
  right: 2rem;
  bottom: 3rem;
  width: 25%;
  cursor: pointer;
}
.form {
  margin: 1rem 2rem;
  border-radius: 25px;
  border: 4px solid transparent;
  padding: 4rem;
  background: linear-gradient(#022660, #022660) padding-box,
    linear-gradient(
        360deg,
        rgba(39, 149, 192, 1),
        rgba(2, 79, 194, 1),
        rgba(17, 120, 198, 1)
      )
      border-box;
}
.form .form-title {
  font-size: 2rem;
  text-align: center;
  width: max-content;
  text-align: center;
  position: relative;
  margin: 1rem auto;
  z-index: 1;
  background: linear-gradient(180deg, #0ceafa 35%, #14a5ff 100%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.form .form-title:before {
  content: "";
  height: 0.5rem;
  width: 200%;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 0;
  background: linear-gradient(
    90deg,
    #022660 0%,
    #1c5392 37.5%,
    #1c5392 66.35%,
    #022660 100%
  );
}

.form-container {
  padding: 24px;
}

.form-item {
  margin-bottom: 20px;
  width: 100%;
}

label {
  display: block;
  color: #fff;
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 6px;
}

.required {
  color: #ff4d4f;
  margin-left: 4px;
}

input,
select {
  padding: 0;
  width: 100%;
  height: 4rem;
  border-radius: 5px;
  border: none;
  font-size: 1.5rem;
  background-color: #ffffff;
}

input:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.3);
}

.error {
  color: #ff7875;
  font-size: 13px;
  margin-top: 4px;
  min-height: 16px;
}
.footer {
  display: flex;
  gap: 1rem;
  margin: 0 2rem 4rem;
}
.submit-btn {
  flex: 1;
  height: 4rem;
  background-color: #1677ff;
  color: #fff;

  border: none;
  border-radius: 6px;
  font-size: 1.5rem;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #4096ff;
}
.money {
  color: #2dc6f4;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.money span {
  color: red;
}
.tip {
  margin: 0 2rem 1rem;
  padding: 0.5rem;
  border-radius: 9px;
  border: 1px solid #2d75f4;
  font-size: 1rem;
  display: flex;
  color: #2dc6f4;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.tip img {
  width: 1.2rem;
}
.tip div {
  display: flex;
  align-items: center;
}
