/* Les .class */
.success_message {
            background-color: #e3ffe0;
            color: #00aa00;
            padding: 10px;
            border-radius: 5px;
            border: 1px solid #00aa00;
        }


.error_message {
            background-color: #ffe0e0;
            color: #a00;
            padding: 10px;
            border-radius: 5px;
            border: 1px solid #a00;
        }

.critical_message {
            background-color: #a00;
            color: white;
            padding: 10px;
            border-radius: 5px;
        }


.sending_button {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #f5a9b8;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}


.espacement {
  height: 20px;
}




/* Les blocks */
html {
  color: #0a1a3c;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  background: lightgray;
}


body {
  margin: 0 auto;
  padding: 24px;
}


fieldset, header {
  border: 1px solid;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  max-width: 520px;
  margin: 0 auto;
}


/* textes */
h1, h2, h3, p, label {
  color: #0a1a3c;
}

h1 {
  margin: 0 0 16px;
  font-size: 28px;
  text-align: center;
}


p {
  color: #1e3a8a;
}

a {
  color: var(--fg);
}

label {
  font-size: 14px;
}



img.image {
  width: 100%;          /* prend toute la largeur dispo */
  max-width: 500px;          /* Prend la largeur de sa carte */
  object-fit: cover;    /* L'image est rognée proprement, pas écrasée */
  border-radius: 8px;	/* Optionnel : arrondir les angles */
  vertical-align:middle;   
}