/*
Theme Name:     Intermitent site
Author:         Ambre
Template:       twentytwentyfour                             
Version:        0.1.0
*/

* {
    box-sizing: border-box;
  }


html, body {
    font-family: 'Montserrat', sans-serif;
    overscroll-behavior: none; /* bloque le rebond */
    overflow-x: hidden;
}

.max-height {
    height: 100vh;
 }

.height-100 {
    height: 100%;
}

.width-50 {
    width: 50%;
}

.p-r-l-40 {
    padding: 0px 40px 0px 40px;
}

.content-center {
    align-content: center;
}

* {
    box-sizing: border-box;
  }

#wrapper {
    display: flex;
    font-size: 0;
  }

/* GENERIC */

/* RESET GLOBAL */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
  
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    
    padding: 0.5rem 1rem;
    margin: 0;
    font: inherit;
    color: inherit;
    background-color: transparent;
    
    cursor: pointer;
    background-image: url("assets/icons/chevron-down.png"); /* ton icône personnalisée */
    background-repeat: no-repeat;
    background-position: right 10px center; /* décale le chevron */
    background-size: 15px;
    font-size: 14px;
  }
  
  /* Supprime la flèche native sur IE et anciens Edge */
  select::-ms-expand {
    display: none;
  }
  
  /* Supprime aussi les styles iOS/Safari */
  select:focus {
    outline: none;
  }
  
  /* Si tu veux uniformiser les options aussi */
  option {
    font: inherit;
    color: inherit;
    background: white;
  }

select::after {
    /* content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 12px;
    height: 12px;
    pointer-events: none;
    transform: translateY(-50%);
    background: url("assets/icons/chevron-down.png") no-repeat center center;
    background-size: contain; */
}
  
  /* Pour compatibilité IE/Edge anciens */
  select::-ms-expand {
    display: none;
  }

/* select::picker-icon {
    background-image: url("assets/icons/chevron-down.png"); 
} */

.button {
    text-align: center;
    padding: 10px 10px 10px 10px;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat';
    cursor: pointer;
}

.button.danger {
    font-weight: bold;
    font-size: 12px;
    color: #e21820;
    background-color: #f1f2f5;
    border: 2px solid #e21820;
}

.button a {
    text-decoration: none;
    color: #0d1220;
}

h2 {
    font-size: 28px;
    font-weight: 900;
    color: #0d1220;
}

.hidden {
    display: none;
}

.padding-b-10 {
    padding-bottom: 10px;
}

.margin-b-20 {
    margin-bottom: 20px;
}

.text-prewrap {
    white-space: pre-wrap;
}

/* HEADER */

.header,
.footer {
  width: 100%;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f1f1f1;
  background-color: #0d1220;
}

.header .button {
    display: inline-block;
    font-size: 14px;
    background-color: #ece6ce;
    color: #0d1220;
    font-weight: 900;
}

.header .button:first-child {
    margin-right: 20px;
}

.go-home {
    background-image:  url("assets/pictures/5.png"); /* ton icône personnalisée */;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 50px;
    width: 130px;
}

.rond {
    background-image:  url("assets/pictures/focus-antilles-icon.png"); /* ton icône personnalisée */;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50px;
    height: 50px;
    background-color: #ece6ce;
    border-radius: 100%;
}


/* HOME PAGE */

.home-page {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.home-page #wrapper {
    display: flex;
    height: 90vh;
  }

.home-page #wrapper .wrapper-container {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page #wrapper .wrapper-container.img {
    background-size: cover;
    background-position: center;
}


.home-page #wrapper .wrapper-container {
    background-color: #0d1220;
}

.home-page .img{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.home-page .wrapper-container h2 {
    font-size: 40px;
    color: #ece6ce;
    font-weight: 900;
    line-height: 50px;
    padding: 1.2rem 2rem;
}

.home-page h2 span {
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 5px;
    text-decoration-color: #6f86a7;
}

.search-and-about {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 80px;
    height: 100vh;
    min-height: 800px;
    justify-content: center;
}

.search-home-bar .search{
    display: flex;
    border-radius:  0 10px 10px 10px ;
    background-color: #f1f2f5;
    padding: 10px;
}
.search-home-bar .dep{
    padding-bottom: 5px;
}


.search-home-bar .dep span{
    border-radius:  10px 10px 10px 0px ;
    background-color: #f1f2f5;
    padding: 10px 20px;
    color: #0d1220;
    font-weight: 900;
}

.search-home-bar .search .search-child{
    display: flex;
    justify-content: space-between;
    width: 50%;
    align-items: center;
    background-color: #ece6ce;
    padding: 10px 20px;
}

.search-home-bar .search .search-child.left{
    border-right: 3px solid;
    border-radius: 30px 0 0 30px;
    border-color: #f1f2f5;
}

.search-home-bar .search .search-child.right{
    border-radius:  0 30px 30px 0 ;
}

.search-home-bar .search .search-child select{
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
}

.search-home-bar .search span, .search-home-bar .search select{
   font-size: 14px;
   font-family: 'MontSerrat';
   color: #6f86a7;
}

.search-home-bar .search select {
    outline: none;
    -webkit-outline: none;
    -moz-outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-home-bar .search .button{
    background-color: #f1f2f5;
    color: #0d1220;
}

.about .content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }


.about .title {
    padding-bottom: 20px ;
    text-align: center;
}

.about .section {
    border-radius: 10px;
    background-color: #ece6ce;
    padding: 20px;
}

.about .section h3{
    text-align: center;
    font-size: 16;
    font-weight: 900;
    padding-bottom: 20px;
}

.about .section p {
    line-height: 20px;
    font-size: 12px;
}

.contact .content p {
    font-size: 12px;
}

.contact .title {
    padding-bottom: 20px ;
    text-align: center;
}

.contact .content {
    display: flex;
    justify-content: center;
}


/* LOGIN PAGE / INSCRIPTION / MOT DE PASSE OUBLIE */
.login-page, .lost-password-page, .signup-page{
    display: grid;
    place-items: center;
    width: 100%;
    height: 100vh;
}

.signup-page .info{
    padding-top: 10px;
    width: 300px;
}

.signup-page .info .info-texte{
    font-size: 12px;
}

.signup-page .info .info-texte a {
    color: #0d1220;
}

.login-page .container, .lost-password-page .container, .signup-page .container{
    border-radius: 10px;
    padding: 30px;
    background-color: #f1f2f5;
    display: grid;
    place-items: center;
}

.login-page .container, .lost-password-page .container {
    width: 400px;
}

.login-page  h2, .lost-password-page h2, .signup-page h2{
    padding-bottom: 30px;
}

.login-page p.forget-pwd{
    padding-top: 10px;
    padding-bottom: 30px;
}

.login-page p.login-error {
    padding-top: 10px 0px;
    font-size: 12px;
}

.login-page p a{
    font-size: 12px;
    color: #0d1220;
}


.input {
    width: 100%;
}
.input *{
    width: 100%;
    margin-bottom: 10px;
}

.input input {
    margin-top: 10px;
    background-color: #b0bbcf;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Montserrat';
}

.input input:focus-visible {
    outline: none;
}

.input label, .checkbox label {
    color: #0d1220;
    font-size: 12px;
}

.buttons {
    display: grid;
}

.buttons .button{
    grid-column: 1 / 2;
    grid-row: 1;
}

.buttons .button:last-child{
    margin-left: 10px;
    grid-column: 2 / 2;
    grid-row: 1;
}

.buttons .button, .signup-page .button  {
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    background-color: #ece6ce;
    color: #0d1220;
    font-weight: 900;
}

.signup-page .button  {
    margin-top: 10px;
}

.signup-page .login-error {
    font-size: 12px;
    padding-bottom: 10px;
}


.password {
    display: flex;
    align-items: center;
}

.password img {
    margin: 0 0 0 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}


/* MOT DE PASSE OUBLIER PAGE */

.lost-password-page .button {
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    background-color: #ece6ce;
    color: #0d1220;
    font-weight: 900;
}

.lost-password-page .input {
    margin-bottom: 10px;
}

.error-gestion {
    font-size: 12px;
    padding-bottom: 20px;
}

/* PAGE PAR DEPARTEMENT */
/* 
/*Typing Loader*/

.typing_loader{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    -webkit-animation: typing 1s linear infinite alternate;
       -moz-animation: Typing 1s linear infinite alternate;
            animation: typing 1s linear infinite alternate;
    margin: 46px auto; /* Not necessary- its only for layouting*/  
    position: relative;
    left: -12px;
}
@-webkit-keyframes typing{
    0%{
        background-color: rgba(13, 18, 32, 1);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32,0.2), 
                    24px 0px 0px 0px rgba(13, 18, 32,0.2);
      }
    25%{ 
        background-color: rgba(13, 18, 32, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32, 2), 
                    24px 0px 0px 0px rgba(13, 18, 32,0.2);
    }
    75%{ background-color: rgba(13, 18, 32, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32,0.2), 
                    24px 0px 0px 0px rgba(13, 18, 32,1);
    }
}

@-moz-keyframes typing{
    0%{
        background-color: rgba(13, 18, 32, 1);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32,0.2), 
                    24px 0px 0px 0px rgba(13, 18, 32,0.2);
      }
    25%{ 
        background-color: rgba(13, 18, 32, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32, 2), 
                    24px 0px 0px 0px rgba(13, 18, 32,0.2);
    }
    75%{ background-color: rgba(13, 18, 32, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32,0.2), 
                    24px 0px 0px 0px rgba(13, 18, 32,1);
    }
}

@keyframes typing{
   0%{
        background-color: rgba(13, 18, 32, 1);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32,0.2), 
                    24px 0px 0px 0px rgba(13, 18, 32,0.2);
      }
    25%{ 
        background-color: rgba(13, 18, 32, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32, 2), 
                    24px 0px 0px 0px rgba(13, 18, 32,0.2);
    }
    75%{ background-color: rgba(13, 18, 32, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(13, 18, 32,0.2), 
                    24px 0px 0px 0px rgba(13, 18, 32,1);
      }
}

.department {
    overflow: hidden;
    padding: 1.2rem 2rem;
}

.department .info {
    /* padding: 10px; */
    background-color: #ece6ce;
    border-radius: 10px;
    margin-bottom: 10px;
}

.department .info-text {
    color: #0d1220;
    font-size: 10px;
    padding: 10px;
}

.select-dep {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}


.select-dep .select{
    border: none;
    background-color: transparent;
    font-family: 'MontSerrat';
    font-size: 14px;
    color: #6f86a7;
    margin-right: 20px;
    padding: 5px;
    background-color: #ece6ce;
    border-radius: 100px;
}

.select-dep select{
    border: none;
    background-color: transparent;
    font-family: 'MontSerrat';
    font-size: 14px;
    color: #6f86a7;
    width: 140px;
}

.select-dep form select:focus-visible {
    outline: none;
}

.select-dep .button{
    background-color: #f1f2f5;
    font-size: 14px;
    color: #0d1220;
}

.department .filters{
    background-color: #f1f2f5;
    border-radius: 10px;
    padding: 15px;
}

.department .filters .filters-container{
    overflow-y: auto;
}

.department .filters h3 {
    font-weight: 900;
}

.department .filters .title-result {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
}

.department .filters .filter-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.department .filters .filter-title h3 {
    font-weight: 600;
    font-size: 14px;
}

.chevron-toggle{
    background-color: transparent;
    background-image: url("assets/icons/chevron-up.png"); /* ton icône personnalisée */
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    width: 15px;
    height: 15px;
}

.unvisible{
    background-image: url("assets/icons/chevron-down.png"); /* ton icône personnalisée */
}

.department .filters .input-container.unvisible{
    display: none;
}

.department .filters .title-result span{
    font-weight: 900;
}

.filter-container .input-container {
    margin-top: 10px;
    padding-left: 5px;
}

.filter-container .input-container div{
    padding-bottom: 2px;
}

.filter-container, .title-result {
    border-bottom:solid  2px #b0bbcf;
    padding: 10px 0px;
}

.department .list-container {
    /* display: flex;
    height: calc(100vh - 200px);
    overflow: hidden; */
    
    display: grid;
    grid-template-columns: 280px 1fr;
    height: calc(100vh - 190px); /* adapte selon ton header/padding */
    gap: 20px;
}

.department .list-container .current-filters {
    /* display: block; */
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* padding-bottom: 10px; */
}

.department .filters, .department .list-result {
    /* padding-left: 10px;
    overflow: hidden; */
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

.department .filters, .department .list-result .list-scroll{
    flex-grow: 1;
    overflow-y: auto; /* ✅ le scroll se fait ici */
    padding-right: 10px;
    /* padding-bottom: 20px; */
    /* overflow: scroll; */
    /* height: calc(100vh - 228px); */
}


.department .list-container .current-filters .bubule-filter {
    background-color: #b0bbcf;
    padding: 5px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 10px;
}

.department .list-container .current-filters .bubule-filter span{
    color: #0d1220;
    font-size: 12px;
    padding-left: 5px;
}

.department .list-container .current-filters .bubule-filter .cross{
    font-weight: 900;
    padding: 0px 5px;
}

.department .tech-card {
    display: inline-block;
    width: 250px;
    background-color: #f1f2f5;
    border-radius: 0 0 10px 10px;
    margin: 0 10px 10px 0;
}

.department .tech-card .background-picture{
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px;
}

.department .tech-card .background-picture div{
    position: absolute;
    bottom: 0;
    padding: 10px;
}


.department .tech-card .etiquette{
    padding: 10px;
}

.department .tech-card h4{
    font-size: 14px;
    color: #0d1220;
    font-weight: 900;
}

.department .tech-card span{
    font-size: 12px;
    color: #f1f2f5;
    font-weight: 900;
}

.department .tech-card .etiquette span{
    color: #0d1220;
}


/* PAGE PROFILE */

.profil-page {
    overflow: hidden;
    padding: 1.2rem 2rem;
    display: flex;
    height: 88vh;
}

.profil-page .user-info {
    min-width: 200px;
    overflow-y: auto;
    background-color: #f1f2f5;
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

.profil-page .user-info .button {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 180px;
}

.profil-page .container {
    overflow-y: auto;
}

.profil-page .user-info .user-picture{
    height: 170px;
    width: 170px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.profil-page h4{
    font-size: 12px;
    font-weight: 600;
    color: #0d1220;
    padding-bottom: 5px;
}

.profil-page .sub-title {
    font-size: 10px;
    font-weight: 600;
    color: #6f86a7;
    margin-bottom: 5px;
}

.profil-page .user-name {
    padding-bottom: 15px;
}

.profil-page .user-section {
    padding-bottom: 10px;
    overflow-wrap: break-word;
}

.profil-page .container {
    display: flex;
    padding: 10px 0px 0px 20px;
    gap: 10px;
    width: 100%;
}

.profil-page .container > div {
    width: 50%;
}

.profil-page .container h3{
    font-weight: 900;
    color: #0d1220;
    font-size: 14px;
    margin-bottom: 15px;
}

.profil-page .container .experience-card{
    position: relative;
    padding: 0px 0px 10px 25px;
    font-size: 12px;
    color: #0d1220;
 }

.profil-page .container .experience-card::before{
    left: -2.5px;
    top: calc(50% - 15px);
    position: absolute;
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    background-color: #ece6ce;
 }


.profil-page .container .experience-card .title{
    font-weight: 600;
 }

 .profil-page .container .experience-card > div{
    padding-bottom: 5px;
 }

 .profil-page .bubule, .edit-profile-page .bubule {
    background-color: #b0bbcf;
    padding: 5px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 10px;
}

.profil-page .bubule span {
    display: table;
    margin: 0 auto;
    color: #0d1220;
    font-size: 12px;
    padding: 0px 10px;
}

.profil-page .presentation-container{
    color: #0d1220;
    font-size: 12px;
    line-height: 20px;
}

.profil-page .container-right > div, .profil-page, .container-left > div{
    padding-bottom: 15px;
}

.profil-page a{
    color: #0d1220;
}

.profil-page .materiel-picture {
    display: block;
    height: 100px;
    width: 100px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.profil-page .non-com {
    font-size: 12px;
    color: #6f86a7;
}


.fixed-button {
    position: fixed;
    bottom: 20px;
    right: 40px;
}

.fixed-button  .button {
    display: inline-block;
    font-size: 14px;
    background-color: #ece6ce;
    color: #0d1220;
    font-weight: 900;
}


/* EDIT PROFIL PAGE */
.edit-profile-page {
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edit-profile-page select {
    appearance: none;        /* enlève la flèche native */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("assets/icons/chevron-down.png"); /* ton icône personnalisée */
    background-repeat: no-repeat;
    background-position: right 10px center; /* décale le chevron */
    background-size: 15px;
    font-size: 14px;
  }

.edit-profile-page .error {
    color: #e21820;
    font-size: 12px;
    margin-top: -5px;
}

.edit-profile-page h3 {
    font-size: 14px;
    color: #0d1220;
    font-weight: 900;
    padding-bottom: 20px;
}

.edit-profile-page .section{
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f1f2f5;
    border-radius: 10px;
}

.edit-profile-page .half-child {
    display: flex;
    gap: 10px;
}

.edit-profile-page .split-section {
    width: 50%;
}

.edit-profile-page .child-section{
    display: flex;
    gap: 20px;
}

.edit-profile-page .input-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.edit-profile-page .input-section .input, .edit-profile-page .section-experience .input{
    flex: 1 1 48%; /* deux colonnes fluides */
    min-width: 250px;
}

.edit-profile-page .input-section.no-gap{
    gap: 0;
}



.input input,
.input select,
.input textarea {
    margin-top: 10px;
    background-color: #b0bbcf;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Montserrat';
    width: 100%;
    font-size: 14px;
}


.edit-profile-page .input {
    width: auto;
    vertical-align: top;

}

.edit-profile-page .input-section .input select {
    margin-top: 10px;
    background-color: #b0bbcf;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Montserrat';
}

.multiple-select {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    padding: 8px;
    background-color: #b0bbcf;
    color: #0d1220;
    border: none;
    font-family: 'Montserrat';
}

.multiple-select:focus {
    outline: none;
}

.edit-profile-page .info {
    /* padding: 10px; */
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
}

.edit-profile-page .info-text {
    color: #0d1220;
    font-size: 10px;
    padding: 10px;
}

.edit-profile-page .experience .info-text:first-child {
    color: #0d1220;
    font-size: 10px;
    padding: 10px 10px 5px 10px;
}

.edit-profile-page .experience .info-text:last-child {
    color: #0d1220;
    font-size: 10px;
    padding: 0px 10px 10px 20px;
}

.edit-profile-page .section .info-text li {
   padding-top: 5px;
}

.edit-profile-page .info-icon img {
    height: 20px;
    margin-left: 10px;
}

/* TOGGLE */

.toggle-section > div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.toggle-section .label {
    font-size: 12px;
    color: #0d1220;
    margin-left: 10px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 15px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    bottom: -2.5px;
    background-color: #0d1220;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #b0bbcf;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #b0bbcf;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

/* EXPERIENCES */

.edit-profile-page .section-experience .experience{
    /* padding: 10px; */
    /* background-color: #fff; */
    /* border-radius: 10px;
    margin-bottom: 20px; */
    padding-bottom: 20px;
    /* display: flex;
    flex-wrap: wrap;
    gap: 10px; */
}

.edit-profile-page .section-experience .experience.unvisible > div:not(:first-child){
    display: none;
}

.edit-profile-page .section-experience .experience > div:first-child p{
    display: none;
}

.edit-profile-page .section-experience .experience.unvisible > div:first-child p{
    display:block;
    width: 100%;
    font-size: 12px;
    padding-left: 20px;
}


.edit-profile-page .section-experience .experience > div:first-child{
    border-radius: 10px 10px 0 0;
    background-color: #b0bbcf;
    cursor: grab;
}

.edit-profile-page .section-experience .experience.unvisible > div:first-child{
    border-radius: 10px;
}

.edit-profile-page .section-experience .experience > div:last-child{
    border-radius: 0px 0px 10px 10px;
}

.edit-profile-page .section-experience .experience > div{
    background-color: #fff;
    padding: 10px;
}



.edit-profile-page .section-experience .experience.dragging {
    opacity: 0.6;
  }

.drag-handle {
    cursor: grab;
    font-size: 18px;
}

.edit-profile-page .section-experience .experience .experience-title {
    display: flex;
    gap: 30px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #f1f2f5;
}


.edit-profile-page .section-experience .experience .experience-input {
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.edit-profile-page .section-experience .experience .experience-select-input .input {
    flex: none;
}


.edit-profile-page .section-experience .experience .experience-select-input > div:first-child {
    width: 100%;
    background-color: #f1f2f5;
    padding: 10px 10px 0px 10px;
    border-radius: 10px 10px 0px 0px;
    flex: none;
}

.edit-profile-page .section-experience .experience .experience-input-to-set {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    border-radius: 0px 0px 10px 10px;
    background-color: #f1f2f5;
    padding: 0px 10px 10px 10px;
}

.loader-experience {
    background-color: #fff;
    padding: 5px;
    border-radius: 10px;
}

.edit-profile-page .section-experience .experience #add-experience-field {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 10px;
    color: #fff;
    background-color: #82bc5d;
}

.edit-profile-page .section-experience .experience .experience-title .input {
    background-color: #b0bbcf;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Montserrat';
    flex: 0;
}

/* .edit-profile-page .section-experience .experience .experience-title .input::placeholder {
    color: #f1f2f5;
} */

.edit-profile-page .section-experience .experience .experience-buttons {
    display: flex;
    gap: 10px;
    padding-top: 20px;
}

.edit-profile-page .section-experience .experience .experience-buttons button{
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    width: 100%;
    background-color: #e21820;
    color: #f1f2f5;
}

.edit-profile-page .section-experience .experience .experience-buttons button:last-child{
    background-color: #82bc5d;
}

.edit-profile-page .section-experience .experience .experience-header{
    display: flex;
    justify-content: space-between;
    padding: 10px 10px 10px 10px;
    align-items: center;
}

.edit-profile-page .section-experience .experience .experience-header.new{
    justify-content: end;
}

.edit-profile-page .section-experience #add-experience {
    margin-top: 10px;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    border: none;
    padding: 10px 0;
    font-weight: 900;
    font-size: 12px;
    color: #0d1220;
}


.remove-exp {
    width: fit-content;
    padding: 0;
}

.remove-exp img{
    width: 35px;
    border-radius: 10px;
    padding: 10px;
    background-color: #b0bbcf;
    cursor: pointer;
}


.edit-profile-page .section-annexe .annex-input, .edit-profile-page .section-link .link-input{
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
}
.edit-profile-page .section-link .input-link-url{
    width: 100%;
}


.edit-profile-page .section-link .link-input{
    align-items: flex-end;
}


.edit-profile-page .section-annexe #add-competences,  .edit-profile-page .section-link #add-link, .edit-profile-page .section-link .remove-link{
    border: none;
    border-radius: 10px;
    background-color: #fff;
    height: 40px;
    width: 40px;
}

.edit-profile-page .bubule {
    margin-right: 10px;
    background-color: #fff;
}

.edit-profile-page .bubule span{
    margin: 0 auto;
    color: #0d1220;
    font-size: 12px;
    padding: 0px 5px;
}

.edit-profile-page .bubule .cross{
    font-weight: 900;
}


.edit-profile-page .description-container textarea {
    width: 100%;
    min-height: 250px;
}

.edit-profile-page .checkbox span{
    color: #0d1220;
    font-size: 12px;
    /* display: flex; */
}

.edit-profile-page .checkbox-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.edit-profile-page .checkbox > div{
    display: flex;
    margin-top: 10px;
    background-color: #b0bbcf;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'Montserrat';
    gap: 10px;
}





/* UPLOAD PHOTO */
.upload-file {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background-color: #b0bbcf;
    flex-shrink: 0;
}
  
.upload-file img.empty {
    padding: 30px;
}

.upload-file img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-upload {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.file-button {
    background-color: #ece6ce;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.file-button:hover {
    background-color: #d8d2b8;
}

.file-button img {
    width: 24px;
    height: 24px;
}

.remove-img{
    text-align: center;
    padding-top: 10px;
}

.remove-img img{
    width: 35px;
    border-radius: 10px;
    padding: 10px;
    background-color: #fff;
    cursor: pointer;
}

.edit-profile-page .section-materiel .materiel, .section-cv .cv {
    gap: 10px;
    display: flex;
    align-items: center;
}


.custom-select {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background: #f9f9f9;
    width: 100%;
  }
  
  .tags-container{
    flex-wrap: wrap;
    /* margin-bottom: 10px; */
    display: flex;
    gap: 10px;
  }
  
  .tag {
    margin-bottom: 5px;
    background: #ece6ce;
    color: #0d1220;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
  }
  
  .tag .remove, .edit-profile-page .bubule .cross {
    margin-left: 6px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .options-list div {
    padding: 5px 10px;
    border-radius: 20px;
    background: #dcdcdc;
    cursor: pointer;
  }
  
  .options-list div.selected {
    background: #6f86a7;
    color: white;
  }




  /* PAGE MOBILE */
  .mobile-wrapper {
    height: 100vh;
    display: block;
    background-color: #0d1220;
    color: #dcdcdc;
    padding: 20px;
    text-align: center;
  }

  .mobile-wrapper h1{
    font-size: 18px;
    font-weight: 900;
    color: #dcdcdc;
    padding-bottom: 20px;
  }


  .mobile-wrapper p{
    padding-bottom: 5px;
  }

  /* NOT FOUND 404 */

  .not-found{
    overflow: hidden;
    padding-top: 130px;
    padding-bottom: 20px ;
}

.not-found .container{
    height: 100%;
    border-radius: 10px;
    padding: 30px;
    background-color: #0d1220;
    display: grid;
    place-items: center;
    text-align: center;
}


.not-found .container .wrap h1{
    font-size: 24px;
    color: #ece6ce;
    padding-bottom: 40px;
}

.not-found .container .wrap h2{
    font-size: 50px;
    padding-bottom: 40px;
    color: #ece6ce;
}

.not-found .button{
    display: inline-block;
    font-size: 14px;
    background-color: #ece6ce;
    color: #0d1220;
    font-weight: 900;
}

  /* Confidentialité */

.confidentiality {
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 20px ;
}


.confidentiality .container{
    height: 100%;
    border-radius: 10px;
    padding: 30px 50px;
}

.confidentiality h1 {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 10px;
}

.confidentiality h2 {
    font-size: 20px;
    padding-bottom: 10px;
}

.confidentiality h3 {
    padding-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
}

.confidentiality div {
    padding-bottom: 30px;
    padding-left: 10px;
}

.confidentiality ul {
    padding-left: 10px;
}

.confidentiality li, .confidentiality p {
    padding-bottom: 5px;
    font-size: 14px;
}


.confidentiality li {
    list-style-type: disc;
}

.confidentiality .update-date {
    font-weight: bold;
    padding-bottom: 20px;
}



/* FOOTER  */


.footer div{
    bottom: 0;
    width: 100%;
    text-align: center;
}

.footer div a{
    padding: 10px;
    color: #ece6ce;
    font-size: 12px;
    text-decoration: underline;
    display: inline-block;
    
}



/* MODAL */

.modal {
    position: absolute;
    background-color: #f1f2f5;
    padding: 20px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin-inline: auto;
    margin-block: auto;
    width: fit-content;
    height: fit-content;
    box-shadow: 3px 3px 5px 6px #ccc;
}

.modal .modal-close {
    display: block;
    text-align: end;
}

.modal .modal-close span{
    cursor: pointer;
    font-weight: bold;
}

.modal .modal-container {
    padding: 40px;
    text-align: center;
}

.modal .modal-container h2 {
    padding-bottom: 30px;
    color: #e21820;
}

.modal .modal-container .modal-button {
    padding-top: 30px;
    display: block
}
.modal form {
    display: inline-block;
}

.modal .button {
    display: inline-block;
    font-size: 14px;
    background-color: #ece6ce;
    color: #0d1220;
    font-weight: 900;
    margin: 0 30px;
}

.modal .button.danger {
    border: none;
    display: inline-block;
    font-size: 14px;
    background-color: #e21820;
    color: #ece6ce;
    font-weight: 900;
}




/* ============================
   📱 TABLETTE (≤ 1024px)
============================ */
@media (max-width: 1024px) {
    .search-and-about {
        height: auto;
    }
    
  }
  
  /* ============================
     📱 MOBILE (≤ 600px)
  ============================ */
  @media (max-width: 600px) {
    .header {
        padding: 15px 10px;
    }

    /* MENU */

    .nav-menu ul {
        display: flex;
        gap: 2rem;
        list-style: none;
      }
      
      .nav-menu a {
        text-decoration: none;
        color: #ece6ce;
        font-weight: 500;
      }

    .menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
      }
      
      .menu-toggle .bar {
        height: 3px;
        width: 100%;
        background: #ece6ce;
        border-radius: 2px;
        transition: all 0.5s ease;
      }


    
    .menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
      }


      .menu-toggle {
        display: flex;
      }
    
      .nav-menu {
        position: absolute;
        top: 10%;
        left: 0;
        width: 100%;
        background: #0d1220;
        transform: translateX(100%);
        display: none;
        opacity: 0;
        /* visibility: hidden; */
        transition: all 0.3s ease;
      }
    
      .nav-menu.open {
        transform: translateX(0);
        display: block;
        opacity: 1;
        z-index: 10000;
        /* visibility: visible; */
      }
    
      .nav-menu ul {
        flex-direction: column;
        padding: 1rem;
      }
    
      /* Animation du bouton burger */
      .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translateY(5px) translateX(5px);
      }
      .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
      }
      .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px) translateX(10px);
      }

    /* END MENU */

    /* .home-page .wrapper-container .home-h2 {
        margin-top: 0;
    } */

    .home-page #wrapper .wrapper-container {
        width: 100%;
        height: auto;
    }

    .home-page #wrapper .wrapper-container.img {
        display: none;
    }

    .home-page #wrapper {
        flex-wrap: wrap;
    }

    .home-page .search-and-about {
        height: 100%;
        padding: 40px;
    }

    .search-home-bar {
        padding-top: 0;
    }

    .search-home-bar .dep span {
        border: none;
        background-color: transparent;
        padding: 0;
    }

    .search-home-bar .search {
        flex-wrap: wrap;
        border-radius: 10px
    }

    .search-home-bar .search .search-child{
       width: 100%;
       display: block;
       background-color: transparent;
       /* text-align: center; */
    }

    .search-home-bar .dep {
        padding-bottom: 10px;
    }

    .search-home-bar .search .search-child.left {
        background-color: #b0bbcf;
        border-radius: 30px;
        border: none;
    }

    .search-home-bar .search .search-child.right {
        padding: 20px 0 0 0;
    }

    .search-home-bar .search .search-child.right > * {
        display: block;
        width: 100%;
    }

    .search-home-bar .search .button {
        background-color: #b0bbcf;
    }

    .search-home-bar .search .search-child.right span {
        padding-bottom: 10px;
        font-weight: bold;
    }

    .home-page .about .content {
        grid-template-columns: auto;
    }



    /* PAGE CARD */

    .department .filters {
        display: none;
    }

    .department .select-dep {
        justify-content: space-between;
    }

    .department .tech-card {
        margin: 0;
    }

    .department .list-result .list-scroll{
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .department .list-container {
        grid-template-columns: auto;
    }


    /* PROFIL PAGE */
    .profil-page {
        height: auto;
        flex-wrap: wrap;
        overflow: scroll;
        gap: 20px;
    }

    .profil-page .user-info {
        width: 100%;
    }

    .profil-page .container {
        flex-wrap: wrap;
    }

    .profil-page .container > div {
        width: 100%;
        
    }

    .profil-page .container {
        overflow-y: hidden;
    }

    .profil-page .user-info .button {
        position: static;

    }


    /* FORMULAIRE  */

    .edit-profile-page .child-section {
        flex-wrap: wrap;
    }

    .edit-profile-page .half-child {
        flex-wrap: wrap;
    }

    .edit-profile-page .split-section {
        width: 100%;
    }
  }