/* AutoBrosShare — WhatsApp picker modal. Self-contained, layout-agnostic. */
.abshare-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
  font-family: Inter, system-ui, sans-serif;
}
.abshare-overlay.is-open { display: flex; }
.abshare-dialog {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 20px 22px 18px;
  color: #111;
}
.abshare-dialog h2 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.abshare-hint { margin: 0 0 16px; font-size: 0.87rem; color: #444; line-height: 1.45; }
.abshare-fieldset { border: none; margin: 0 0 16px; padding: 0; }
.abshare-fieldset[hidden] { display: none; }
.abshare-opt { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; cursor: pointer; font-size: 0.9rem; line-height: 1.35; }
.abshare-opt:last-child { margin-bottom: 0; }
.abshare-opt input { margin-top: 3px; flex-shrink: 0; accent-color: #25D366; }
.abshare-phone-block { margin-bottom: 16px; }
.abshare-phone-block[hidden] { display: none; }
.abshare-phone-block label { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #555; margin-bottom: 6px; }
.abshare-input { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 6px; border: 1px solid #ccc; font: inherit; font-size: 0.95rem; }
.abshare-input:focus { outline: 2px solid #25D366; outline-offset: 0; border-color: #25D366; }
.abshare-err { color: #b00020; font-size: 0.82rem; margin: -8px 0 12px; min-height: 1.1em; }
.abshare-err:empty { margin: 0; min-height: 0; }
.abshare-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.abshare-btn { font: inherit; padding: 9px 16px; border-radius: 6px; border: 1px solid #ccc; background: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.abshare-btn--ghost:hover { background: #f5f5f5; }
.abshare-btn--wa { background: #25D366; color: #fff; border-color: #1da851; font-weight: 600; }
.abshare-btn--wa:hover { filter: brightness(0.96); }

/* Trigger row shared by parts pages */
.share-row { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 8px 13px; border-radius: 8px; cursor: pointer;
  border: 1px solid #d0d0d0; background: #fff; color: #222; text-decoration: none;
}
.share-btn:hover { border-color: #999; }
.share-btn i { font-size: 0.95rem; }
.share-btn--whatsapp { background: #25D366; color: #fff; border-color: #1da851; }
.share-btn--whatsapp:hover { filter: brightness(0.96); border-color: #1da851; }
.share-btn--label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: #888; margin-right: 2px; }
@media print { .abshare-overlay, .share-row { display: none !important; } }
