/* Start custom CSS *//* =========================
   SINGLE JOB - BASE
========================= */

.thjmf-job-contents {
  padding-left: 5%;
  padding-right: 5%;
  margin-bottom: 60px;
}

.thjmf-single-job {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.thjmf-job-contents,
.thjmf-single-job {
  font-family: var(--e-global-typography-a39729f-font-family), Sans-serif;
  color: var(--e-global-color-7035676);
}

/* =========================
   HEADER OFFRE
========================= */

.thjmf-job-header {
  background: #f5f5f5;
  padding: 45px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.thjmf-job-title-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.thjmf-job-title,
.thjmf-job-title a {
  font-family: var(--e-global-typography-c1db648-font-family), Sans-serif;
  font-size: var(--e-global-typography-c1db648-font-size);
  font-weight: var(--e-global-typography-c1db648-font-weight);
  line-height: var(--e-global-typography-c1db648-line-height);
  color: var(--e-global-color-da5df32) !important;
  text-decoration: none;
  margin: 0;
}

/* =========================
   BADGE MIS EN AVANT
========================= */

.thjmf-featured-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--e-global-color-da5df32) !important;
  color: #fff !important;
  padding: 15px 12px !important;
  margin-left: 12px;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05rem;
  vertical-align: middle;
  border-radius: 4px;
}

.thjmf-featured-icon img {
  display: none !important;
}

.thjmf-featured-icon label {
  color: #fff !important;
  margin: 0;
  cursor: inherit;
}

/* =========================
   BOUTONS
========================= */

.thjmf-job-button,
.thjmf-show-form,
#thjmf_show_form,
#thjmf_apply_job {
  background: var(--e-global-color-da5df32) !important;
  color: #fff !important;
  border: 1px solid var(--e-global-color-da5df32) !important;
  border-radius: 0 !important;
  padding: 14px 30px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1rem !important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.thjmf-job-button:hover,
.thjmf-show-form:hover,
#thjmf_show_form:hover,
#thjmf_apply_job:hover {
  background: transparent !important;
  color: var(--e-global-color-da5df32) !important;
}

/* =========================
   TAGS OFFRE
========================= */

.thjmf-single-job-tags {
  margin: 30px 0;
}

.thjmf-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.thjmf-job-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--e-global-color-7035676);
}

.thjmf-job-tag img {
  width: 16px;
  height: 16px;
  filter: invert(32%) sepia(64%) saturate(600%) hue-rotate(140deg) brightness(90%) contrast(90%);
}

/* =========================
   FEATURES
========================= */

.thjmf-job-features-list {
  background: #f5f5f5;
  padding: 22px 28px !important;
  margin: 30px 0 !important;
  list-style: none !important;
  border-radius: 8px;
}

.thjmf-job-feature-label {
  color: var(--e-global-color-da5df32);
  font-weight: 700;
}

/* =========================
   CONTENU
========================= */

.entry-jobs,
.thjmf-single-job-content {
  font-family: var(--e-global-typography-a39729f-font-family), Sans-serif;
  color: var(--e-global-color-7035676);
  line-height: 1.7;
}

.thjmf-single-job-content {
  background: #fff;
  padding: 35px 0;
}

/* =========================
   MESSAGE OFFRE POURVUE
========================= */

.thjmf-apply-now-disabled-msg {
  background: #f5f5f5;
  border-left: 4px solid var(--e-global-color-da5df32);
  padding: 20px 24px;
  margin-top: 30px;
  color: var(--e-global-color-7035676);
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
}

/* =========================
   FORMULAIRE CANDIDATURE
========================= */

.thjmf-job-application {
  background: #f5f5f5;
  padding: 40px;
  margin-top: 40px;
  border-radius: 8px;
}

.thjmf-public-forms .thjmf-form-row {
  margin-bottom: 22px;
}

.thjmf-public-forms label {
  font-family: var(--e-global-typography-c1db648-font-family), Sans-serif;
  color: rgba(0, 0, 0, 0.45) !important;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.required,
abbr.required {
  color: var(--e-global-color-da5df32) !important;
  text-decoration: none !important;
  border: none !important;
}

/* =========================
   CHAMPS DE FORMULAIRE
========================= */

.thjmf-public-forms input[type="text"],
.thjmf-public-forms input[type="email"],
.thjmf-public-forms input[type="tel"],
.thjmf-public-forms textarea,
.thjmf-public-forms select {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.30) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--e-global-color-7035676) !important;
  font-family: var(--e-global-typography-a39729f-font-family), Sans-serif;
  font-size: 15px;
  transition: all 0.2s ease;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.thjmf-public-forms input::placeholder,
.thjmf-public-forms textarea::placeholder {
  color: rgba(0, 0, 0, 0.45) !important;
  opacity: 1 !important;
}

.thjmf-public-forms textarea {
  min-height: 150px;
  resize: vertical;
}

.thjmf-public-forms input:focus,
.thjmf-public-forms textarea:focus,
.thjmf-public-forms select:focus {
  outline: none !important;
  border-color: var(--e-global-color-da5df32) !important;
  box-shadow: 0 0 0 1px var(--e-global-color-da5df32) !important;
}

/* =========================
   TÉLÉPHONE - CORRECTION COMPLÈTE
========================= */

/* Cache tous les éléments du sélecteur de pays */
#phone_field #phone_dial_code,
#phone_field #phone_country_code,
#phone_field .thjmf-country-dial-codes,
#phone_field .thjmf-country-codes-wrapper,
#phone_field .thjmf-country-code-list,
.thjmf-country-dial-codes,
.thjmf-country-codes-wrapper {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Reset du conteneur téléphone */
#phone_field,
#phone_field.thjmf-dialling-code-field {
  padding: 0 !important;
  margin-bottom: 22px !important;
}

#phone_field .thjmf-input-wrapper {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Champ téléphone - CORRECTION DU DÉCALAGE */
#phone_field input#phone,
#phone_field input[name="phone"],
#phone_field .thjmf-dial-phone-number {
  width: 100% !important;
  max-width: 100% !important;
  padding: 14px 16px !important;
  margin: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.30) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--e-global-color-7035676) !important;
  font-family: var(--e-global-typography-a39729f-font-family), Sans-serif;
  font-size: 15px;
  box-sizing: border-box !important;
  display: block !important;
  
  /* CORRECTION DU DÉCALAGE */
  text-indent: 0 !important;
  padding-left: 16px !important;
  transform: none !important;
  position: static !important;
  left: auto !important;
  text-align: left !important;
}

/* Force le reset des propriétés inline qui causent le décalage */
#phone_field .thjmf-dial-phone-number[style] {
  padding-left: 16px !important;
  text-indent: 0 !important;
}

/* =========================
   UPLOAD FICHIER - CORRECTION
========================= */

#resume_field {
  margin-bottom: 22px !important;
}

#resume_field .thjmf-input-wrapper {
  position: relative;
  display: block !important;
  width: 100% !important;
  border: 2px dashed rgba(0, 0, 0, 0.30) !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 34px 24px !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#resume_field .thjmf-input-wrapper:hover {
  border-color: var(--e-global-color-da5df32) !important;
  background: rgba(16, 135, 135, 0.05) !important;
}

/* Input file - doit couvrir toute la zone */
#resume_field input[type="file"],
#resume_field input.input-file,
#resume_field input#resume {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Label upload */
#resume_field .thjmf-upload-title,
#resume_field label.thjmf-upload-title {
  display: block !important;
  position: relative;
  z-index: 1;
  pointer-events: none;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: rgba(0, 0, 0, 0.6) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: transparent !important;
}

/* Icône upload */
#resume_field .thjmf-upload-title::before {
  content: "↑";
  display: block;
  color: var(--e-global-color-da5df32) !important;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
}

/* Lien upload */
#resume_field .thjmf-file-upload-link {
  color: var(--e-global-color-da5df32) !important;
  font-weight: 700;
  text-decoration: none;
  pointer-events: none;
}



/* =========================
   CACHE LES ANCIENS LABELS PLACEHOLDER
========================= */

#thjmf_name_field label,
#phone_field label,
#thjmf_email_field label,
#thjmf_cover_letter_field label {
  display: none !important;
}

/* Garde visible uniquement le label du CV car il n'a pas de placeholder */
#resume_field > label:first-child {
  display: block !important;
  color: rgba(0, 0, 0, 0.45) !important;
  font-weight: 600;
  margin-bottom: 10px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .thjmf-job-contents {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 767px) {
  .thjmf-job-header,
  .thjmf-job-application {
    padding: 25px;
  }

  .thjmf-job-title-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .thjmf-job-tags {
    flex-direction: column;
    gap: 10px;
  }

  .thjmf-job-button,
  .thjmf-show-form,
  #thjmf_show_form,
  #thjmf_apply_job {
    width: 100%;
    text-align: center;
  }
  
  .thjmf-featured-icon {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .thjmf-job-header,
  .thjmf-job-application {
    padding: 20px;
  }
  
  .thjmf-job-button,
  .thjmf-show-form,
  #thjmf_show_form,
  #thjmf_apply_job {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
}

Parfait ! Ajoute ce CSS pour que chaque input soit sur sa propre ligne en responsive :
css/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .thjmf-job-contents {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 767px) {
  .thjmf-job-header,
  .thjmf-job-application {
    padding: 25px;
  }

  .thjmf-job-title-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .thjmf-job-tags {
    flex-direction: column;
    gap: 10px;
  }

  .thjmf-job-button,
  .thjmf-show-form,
  #thjmf_show_form,
  #thjmf_apply_job {
    width: 100%;
    text-align: center;
  }
  
  .thjmf-featured-icon {
    margin-left: 0;
    margin-top: 10px;
  }
  
  /* FORMULAIRE - UNE LIGNE PAR CHAMP */
  .thjmf-public-forms .thjmf-form-row,
  .thjmf-public-forms .thjmf-form-field,
  .thjmf-public-forms .thjmf-form-row-first,
  .thjmf-public-forms .thjmf-form-row-last,
  .thjmf-public-forms .thjmf-form-row-wide {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    clear: both !important;
  }
  
  /* Espacement entre les champs */
  .thjmf-public-forms .thjmf-form-row {
    margin-bottom: 18px !important;
  }
}

@media (max-width: 480px) {
  .thjmf-job-header,
  .thjmf-job-application {
    padding: 20px;
  }
  
  .thjmf-job-button,
  .thjmf-show-form,
  #thjmf_show_form,
  #thjmf_apply_job {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
  
  /* Réduction du padding pour petits écrans */
  .thjmf-public-forms input[type="text"],
  .thjmf-public-forms input[type="email"],
  .thjmf-public-forms input[type="tel"],
  .thjmf-public-forms textarea,
  .thjmf-public-forms select {
    padding: 12px 14px !important;
  }
  
  /* Zone upload plus compacte */
  #resume_field .thjmf-input-wrapper {
    padding: 24px 16px !important;
    min-height: 100px;
  }
}/* End custom CSS */