/* 容器 */

.letter-container {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top_img img {
  width: 100%;
}

.letter-wrapper img {
  display: block;
  width: 100%;
  margin-top: 20px;
}

.letter-title {
  width: 100%;
  height: 196px;
  background: url(../images/introduce.png) no-repeat left top;
  background-size: 100%;
  margin-top: 5px;
}

.letter-title .kindly {
  font-size: 20px;
  line-height: 155px;
  width: 100px;
  text-align: center;
  float: left;
  color: rgb(3, 83, 154);
}

.title-center {
  width: 75%;
  height: 166px;
  float: left;
  font-size: 14px;
  margin-left: 140px;
  padding: 15px;
  line-height: 2;
  background-color: white;
}

.title-center p {
  text-indent: 2em;
  font-size: 15px;
  line-height: 35px;
}

.letter-form-title {
  margin: 5px 0;
  width: 100%;
  text-align: center;
}

.wyxx {
  border: 1px solid #f0f0f0;
}

.wyxx-title {
  background: #faf7f0;
  /* 可根据实际页面微调 */
  border-radius: 4px;
  padding: 19px 20px;
  font-size: 18px;
  color: #df0000;
}

.form-container {
  max-width: 1084px;
  margin: 90px auto;
}

h2 {
  font-size: 20px;
  color: #333;
  margin: 20px 0 20px 0;
  font-weight: bold;
}

/* 标题前红点 */
/* 标题前红点 */
.section-dot {
  display: inline-block;
  width: 7px;
  height: 20px;
  background-color: #0059b5;
  border-radius: 25%;
  margin-right: 8px;
}

/* 表单整体行布局 */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 33px;
  align-items: center;
}

/* 横向排列 label + input */
.form-group {
  flex: 1 1 48%;
  display: flex;
  align-items: center;
  position: relative;
}

.form-group.full {
  flex: 1 1 100%;
}

.form-row-position {
  position: relative;
}

/* label */
label {
  min-width: 90px;
  font-size: 18px;
  margin-right: 10px;
  white-space: nowrap;
  text-align: right;
}

.form-group input[readonly] {
  background-color: #f5f5f5;
  color: #888;
  cursor: not-allowed;
  border: 1px solid #ccc;
}

/* 输入框等 */
.letter-container input[type="text"],
.letter-container input[type="email"],
.letter-container select,
.letter-container textarea {
  width: 100% !important;
  flex: 1;
  padding: 10px;
  font-size: 18px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  width: 100%;
  height: 120px;
}

.form_row_box_item {
  width: 100%;
}

.tips_text {
  padding: 5px 0;
  color: red;
  margin-left: 100px;
  position: absolute;
  font-size: 12px;
}

.textbox {
  width: 100% !important;
}

.required_box {
  width: 17px;
}

/* 上传按钮 */
.upload-btn {
  background-color: #0059b5;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
}

.file-tip {
  color: #666666;
  font-size: 14px;
}

/* 验证码区域 */
.form-group img {
  margin-left: 10px;
}

/* 提交按钮 */
.form-actions {
  margin-top: 20px;
  text-align: center;
}

.btn-submit {
  background-color: #0059b5;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 20px;
  cursor: pointer;
}

.btn-cancel {
  background-color: #f0f0f0;
  color: #333;
  border: none;
  padding: 10px 30px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.required {
  color: red;
  margin-top: -10px;
  margin-left: 12px;
  font-size: 20px;
}

/*成功遮罩层*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 300px;
  width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-box p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.modal-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.modal-btn:hover {
  background-color: #0056b3;
}

/* easyui */
.textbox {
  border-radius: 0 !important;
  border: none !important;
}

.textbox-text {
  margin: 0 !important;
  height: 48px !important;
  line-height: 48px !important;
  padding: 10px !important;
  border: 1px solid #ccc !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

.combo-arrow {
  background-color: transparent !important;
  background-size: 20px !important;
  opacity: 1 !important;
}

.yzmCode,
#validCode_form {
  display: none;
}



#file_list li {
  display: flex;
  align-items: center;
}

#file_list .del,
#file_list .del img {
  display: inline-block;
  width: 14px;
  height: 14px;
}

.modal-box {
  padding: 30px 10px;
}

.modal-overlay p {
  margin-bottom: 10px;
}

.hea_search_box {
  display: none;
}

@media (max-width: 1200px) {
  .letter-title {
    background: none;
    height: auto;
  }

  .letter-title .kindly {
    width: 100%;
    line-height: normal;
  }

  .title-center {
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .letter-form-title img {
    width: 100%;
  }
}

@media (max-width: 830px) {
  .form-row {
    display: block;
  }

  .form-group {
    margin-top: 24px;
  }

  .yzm {
    margin-left: 100px;
    margin-top: 10px;
  }

  .form-container {
    margin: 20px 0;
  }
}