/* 需求表单组件样式 */
.need-form-container {
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  border-radius: 12px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.d-top {
  /* text-align: center; */
  margin-bottom: 30px;
}

.d-top b {
  display: inline-block;
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  position: relative;
}

.d-top b::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #19b1a4;
  margin: 10px auto 0;
  border-radius: 2px;
}

.a-describe {
  font-size: 16px;
  color: #7f8c8d;
  font-style: italic;
  text-align: center;
}

.d-middle {
  margin-bottom: 30px;
}

.d-middle-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.d-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background-color: white;
}

.d-input:focus {
  outline: none;
  border-color: #19b1a4;
  box-shadow: 0 0 0 3px rgba(25, 177, 164, 0.1);
}

.d-input::placeholder {
  color: #95a5a6;
}

.d-mess {
  width: 100%;
  padding: 16px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 16px;
  resize: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-height: 120px;
  background-color: white;
  font-family: inherit;
}

.d-mess:focus {
  outline: none;
  border-color: #19b1a4;
  box-shadow: 0 0 0 3px rgba(25, 177, 164, 0.1);
}

.d-mess::placeholder {
  color: #95a5a6;
  font-family: inherit;
}

.d-bottom {
  text-align: center;
}

.d-bottom button {
  background: linear-gradient(135deg, #19b1a4 0%, #159588 100%);
  color: white;
  border: none;
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(25, 177, 164, 0.3);
  min-width: 160px;
}

.d-bottom button:hover:not(:disabled) {
  background: linear-gradient(135deg, #159588 0%, #128276 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 177, 164, 0.4);
}

.d-bottom button:active:not(:disabled) {
  transform: translateY(0);
}

.d-bottom button:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .need-form-container {
    padding: 25px;
    margin: 0 15px;
  }
  
  .d-top b {
    font-size: 24px;
  }
  
  .d-middle-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .d-input,
  .d-mess {
    font-size: 15px;
    padding: 12px;
  }
  
  .d-bottom button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%;
  }
}