/* VESTIAIRE — composants transverses */

.flash-zone { margin-bottom: var(--v-space-3); }

.table-actions {
  display: flex;
  gap: var(--v-space-1);
  justify-content: flex-end;
}

/* Cartes d'indicateur */
.stat-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--v-text-muted);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--v-text-muted);
}

/* Pastilles de filtre */
.nav-pills .nav-link {
  color: var(--v-text);
  background: var(--v-surface);
  border: 1px solid var(--v-border);
  font-size: 0.85rem;
}

.nav-pills .nav-link.active {
  background: var(--v-primary);
  border-color: var(--v-primary);
  color: #fff;
}

/* Barres de progression fines */
.progress { background: var(--v-primary-light); }
.progress-bar { background: var(--v-primary); }

/* Tableaux reponses */
.table-responsive { -webkit-overflow-scrolling: touch; }

/* En-tete de fiche */
code {
  background: #f1f2f6;
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--v-primary-dark);
  font-size: 0.82rem;
}

/* Zone de depot de photo */
.photo-drop {
  border: 2px dashed var(--v-border);
  border-radius: var(--v-radius-sm);
  padding: var(--v-space-4);
  text-align: center;
  color: var(--v-text-muted);
}

/* Barres de progression fines (factorisees : etaient dupliquees en inline) */
.progress-mince { height: 8px; }
.progress-mince .progress-bar { background: var(--v-primary); }

/* Icones de substitution dans les vignettes sans image */
.icone-vignette { font-size: 2rem; color: var(--v-text-muted); }

/* Etiquettes de fourchette de prix (assistant) */
.fourchette { border: 1px solid var(--v-border); border-radius: var(--v-radius-sm);
              padding: 4px 8px; text-align: center; flex: 1 1 0; }
.fourchette .libelle { color: var(--v-text-muted); font-size: 0.7rem; }
.fourchette .valeur { font-weight: 600; }

/* Colonne de graphique : largeur de libelle bornee */
.graph-list td:first-child { max-width: 180px; overflow: hidden;
                             text-overflow: ellipsis; white-space: nowrap; }

/* Vignette photo produit */
.produit-photo { border: 1px solid var(--v-border); border-radius: var(--v-radius-sm);
                 background: #fafbfd; display: flex; align-items: center;
                 justify-content: center; min-height: 110px;
                 color: var(--v-text-muted); }

/* Colonne d'en-tete de tableau de permissions */
.colonne-page { min-width: 200px; }

/* Champs de formulaire de largeur imposee (lignes de tableau) */
.champ-statut { width: auto; }
.champ-tracking { width: 140px; }

/* Navigation retour : composant partage (partials/retour.html) */
.retour-nav { margin-bottom: var(--v-space-3); }
.retour-lien {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--v-text-muted);
  text-decoration: none;
  border: 1px solid var(--v-border);
  border-radius: var(--v-radius-sm);
  padding: 5px 12px 5px 10px;
  background: var(--v-surface);
  transition: var(--v-transition);
}
.retour-lien:hover {
  color: var(--v-primary);
  border-color: var(--v-primary);
  background: var(--v-primary-light);
}
.retour-lien i { font-size: 0.95rem; }
