/* 防伪查询：无背景、标签换行、移动端适配 */
.leaysoo-fw-query {
  font-family: 'Microsoft Yahei', 'Source Han Sans', 'PingFang SC', sans-serif;
  font-size: 14px;
  color: #656565;
  background: transparent;
  max-width: 520px;
  padding: 0;
}

.leaysoo-fw-form {
  margin: 0;
}

.leaysoo-fw-field {
  margin-bottom: 20px;
}

.leaysoo-fw-field:last-child {
  margin-bottom: 0;
}

.leaysoo-fw-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.leaysoo-fw-input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.leaysoo-fw-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}

.leaysoo-fw-input::placeholder {
  color: #999;
}

.leaysoo-fw-input:focus {
  outline: none;
  border-color: #999;
}

.leaysoo-fw-btn {
  flex-shrink: 0;
  min-width: 72px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  background: #f5f5f5;
  color: #656565;
  font-size: 14px;
  cursor: pointer;
  box-sizing: border-box;
}

.leaysoo-fw-btn:hover {
  background: #ebebeb;
}

.leaysoo-fw-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.leaysoo-fw-tip {
  margin: 8px 0 0;
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

.leaysoo-fw-result {
  min-height: 112px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  word-wrap: break-word;
  box-sizing: border-box;
}

.leaysoo-fw-result.is-loading {
  color: #999;
}

.leaysoo-fw-result.is-error {
  color: #c0392b;
}

/* 覆盖万网模板中防伪查询区域的固定定位 */
#smv_con_63_7 {
  position: relative !important;
  left: 30px !important;
  top: 30px !important;
  width: calc(100% - 60px) !important;
  max-width: 520px;
  height: auto !important;
}

#smv_con_63_7 .yibuFrameContent {
  overflow: visible !important;
}

@media (max-width: 768px) {
  .leaysoo-fw-query {
    max-width: none;
  }

  #smv_con_63_7 {
    left: 16px !important;
    top: 16px !important;
    width: calc(100% - 32px) !important;
    max-width: none;
  }

  .leaysoo-fw-input-row {
    flex-direction: column;
    gap: 10px;
  }

  .leaysoo-fw-input,
  .leaysoo-fw-btn {
    width: 100%;
  }

  .leaysoo-fw-btn {
    min-width: 0;
  }
}
