/* Page de dépôt compta.myver.fr — couleurs du nuancier Myver Sellerie (olive, or, gris). */
:root {
  --olive: #424b42;
  --olive-2: #565e55;
  --or: #bf974e;
  --or-clair: #f1e8d6;
  --creme: #f8f1ea;
  --gris: #747b6f;
  --gris-clair: #e2e4df;
  --fond: #f0f1ee;
  --texte: #2a2f2a;
  --carte: #ffffff;
  --rouge: #a8483a;
  --orange: #b7802a;
  --vert: #4f6b4a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #1f231f; --carte: #2a2f2a; --texte: #ecebe6; --gris-clair: #3c423b;
    --creme: #3a352c; --or-clair: #3d3426; --gris: #a8ada3;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.bandeau {
  background: var(--olive); color: #fff; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.marque { font-weight: 700; letter-spacing: .02em; }
.marque span { color: var(--or); font-weight: 400; }
.compte { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 0; }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
.carte { background: var(--carte); border-radius: 10px; padding: 20px; margin-bottom: 16px;
         box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.etroite { max-width: 420px; margin: 40px auto; }
h1 { font-size: 22px; margin: 0 0 4px; }
h2 { font-size: 18px; margin: 0 0 12px; }
.discret { color: var(--gris); font-size: 14px; margin: 4px 0 12px; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
input:not([type=file]):not([type=hidden]) {
  width: 100%; padding: 10px 12px; font-size: 16px; border: 1px solid var(--gris-clair);
  border-radius: 8px; background: var(--carte); color: var(--texte);
}
button { font: inherit; cursor: pointer; border-radius: 8px; }
.principal { background: var(--or); color: #fff; border: 0; padding: 11px 20px; font-weight: 600; margin-top: 14px; }
.principal:hover { background: #a8833f; }
.secondaire { background: transparent; color: var(--olive); border: 1px solid var(--olive); padding: 9px 16px; }
@media (prefers-color-scheme: dark) { .secondaire { color: var(--texte); border-color: var(--gris); } }
.lien { background: none; border: 0; color: #fff; text-decoration: underline; padding: 0; font-size: 14px; }
.zone {
  border: 2px dashed var(--or); background: var(--creme); border-radius: 10px; padding: 22px 16px;
  text-align: center; font-weight: 400; margin: 8px 0 0;
}
.zone strong { display: block; font-size: 17px; }
.zone span { color: var(--gris); font-size: 14px; display: block; margin-bottom: 10px; }
.zone input { max-width: 100%; }
.photo { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px;
         padding-top: 16px; border-top: 1px solid var(--gris-clair); }
.bouton-secondaire { margin: 0; font-weight: 600; }
.bouton-secondaire input { display: block; font-weight: 400; margin-top: 6px; max-width: 100%; }
.message { padding: 10px 12px; border-radius: 8px; margin: 8px 0; font-size: 15px; }
.message.ok { background: #e3ebdf; color: var(--vert); }
.message.info { background: var(--or-clair); color: var(--texte); }
.message.erreur { background: #f4dfdb; color: var(--rouge); }
.depots { list-style: none; margin: 0; padding: 0; }
.depots li { padding: 12px 0; border-top: 1px solid var(--gris-clair); }
.depots li:first-child { border-top: 0; }
.ligne-haut { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.nom { font-weight: 600; overflow-wrap: anywhere; }
.ligne-bas { color: var(--gris); font-size: 14px; }
.detail { font-size: 14px; color: var(--orange); margin-top: 2px; }
.pastille { font-size: 13px; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.pastille.vert { background: #e3ebdf; color: var(--vert); }
.pastille.orange { background: var(--or-clair); color: var(--orange); }
.pastille.rouge { background: #f4dfdb; color: var(--rouge); }
.pastille.gris { background: var(--gris-clair); color: var(--gris); }
.pastille.attente { background: var(--gris-clair); color: var(--texte); }

/* Double authentification */
.etapes { padding-left: 20px; margin: 8px 0; font-size: 15px; }
.etapes li { margin: 4px 0; }
.qr { background: #fff; border-radius: 8px; padding: 8px; width: fit-content; margin: 8px auto; }
.qr svg { display: block; }
.cle { font-size: 15px; letter-spacing: .05em; overflow-wrap: anywhere; color: var(--texte); }
label.case { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 14px; }
label.case input { margin-top: 3px; }
