/* 反馈表单样式 */
.feedback-form {
  max-width: 600px;
  margin: 70px auto 10px;
  padding: 20px;

}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-head h1 {
  padding: 0;
  margin: 0;
  font-family: Roboto, Roboto;
  font-size: 18px;
  flex-grow: 1;
  text-align: center;
  font-style: normal;
  text-transform: none;
}
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-top: 15px;
  margin-bottom: 15px;
  height: 14px;
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 18px;
  color: #999999;
  line-height: 14px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.form-control {
  width: 100%;
  height: 135px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #9E6DFC;
}

.char-counter {
  text-align: right;
  color: #666;
  font-size: 14px;
  margin-top: 4px;
}

.file-upload-container {
  position: relative;
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 46px;
}

.file-upload-container:hover {
  border-color: #9E6DFC;
  background-color: #f8f4ff;
}

.upload-placeholder {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 18px;
  color: #999999;
  line-height: 12px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  /* 新增：确保文字在容器内垂直和水平居中 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-text {
  color: #9E6DFC;
  font-weight: 500;
  cursor: pointer;
}

.uploaded-files {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.uploaded-file {
  display: flex;
  align-items: center;
  background: #f8f4ff;
  border: 1px solid #e0d7ff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
}

.uploaded-file img {
  width: 50px;
  height: 50px;
  margin-right: 8px;
  border-radius: 4px;
}

.remove-file {
  margin-left: 8px;
  color: #999;
  cursor: pointer;
  font-size: 12px;
}
.form-contactInfo {
  height: 46px;
}
.btn-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 48px;
  padding: 16px;
  background-color: #9E6DFC;
  border: none;
  border-radius: 34px 34px 34px 34px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 auto; /* 添加自动外边距实现水平居中 */
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 22px;
  color: #FFFFFF;
  line-height: 16px;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.btn-submit:hover {
  background-color: #8B5CF6;
}
.error-message {
  background: rgba(255,63,105,0.1);
  border-radius: 4px 4px 4px 4px;
  border: 1px solid #FF3F69;
  height: 34px;
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 16px;
  color: #FF3F69;
  line-height: 14px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-top: 10px;
  padding-left: 10px;
  padding-top: 5px;
}