/* Écrans d'authentification : toujours clairs, quel que soit le thème choisi (le layout auth désactive theme-init.js). Feuille chargée uniquement par ce layout. */
body.auth-page {
  --auth-gold: #e0a300;
  --auth-brown: #8a6a3a;
  --auth-muted: #63636b;
  --auth-line: #eee7d8;
  min-height: 100vh;
  min-height: 100dvh;
  color: #18181b;
  color-scheme: light;
  background-color: #fbf9f4;
}

.auth-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem 1rem 1.25rem;
}

.auth-panel {
  width: 100%;
  max-width: 26rem;
  margin-block: auto;
  padding: 2.25rem 1.5rem 1.75rem;
  background-color: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgb(90 70 30 / .05), 0 20px 44px -24px rgb(90 70 30 / .28);
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.auth-brand p {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--auth-brown);
}

.auth-content {
  margin-top: 2rem;
}

.auth-content > h1,
.auth-content > h1 + p {
  text-align: center;
}

/* Pastille d'icône des écrans double authentification et mot de passe. */
.auth-content > span:first-child {
  margin-inline: auto;
}

.auth-content h1 {
  font-weight: 600;
  letter-spacing: -.02em;
}

.auth-content .text-ink-500 {
  color: var(--auth-muted);
}

body.auth-page .input {
  padding-block: .75rem;
}

body.auth-page .input:focus {
  border-color: var(--auth-gold);
}

.auth-forgot {
  margin-top: .5rem;
  text-align: right;
  font-size: .8125rem;
}

.auth-forgot a {
  font-weight: 500;
  color: var(--auth-brown);
}

.auth-forgot a:hover {
  text-decoration: underline;
}

/* Code à donner à l'administrateur. */
.auth-code {
  margin: 1.25rem 0;
  padding: .875rem;
  text-align: center;
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .2em;
  background-color: #fbf9f4;
  border: 1px dashed var(--auth-gold);
  border-radius: .75rem;
}

.auth-note {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--auth-line);
  font-size: .75rem;
  line-height: 1.5;
  color: var(--auth-muted);
  text-wrap: pretty;
}

.auth-foot {
  margin-top: 1.5rem;
  font-size: .75rem;
  color: var(--auth-muted);
}

@media (min-width: 480px) {
  .auth-panel {
    padding: 2.75rem 2.5rem 2.25rem;
  }
}
