/* ============================================================
 * Shared lead-capture UI (modal + toast)
 * Used by listings.php and property.php
 * ============================================================ */
.lc-modal-overlay {
  position: fixed; inset: 0; background: rgba(20,20,20,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 1rem;
}
.lc-modal {
  background: #fff; border-radius: 14px; padding: 1.5rem;
  width: 100%; max-width: 360px; box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.lc-modal h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.lc-modal p.lc-sub { margin: 0 0 1rem; color: #666; font-size: 0.88rem; }
.lc-modal label { font-weight: 600; font-size: 0.85rem; display: block; margin-bottom: 0.3rem; }
.lc-modal input {
  width: 100%; padding: 0.65rem; border-radius: 8px; border: 1px solid #ccc;
  font-size: 1rem; margin-bottom: 0.9rem; box-sizing: border-box;
}
.lc-error { color: #d9534f; font-size: 0.85rem; margin: -0.5rem 0 0.8rem; display: none; }
.lc-submit-btn {
  background: #007BFF; color: #fff; width: 100%; border: none; border-radius: 8px;
  padding: 0.8rem 1rem; font-size: 1.05rem; font-weight: 600; cursor: pointer;
}
.lc-cancel {
  display: block; text-align: center; margin-top: 0.7rem; color: #888; font-size: 0.85rem;
  background: none; border: none; text-decoration: underline; cursor: pointer; padding: 0.4rem;
  width: 100%;
}

#lc-toast {
  position: fixed; left: 50%; top: 16px; transform: translate(-50%, -30px);
  background: linear-gradient(135deg, #007BFF, #0056b3); color: #fff;
  padding: 18px 26px; border-radius: 14px;
  font-size: 1.05rem; font-weight: 700; line-height: 1.4;
  max-width: 92vw; width: 480px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  opacity: 0; transition: all 0.35s ease; z-index: 500; pointer-events: none;
}
#lc-toast.show { opacity: 1; transform: translate(-50%, 0); }
