/* ==========================================================
   FORMULAIRE-DEMANDE.CSS
   Version allégée de formulaires.css, destinée à être chargée
   sur boutique.php (page vivante du site).

   Contrairement à formulaires.css (prévu pour les documents
   PDF autonomes), ce fichier NE contient PAS de reset global
   (*{box-sizing:border-box}, body{...}, select{...}) car ces
   règles globales, appliquées à toute la page boutique.php,
   perturbaient l'affichage du menu/burger/entête du site.

   On garde uniquement les classes utilisées par le formulaire
   "Demande de figurine", en limitant le box-sizing:border-box
   aux seuls champs concernés (pour que les largeurs en % ne
   débordent pas), sans y toucher pour le reste de la page.

   A charger dans boutique.php à la place de formulaires.css :
     <link rel="stylesheet" href="css/filerpoils.css" />
     <link rel="stylesheet" href="css/formulaire-demande.css" />
========================================================== */

/* ==========================================================
   BLOCS DU FORMULAIRE
========================================================== */

.ligne {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10mm;
    margin-top: 8mm;
}

.bloc {
    padding: 5mm;
}

.client {
    flex: 2 1 280px;
    min-width: 0;
    padding: 5mm;
}

.animal {
    flex: 1 1 220px;
    min-width: 0;
    padding: 5mm;
}

.pleine-largeur {
    width: 100%;
    flex-basis: 100%;
}

.ligne legend {
    font-weight: bold;
    color: #8b3f00;
    padding: 0 4mm;
}

/* ==========================================================
   CHAMPS DE FORMULAIRE
========================================================== */

.ligne,
.ligne * {
    box-sizing: border-box; /* limité à cette zone, ne touche pas au reste du site */
}

form.demande-figurine {
    padding-bottom: 10mm;
}

.form-ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3mm;
    margin: 1.5mm 0;
}

.form-ligne label {
    font-weight: bold;
    white-space: nowrap;
}

.form-ligne input,
.form-ligne textarea,
.form-ligne select {
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 11pt;
    padding: 0.8mm 1.5mm;
    min-width: 0;
    flex: 1 1 auto;
    border: 1px solid #808080;
    background: #FFFFFD;
}

.champ-grand   { width: 100%; }
.champ-moyen   { width: 100%; max-width: 55mm; }
.champ-petit   { width: 100%; max-width: 24mm; }
.champ-tel     { width: 100%; max-width: 38mm; }
.champ-poils {
    width: 100%;
    max-width: 33mm;
    margin-left: 8mm;
}

.label-normal { min-width: 32mm; flex-shrink: 0; }
.label-court  { min-width: auto; flex-shrink: 0; }

.zone-texte {
    width: 100%;
    height: 35mm;
    resize: none;
}