
/* ============================================================
   locations.labels.css — StockMaster Pro
   Module : Étiquettes emplacements (multi) — aperçus + print
   Version: 2.3.3
   ============================================================ */

.loc-label-card{ margin-top: var(--sp-5); }

.loc-label-layout{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap: var(--sp-5);
  align-items:start;
}

@media (max-width: 980px){
  .loc-label-layout{ grid-template-columns: 1fr; }
}

.loc-label-tools{ margin-bottom: var(--sp-3); }

.loc-label-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border-light);
}

.loc-label-list{
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow:auto;
  max-height: 360px;
}

.loc-label-item{
  display:flex;
  gap: var(--sp-3);
  align-items:flex-start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  cursor:pointer;
  transition: background var(--tr);
}
.loc-label-item:last-child{ border-bottom:0; }
.loc-label-item:hover{ background: var(--bg-hover); }

.loc-label-item input{ margin-top: 3px; }

.loc-label-item-title{
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .2px;
}
.loc-label-item-sub{
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.loc-label-empty-sm{
  padding: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.loc-label-right-hdr{
  display:flex;
  flex-direction:column;
  gap: 2px;
  margin-bottom: var(--sp-3);
}

.loc-label-right-title{
  font-weight: 700;
  color: var(--text-primary);
}

/* Grid preview: modern "cards" */
.loc-label-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  min-height: 140px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-elevated);
  padding: var(--sp-4);
}

@media (max-width: 980px){
  .loc-label-grid{ grid-template-columns: 1fr; }
}

.loc-label-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 24px 10px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
}

/* label card */
.loc-label-sheet{
  display:flex;
  align-items:center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 14px 16px;
  background: var(--bg-card);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.loc-label-logo{ width: 46px; height: 46px; object-fit: contain; display:block; }
.loc-label-name{ font-size: 16px; font-weight: 800; color: var(--text-primary); }
.loc-label-sub{ font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.loc-label-print-area{ display:none; }


/* ─────────────────────────────────────────────
   Étiquette V2 : logo au-dessus + infos dessous
   ───────────────────────────────────────────── */
.loc-label-sheet--v2{
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 18px 16px;
}

.loc-label-logo--v2{
  width: 120px;
  height: 120px;
}

.loc-label-text--v2{ width: 100%; }
.loc-label-name--v2{
  font-size: 18px;
  letter-spacing: .4px;
}
.loc-label-sub--v2{
  font-size: 12px;
  margin-top: 4px;
}
