/* Style the entire form */
.wpcf7-form-id-94b2f9c {
  background-color: #f4f4f4; /* Light background */
  border-radius: 8px; /* Rounded corners */
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Style labels */
.wpcf7 label {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}

/* Style inputs and text areas */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

/* Focus style */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* Submit button - smaller size and added spacing */
.wpcf7 .wpcf7-submit {
  background-color: #e93e46; /* Stylish red button */
  color: white;
  padding: 10px 20px; /* Decreased padding for smaller button */
  font-size: 14px; /* Adjust font size for smaller button */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: auto; /* Let the button size fit its content */
  margin-top: 20px; /* Space between the CV upload field and the submit button */
}

/* Hover effect for the submit button */
.wpcf7 .wpcf7-submit:hover {
  background-color: #d62d3b;
}

/* Style the optional file input */
.wpcf7 input[type="file"] {
  background-color: #f4f4f4;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px; /* Add space between file input and submit button */
}

/* Styling the form's title */
.wpcf7-form-title {
  font-size: 24px;
  font-weight: bold;
  color: #e93e46;
  margin-bottom: 20px;
}

/* Style the form fields on mobile */
@media screen and (max-width: 768px) {
  .wpcf7 {
    padding: 20px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 select,
  .wpcf7 textarea {
    font-size: 16px;
  }
}