/* css/profil.css — formulaire de première connexion (réutilise les classes .depot-*) */

#profilModal .depot-fieldset legend em,
#profilModal .depot-field em{ font-style:normal; color:var(--muted); font-size:12px; }

#profilTypeAutre{
  margin-top:10px;
  width:100%;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:var(--radius-s);
}
#profilTypeAutre[hidden]{ display:none; }

/* Choix multiples sous forme de pastilles */
.profil-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.profil-chip{ position:relative; cursor:pointer; }
.profil-chip input{
  position:absolute;
  opacity:0;
  inset:0;
  cursor:pointer;
}
.profil-chip span{
  display:inline-block;
  padding:8px 12px;
  font-size:13px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--white);
  color:var(--black);
  transition:all .15s ease;
}
.profil-chip:hover span{ border-color:var(--blue); }
.profil-chip input:checked + span{
  background:var(--blue);
  color:var(--green);
  border-color:var(--blue);
}
.profil-chip input:focus-visible + span{ outline:2px solid var(--blue); outline-offset:2px; }

/* Consentements */
.profil-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:13px;
  line-height:1.4;
  cursor:pointer;
}
.profil-consent input{ margin-top:3px; flex:none; width:18px; height:18px; }
.profil-consent a{ color:var(--blue); }

/* Champs affichés en lecture seule (mode « Modifier mon profil ») */
#profilModal [data-creation-only] :disabled{
  opacity:.6;
  cursor:not-allowed;
  background:var(--bege);
}
#profilModal .profil-consent:has(:disabled){ cursor:not-allowed; opacity:.75; }