/* boite créer mon compte https://codepen.io/alvarotrigo/pen/QWqXYmG */
.connect .formulaire_inscription {
  width: 99%;
  max-width: 420px;
  min-width: 200px;
  margin: 0 auto;
  margin-bottom: 2rem;
}
@media (max-width:720px){
  .formulaire_inscription .editer-groupe {
      gap: 0 1rem;
  }
}
@media (max-width:480px){
  .formulaire_inscription .editer-groupe {
      display: block;
  }
}

/* les forms */
.connect {
  max-width: 700px;
}

.connect legend, .connect .explication{
  display: none;
}

.connect .formulaire_login{
  width: 99%;
  max-width: 420px;
  min-width: 200px;
  margin: 0 auto;
  background: transparent;
}

.connect .formulaire_inscription,
.connect .formulaire_spip .boutons {
  background: transparent;
}

.connect #formulaire_login {
  margin-bottom: 5rem;
}

.connect .erreur_message {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.connect input.text, 
.formulaire_login form input.text,
.connect textarea {
  width: 100%;
}

.connect .formulaire_spip fieldset, .connect .formulaire_spip .fieldset{
  margin-bottom: 0;
}

.connect .formulaire_spip .boutons {
  padding: 0 1rem;
}

/* gestion des tabs */

.tabs {
  position: relative;
  background: transparent;
  height: auto;
  display: flex;
}
.tabs::before,
.tabs::after {
  content: "";
  display: table;
}
.tabs::after {
  clear: both;
}
.tab {
  width: 50%;
}
.tab-switch {
  display: none;
}
.tab-label {
  position: relative;
  display: block;
  line-height: 4rem;
  height: 4.6rem;
  min-height: 2.7rem;
  background: #c3c3c3;
  color: #747474;
  cursor: pointer;
  top: 0;
  transition: all 0.25s;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  padding: calc( .1rem + 1vw - 16px );
  text-align: center;
}
.tab-label:hover {
  top: -0.25rem;
  transition: top 0.25s;
}
.tab-content {
  position: relative;
  height: auto;
  z-index: 1;
  left: 0;
  padding: 0.7rem calc(1rem + 1vw - 24px);
  background: #fae8c7;
  color: #2c3e50;
  opacity: 0;
  transition: all 0.35s;
  width: 200%;
}

#compte_coord .tab-content {
  top: -4px;
  left: 0;
  margin: 0 -100%;
}

#compte_login .tab-content {
  top: -5px;
  min-height: 89%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-switch:checked + .tab-label {
  background: #fae8c7;
  color: #3b2913;
  transition: all 0.35s;
  z-index: 1;
  top: -0.0625rem;
}
.tab-switch:checked + label + .tab-content {
  z-index: 2;
  opacity: 1;
  animation: fadein 0.8s;
}
