/* form css */
/* Base container */
.custom-cf7 {
  max-width: 600px;
  margin: 2em auto;
  font-family: 'Segoe UI', sans-serif;
}

/* Labels and inputs */
.custom-cf7 label {
  display: block;
  font-weight: 600;
  margin: 1em 0 0.5em;
  color: #dddddd;
}

.custom-cf7 input[type="text"],
.custom-cf7 input[type="email"],
.custom-cf7 textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.custom-cf7 input[type="text"]:focus,
.custom-cf7 input[type="email"]:focus,
.custom-cf7 textarea:focus {
  border-color: #5b9bd5;
  box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.2);
  outline: none;
}

/* Submit button */
.custom-cf7 input[type="submit"] {
  background-color: #0073e6;
  color: #fff;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1em;
  transition: background-color 0.3s ease;
}

.custom-cf7 input[type="submit"]:hover {
  background-color: #005bb5;
}

/* Validation message */
.wpcf7-response-output {
  margin-top: 1em;
  padding: 1em;
  border-radius: 5px;
  font-weight: 500;
}

.wpcf7-not-valid-tip {
  color: #d9534f;
  font-size: 0.9rem;
}

.wpcf7-mail-sent-ok {
  background-color: #dff0d8;
  color: #3c763d;
  border: 1px solid #d6e9c6;
}

.wpcf7-validation-errors {
  background-color: #f2dede;
  color: #a94442;
  border: 1px solid #ebccd1;
}