/* Sign-in page of crypto.shared-ledger.eu: system fonts only (font-src 'self', no font file is public here). */
:root {
  --bleu: #0b2a5b;
  --bleu-fonce: #071d40;
  --texte: #1d2433;
  --discret: #4f5869;
  --fond: #f2f4f8;
  --carte: #ffffff;
  --bord: #cfd6e3;
  --erreur: #9f1d18;
  --erreur-fond: #fdecea;
  --focus: #2f6fdb;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 16px;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.carte {
  width: 100%;
  max-width: 420px;
  padding: 32px 28px;
  background: var(--carte);
  border: 1px solid var(--bord);
  border-top: 4px solid var(--bleu);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(11, 42, 91, 0.08);
}

h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--bleu);
}

.chapeau {
  margin: 0 0 24px;
  color: var(--discret);
}

.champ { margin-bottom: 16px; }

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--bord);
  border-radius: 6px;
  font: inherit;
  color: inherit;
  background: #fff;
}

input:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.erreur:empty { display: none; }

.erreur {
  margin: 4px 0 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--erreur-fond);
  color: var(--erreur);
}

button {
  width: 100%;
  padding: 11px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--bleu);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:hover { background: var(--bleu-fonce); }

button:disabled { opacity: 0.65; cursor: progress; }

.pied {
  font-size: 0.875rem;
  color: var(--discret);
  text-align: center;
}
