/* Connexion et inscription : carte centrée, charte rouge / noir / jaune, sans dégradé. */
.eloto-auth {
  --au-accent: var(--eloto-accent, #e30613);
  --au-border: #d9dce1;
  --au-muted: #636b78;
  max-width: 420px;
  margin: 1.25rem auto;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--au-border);
  border-radius: 12px;
}

.eloto-auth__title { margin: 0 0 .15rem; font-size: 1.5rem; font-weight: 900; }
.eloto-auth__lead { margin: 0 0 1rem; color: var(--au-muted); }

.eloto-auth__error {
  margin: 0 0 1rem;
  padding: .6rem .8rem;
  color: #7a0a12;
  background: #fdecee;
  border: 1px solid var(--au-accent);
  border-radius: 8px;
  font-weight: 700;
}

.eloto-auth__form { display: grid; gap: .85rem; }
.eloto-auth__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.eloto-auth__field { display: grid; gap: .25rem; font-weight: 800; }
.eloto-auth__field > span:first-child { font-size: .9rem; }
.eloto-auth__field small { color: var(--au-muted); font-weight: 400; font-size: .78rem; }
.eloto-auth__field input {
  width: 100%;
  min-height: 48px;
  padding: 0 .8rem;
  font-size: 1rem; /* 16 px : pas de zoom sur iOS */
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--au-border);
  border-radius: 8px;
}
.eloto-auth__field input:focus { outline: 2px solid var(--au-accent); outline-offset: 0; border-color: var(--au-accent); }
.eloto-auth__field input.is-bad { border-color: var(--au-accent); }

.eloto-auth__pass { position: relative; display: block; }
.eloto-auth__pass input { padding-right: 4.2rem; }
.eloto-auth__eye {
  position: absolute; top: 0; right: 0;
  min-width: 44px; height: 100%;
  padding: 0 .8rem;
  color: var(--au-muted);
  background: none; border: 0;
  font-size: .85rem; font-weight: 800;
  cursor: pointer;
}

.eloto-auth__hint { color: var(--au-accent) !important; font-weight: 700 !important; }

.eloto-auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; font-size: .9rem; }
.eloto-auth__check { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.eloto-auth__row a, .eloto-auth__alt a { font-weight: 800; }

.eloto-auth__submit {
  min-height: 48px;
  color: #fff;
  background: var(--au-accent);
  border: 0;
  border-radius: 8px;
  font-size: 1rem; font-weight: 850;
  cursor: pointer;
}
.eloto-auth__submit:hover { filter: brightness(.92); }
.eloto-auth__submit:disabled { opacity: .6; cursor: progress; }

.eloto-auth__alt { margin: 0; text-align: center; color: var(--au-muted); }
