@media screen and (min-width: 768px) {
  .drawer-form-container {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 576px;
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-sizing: border-box;
    -webkit-animation: fade 0.15s linear;
    animation: fade 0.15s linear;
    text-align: left;
  }
  .drawer-form-container.active {
    display: block;
  }
  .drawer-form-container .icon-close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 24px;
    color: #323233;
    cursor: pointer;
  }
  .drawer-form-container .drawer-form-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #323233;
    text-align: center;
  }
  .drawer-form-container .form-container {
    margin-top: 32px;
  }
  .drawer-form-container .form-container .form-item + .form-item {
    margin-top: 16px;
  }
  .drawer-form-container .form-container .input-inner-box {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #ebedf0;
    box-sizing: border-box;
    border-radius: 2px;
  }
  .drawer-form-container .form-container .input-inner {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0;
    font-size: 14px;
  }
  .drawer-form-container .form-container .input-inner::-webkit-input-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .input-inner:-moz-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .input-inner::-moz-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .input-inner:-ms-input-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .dropdown {
    width: 100%;
  }
  .drawer-form-container .form-container .dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
  }
  .drawer-form-container .form-container .dropdown .dropdown-toggle > span {
    flex: 1;
    pointer-events: none;
    font-size: 14px;
    line-height: 20px;
  }
  .drawer-form-container .form-container .dropdown .dropdown-toggle .dropdown-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .dropdown .dropdown-menu {
    padding: 0;
    max-height: 50vh;
    overflow-y: auto;
  }
  .drawer-form-container .form-container .dropdown .dropdown-item {
    padding: 12px;
    font-size: 14px;
    line-height: 20px;
    border-bottom: 1px solid #ebedf0;
    cursor: pointer;
  }
  .drawer-form-container .form-container .select-region {
    width: auto;
    padding-right: 12px;
    margin-right: 12px;
    border-right: 1px solid #ebedf0;
  }
  .drawer-form-container .form-container .select-region .select-inner {
    min-width: 24px;
  }
  .drawer-form-container .form-container .select-input-inner {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .drawer-form-container .form-container .error-tips {
    display: none;
    text-align: left;
    margin-top: 4px;
    color: #c93c33;
    font-size: 12px;
    line-height: 18px;
  }
  .drawer-form-container .submit-btn {
    display: block;
    height: 48px;
    padding: 0 24px;
    line-height: 52px;
    font-size: 16px;
    color: #ffffff;
    background: #004afc;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
  }
}

@media screen and (max-width: 767px) {
  .drawer-form-container {
    max-height: 90vh;
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    transform: translateY(100%);
    transition: all linear 0.2s;
    padding: 24px;
    padding-bottom: calc(constant(safe-area-inset-bottom));
    padding-bottom: calc(env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
  }
  .drawer-form-container.active {
    transform: translateX(0);
  }
  .drawer-form-container .icon-close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 24px;
    color: #323233;
  }
  .drawer-form-container .drawer-form-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #323233;
    text-align: center;
  }
  .drawer-form-container .form-container {
    margin-top: 32px;
    padding-bottom: 24px;
  }
  .drawer-form-container .form-container .form-item + .form-item {
    margin-top: 16px;
  }
  .drawer-form-container .form-container .input-inner-box {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 42px;
    background: #ffffff;
    border: 1px solid #ebedf0;
    box-sizing: border-box;
  }
  .drawer-form-container .form-container .input-inner {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0;
  }
  .drawer-form-container .form-container .input-inner::-webkit-input-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .input-inner:-moz-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .input-inner::-moz-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .input-inner:-ms-input-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .dropdown {
    width: 100%;
  }
  .drawer-form-container .form-container .dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
  }
  .drawer-form-container .form-container .dropdown .dropdown-toggle > span {
    flex: 1;
    pointer-events: none;
    font-size: 14px;
    line-height: 20px;
  }
  .drawer-form-container .form-container .dropdown .dropdown-toggle .dropdown-placeholder {
    color: #969799;
  }
  .drawer-form-container .form-container .dropdown .dropdown-menu {
    padding: 0;
    max-height: 50vh;
    overflow-y: auto;
  }
  .drawer-form-container .form-container .dropdown .dropdown-item {
    padding: 12px;
    font-size: 14px;
    line-height: 20px;
    border-bottom: 1px solid #ebedf0;
    cursor: pointer;
  }
  .drawer-form-container .form-container .select-region {
    width: auto;
    padding-right: 12px;
    margin-right: 12px;
    border-right: 1px solid #ebedf0;
  }
  .drawer-form-container .form-container .select-region .select-inner {
    min-width: 24px;
  }
  .drawer-form-container .form-container .select-input-inner {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .drawer-form-container .form-container .error-tips {
    display: none;
    text-align: left;
    margin-top: 4px;
    color: #c93c33;
    font-size: 12px;
    line-height: 18px;
  }
  .drawer-form-container .submit-btn {
    display: block;
    height: 48px;
    padding: 0 24px;
    line-height: 52px;
    font-size: 16px;
    color: #ffffff;
    background: #004afc;
    border-radius: 8px;
    text-align: center;
  }
}

.drawer-modal {
  display: none;
  position: fixed;
  z-index: 19;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.toast-container {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 1;
  -webkit-animation: fade 0.2s linear;
  animation: fade 0.2s linear;
}

/** weixinForm css 微信表单弹窗样式 */
.weixin-form-container {
  margin-top: 40px;
}
.weixin-form-title {
  font-size: 14px;
  line-height: 20px;
  color: #323233;
}
.weixin-form-title + .weixin-form-content {
  margin-top: 12px;
}
.weixin-form-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.weixin-area-radio-item {
  min-height: 48px;
  padding: 14px 16px;
  box-sizing: border-box;
  border: 1px solid #ebedf0;
  background-color: #ffffff;
  border-radius: 2px;
  font-size: 14px;
  line-height: 20px;
  color: #646566;
  cursor: pointer;
}
.weixin-area-radio-item_active {
  border: 1px solid #004afc;
  background: #e9eeff;
}
.weixin-button-wrapper {
  text-align: right;
}
.weixin-next-button {
  min-height: 44px;
  border-radius: 4px;
  padding: 11px 32px;
  color: #ffffff;
  background-color: #2654ff;
  margin-top: 62px;
  border: none;
}
.weixin-next-button_disabled {
  background-color: #beccff;
}
.weixin-form-step2 {
  display: none;
}
.weixin-form-qrcode-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.weixin-form-qrcode {
  width: 204px;
  height: 204px;
  border: 12px solid #e2f4ee;
  border-radius: 12px;
}
.weixin-form-qrcode-img {
  width: 100%;
  height: 100%;
  border-radius: 7.5px;
}
.weixin-form-qrcode-tip {
  font-size: 16px;
  line-height: 20px;
  color: #323233;
  display: flex;
  align-items: center;
}
.weixin-form-qrcode-tip img {
  width: 30px;
  height: 30px;
  margin-right: 6px;
}

@media screen and (max-width: 767px) {
  .weixin-form-container {
    margin-top: 24px;
  }
  .weixin-form-content {
    flex-direction: column;
  }
  .weixin-area-radio-item {
    width: 100%;
  }
  .weixin-next-button {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 40px;
  }
  .weixin-next-button__disabled {
    background-color: #beccff;
  }
}
