/* xl - DESKTOP STYLES */ 
/* Contact Form 7 Styling */

/* General form control styling */
.wpcf7-form-control {
  border-radius: 10px;
  padding: 10px !important;
  width: 100%;
  box-sizing: border-box;
  margin: 5px 0; /* Unified margin for consistency */
  font-family: inherit;
  font-size: 1rem;
/*  border: 1px solid #ccc;*/
  appearance: none; /* For better cross-browser rendering */
}

/* Wrapper */
.wpcf7 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Form container */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Paragraph wrapper for form fields */
.wpcf7-form p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 10px 0;
}

/* Submit button */
.wpcf7-form .wpcf7-submit {
  margin: 0 auto !important;
  padding: 10px 60px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 200px;
  border: none;
  border-radius: 10px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
  background-color: #555;
}

/* Hide loading spinner */
.wpcf7-form .wpcf7-spinner {
  display: none !important;
}

/* Custom file upload handler styling */
.codedropz-upload-handler {
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  width: 80vw !important;
  margin: 0 auto;
  padding: 10px;
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .wpcf7-form p {
    flex-direction: column;
    align-items: stretch;
  }

  .wpcf7-form-control {
    width: 100%;
  }

  .wpcf7-form .wpcf7-submit {
    width: 100%;
    max-width: none;
  }
}


