.inquiry-form-container {
  max-width: 900px;
  margin: -60px auto 80px;
  background: #fff;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.form-title {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.form-title h2 {
  font-size: 24px;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-group .required {
  color: red;
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: var(--transition);
  background: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.captcha-group {
  display: flex;
  gap: 15px;
  align-items: center;
}

.captcha-img {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 4px;
  font-size: 20px;
  user-select: none;
}

.refresh-btn {
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.refresh-btn:hover {
  color: #3b82f6;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
}

.submit-btn:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.contact-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 100px;
}

.summary-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.summary-card .icon {
  width: 50px;
  height: 50px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #3b82f6;
}

.summary-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.summary-card p {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .inquiry-form-container {
    padding: 30px;
    margin-top: 20px;
  }

  .contact-summary {
    grid-template-columns: 1fr;
  }
}

/* 适配JS错误提示样式 */
.js-error提示 {
  background: #f8d7da;
  color: #721c24;
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
}
/* 字段错误样式 */
.msg-required:focus:invalid {
  outline: none;
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}
