/* 容器 */

.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%;
}

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

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

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

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

/* 标题前红点 */
/* 标题前红点 */
.section-dot {
  display: inline-block;
  width: 7px;
  height: 20px;
  background-color: #df1e34;
  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: 1.8rem;
  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: 1.8rem;
  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: #e53e3e;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
}

.file-tip {
  color: #666666;
  font-size: 1.4rem;
}

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

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

.btn-submit {
  background-color: #e53e3e;
  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;
}

/*成功遮罩层*/
.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;
}

@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;
  }
}