.r2m-consultation-form {
  max-width: 1150px;
  padding: 10px 0 0 0;
  margin: 10px auto 0 auto;
  font-family: Arial, sans-serif;
  /* background: white; */
  text-align: center;
}

/* Form row for inline fields */
.form-row {
  display: flex;
  gap: 25px;
}

.form-row .form-group {
  flex: 1; /* Equal width for both fields */
}

.r2m-consultation-form h1 {
  padding: 0px 20px;
  font-size: 30px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center;
  line-height: 1.3;
  font-weight: bold;
}

.description-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.description-section p {
  font-size: 18px;
  font-weight: 500;
  color: #7f8c8d;
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  padding: 10px; /* Reduced padding */
  font-size: 15px; /* Slightly smaller font */
  margin-top: 5px;
  box-sizing: border-box; /* Add this line */
}

.form-group textarea {
  resize: vertical;
  min-height: 110px; /* Shorter textarea */
}

button[type="submit"] {
  background: #2c60ea !important;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

button[type="submit"]:hover {
  background: #0350d2 !important;
}

.r2m-response {
  margin-top: 10px;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
}

.success-message {
  background: #dff0d8;
  color: #3c763d;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  margin: 20px auto;
  max-width: 600px;
  border: 1px solid #d6e9c6;
}

.loading {
  text-align: center;
  color: #3498db;
  padding: 15px;
  font-size: 16px;
}

/* Add to style.css */
.r2m-consultation-form .error {
  background: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  margin: 20px 0;
  border: 1px solid #f5c6cb;
}

.form-group input,
.form-group textarea {
  text-align: left;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .r2m-consultation-form {
    width: 100%;
    padding: 15px 0;
    margin: 0 auto;
  }

  /* .r2m-consultation-form h1 {
    font-size: 22px;
    padding: 0 5px;
    margin-bottom: 10px;
  }

  .description-section {
    padding: 10px;
    margin-bottom: 15px;
  }

  .description-section p {
    font-size: 13px;
    line-height: 1.4;
  } */

  .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
    width: 100%;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .form-group {
    margin-bottom: 12px;
    width: 100%;
    padding: 0;
  }

  button[type="submit"] {
    padding: 10px 15px;
    font-size: 14px;
  }

  .form-group textarea {
    min-height: 80px;
  }
}

/* Team Members Table */
.wp-list-table.widefat th {
  padding: 15px;
}

.wp-list-table.widefat td {
  vertical-align: middle;
  padding: 10px;
}

.form-table input[type="number"] {
  width: 100px;
}
