li.step {
  list-style-type: "⏳ ";
}
li.step.active {
  list-style-type: "👉 ";
}
li.step.nok {
  list-style-type: "🔲 ";
}
li.step.ok {
  list-style-type: "✅ ";
}
li.step.error {
  list-style-type: "❌ ";
}

/* ── Indicateur d'étapes ───────────────────────────────────── */
#panel-progress {
  padding: 0.5em 0;
  border-bottom: 1px solid var(--main-color-grey-3);
  margin-bottom: 0.5em;
  text-align: center;
}
#panel-progress ol.stepper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
#panel-progress li.step {
  list-style-type: none;
  font-size: 0.85em;
  color: var(--main-color-grey-1);
  padding: 0.25em 0.6em;
  cursor: default;
  position: relative;
  white-space: nowrap;
}
#panel-progress li.step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -0.25em;
  color: var(--main-color-grey-2);
}
#panel-progress li.step.done {
  color: var(--main-color-black-1);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
#panel-progress li.step.done:hover {
  color: var(--main-color-blue-1);
  text-decoration-style: solid;
}
#panel-progress li.step.active {
  color: var(--main-color-black-1);
  font-weight: bold;
  cursor: default;
}
#panel-progress.readonly li.step {
  cursor: default;
  pointer-events: none;
  text-decoration: none;
}

#alreadyConnected {
  text-align: center;
}
.identifiantUtilisateur-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  padding: 1em;
  border: 1px solid var(--main-color-grey-1);
  border-radius: 5px;
  margin: 0.5em auto 0;
}
.identifiantUtilisateur-icon {
  height: 3em;
}
.obsolete {
  display: none;
}
/*
.steppart {
  display: none;
}
.steppart.active {
  display: block;
}*/
section.steppart {
  text-align: center;
  /*text-align: left;*/
}
section form{
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
section form fieldset {
  border: none;
  /*background-color: var(--main-color-white-2);
  border-radius: 5px;*/
  padding: 0;
  /*padding: 1em;*/
  margin: 0;
  display: flex;
  flex-direction: column;
  /*display: grid;
  grid-template-columns: 1fr;*/

  /* gap: 1em; */
}
fieldset > input[type="submit"], button {
  align-self: center;
  padding: 0.5em 1em;
  font-size: 1em;
  margin-top: .8em;
}

fieldset > input[type="submit"]:disabled, button:disabled {
  background-color: var(--main-color-grey-3);
  color: var(--main-color-grey-1);
  cursor: not-allowed;
}

fieldset > input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="url"], select {
  /*text-align: center;*/
  margin-top: .7em;
  border-radius: 5px;
  padding: .4em .5em;
}
fieldset > input[type="text"]:disabled, input[type="password"]:disabled, input[type="email"]:disabled, select:disabled {
  color: var(--main-color-black-1);
}
fieldset > textarea {
  margin-top: .7em;
  min-height: 7em;
  /*min-height: 15em;*/
  resize: vertical;
  padding: .8em;
  border-radius: 5px;
}
fieldset > label {
  margin-top: 1.2em;
  font-weight: bold;
}
fieldset> p.labellight {
  font-weight: normal;
  font-size: 0.9em;
  color: var(--main-color-grey-1);
  margin-top: .3em;
  margin-bottom: .3em;
}

fieldset.grouped {
  border: 1px solid var(--main-color-grey-1);
  background-color: var(--main-color-white-2);
  border-radius: 5px;
  padding: 1em;
}

p.labelstrong {
  font-weight: bold;
  font-size: 1em;
  color: var(--main-color-black-1);
  margin-top: .3em;
  margin-bottom: .3em;
}
a.helper {
  margin: .3em;
  text-align: left;
  font-size: 0.9em;
  color: var(--main-color-grey-1);
  text-decoration: none;
}
input[type="radio"] {
  display: inline-block;
  margin-left: 0;
}
label.radiolabel, label.checkboxlabel {
  display: inline-block;
  font-weight: normal;
  margin-left: .3em;
  cursor: pointer;
  margin-top: .5em;
  padding: .2em;
  border: 1px solid var(--main-color-grey-1);
  background: var(--main-color-white-2);
  border-radius: 5px;
  /*max-width: 80%;
  */
/*  align-self: center;*/
  padding-right: .4em;
  user-select: none;
}
label.radiolabel:hover, label.checkboxlabel:hover {
  background-color: var(--main-color-white-3);
}
label.radiolabel:active, label.checkboxlabel:active {
  background-color: var(--main-color-orange-7);
}
label.radiolabel, label.checkboxlabel {
  transition-property: background-color;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
}
label.radiolabel {
  padding-left: 1em;
}
label.checkboxlabel {
  padding-left: .4em;
}
/* Append a checkmark to checked radio labels */
label.radiolabel::before, label.checkboxlabel::before {
  color: var(--main-color-grey-1);
  font-weight: normal;
  margin-right: .3em;
}
label.radiolabel::before {
  content: '⃝ ';
}
label.checkboxlabel::before {
  content: '▢ ';
}
input[type="radio"]:checked + label.radiolabel::before, input[type="checkbox"]:checked + label.checkboxlabel::before {
  content: '✅';
  font-weight: normal;
  margin-right: .3em;
}
input[type="radio"]:checked + label.radiolabel, input[type="checkbox"]:checked + label.checkboxlabel {
  padding-left: .3em;
  background-color: var(--main-color-orange-1);
  color: var(--main-color-black-2);
}
input[type="radio"], input[type="checkbox"] {
  display:hidden;
  height: 0;
  width: 0;
}
input[type="radio"]:focus, input[type="checkbox"]:focus {
  outline: none;
}

/* If radio is focused, add outline to label */
input[type="radio"]:focus + label.radiolabel, input[type="checkbox"]:focus + label.checkboxlabel {
  outline: 2px solid var(--main-color-blue-1);
  outline-offset: 2px;
}

a.helper.ai {
  visibility: hidden;
  opacity: 0;
  transition-property: opacity;
  transition-duration: .4s;
}

a.helper.ai.active {
  visibility: visible;
  opacity: 100%;
}
a.helper.ai.active:hover {
  opacity: 100% !important;
}

a.helper.ai {
  visibility: hidden !important;
}

textarea#Description {
  height: 30em;
}

#description-controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: .4em;
  margin-top: .5em;
}

#description-controls button {
  background: var(--main-color-blue-2);
  border: 1px solid var(--main-color-blue-1);
  margin-top: 0;
}

#description-controls button:hover:not(:disabled) {
  background: var(--main-color-blue-3);
}

#desc-version-label {
  display: block;
  font-size: 0.85em;
  color: var(--main-color-grey-1);
  text-align: center;
  margin-top: .3em;
  height: 1em;
}

@media (min-width:320px)  { /* smartphones, iPhone, portrait 480x320 phones */ 
  .content {
    min-width: none;
  }
}

@media (min-width:481px)  { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ 
  .content {
    min-width: 320px;
  }
}

@media (min-width:641px)  { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ 
  .content {
    min-width: 480px;
  }
}

@media (min-width:961px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */     
  .content {
    min-width: 641px;
  }
}
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ 
  .content {
    min-width: 961px;
  }
}
@media (min-width:1281px) { /* hi-res laptops and desktops */ }
