/* -------------------- Base -------------------- */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans';
  margin: 0;
  background: #0b1020;
  color: #e5e7eb;
  line-height: 1.5;
}

/* Liens */
a {
  color: #93c5fd;
  text-decoration: none;
}


/* -------------------- Layout -------------------- */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;      /* centrer verticalement */
  justify-content: center;  /* centrer horizontalement */
  padding: 24px;
}

.shell {
  width: 100%;
  max-width: 960px; /* largeur max */
  text-align: center; /* centrer globalement le contenu */
}

/* -------------------- Bouton PDF -------------------- */
.btn-wide {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.btn-wide:hover { background: #1d4ed8; }

/* -------------------- Container principal -------------------- */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 32px;
  background: #0f172a;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* -------------------- Titres -------------------- */
h1 {
  margin: 0 0 24px;
  font-size: 2.4rem;
  text-align: center;
  font-weight: 700;
}
h2 {
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 600;
}

/* -------------------- Champs & Boutons -------------------- */
.input {
  width: 80%;         /* largeur */
  padding: 14px 16px;  /* hauteur + largeur intérieure */
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0b1220;
  color: #e5e7eb;
  margin: 8px 0 16px;
  font-size: 1rem;     /* taille du texte */
}

.input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.4);
}

.btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
}
.btn:hover { background: #1d4ed8; }

/* -------------------- Layout cartes -------------------- */
.row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #111827;
  border: 1px solid #1f2937;
  padding: 20px;
  border-radius: 12px;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  text-align: left;
}

/* -------------------- Badges -------------------- */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1f2937;
  border: 1px solid #374151;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.success { background: #065f46; color: #fff; }
.warning { background: #7c2d12; color: #fff; }

/* -------------------- Tables -------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid #1f2937;
  text-align: left;
  font-size: 0.95rem;
}

/* -------------------- Logo -------------------- */
.logo-under {
  display: block;
  margin: 70px auto 0 auto; /* ↑ plus d’espace au-dessus */
  max-width: 220px;
  height: auto;
  opacity: 0.95;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { padding: 20px; }
  .btn-wide { font-size: 1rem; padding: 12px; }
}

label {
  display: block;       /* force le label à prendre toute la largeur */
  margin-bottom: 6px;   /* petit espace sous le label */
  font-weight: 500;     /* un peu plus lisible */
}
