/* form */
.layui-form {
  --form-label-required-mark-color: rgb(202, 16, 27);
  --form-label-color: rgb(51, 51, 51);
  --form-label-font-size: 0.18rem;

  --form-label-width: 2rem;
  --form-label-height: 32px;

  --form-item-margin-bottom: 0.35rem;

  --form-textarea-height: 1.2rem;
  --form-input-height: 0.56rem;
  --form-input-padding-inline: 0.16rem;
  --form-input-border-radius: 0;
  --form-input-font-size: 0.16rem;
  --form-input-color: rgb(51, 51, 51);

  --form-input-border-color: rgba(76, 78, 100, 0.22);
  --form-input-active-border-color: #1677ff;
  --form-input-hover-border-color: #4096ff;
  --form-placeholder-color: rgba(51, 51, 51, 0.5);

  --form-vertical-label-padding: 0 0 8px;
  --form-vertical-label-margin: 0px 0px 4px;
}

.theme-dark .layui-form {
  --form-label-color: rgb(255, 255, 255);
}

.layui-form .layui-input-affix {
  line-height: var(--form-input-height);
}

.layui-form .layui-form-item {
  box-sizing: border-box;
  padding: 0;
  margin-bottom: var(--form-item-margin-bottom);
}

.layui-form .layui-form-label {
  box-sizing: border-box;
  width: var(--form-label-width);
  color: var(--form-label-color);
  font-size: var(--form-label-font-size);
  line-height: 1.5;
}

.layui-form .layui-input-block {
  box-sizing: border-box;
  margin-left: var(--form-label-width);
}

.layui-input,
.layui-select,
.layui-textarea {
  border-radius: var(--form-input-border-radius);
  padding: 0 var(--form-input-padding-inline);
  font-size: var(--form-input-font-size);
  color: var(--form-input-color);
  border-color: var(--form-input-border-color);
  transition: all 0.3s;
}

.layui-form .layui-input,
.layui-form .layui-select {
  height: var(--form-input-height);
}

.layui-form .layui-textarea {
  height: var(--form-textarea-height);
}

.layui-input::-webkit-input-placeholder,
.layui-select::-webkit-input-placeholder,
.layui-textarea::-webkit-input-placeholder {
  color: var(--form-placeholder-color);
}

.layui-form-checkbox[lay-skin="primary"] > div,
.layui-form-checkbox > div,
.layui-form-radio > * {
  font-size: var(--form-input-font-size);
  color: var(--form-label-color);
}

.form-vertical .layui-form-label {
  float: none;
  width: 100%;
  text-align: left;
  white-space: initial;
  padding: var(--form-vertical-label-padding);
  margin: var(--form-vertical-label-margin);
}

.form-vertical .layui-input-block {
  margin-left: 0;
}

@media only screen and (max-width: 767px) {
  .layui-form {
    --form-label-font-size: 14px;
    --form-input-font-size: 14px;
    --form-input-padding-inline: 12px;
    --form-input-height: 40px;
    --form-textarea-height: 120px;
  }
}

.layui-form-item-required:before {
  display: inline-block;
  margin-right: 4px;
  color: var(--form-label-required-mark-color);
  font-size: 0.24rem;
  font-weight: bold;
  line-height: 1;
  content: "*";
  display: none;
}

.layui-form-item-required .required {
  color: var(--form-label-required-mark-color);
  font-size: 12px;
  vertical-align: middle;
  margin-left: 0.04rem;
}

/* inquire-form */
.inquire-form-wrap {
  max-width: 782px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.62rem;
  padding-bottom: 1.56rem;
}

.inquire-form-wrap .bar-code {
  margin-top: 0.04rem;
  padding: 0.08rem 0.12rem;
  border: 1px solid rgba(76, 78, 100, 0.22);
  border-radius: var(--form-input-border-radius);
}

.inquire-form-wrap .bar-code img {
  width: 100%;
}

.btn-area {
  gap: 0.56rem;
}

.btn-area .button {
  width: 3.2rem;
}

.btn-area .layui-btn:hover {
  opacity: 1;
}

.layui-btn + .layui-btn {
  margin-left: 0.3rem;
}

@media only screen and (max-width: 767px) {
  .btn-area {
    flex-wrap: wrap;
  }

  .btn-area .layui-input-block {
    width: 100%;
  }

  .btn-area .verification-input {
    width: 240px;
  }

  .btn-area .button {
    width: 100%;
  }
}

.textarea-row .layui-textarea {
  padding: 0.16rem var(--form-input-padding-inline);
}

.verification-code {
  display: inline-block;
  vertical-align: top;
  height: var(--form-input-height);
}

.verification-code img {
  height: 100%;
}

.verification-input {
  width: 3.08rem;
  display: inline-block;
}
