﻿@charset "utf-8";
/* =========================================================
   Contact_Us_2025A.css
   Optimized 2025-10-20D (Desktop Polished Edition)
   - Enhanced alignment, spacing & color balance for desktop
   - Maintains responsive structure & accessibility
========================================================= */

/* ===== 主内容容器 ===== */
.float_right_out {
  background: #F9FAFB;
  padding: 40px 60px;
  font-family: Verdana, Geneva, sans-serif;
  color: #111;
  line-height: 1.8;
  max-width: 880px;
  margin: 0 auto;
}

/* ===== 页面标题 ===== */
.float_right_out h1 {
  font-size: 24px;
  color: #004080;
  border-bottom: 2px solid #007A29;
  padding-bottom: 10px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* ===== 联系信息区 ===== */
.contact-info {
  background: linear-gradient(to bottom, #EAF3FF, #FDFEFF);
  border: 1px solid #C6E0FF;
  padding: 18px 24px;
  border-radius: 8px;
  margin: 10px 0 30px;
  font-size: 13px;
  line-height: 1.8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.contact-info p {
  margin: 8px 0;
}

.contact-info a {
  color: #004C99;
  text-decoration: none;
}

.contact-info a:hover,
.contact-info a:focus {
  text-decoration: underline;
  color: #007A29;
}

/* ===== 表单整体 ===== */
form {
  background: #FFFFFF;
  border: 1px solid #DDEAF5;
  border-radius: 8px;
  padding: 25px 32px 28px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* ===== 表单行布局 ===== */
.form-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 14px;
}

.form-row label {
  flex: 0 0 180px;
  font-size: 13px;
  color: #004080;
  text-align: right;
  margin-right: 12px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  flex: 1;
  padding: 7px 9px;
  border: 1px solid #AACCEE;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #007A29;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,122,41,0.15);
}

/* ===== 复选框行 ===== */
.form-row.checkbox {
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
}

.form-row.checkbox input[type="checkbox"] {
  transform: scale(1.1);
}

.form-row.checkbox label {
  flex: unset;
  margin-left: 8px;
  text-align: left;
  font-size: 13px;
  color: #333;
}

/* ===== 验证码区 ===== */
.form-row.verification {
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

/* 输入验证码 */
#verification_code {
  width: 60px;
  text-align: center;
  border: 1px solid #AACCEE;
  border-radius: 4px;
}

/* 显示验证码窗口 */
.verification-display {
  background: #EEE;
  color: #900;
  border: 1px solid #555;
  width: 34px;
  height: 28px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
  transition: background 0.2s ease;
  letter-spacing: 1px;
}

.verification-display:hover,
.verification-display:focus {
  background: #DDD;
  outline: none;
}

/* ===== 提交按钮行 ===== */
.form-row.submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 26px;
  text-align: center;
}

.btn {
  background: linear-gradient(to bottom, #007A29, #00661F);
  color: #fff;
  border: none;
  padding: 9px 24px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.1s ease;
  width: 140px;
  text-align: center;
  margin: 0 auto;
}

.btn:hover,
.btn:focus {
  background: linear-gradient(to bottom, #009933, #007A29);
  transform: scale(1.03);
}

/* 提示文字 */
.submit-hint {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-top: 8px;
  max-width: 260px;
  text-align: center;
}

/* ===== 响应式（≤1199px）保留原设计 ===== */
@media (max-width: 1199px) {
  .float_right_out {
    padding: 20px 16px;
  }

  form {
    padding: 16px;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row label {
    text-align: left;
    margin-bottom: 4px;
    flex: unset;
  }

  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row textarea {
    width: 100%;
  }

  .btn {
    width: 160px;
    max-width: 80%;
  }

  .submit-hint {
    width: 90%;
    max-width: 280px;
  }
}

/* ===== 打印友好 ===== */
@media print {
  header, footer, nav, aside { display: none !important; }
  body { background: #fff; color: #000; }
  form { border: none; box-shadow: none; }
}
