/* Bizeract template — shared lead CTA + popup */
.bz-cta {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font: 600 15px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #ff3d7f 0%, #7c3aed 100%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(124, 58, 237, .45), 0 4px 12px rgba(0, 0, 0, .25);
  letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.bz-cta:hover { transform: translateY(-50%) scale(1.04); box-shadow: 0 18px 40px rgba(124,58,237,.55); }
.bz-cta::before { content:"✨"; font-size:18px; }
@media (max-width: 720px) {
  .bz-cta { right: 12px; top: auto; bottom: 18px; transform: none; padding: 12px 18px; font-size: 14px; }
  .bz-cta:hover { transform: scale(1.04); }
}

.bz-modal-backdrop {
  position: fixed; inset: 0; background: rgba(8, 10, 24, .72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px;
  animation: bzFade .25s ease;
}
.bz-modal-backdrop.bz-open { display: flex; }
@keyframes bzFade { from { opacity: 0 } to { opacity: 1 } }

.bz-modal {
  width: 100%; max-width: 460px;
  background: #fff; color: #0f172a;
  border-radius: 22px; padding: 32px 28px 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  position: relative;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  animation: bzPop .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes bzPop { from { transform: translateY(20px) scale(.96); opacity: 0 } to { transform: none; opacity: 1 } }

.bz-modal h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.bz-modal p.bz-sub { margin: 0 0 20px; color: #475569; font-size: 14.5px; line-height: 1.5; }
.bz-modal label { display: block; font-size: 12.5px; font-weight: 600; color: #334155; margin: 12px 0 6px; letter-spacing: .2px; text-transform: uppercase; }
.bz-modal input {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid #e2e8f0;
  font-size: 15px; background: #f8fafc;
  transition: border-color .15s ease, background .15s ease;
  font-family: inherit; color: #0f172a;
}
.bz-modal input:focus { outline: none; border-color: #7c3aed; background: #fff; }
.bz-modal .bz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bz-modal .bz-row label { margin-top: 12px; }
.bz-modal button.bz-submit {
  margin-top: 22px; width: 100%;
  padding: 14px 18px; border: 0; border-radius: 12px;
  font: 700 15px/1 inherit; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #ff3d7f 0%, #7c3aed 100%);
  box-shadow: 0 10px 24px rgba(124,58,237,.35);
  transition: transform .15s ease;
}
.bz-modal button.bz-submit:hover { transform: translateY(-1px); }
.bz-modal button.bz-submit:disabled { opacity: .6; cursor: progress; }
.bz-modal .bz-close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: 0; font-size: 24px; color: #94a3b8; cursor: pointer; line-height: 1;
}
.bz-modal .bz-close:hover { color: #0f172a; }
.bz-modal .bz-msg { margin-top: 14px; font-size: 13.5px; min-height: 18px; }
.bz-modal .bz-msg.ok { color: #16a34a; }
.bz-modal .bz-msg.err { color: #dc2626; }
.bz-modal .bz-note { margin-top: 14px; font-size: 12px; color: #94a3b8; text-align: center; }
.bz-modal .bz-brand { display:flex; align-items:center; gap:8px; margin-bottom: 14px; font-size: 11.5px; color: #64748b; letter-spacing: .8px; text-transform: uppercase; font-weight: 700; }
.bz-modal .bz-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg,#ff3d7f,#7c3aed); }

/* Back-to-Bizeract floating button (left side) */
.bz-back {
  position: fixed;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font: 600 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  background: rgba(15, 15, 25, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, background .2s ease;
  letter-spacing: .15px;
  white-space: nowrap;
}
.bz-back:hover { transform: translateY(-50%) translateX(-2px); background: rgba(15, 15, 25, 0.96); }
.bz-back::before { content: "←"; font-size: 16px; margin-right: 2px; }
@media (max-width: 720px) {
  .bz-back { left: 12px; top: auto; bottom: 18px; transform: none; padding: 10px 14px; font-size: 12px; }
  .bz-back:hover { transform: translateX(-2px); }
}

/* Bottom credit bar */
.bz-credit {
  position: relative;
  z-index: 100;
  padding: 22px 24px;
  background: #0a0a10;
  color: #c7c7d3;
  text-align: center;
  font: 500 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: .03em;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.bz-credit a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, #ff3d7f 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bz-credit a:hover { filter: brightness(1.2); }
.bz-credit .bz-credit-cta { margin-left: 6px; color: #8a8f9c; font-weight: 500; }
.bz-credit .bz-credit-cta a { -webkit-text-fill-color: #c7c7d3; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
