/* 主表单容器样式 */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }
  
  /* 网格布局容器 */
  .wpcf7-form .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  /* 中等屏幕及以上时显示为两列 */
  @media (min-width: 768px) {
    .wpcf7-form .grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  /* 表单字段通用样式 */
  .wpcf7-form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }
  
  /* 输入框聚焦状态 */
  .wpcf7-form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
  
  /* 文本区域特定样式 */
  .wpcf7-textarea {
    min-height: 6rem;
    resize: vertical;
  }
  
  /* 提交按钮样式 */
  .wpcf7-submit {
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-transform: uppercase;
  }
  
  /* 按钮悬停状态 */
  .wpcf7-submit:hover {
    background-color: #1d4ed8;
  }
  
  /* 标签样式 */
  .wpcf7-form label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
  }
  
  /* 文件上传字段样式 */
  .wpcf7-form .wpcf7-file {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
  }

  .tab-content {
      display: none;
  }
  .tab-content.active {
      display: block;
  }
  .tab-button.active {
      background-color: #3b82f6;
      color: white;
  }


  