/* ==============================================
   WPForms 免费版布局调整（修正版）
   姓名 + 邮箱 同行，各占一半
   留言框保持默认
   提交按钮占一半宽度
   → 修复邮箱右侧少10px的问题
============================================== */

/* 姓名 + 邮箱：并排显示 */
.wpforms-form .wpforms-field-name,
.wpforms-form .wpforms-field-email {
  display: inline-block !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
}

/* 左边姓名字段占一半减去10px，用来给右边留空隙 */
.wpforms-form .wpforms-field-name {
  width: calc(50% - 10px) !important;
  margin-right: 10px !important;
}

/* 邮箱字段占一半减去10px */
.wpforms-form .wpforms-field-email {
  width: calc(50% - 10px) !important;
  margin-right: 0 !important;
}

/* 留言框字段占减去10px */
.wpforms-form .wpforms-field-message {
  width: calc(100% - 10px) !important;
  margin-right: 0 !important;
}

/* 提交按钮占一半减去10px宽度，可居中 */
.wpforms-form .wpforms-submit {
  width: calc(50% - 10px) !important;
  display: block !important;
  box-sizing: border-box !important;
  /* margin: 0 auto !important; 居中，若想靠左可删除 */
}

/* 手机端自动单列排列 */
@media (max-width: 768px) {
  .wpforms-form .wpforms-field-name,
  .wpforms-form .wpforms-field-email,
  .wpforms-form .wpforms-submit {
    width: 100% !important;
    margin-right: 0 !important;
    display: block !important;
  }
}

#gtranslate_wrapper .gtranslate_selector {
    font-size: 20px !important;
    font-weight: bold !important;
    font-family: \\\\\\\\\\\\\\\'El Messiri\\\\\\\\\\\\\\\', sans-serif !important;
    background-color: #EEEEEE !important;
    color: #666666 !important;
    border-radius: 15px !important;
    padding: 18px 30px !important;
    margin: 10px 30px 10px 20px !important;
    text-align: center !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-decoration: none !important;
}

#gtranslate_wrapper .gtranslate_selector:hover {
    background-color: #dcdcdc !important;
}