.demand-publish {
  padding-right: 10px;
}
.demand-publish ::-webkit-scrollbar {
  width: 6px;
  height: 12px;
  background-color: transparent;
}
.demand-publish ::-webkit-scrollbar-thumb {
  background: #E7E9EE;
  border-radius: 6px;
}
.demand-publish ::-webkit-scrollbar-button {
  height: 0;
}
.demand-publish .form-box {
  border: 1px solid #E7E9EE;
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 16px;
  position: relative;
}
.demand-publish .form-box.disabled::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 999;
}
.demand-publish .form-box.focus {
  border-color: #4282FF;
}
.demand-publish .form-box.child {
  margin-top: 16px;
  margin-bottom: 0;
  border-style: dashed;
}
.demand-publish .form-box.no-border {
  border: 0 none;
  padding: 0;
}
.demand-publish .form-box .remove-image {
  position: absolute;
  z-index: 3;
  right: -10px;
  top: -10px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.demand-publish .form-box .flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.demand-publish .form-box .flex .flex-1 {
  flex: 1;
}
.demand-publish .form-box .mt-0 {
  margin-top: 0;
}
.demand-publish .form-box .mt-12 {
  margin-top: 12px;
}
.demand-publish .form-box .mb-16 {
  margin-bottom: 16px;
}
.demand-publish .add {
  width: fit-content;
  background: url(/assets/images/demand/icon-add.png) no-repeat left center;
  background-size: 16px;
  line-height: 21px;
  font-size: 16px;
  color: #1259F0;
  padding-left: 21px;
  margin: 16px auto;
  cursor: pointer;
}
.demand-publish .border {
  width: 100%;
  height: 1px;
  background: #EBEBEB;
}
.demand-publish .select-box {
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: #FFFFFF;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 19px 16px;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 1;
}
.demand-publish .select-box .select-list .select-item {
  padding: 6px 20px;
  line-height: 18px;
  font-size: 14px;
  color: #39435A;
  text-align: right;
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 8px;
}
.demand-publish .select-box .select-list .select-item:last-child {
  margin: 0;
}
.demand-publish .select-box .select-list .select-item:hover {
  background: #F7F7F7;
}
.demand-publish .select-box .select-list .select-item.active {
  color: #4282FF;
}
.demand-publish .controller {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 72px;
}
.demand-publish .controller .btn-item {
  user-select: none;
  border: 1px solid #4282FF;
  border-radius: 6px;
  line-height: 18px;
  font-size: 14px;
  text-align: center;
  padding: 12px 0;
  cursor: pointer;
}
.demand-publish .controller .btn-item.btn-cancel {
  width: 140px;
  background: #fff;
  color: #4282FF;
}
.demand-publish .controller .btn-item.btn-ensure {
  width: 230px;
  background: #4282FF;
  color: #fff;
}
.demand-publish .label {
  line-height: 18px;
  font-size: 14px;
  color: #15213A;
  position: relative;
}
.demand-publish .label.require::after {
  content: '*';
  font-size: 16px;
  color: #FF594A;
  margin-left: 2px;
}
.demand-publish .label.bar {
  padding-left: 10px;
}
.demand-publish .label.bar::before {
  content: '';
  width: 2px;
  height: 14px;
  background: #4282FF;
  position: absolute;
  left: 0;
  top: 2px;
}
.demand-publish .length {
  line-height: 18px;
  font-size: 12px;
  color: #B4B8C1;
}
.demand-publish .input {
  line-height: 18px;
  font-size: 14px;
  color: #39435A;
  text-align: right;
  border: 0 none;
  outline: none;
}
.demand-publish .input:disabled {
  background: transparent;
}
.demand-publish .input::placeholder {
  color: #B4B8C1;
}
.demand-publish .textarea-input {
  width: 100%;
  line-height: 18px;
  font-size: 14px;
  color: #39435A;
  border: 0 none;
  outline: none;
  resize: none;
}
.demand-publish .textarea-input:disabled {
  background: transparent;
}
.demand-publish .textarea-input::placeholder {
  font-family: none;
  color: #B4B8C1;
}
.demand-publish .date input {
  height: 18px;
  border: none;
  font-size: 14px;
  color: #39435A;
  text-align: right;
  padding: 0;
}
.demand-publish .date input::placeholder {
  color: #B4B8C1;
}
.demand-publish .date .el-input__prefix {
  display: none;
}
.demand-publish .slot {
  line-height: 18px;
  font-size: 14px;
  color: #39435A;
}
.demand-publish .choose {
  user-select: none;
  line-height: 18px;
  font-size: 14px;
  color: #39435A;
  text-align: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.demand-publish .choose.open .icon {
  transform: rotate(180deg);
}
.demand-publish .choose .icon {
  width: 16px;
  height: 16px;
  background: url(/assets/images/common/icon-select.png) no-repeat center center;
  background-size: 16px;
  transition: all 0.3s ease-in-out;
}
.demand-publish .check-box {
  flex: 1;
  line-height: 18px;
  font-size: 14px;
  color: #39435A;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.demand-publish .check-box .check-box-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.demand-publish .check-box .check-box-item:hover .box {
  border-color: #4282FF;
}
.demand-publish .check-box .check-box-item.active .box {
  background-image: url(/assets/images/common/icon-checkbox-act.png);
  border: 0 none;
}
.demand-publish .check-box .check-box-item .box {
  width: 16px;
  height: 16px;
  background: no-repeat center center;
  background-size: 100%;
  border: 1px solid #CCCCCC;
  border-radius: 2px;
}
.demand-publish .images {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}
.demand-publish .images .image {
  width: 100px;
  height: 100px;
  background: no-repeat center center;
  background-size: contain;
  border: 1px solid #EBEBEB;
  border-radius: 6px;
  position: relative;
}
.demand-publish .images .image .remove-image {
  position: absolute;
  z-index: 3;
  right: -5px;
  top: -5px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.demand-publish .images .upload {
  width: 100px;
}
.demand-publish .images .upload .upload-btn {
  width: 100px;
  height: 100px;
  background: url(/assets/images/demand/img-add.png) no-repeat center center;
  background-size: 40px;
  background-color: #EBEBEB;
  border-radius: 6px;
  cursor: pointer;
}
.demand-publish .images .upload .upload-btn .fileInput {
  display: none;
}
.demand-publish .images .upload .upload-tip {
  line-height: 16px;
  font-size: 12px;
  color: #B4B8C1;
  text-align: center;
  margin-top: 12px;
}
