@charset "UTF-8";
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #1e293b;
}

.candidat-page {
    padding-top: 200px;
    width: 100%;
    min-height: 100vh;
}

.candidat-formulaire {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: #d4d4d4;
    border-radius: 14px;
    padding: 35px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/*
|--------------------------------------------------------------------------
| Entête
|--------------------------------------------------------------------------
*/

.formulaire-entete {
    text-align: left;
    margin-bottom: 50px;
}

.formulaire-entete h1 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #183b61;
}

.formulaire-entete p {
    margin: 0;
    font-size: 15px;
    color: #64748b;
}

/*
|--------------------------------------------------------------------------
| Champs
|--------------------------------------------------------------------------
*/

.groupe-champs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.champ {
    margin-bottom: 24px;
}

.champ label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.champ label span {
    color: #dc2626;
}

.champ input[type="text"],
.champ input[type="email"],
.champ input[type="tel"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 16px;
    color: #1e293b;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.champ input[type="text"]:focus,
.champ input[type="email"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

/*
|--------------------------------------------------------------------------
| Document
|--------------------------------------------------------------------------
*/

.zone-document {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 22px;
    background: #f8fafc;
}

.zone-document input[type="file"] {
    width: 100%;
    font-size: 15px;
}

.zone-document input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #e2e8f0;
    color: #334155;
    font-weight: 600;
    cursor: pointer;
}

.zone-document input[type="file"]::file-selector-button:hover {
    background: #cbd5e1;
}

.formats {
    margin: 12px 0 0;
    font-size: 13px;
    color: #64748b;
}

/*
|--------------------------------------------------------------------------
| Bouton
|--------------------------------------------------------------------------
*/

.bouton-soumettre {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    background: #183b61;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.1s ease;
}

.bouton-soumettre:hover {
    background: #102f50;
}

.bouton-soumettre:active {
    transform: translateY(1px);
}

/*
|--------------------------------------------------------------------------
| Messages
|--------------------------------------------------------------------------
*/

.message {
    margin-bottom: 25px;
    min-height: 64px;
    padding: 0 18px;

    display: flex;
    align-items: center;

    border-radius: 8px;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

.message.succes {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #166534;
}

.message.erreur {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

   


/* ================== PAGE CANDIDAT =========== */


/* Nouvelle section à droite */
  .info-droite-v2 {
    flex: 1;
    min-width: 0;
    text-align: left;
    margin-left: 10px;
    max-width: 50%;
    font-size: 11.5px;
    line-height: 1.35;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Enlève les marges des paragraphes */
  .info-droite-v2 p {
      margin: 2px 0;
  }

   .experience-candidat{
    font-size: 11px;
    font-weight: 400;
  }
  
  .titreimg-candidat {
    margin-top: 15px;
    margin-left: 0px;
    margin-right: 40px;
    margin-bottom: 4px;
    padding: 0;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    color: #333333;
  }

  .logo-zone-candidat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 20px 8px 8px 12px; /* haut - right - bas - left */
    box-sizing: border-box;
  }

  .logo-zone-candidat img {
    display: block;
    width: auto;
    height: auto;
    max-width: 145px;
    max-height: 90px;
    object-fit: contain;
    margin: 0;
  }
  
  .logo-top-candidat {
    display: flex;
    align-items: center; /* CENTRAGE VERTICAL */
    width: 100%;
    min-width: 0;
    gap: 0;
  }

  /* Photo */
  .photo-zone-candidat {
      flex-shrink: 0;
  }

  .salaire-candidat{
    margin-bottom: -12.5px;
  }

  .nompub-candidat {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nompub-candidat p {
      margin: 0;
      padding: 0;
      line-height: 1.2;
      font-weight: 400;
      font-size: 11px; 
    }

    .back-content-candidat {
    width: 100%;
    height: 100%;
    padding-top: 18px;
    padding-right: 30px;
    padding-bottom: 18px;
    padding-left: 5px;
    box-sizing: border-box;

    position: relative;
    overflow-y: auto;
  }

  .back-content-candidat p {
    margin: 0;
    text-align: left;
  }

  
  .logo-back-v2 .back-content-candidat .point-paragraphe {
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.logo-back-v2 .back-content-candidat .point-paragraphe::before {
    content: "•";
    margin-right: 8px;
}

.logo-back-v2 .back-content-candidat .point-paragraphe:last-of-type {
    margin-bottom: 0;
}

.logo-back-v2 .back-content-candidat .titre-avantage {
    color: red;
    font-size: 12.5px;
    font-weight: 600;
    margin-top: -15px;
    margin-bottom: 10px;
}

/* =========================================================
   VERSO - ICÔNES À DROITE
   PUBLICATION HORIZONTALE CANDIDAT
   ========================================================= */

.logo-back-v2 .back-content-candidat {
    position: relative;
    width: 100%;
    height: 100%;

    padding-top: 18px;
    padding-right: 34px;
    padding-bottom: 18px;
    padding-left: 5px;

    box-sizing: border-box;
    overflow-y: auto;
}

.logo-back-v2 .back-content-candidat .icons-verso-candidat {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
}

.logo-back-v2 .back-content-candidat .icons-verso-candidat .icon-btn,
.logo-back-v2 .back-content-candidat .icons-verso-candidat .btn-return {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    flex: 0 0 22px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    box-sizing: border-box;
    font-size: 17px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.logo-back-v2 .back-content-candidat .icons-verso-candidat .icon-vide {
    opacity: 0.30;
    cursor: default;
}

.logo-back-v2 .back-content-candidat .icons-verso-candidat .btn-return:focus,
.logo-back-v2 .back-content-candidat .icons-verso-candidat .btn-return:focus-visible,
.logo-back-v2 .back-content-candidat .icons-verso-candidat .btn-return:active {
    border: 0;
    outline: none;
    box-shadow: none;
}


.logo-back-v2 .back-content-candidat p{
    margin: 0;
    padding-right: 5px;
}

.btn-cv-verso {
    position: static;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 1px solid #cfcece;
    border-radius: 50%;
    background: #dad9d9;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.btn-cv-verso:hover {
    background: #000;
    border-color: #000;
    text-decoration: none;
}

/* RETOUR */
  .flip-card-back .btn-video {
    position: static;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: -7px;
    border: 1px solid #cfcece;
    border-radius: 50%;
    background: #cfcece;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}


  /* HOVER */
  .flip-card-back .btn-video:hover {
    background: #000;
    border-color: #000;
    text-decoration: none; 
  }

/* =========================================================
   SLIDER CANDIDAT
   ========================================================= */

.slide.slide-candidat {
    border: 1px solid #b4b4b4;
    border-radius: 10px;
    padding: 8px;
    box-sizing: border-box;
}

/* =========================================================
   PHOTO CANDIDAT - SLIDER
   ========================================================= */

.slide-photo-candidat {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 12px auto 5px auto;
    flex-shrink: 0;
    overflow: visible;
}

.slide-photo-candidat a {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-photo-candidat img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}


/* =========================================================
   ICÔNE + DU SLIDER CANDIDAT
   ========================================================= */

    .flip-card-front .icon-plus {
        position: absolute;
        top: -10px;
        right: 5px;
        z-index: 100;
        width: 22px;
        height: 22px;
    }

 .icon-plus button {
    display: block;

    width: 22px;
    height: 22px;

    margin: 0;
    padding: 0;

    border: 0;
    background: transparent;

    line-height: 0;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

 .icon-plus .plus-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0 0 3px 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 50%;
    background: #fa720a86;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 22px;

    cursor: pointer;
}

 .icon-plus .plus-3d:hover {
    background: #fa720a;
}

.plus-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #fa720a86;
    color: white;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    box-sizing: border-box;
  }

  .plus-3d:hover {
      background: #fa720a;
      text-decoration: none;
      border: none;
  }

  .icon-plus .plus-3d:focus,
  .icon-plus .plus-3d:active {
    outline: none !important;
    box-shadow: none !important;
    border: 0;
  }
  
  .icon-plus {
    position: absolute;
    top: 5px;
    left: auto;
    right: -12px;
    z-index: 9999;
    width: 22px;
    height: 22px;
  } 

  .icon-plus button {
      display: block;
      width: 22px;
      height: 22px;
      padding: 0;
      margin: 0;
      border: 0;
      background: transparent;
      line-height: 0;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
  } 
  
  .icon-plus button:focus,
  .icon-plus button:focus-visible,
  .icon-plus button:active {
      outline: none !important;
      box-shadow: none !important;
      border: none !important;
  } 

  


 .icon-plus button:focus,
 .icon-plus button:focus-visible,
 .icon-plus button:active {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* =========================================================
   INFORMATIONS SOUS LA PHOTO
   ========================================================= */

/* =========================================================
   CARROUSELLOG - TEXTE SOUS LA PHOTO
   ========================================================= */

#sliderTrack1 .slide-detail-candidat {
    width: 100%;
    min-height: 0;
    padding: 10px 6px 8px 6px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    /* était 10px : cela poussait le texte trop bas */
    top: 2px;
}

#sliderTrack1 .slide-detail-candidat p {
    margin: 0px 0 2px 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* dernier texte */
#sliderTrack1 .slide-detail-candidat p:last-child {
    margin-bottom: 0;
}

.slide-detail-titre-candidat {
    color: #333333;
    font-weight: 600;
}

.profession-candidat {
    font-size: 11px;
}

.experience-candidat {
    font-size: 11px;
    font-weight: 400;
}

/* =========================================================
   VERSO CANDIDAT - SLIDER
   UNE SEULE BARRE DE DÉFILEMENT
   ========================================================= */


/* Le verso complet ne doit PAS avoir sa propre scrollbar */
.slide.slide-candidat .flip-card-back {
    overflow: hidden !important;
}


/* Le formulaire contient principalement les icônes.
   On le sort du flux pour qu'il ne pousse pas le contenu. */
.slide.slide-candidat .flip-card-back > .form-interet-offre {
    position: absolute;

    top: 0;
    right: 0;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    overflow: visible;

    z-index: 100;
}


/* =========================================================
   CONTENU DÉFILANT
   ========================================================= */

.slide.slide-candidat .detail-verso-candidat {
    position: absolute;

    top: -30px;
    left: 0;
    right: 0;
    bottom: 0;

    width: auto;
    height: auto;

    /*
     * Espace réservé aux icônes.
     * La scrollbar reste au bord droit.
     */
    padding: 32px 50px 10px 10px;

    box-sizing: border-box;

    overflow-x: hidden;
    overflow-y: auto;

    text-align: left;

    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.2px;
}


/* Paragraphes */

.slide.slide-candidat .detail-verso-candidat p {
    margin: 0 0 7px 0;
    padding: 0;

    text-align: left;
}


/* Titre */

.slide.slide-candidat .titre-verso-candidat {
    margin-bottom: 10px !important;

    color: #016f94;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   BOUTONS DU VERSO
   ========================================================= */

    .haut-verso-btn {
    position: absolute;
    top: 0px;
    right: 8px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    }

/* =========================================================
   ICÔNES DU VERSO SLIDER
   À GAUCHE DE LA SCROLLBAR
   ========================================================= */

.slide.slide-candidat .haut-verso-btn {
    position: absolute;
    top: 5px;
    right: 18px; /* la scrollbar */
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* RETOUR */
 .btn-return {
    cursor: pointer;
}



/* =========================================================
   BOUTON ACTION CANDIDAT
   ========================================================= */

.btn-submit-candidat {
    margin: 0;
    padding: 0;

    border: none;
    background: transparent;

    font-size: 20px;

    cursor: pointer;

    transition: transform 0.15s ease;
}

.btn-submit-candidat:hover {
    transform: scale(1.15);
}

