.main {
  position: relative;
  margin: 0 auto;
  background-color: #fbfcfd;
  background-image: url("./assets/head_bg.svg");
  background-size: cover;
  background-position: center;
  width: 94%;
  max-width: 1360px;
  padding: 100px 0px 100px 0;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0px 12.67px 38.02px 0px rgba(8, 25, 70, 0.09),
    0px 1.27px 7.6px 3.8px rgba(20, 20, 23, 0.05);
  font-family: var(--theme-font-family);
}
.main .intro {
  flex: 5;
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  padding: 30px;
  font-family: var(--theme-font-family);
}
.main .intro > * {
  margin-bottom: 20px;
}
.main .intro > :last-child {
  margin-bottom: 0;
}
.main .intro .abs {
  font-size: clamp(10px, 4vw, 18px);
  font-weight: 400;
  line-height: 28.6px;
  text-align: center;
  max-width: 800px;
  margin-bottom: 50px;
  font-family: var(--theme-font-family);
}
.input_box,
.input_box_small {
  animation: pulse 1500ms infinite ease-out;
  width: 100%;
  min-width: 443px;
  height: 60px;
  background: linear-gradient(
    91.57deg,
    #1e6fe9 11.63%,
    #1e32e9 75.09%,
    #901ee9 98.67%
  );
  border-radius: 999px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.input_box_small {
  height: 39px;
  animation: none;
}
.input {
  height: 100%;
  width: 100%;
  background-color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
}
.input .input_ele {
  flex: 1;
  height: 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 16px;
  border: none;
}
.input .input_btn,
.input .input_btn_small {
  cursor: pointer;
  user-select: none;
  height: 48px;
  padding: 2.77px 15.17px 4.23px 16px;
  border-radius: 999px;
  /* background: radial-gradient(39.36% 50% at 50% 50%, #457ae1 0%, #0023db 100%),
    radial-gradient(
      39.74% 50% at 50% 50%,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.08) 100%
    );
  box-shadow: 0px 8px 24px -16px rgba(255, 255, 255, 0.24) inset,
    0px -24px 32px 0px rgba(255, 255, 255, 0.24) inset,
    0px 0px 12px 0px #ffffff inset,
    0px 23px 32.4px -15px rgba(35, 58, 241, 0.74); */
  background: rgba(42, 104, 239, 1);
  display: flex;
  align-items: center;
  margin-right: 4px;
  transition: all 0.3s ease;
}
.input .input_btn_small {
  display: none;
}
.input_box_small .input .input_btn,
.input_box_small .input .input_btn_small {
  height: 33px;
  margin-right: 2px;
  background: rgba(42, 104, 239, 1);
  box-shadow: none;
}
.input_box .input .input_btn:hover {
  box-shadow: 0px 8px 24px -16px rgba(255, 255, 255, 0.24) inset,
    0px -24px 32px 0px rgba(35, 58, 241, 0.24) inset,
    0px 0px 12px 0px #ffffff inset,
    0px 23px 32.4px -15px rgba(35, 58, 241, 0.74);
}
.input_box .input .input_btn:active {
  box-shadow: 0px 8px 24px -16px rgba(255, 255, 255, 0.5) inset,
    0px -24px 32px 0px #233af1 inset, 0px 0px 12px 0px #ffffff inset,
    0px 23px 32.4px -15px rgba(35, 58, 241, 0.5);
}
.input .input_btn .btn_icon {
  width: 18px;
  position: relative;
  top: -2px;
}
.input .input_btn .text,
.input .input_btn_small .text {
  margin-left: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}
.input_box_small .input .input_btn .text {
  font-size: 18px;
}

.input .ant-input::placeholder {
  opacity: 1; /* 确保颜色生效 */
}

.input_btn_small {
  display: none;
}

.small_arrow {
  font-size: clamp(12px, 2vw, 18px);
  color: #fff;
}
.title{
  text-align: center;
}

/* ::global(.ant-input)::placeholder {
    color: #01042f;
  } */
@keyframes pulse {
  0% {
    box-shadow: 0px 0px 0px 0px #acc7fa;
  }
  100% {
    box-shadow: 0px 0px 0px 10px rgba(172, 199, 250, 0);
  }
}

@media only screen and (max-width: 1260px) {
  .input_box,
  .input_box_small {
    min-width: 298px;
  }
}

@media only screen and (max-width: 1148px) {
  .input_btn {
    display: none !important;
  }
  .input_btn_small {
    display: flex !important;
  }
}

@media only screen and (max-width: 680px) {
  .input_box,
  .input_box_small {
    height: 36px;
    min-width: 298px;
  }
  .input_btn,
  .input_btn_small {
    height: 27px !important;
  }
  .input .input_btn .text {
    font-size: 14px;
    line-height: 20px;
  }
  .input .input_ele {
    font-size: 14px;
  }
  .input .input_btn .text {
    font-size: 14px;
  }
  .input_box_small .input .input_btn .text {
    font-size: 14px;
  }
  .title h2{
    font-size: 24px;
  }
}

@media only screen and (min-width: 1920px) {
  .main {
    max-width: 1834px;
    border-radius: 40px;
  }
  .main .intro {
    max-width: 1200px;
  }
  .main .intro .abs {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
  }
}

@media only screen and (max-width: 992px) {
  .main {
    width: 94%;
    border-radius: 8.4px;
    flex-direction: column;
    padding: 20px 0;
    padding-top: 50px;
    height: auto;
  }
  .main .intro {
    flex: 1;
    width: 100%;
    margin-left: 0;
  }
  .main .intro .abs {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
  .main .intro .input_box {
    width: 100%;
  }
}
