/* 表单-区块 */
.form-section {
  display: grid;
  grid-template-columns: 269px repeat(2, 1fr);
  grid-template-rows: repeat(1, auto);
  gap: 32px;
  border-top: 1px solid #eeeeee;
  padding: 48px 0;
}
.form-section-title {
  color: #444444;
  font-size: 19px;
  line-height: 29px;
}

/* 表单-下拉框 */
.form-select {
  position: relative;
  background-color: white;
  color: #b2b2b2;
  font-size: 14px;
  user-select: none;
}
.form-select-title {
  width: 100%;
  border: 1px solid #cccccc;
  height: 56px;
  color: #444444;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  text-align: center;
  cursor: pointer;
}
.form-section-title[required]:after,
.form-select-title[required]:after,
.form-label[required]:after {
  content: "*";
  color: #ff2e2e;
  font-size: 14px;
  display: inline;
  margin-left: 4px;
}
.form-select-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}
.form-select-ul {
  display: block;
  background-color: white;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  transform: translateY(100%);
  max-height: 256px;
  overflow-y: auto;
  border: 1px solid #cccccc;
  border-top: none;
  z-index: 1;
}
.form-select-li {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.form-select-li:hover {
  background-color: #fafafa;
}

/* 文本输入框 */
.form-label {
  color: #444444;
  font-size: 14px;
  display: block;
  margin-bottom: 16px;
}
.form-input {
  width: 100%;
  height: 56px;
  background: #ffffff;
  border: 1px solid #cccccc;
  padding-left: 16px;
}
.form-input:focus {
  outline: 1px solid green;
}

/* 单选框 */
.form-radio-wrap {
  display: flex;
  height: 56px;
  align-items: center;
  flex-wrap: wrap;
  color: #444444;
  font-size: 14px;
}
.form-radio-item:not(:last-child) {
  margin-right: 48px;
}

/* 复选框 */
.form-checkbox-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  color: #444444;
  font-size: 14px;
}
.form-checkbox-item:not(:last-child) {
  margin-right: 30px;
}

/* 上传 */
.form-upload {
  display: flex;
  height: 56px;
}
.form-upload-path {
  width: 304px;
  height: 100%;
  background: #ffffff;
  border: 1px solid #7f2500;
  display: flex;
  align-items: center;
  padding-left: 16px;
  outline: none;
}
.form-upload-btn {
  width: 120px;
  height: 100%;
  background: #7f2500;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  position: relative;
}
.form-upload-input {
  display: none;
}
.form-upload-preview {
  height: 100%;
  margin-left: 20px;
  position: relative;
}
.form-upload-preview-img-small {
  height: 100%;
  width: auto;
}
.form-upload-preview-img-big {
  display: none;
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translate(-50%, -100%);
}
.form-upload-preview-img-small:hover + .form-upload-preview-img-big {
  display: block;
}

/* 文本框 */
.form-area {
  width: 100%;
  height: 168px;
  background: #ffffff;
  border: 1px solid #cccccc;
  resize: none;
  padding: 10px;
  color: #444444;
  font-size: 16px;
}
.form-area:focus {
  outline: 1px solid green;
}

/* 表单按钮 */
.form-btn-wrap {
  display: flex;
}
.form-btn {
  width: 162px;
  height: 35px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7f2500;
  color: white;
  font-size: 14px;
  outline: none;
  border: none;
  user-select: none;
  position: relative;
}
.form-btn:not(:last-child) {
  margin-right: 16px;
}
.form-btn > span {
  position: relative;
  z-index: 1;
}
.form-btn:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #444444;
  transition: width 0.3s;
}
.form-btn:hover:before {
  width: 100%;
}

/* 提示信息 */
.form-error {
  color: #ff2e2e;
  font-size: 14px;
  margin-top: 4px;
}
