/* Footer Contact Form 7 - Custom Styling */

/* Remove default CF7 spacing from form and paragraphs */
.footer-form-wrapper form {
  margin: 0;
  padding: 0;
}

.footer-form-wrapper form p {
  margin: 0;
  padding: 0;
}

/* Form wrapper - single row layout */
.footer-form {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Input wrapper - fixed width */
.footer-input {
  width: 330px;
}

/* Button wrapper - fixed width */
.footer-button {
  flex-shrink: 0;
}

/* Style the Contact Form 7 input fields within footer-input */
.footer-input input[type="email"],
.footer-input input[type="text"],
.footer-input input[type="tel"] {
  width: 330px;
  height: 45px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 12px;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  background-color: #F7F7FA;
  color: #12171D;
  outline: none;
  transition: background-color 0.2s;
  box-sizing: border-box;
}


/* Placeholder styling */
.footer-input input[type="email"]::placeholder,
.footer-input input[type="text"]::placeholder,
.footer-input input[type="tel"]::placeholder {
  color: #707372;
  font-style: italic;
}

/* Style the Contact Form 7 submit button within footer-button */
.footer-button input[type="submit"],
.footer-button .wpcf7-submit {
  width: 110px;
  height: 45px;
  padding: 0;
  border-radius: 5px;
  border: none;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  background-color: #F3D03E;
  color: #12171D;
  transition: background-color 0.2s;
  box-sizing: border-box;
}

.footer-button input[type="submit"]:hover,
.footer-button .wpcf7-submit:hover {
  background-color: #E6C738;
  opacity: 0.9;
}

/* CF7 form control wrapper adjustments - remove all default spacing */
.footer-input .wpcf7-form-control-wrap {
  width: 330px;
  margin: 0;
  padding: 0;
}

.footer-button .wpcf7-form-control-wrap {
  margin: 0;
  padding: 0;
}

/* Remove any spacing from submit button wrapper */
.footer-button p {
  margin: 0;
  padding: 0;
}

/* Validation messages */
.footer-form .wpcf7-response-output {
  margin-top: 8px;
  font-size: 12px;
  width: 100%;
  color: white;
  padding: 8px;
  border-radius: 2px;
}

.footer-form .wpcf7-not-valid-tip {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  margin-top: 4px;
}

/* Responsive: stack vertically on small screens */
/* @media (max-width: 1025px) {
  .footer-form {
    flex-direction: column;
    gap: 5px;
  }
  
  .footer-input,
  .footer-input input[type="email"],
  .footer-input input[type="text"],
  .footer-input input[type="tel"],
  .footer-input .wpcf7-form-control-wrap {
    width: 100%;
    max-width: 190px;
  }
  
  .footer-button input[type="submit"],
  .footer-button .wpcf7-submit {
    width: 100%;
    max-width: 90px;
  }
} */

/* Responsive: stack vertically on small screens */
@media (max-width: 1290px) {
  .footer-form {
    flex-direction: row;
    gap: 5px;
  }
  
  .footer-input,
  .footer-input input[type="email"],
  .footer-input input[type="text"],
  .footer-input input[type="tel"],
  .footer-input .wpcf7-form-control-wrap {
    width: 100%;
    max-width: 230px;
  }
  
  .footer-button input[type="submit"],
  .footer-button .wpcf7-submit {
    width: 100%;
    max-width: 100px;
    font-size: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 5px 10px;
  }
}

