/* ═══════════════════════════════════════════════════════════════════
   OBC International — plateforme (admin, espace client, app agent).
   Même langage graphique que le site vitrine : fond #080D18, accents
   or #E9B45A et cyan #3FB6C8, angles vifs, Barlow Condensed + Manrope.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #080D18;
  --bg-alt:    #0A1020;
  --panel:     #0D1526;
  --panel-2:   #070C16;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.14);
  --gold:      #E9B45A;
  --gold-soft: #F6D79A;
  --cyan:      #3FB6C8;
  --cyan-soft: #6FD3E2;
  --green:     #5BE0A8;
  --red:       #FF6B6B;
  --amber:     #FFB454;
  --text:      #EEF2F9;
  --text-2:    #C3CEE1;
  --text-3:    #93A2BD;
  --text-4:    #7E90AE;
  --text-5:    #5E6E8A;
  --head:      'Barlow Condensed', sans-serif;
  --body:      'Manrope', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
::selection { background: var(--gold); color: var(--bg); }
img { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; text-transform: uppercase; margin: 0; letter-spacing: .02em; }
h1 { font-size: 30px; line-height: 1.05; }
h2 { font-size: 23px; }
h3 { font-size: 19px; }

.eyebrow { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-4); }
.muted   { color: var(--text-4); }
.small   { font-size: 12px; }
.mono    { font-family: var(--head); letter-spacing: .04em; }
.nowrap  { white-space: nowrap; }
.right   { text-align: right; }
.center  { text-align: center; }
.hidden  { display: none !important; }
.grow    { flex: 1; }
.stack   { display: flex; flex-direction: column; }
.row     { display: flex; align-items: center; gap: 10px; }
.wrap    { flex-wrap: wrap; }
.spread  { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── Écran de connexion ─────────────────────────────────────── */
.login-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(63,182,200,.13), transparent 62%),
    radial-gradient(700px 400px at 10% 90%, rgba(233,180,90,.10), transparent 60%),
    var(--bg);
}
.login-card {
  width: 100%; max-width: 420px; background: var(--bg-alt);
  border: 1px solid var(--line-2); padding: 38px 34px;
}
.login-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.login-mark {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold); display: flex; align-items: center;
  justify-content: center; flex: none;
}
.login-mark::before {
  content: ''; width: 27px; height: 1px; background: rgba(233,180,90,.5);
}
.login-mark::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%) rotate(45deg);
  width: 0; height: 0; border-left: 6px solid transparent;
  border-right: 6px solid transparent; border-bottom: 12px solid var(--gold);
}

/* ── Coquille applicative ───────────────────────────────────── */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }

.side {
  background: var(--panel-2); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; position: sticky; top: 0;
  height: 100vh; overflow-y: auto;
}
.side-head { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.side-nav { padding: 12px 0; flex: 1; }
.side-group { padding: 16px 20px 7px; font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-5); }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 20px;
  color: var(--text-2); font-size: 13.5px; font-weight: 500; cursor: pointer;
  border-left: 2px solid transparent; transition: background .15s ease, color .15s ease;
}
.nav-item:hover { background: rgba(255,255,255,.03); color: #fff; }
.nav-item.active { background: rgba(233,180,90,.08); border-left-color: var(--gold); color: var(--gold); }
.nav-item .ico { width: 16px; text-align: center; flex: none; opacity: .85; }
.nav-badge {
  margin-left: auto; background: rgba(233,180,90,.16); color: var(--gold);
  font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 2px;
}
.side-foot { padding: 16px 20px; border-top: 1px solid var(--line); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 14px 26px;
  background: rgba(8,13,24,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.content { padding: 26px; flex: 1; }
.burger { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); padding: 8px 11px; cursor: pointer; }

/* ── Cartes, panneaux, grilles ──────────────────────────────── */
.card { background: var(--panel); border: 1px solid var(--line); padding: 20px 22px; }
.card.tight { padding: 14px 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }

.grid { display: grid; gap: 16px; }
/* Un élément de grille a par défaut `min-width: auto` : sa taille minimale de
   contenu élargit la piste, et sur téléphone un tableau large fait déborder
   toute la colonne. On autorise donc les pistes à se rétrécir. */
.grid > *, .map-shell > *, .row-grid > *, .line-row > * { min-width: 0; }
.card, .table-wrap { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g-2fr1 { grid-template-columns: 2fr 1fr; }
.g-1fr2 { grid-template-columns: 1fr 2fr; }

.kpi { background: var(--bg-alt); border: 1px solid var(--line); padding: 18px 20px; }
.kpi .v { font-family: var(--head); font-size: 34px; line-height: 1; color: var(--gold); }
.kpi .v.cyan { color: var(--cyan); }
.kpi .v.green { color: var(--green); }
.kpi .v.red { color: var(--red); }
.kpi .l { font-size: 11.5px; color: var(--text-4); margin-top: 6px; }

/* ── Tableaux ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  text-align: left; padding: 12px 14px; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-5); background: var(--panel-2);
  border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 600;
}
tbody td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.clickable { cursor: pointer; }
tbody tr.clickable:hover { background: rgba(255,255,255,.03); }
.empty { padding: 40px 20px; text-align: center; color: var(--text-4); font-size: 13.5px; }

/* ── Formulaires ────────────────────────────────────────────── */
label.field { display: block; margin-bottom: 12px; }
label.field > span,
.field-label {
  display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-4); margin-bottom: 6px;
}
.field-label .req { color: var(--gold); }
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], input[type=date], input[type=datetime-local], input[type=search],
select, textarea {
  width: 100%; padding: 11px 13px; background: var(--panel-2);
  border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--body); font-size: 13.5px; outline: none; border-radius: 0;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-4) 50%), linear-gradient(135deg, var(--text-4) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
select option { background: var(--panel-2); color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--text-5); }
input:disabled, select:disabled, textarea:disabled { opacity: .5; cursor: not-allowed; }
textarea { resize: vertical; min-height: 78px; }
input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--gold); }

fieldset { border: 1px solid var(--line); padding: 18px 20px 6px; margin: 0 0 18px; }
legend {
  font-family: var(--head); font-size: 15px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); padding: 0 8px;
}

/* ── Boutons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border: 0; cursor: pointer; font-family: var(--body);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--gold); color: #0A1122; transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--gold-soft); }
.btn.cyan { background: var(--cyan); color: #06131a; }
.btn.cyan:hover { background: var(--cyan-soft); }
.btn.ghost { background: none; border: 1px solid var(--line-2); color: var(--text); }
.btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); background: none; }
.btn.danger { background: none; border: 1px solid rgba(255,107,107,.45); color: var(--red); }
.btn.danger:hover { background: rgba(255,107,107,.10); }
.btn.sm { padding: 7px 12px; font-size: 10.5px; letter-spacing: .1em; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ── Badges & pastilles ─────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  border: 1px solid currentColor; background: rgba(255,255,255,.03);
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px;
  border: 1px solid var(--line-2); font-size: 12px; color: var(--text-2); background: var(--panel-2);
}
.avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid rgba(233,180,90,.4); background: var(--panel-2);
}
.avatar.ph {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: 15px; color: var(--gold);
}

.progress { height: 4px; background: rgba(255,255,255,.10); overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--gold)); }

/* ── Timeline des jalons ────────────────────────────────────── */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 14px 1fr; gap: 16px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-rail > span:first-child { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.tl-rail > .line { flex: 1; width: 1px; background: var(--line-2); min-height: 14px; }
.tl-body { padding-bottom: 20px; }
.tl-title { font-size: 13.5px; font-weight: 600; color: #fff; }
.tl-meta { font-size: 11.5px; color: var(--text-4); margin-top: 4px; line-height: 1.5; }

/* ── Carte ──────────────────────────────────────────────────── */
#map, .map { width: 100%; height: 100%; background: #0A1020; }
.map-shell { display: grid; grid-template-columns: 1fr 320px; border: 1px solid var(--line); background: var(--panel-2); height: calc(100vh - 150px); min-height: 460px; }
.map-side { border-left: 1px solid var(--line); overflow-y: auto; }
.map-row { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.map-row:hover, .map-row.on { background: rgba(233,180,90,.07); }
.leaflet-container { background: #0A1020 !important; font-family: var(--body) !important; }
/* Fond « Sombre » : tuiles OpenStreetMap standard recolorées côté client. */
.obc-tiles-dark { filter: invert(1) hue-rotate(185deg) brightness(.88) contrast(1.08) saturate(.55); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--panel); color: var(--text); border-radius: 0; border: 1px solid var(--line-2); }
.leaflet-popup-content { margin: 12px 14px; font-size: 12.5px; line-height: 1.55; }
.leaflet-bar a, .leaflet-bar a:hover { background: var(--panel); color: var(--text); border-color: var(--line-2); }
.leaflet-control-attribution { background: rgba(8,13,24,.8) !important; color: var(--text-5) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--text-4) !important; }
.pin {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--head); font-size: 12px; font-weight: 700; color: #08101c;
  box-shadow: 0 0 0 3px rgba(8,13,24,.7), 0 2px 10px rgba(0,0,0,.6);
}
.pin.a { background: var(--cyan); }
.pin.b { background: var(--gold); }
.pin.live { background: #fff; animation: pulseLive 2s ease-in-out infinite; }
@keyframes pulseLive { 0%,100% { box-shadow: 0 0 0 3px rgba(91,224,168,.35), 0 2px 10px rgba(0,0,0,.6) } 50% { box-shadow: 0 0 0 9px rgba(91,224,168,0), 0 2px 10px rgba(0,0,0,.6) } }

/* ── Autocomplete ville / code postal / SH ──────────────────── */
.ac-wrap { position: relative; }
.ac-list {
  position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 2px);
  background: var(--panel); border: 1px solid var(--line-2); max-height: 260px;
  overflow-y: auto; box-shadow: 0 20px 40px -16px rgba(0,0,0,.85);
}
.ac-item { padding: 10px 13px; cursor: pointer; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.05); }
.ac-item:last-child { border-bottom: 0; }
.ac-item:hover, .ac-item.on { background: rgba(233,180,90,.10); }
.ac-item .s { display: block; font-size: 11px; color: var(--text-4); margin-top: 3px; }

/* ── Modale ─────────────────────────────────────────────────── */
.modal-back {
  position: fixed; inset: 0; z-index: 200; background: rgba(4,7,14,.78);
  display: grid; place-items: center; padding: 20px; overflow-y: auto;
}
.modal {
  background: var(--bg-alt); border: 1px solid var(--line-2); width: 100%;
  max-width: 620px; max-height: 90vh; display: flex; flex-direction: column;
}
.modal.wide { max-width: 940px; }
.modal-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.modal-body { padding: 22px; overflow-y: auto; }
.modal-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.x-close { background: none; border: 0; color: var(--text-4); font-size: 22px; cursor: pointer; line-height: 1; padding: 0 4px; }
.x-close:hover { color: #fff; }

/* ── Notifications ──────────────────────────────────────────── */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 400; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.toast {
  background: var(--panel); border: 1px solid var(--line-2); border-left: 3px solid var(--cyan);
  padding: 13px 16px; font-size: 13px; line-height: 1.5; box-shadow: 0 18px 36px -14px rgba(0,0,0,.85);
  animation: toastIn .22s ease;
}
.toast.ok  { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

/* ── App agent (mobile-first) ───────────────────────────────── */
.agent-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.step-btn {
  padding: 14px 12px; border: 1px solid var(--line-2); background: var(--panel-2);
  color: var(--text); font-family: var(--body); font-size: 12.5px; font-weight: 600;
  cursor: pointer; text-align: left; line-height: 1.35; display: flex; gap: 9px; align-items: flex-start;
  transition: border-color .15s ease, background .15s ease;
}
.step-btn:hover { border-color: var(--gold); background: rgba(233,180,90,.06); }
.step-btn:disabled { opacity: .35; cursor: not-allowed; }
.step-btn .sdot { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; flex: none; }
.step-btn.done { border-color: rgba(91,224,168,.4); background: rgba(91,224,168,.06); }

.gps-banner {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px;
  border: 1px solid rgba(91,224,168,.35); background: rgba(91,224,168,.07); font-size: 12.5px;
}
/* La pastille se cale sur la première ligne, pas au milieu d'un texte qui
   passe sur deux ou trois lignes en écran étroit. */
.gps-banner > .dot { margin-top: 5px; }
.gps-banner > .btn { align-self: center; flex: none; }
.gps-banner.off { border-color: var(--line-2); background: var(--panel-2); color: var(--text-4); }

/* ── Étiquette / facture imprimables ────────────────────────── */
.print-sheet {
  background: #fff; color: #111; padding: 26px 30px; font-size: 12px;
  font-family: var(--body); line-height: 1.5;
}
.print-sheet h1, .print-sheet h2, .print-sheet h3 { color: #111; }
.print-sheet table { font-size: 11.5px; }
.print-sheet thead th { background: #f2f4f7; color: #444; border-bottom: 1px solid #ccd; }
.print-sheet tbody td { border-bottom: 1px solid #e6e9ef; color: #222; }
.print-rule { border: 0; border-top: 2px solid #111; margin: 14px 0; }

@media print {
  body { background: #fff; }
  .shell, .side, .topbar, .modal-head, .modal-foot, .toasts, .no-print { display: none !important; }
  .modal-back { position: static; background: none; padding: 0; display: block; }
  .modal, .modal.wide { max-width: none; max-height: none; border: 0; background: #fff; }
  .modal-body { padding: 0; overflow: visible; }
  .print-sheet { padding: 0; }
}

/* ── Lignes répétables (articles, colis, lignes de facture) ──
   Les gabarits de colonnes vivent ici et non en style inline, pour que les
   points de rupture puissent les replier sur téléphone. */
.row-grid { display: grid; gap: 10px; align-items: end; }
.row-grid.items { grid-template-columns: 2.2fr 1.4fr .7fr .9fr .9fr .8fr 36px; }
.row-grid.pkgs  { grid-template-columns: 1.4fr .8fr .8fr .8fr .9fr 1.2fr 36px; }
.line-row {
  display: grid; grid-template-columns: 1fr 90px 130px 130px 36px;
  gap: 10px; align-items: center; margin-bottom: 8px;
}
.row-del { margin-bottom: 12px; }

/* ── Points de rupture ──────────────────────────────────────── */
@media (max-width: 1280px) {
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .map-shell { grid-template-columns: 1fr 280px; }
}
@media (max-width: 1024px) {
  .shell { grid-template-columns: 1fr; }
  .side {
    position: fixed; z-index: 100; left: 0; top: 0; bottom: 0; width: 268px;
    transform: translateX(-100%); transition: transform .2s ease;
    box-shadow: 0 0 60px rgba(0,0,0,.7);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .side.open { transform: none; }
  .burger { display: inline-flex; }
  .g3, .g-2fr1, .g-1fr2 { grid-template-columns: 1fr; }
  .map-shell { grid-template-columns: 1fr; height: auto; }
  .map-shell > .map { height: 52vh; min-height: 340px; }
  .map-side { border-left: 0; border-top: 1px solid var(--line); max-height: 42vh; }
}

@media (max-width: 860px) {
  /* Deux colonnes : la désignation occupe toute la largeur, les valeurs
     numériques se rangent par paires. */
  .row-grid.items, .row-grid.pkgs, .line-row { grid-template-columns: 1fr 1fr; }
  .row-grid.items > label:first-child,
  .row-grid.pkgs  > label:first-child,
  .line-row > .l-label { grid-column: 1 / -1; }
  .line-row > .l-amt { text-align: left; align-self: center; }
  .row-del { margin-bottom: 0; justify-self: start; }
}

@media (max-width: 760px) {
  /* La grille mensuelle à 7 colonnes n'est plus lisible : la chronologie
     jour par jour, elle, reste parfaitement utilisable. */
  .cal-grid { display: none !important; }
}

@media (max-width: 700px) {
  .content { padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); }
  .topbar { padding: 12px 16px; }
  .g2, .g4, .g5 { grid-template-columns: 1fr; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  .card { padding: 16px; }
  .card.tight { padding: 13px 14px; }
  .agent-steps { grid-template-columns: 1fr; }

  /* Les tableaux gardent leur défilement horizontal, mais respirent moins. */
  thead th, tbody td { padding: 10px 11px; }

  /* La modale devient une feuille plein écran : plus de marges perdues,
     et le pied de page reste atteignable au pouce. */
  .modal-back { padding: 0; align-items: stretch; }
  .modal, .modal.wide { max-width: none; max-height: none; min-height: 100vh; border: 0; }
  .modal-body { padding: 18px 16px; }
  .modal-head { padding: 15px 16px; position: sticky; top: 0; background: var(--bg-alt); z-index: 2; }
  .modal-foot {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    position: sticky; bottom: 0; background: var(--bg-alt);
  }
  .modal-foot .btn { flex: 1; }

  .toasts { right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; }

  /* iOS zoome sur un champ dont la police descend sous 16px. */
  input[type=text], input[type=email], input[type=password], input[type=tel],
  input[type=number], input[type=date], input[type=datetime-local], input[type=search],
  select, textarea { font-size: 16px; }

  .btn { padding: 12px 16px; }
  .btn.sm { padding: 9px 12px; }
}

@media (max-width: 480px) {
  .row-grid.items, .row-grid.pkgs, .line-row { grid-template-columns: 1fr; }

  /* Sur les écrans les plus étroits (iPhone SE), les paires d'actions
     alignées côte à côte ne tiennent plus : on les laisse passer à la ligne. */
  .row { flex-wrap: wrap; }
  .month-label { min-width: 0 !important; flex: 1; }
  .content { padding: 14px 12px calc(20px + env(safe-area-inset-bottom)); }
  .card { padding: 14px; }
  fieldset { padding: 14px 13px 4px; }
  legend { font-size: 14px; }
  h1 { font-size: 21px; }
  .kpi .v { font-size: 28px; }
  .map-shell > .map { height: 46vh; min-height: 280px; }
}

/* Voile de chargement */
.loading { padding: 40px; text-align: center; color: var(--text-4); font-size: 13px; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line-2); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg) } }
