/* RapiatFrais — feuille de style "corporate" (budget : 0 €).
   Gérard : "JMR a dit que le CSS c'est du superflu. J'ai gardé le Comic Sans par vengeance." */

:root {
  --rapiat-orange: #f4811f;
  --rapiat-vert: #2e7d32;
  --rapiat-gris: #313131;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
  color: var(--rapiat-gris);
  background: #fafafa;
  line-height: 1.5;
}

header.rapiat {
  background: var(--rapiat-orange);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
header.rapiat img { height: 36px; }
header.rapiat .titre { font-size: 20px; font-weight: bold; }
header.rapiat .slogan { font-size: 12px; opacity: 0.9; margin-left: auto; }

main { max-width: 760px; margin: 0 auto; padding: 24px 16px; }

.card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 20px;
  margin: 16px 0;
}

label { display: block; margin: 12px 0 4px; font-weight: bold; }
input, button, select {
  font-family: inherit;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
button {
  background: var(--rapiat-orange);
  color: #fff;
  border: none;
  cursor: pointer;
}
button:hover { filter: brightness(0.95); }

.flag {
  font-family: monospace;
  background: #111;
  color: #0f0;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  user-select: all;
}

.erreur { color: #c62828; font-weight: bold; }
.ok { color: var(--rapiat-vert); font-weight: bold; }

footer.rapiat {
  border-top: 1px solid #eee;
  padding: 18px 20px;
  font-size: 13px;
  color: #909090;
  text-align: center;
}
footer.rapiat a { color: var(--rapiat-orange); text-decoration: none; margin: 0 6px; }

/* le fameux panneau que Gérard n'a jamais su centrer (énigme A2) */
#panneau {
  position: absolute;
  left: -9999px; /* 3h à essayer de la centrer. Elle est partie à gauche. Tant pis, elle marche. */
}

pre.code {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.5;
}
