/* DevisVox — Bottom Sheet partagé (Devis + Factures)
   Classes .v2-bs-* utilisées par les deux pages.
   Les IDs (#dv-bs, #fac-bs, etc.) restent inchangés pour le JS.
*/

/* ── Overlay ───────────────────────────────────────────── */
/* position:fixed = ancré au viewport, indépendant de la hauteur du parent */
.v2-bs-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
}
.v2-bs-overlay.open { display: block; }

/* ── Panneau ───────────────────────────────────────────── */
.v2-bs {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 0 0 16px;
  z-index: 201;
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 32px rgba(0,0,0,.14);
}
.v2-bs.open { transform: translateY(0); }

/* ── Poignée ───────────────────────────────────────────── */
.v2-bs-handle {
  width: 40px; height: 4px; border-radius: 2px;
  background: #CBD5E1;
  margin: 10px auto 12px;
}

/* ── Titre ─────────────────────────────────────────────── */
.v2-bs-title {
  font-size: 13px; font-weight: 700; color: #94A3B8;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 0 20px 10px;
  border-bottom: 1px solid #E2E8F0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}

/* ── Liste d'actions ───────────────────────────────────── */
.v2-bs-actions {
  padding: 4px 12px;
  display: flex; flex-direction: column; gap: 2px;
}

/* ── Bouton action ─────────────────────────────────────── */
.v2-bs-btn {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 10px 12px;
  background: transparent; border: none; border-radius: 14px;
  font-size: 15px; font-weight: 500; color: #0F172A;
  cursor: pointer; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  transition: background .18s ease;
}
.v2-bs-btn:active  { background: #F1F5F9; }
.v2-bs-btn-del     { color: #DC2626; }
.v2-bs-btn-sign    { color: #10B981; font-weight: 700; }

/* ── Icône ─────────────────────────────────────────────── */
.v2-bs-ico {
  width: 20px; height: 20px; flex-shrink: 0;
  stroke: currentColor; stroke-width: 1.8; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
