/*
 * PRATINIUM — custom-contact-v152.css
 * Page Contact :
 * - suppression du champ parasite/honeypot visible sous le message ;
 * - réduction de la hauteur du champ Document joint.
 */

body.page-contact form .form-group:has(input[name="url"]),
body#contact form .form-group:has(input[name="url"]),
body.page-contact form .form-group:has(input[name="website"]),
body#contact form .form-group:has(input[name="website"]),
body.page-contact form .form-group:has(input[name="search_query"]),
body#contact form .form-group:has(input[name="search_query"]),
body.page-contact form input[name="url"],
body#contact form input[name="url"],
body.page-contact form input[name="website"],
body#contact form input[name="website"] {
  display: none !important;
}

/* Document joint : hauteur plus compacte, premium, sans grand bloc vide */
body.page-contact form .form-group:has(input[type="file"]),
body#contact form .form-group:has(input[type="file"]) {
  margin-bottom: 18px !important;
}

body.page-contact form input[type="file"],
body#contact form input[type="file"],
body.page-contact form .custom-file,
body#contact form .custom-file,
body.page-contact form .custom-file-input,
body#contact form .custom-file-input,
body.page-contact form .custom-file-label,
body#contact form .custom-file-label,
body.page-contact form label[for="fileUpload"],
body#contact form label[for="fileUpload"] {
  min-height: 54px !important;
  height: 54px !important;
  line-height: 52px !important;
}

body.page-contact form input[type="file"],
body#contact form input[type="file"] {
  padding: 0 16px !important;
}

body.page-contact form .custom-file-label,
body#contact form .custom-file-label,
body.page-contact form label[for="fileUpload"] {
  display: flex !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-contact form .custom-file-label::after,
body#contact form .custom-file-label::after {
  height: 54px !important;
  line-height: 52px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 767px) {
  body.page-contact form input[type="file"],
  body#contact form input[type="file"],
  body.page-contact form .custom-file,
  body#contact form .custom-file,
  body.page-contact form .custom-file-input,
  body#contact form .custom-file-input,
  body.page-contact form .custom-file-label,
  body#contact form .custom-file-label,
  body.page-contact form label[for="fileUpload"],
  body#contact form label[for="fileUpload"] {
    min-height: 48px !important;
    height: 48px !important;
    line-height: 46px !important;
  }

  body.page-contact form .custom-file-label::after,
  body#contact form .custom-file-label::after {
    height: 48px !important;
    line-height: 46px !important;
  }
}

body.page-contact form .pf-contact-file-compact input[type="file"],
body#contact form .pf-contact-file-compact input[type="file"],
body.page-contact form .pf-contact-file-compact .custom-file,
body#contact form .pf-contact-file-compact .custom-file,
body.page-contact form .pf-contact-file-compact .custom-file-label,
body#contact form .pf-contact-file-compact .custom-file-label {
  min-height: 54px !important;
  height: 54px !important;
  line-height: 52px !important;
}

body.page-contact form .pf-contact-remove-crossed,
body#contact form .pf-contact-remove-crossed {
  display: none !important;
}
