@charset "utf-8";
.transition {
  -webkit-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
@keyframes myfirst {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 0.7;
  }
}
@-moz-keyframes myfirst {
  /* Firefox */
}
@-webkit-keyframes myfirst {
  /* Safari 和 Chrome */
}
@-o-keyframes myfirst {
  /* Opera */
}
.ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
  overflow: hidden;
}
* {
  margin: 0;
  padding: 0;
}
* html body {
  overflow: visible;
}
/* 遮罩层样式 */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  cursor: pointer;
}
.demand-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  width: 475px;
  background: #FFFFFF;
  border-radius: 12px 12px 12px 12px;
  z-index: 10000;
  /* 弹窗描述 */
  /* 表单样式 */
  /* 提交按钮样式 */
}
.demand-modal .modal-content {
  position: relative;
  /* 关闭按钮 */
  /* 弹窗标题 */
}
.demand-modal .modal-content .modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  width: 24px;
  height: 24px;
  border-radius: 0px 0px 0px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 24px;
}
.demand-modal .modal-content .modal-close:hover {
  color: #333333;
}
.demand-modal .modal-content .modal-title {
  margin: 0 0 10px 0;
  width: 435px;
  height: 30px;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 22px;
  color: #333333;
  line-height: 30px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.demand-modal .modal-header {
  margin: 0 0 20px -25px;
  padding: 0;
  width: 475px;
  height: 36px;
  background: #FFF3E8;
  border-radius: 0px 0px 0px 0px;
  border: 1px solid #FFEDDD;
  line-height: 2.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.demand-modal .modal-header .modal-hint {
  background: url(../images/hint.png) no-repeat;
  width: 20px;
  height: 20px;
  display: inline-block;
}
.demand-modal .modal-header .modal-desc {
  line-height: 2.5;
  font-family: MiSans, MiSans;
  font-weight: 400;
  font-size: 12px;
  color: #A86500;
  font-style: normal;
  text-transform: none;
  display: inline-block;
  vertical-align: middle;
}
.demand-modal #demand-form {
  /* 仅当label的相邻兄弟元素（input/textarea）带有required属性时，才显示* */
  /* 必填项标记 */
  /* 输入框样式 */
  /* 错误提示样式 */
  /* 输入框错误状态（可选：给输入框加红色边框） */
  /* 文本域样式 */
  /* 替代品牌按钮 */
  /* 新增：按钮右下角图标（通过伪元素实现） */
  /* 按钮选中样式（示例：经销商选中） */
}
.demand-modal #demand-form .modal-form-item {
  margin-bottom: 12px;
  display: flex;
  flex-direction: row;
  position: relative;
}
.demand-modal #demand-form label {
  width: 80px;
  padding-right: 10px;
  line-height: 32px;
  flex-shrink: 0;
  /* 防止label被挤压变形 */
  font-family: MiSans, MiSans;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  text-align: right;
  font-style: normal;
  text-transform: none;
}
.demand-modal #demand-form label:has(+ [required])::after {
  content: '*';
  color: #ff4444;
  margin-left: 2px;
}
.demand-modal #demand-form input {
  flex: 1;
  padding: 0 10px;
  font-size: 14px;
  box-sizing: border-box;
  width: 360px;
  height: 40px;
  background: #FFFFFF;
  border-radius: 2px 2px 2px 2px;
  border: 1px solid #E5E5E5;
}
.demand-modal #demand-form input:focus {
  outline: none;
}
.demand-modal #demand-form .error-tip {
  display: none;
  color: #ff4d4f;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  width: 360px;
  padding-left: 10px;
  margin: 4px 0 1px 70px;
  position: relative;
  z-index: 1;
}
.demand-modal #demand-form .form-input.error {
  border-color: #ff4d4f;
}
.demand-modal #demand-form textarea {
  flex: 1;
  padding: 0 10px;
  font-size: 14px;
  box-sizing: border-box;
  width: 360px;
  height: 130px;
  background: #FFFFFF;
  border-radius: 2px 2px 2px 2px;
  border: 1px solid #E5E5E5;
}
.demand-modal #demand-form textarea:focus {
  outline: none;
}
.demand-modal #demand-form .brand-btn {
  padding: 0 15px;
  cursor: pointer;
  margin-right: 10px;
  height: 33px;
  background: #F3F6FF;
  border-radius: 2px 2px 2px 2px;
  position: relative;
  overflow: visible;
  display: inline-block;
  font-weight: 400;
  font-size: 14px;
  color: #3C4873;
  border: none;
}
.demand-modal #demand-form .brand-btn:hover {
  background: #F3F6FF;
}
.demand-modal #demand-form .complete-shop {
  padding: 2% 7.5%;
  flex: 1;
  cursor: pointer;
  margin-right: 10px;
  height: 33px;
  background: #F3F6FF;
  border-radius: 2px 2px 2px 2px;
  font-weight: 400;
  font-size: 14px;
  color: #3C4873;
  border: none;
  text-align: center;
  position: relative;
  white-space: nowrap;
}
.demand-modal #demand-form .complete-shop.active::after {
  content: "";
  background: url(../images/accept.png) no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 0;
  right: 2px;
}
.demand-modal #demand-form .brand-btn-fix {
  flex: none;
}
.demand-modal #demand-form .edit {
  margin-right: 10px;
}
.demand-modal #demand-form .code-image {
  height: 50px;
  width: 140px;
  margin-right: -10px;
}
.demand-modal #demand-form .code-image img {
  width: 100%;
}
.demand-modal .revice-submit {
  display: flex;
  justify-content: center;
  align-items: center;
}
.demand-modal .revice-submit .submit-btn {
  width: 285px;
  height: 36px;
  color: #ffffff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
  background: #FF5C00;
  border-radius: 2px 2px 2px 2px;
}
.demand-modal .revice-submit .submit-btn:hover {
  background: #FF5C00;
}
.demand-modal {
  /* 弹窗描述 */
  /* 按钮选中样式（示例：经销商选中） */
  /* 按钮选中样式（示例：经销商选中） */
}
.demand-modal.complete-information {
  width: 493px;
  background: #FFFFFF;
  border-radius: 12px 12px 12px 12px;
}
.demand-modal .complete-header {
  width: 493px;
  justify-content: flex-start;
  padding-left: 25px;
}
.demand-modal .brand-btn-group {
  display: flex;
  align-items: center;
}
.demand-modal .complete-submit {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.demand-modal .select-group {
  flex: 1;
  padding: 0 10px;
  font-size: 14px;
  box-sizing: border-box;
  width: 360px;
  height: 40px;
  background: #FFFFFF;
  border-radius: 2px 2px 2px 2px;
  border: 1px solid #E5E5E5;
}
.demand-modal .revice-submit .complete-btn {
  width: 268px;
}
.demand-modal .revice-submit .cancel-btn {
  width: 100px;
  height: 36px;
  margin-top: 10px;
  background: #FFFFFF;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  text-align: center;
  font-style: normal;
  text-transform: none;
  border: 1px solid #E5E5E5;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 2px;
}
.demand-modal .company-shop {
  padding: 2% 7.5%;
  flex: 1;
  cursor: pointer;
  margin-right: 10px;
  height: 33px;
  background: #F3F6FF;
  border-radius: 2px 2px 2px 2px;
  font-weight: 400;
  font-size: 14px;
  color: #3C4873;
  border: none;
  text-align: center;
  position: relative;
  white-space: nowrap;
}
.demand-modal .company-shop.active::after {
  content: "";
  background: url(../images/accept.png) no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 0;
  right: 2px;
}
.demand-modal .preference-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
  padding-bottom: 8px;
  box-sizing: border-box;
}
.demand-modal .preference-btn-group::-webkit-scrollbar {
  width: 6px;
}
.demand-modal .preference-btn-group::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.demand-modal .preference-btn-group::-webkit-scrollbar-thumb {
  background: #dcdcdc;
  border-radius: 3px;
}
.demand-modal .preference-btn-group::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}
.demand-modal .preference-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  height: 32px;
  background: #F3F6FF;
  border-radius: 4px;
  font-size: 14px;
  color: #4E5969;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.demand-modal .preference-shop.active::after {
  content: "";
  background: url(../images/accept.png) no-repeat center center;
  background-size: contain;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 0;
  right: 2px;
  z-index: 1;
}
.demand-modal.contact-information {
  width: 400px;
  background: #FFFFFF;
  border-radius: 12px 12px 12px 12px;
}
.demand-modal .contact-header {
  width: 400px;
  justify-content: flex-start;
  padding-left: 25px;
}
.demand-modal #demand-form .contact-label {
  width: 62px;
}
.demand-modal #demand-form .contact-label-btn {
  text-align: right;
  width: 52px;
}
.demand-modal #demand-form .contact-btn {
  margin-top: 6px;
}
.demand-modal #demand-form .cancel-contact-btn {
  width: 120px;
  margin-top: 6px;
}
.demand-modal #demand-form .phone-error-tip {
  margin-left: 40px;
}
