.fab-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 1080; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab-btn {
  width: 60px; height: 60px; border-radius: 50%; border: 0;
  background: #25d366; color: #fff; font-size: 1.6rem;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6), 0 4px 10px rgba(15,39,64,.15);
  transition: transform .2s ease, background .2s ease;
}
.fab-btn:hover { transform: scale(1.06); }
.fab-btn.open { background: var(--xb-navy-800); box-shadow: var(--xb-shadow-md); font-size: 1.2rem; }
.fab-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: fabPulse 2.2s infinite;
}
.fab-btn.open::after { animation: none; }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.fab-panel {
  width: 320px; max-width: calc(100vw - 44px);
  background: #fff; border: 1px solid var(--xb-line); border-radius: 18px;
  box-shadow: var(--xb-shadow-lg); overflow: hidden;
}
.fab-head {
  display: flex; align-items: center; gap: .7rem; position: relative;
  background: linear-gradient(160deg, #1fb955, #128c3e); color: #fff; padding: 1rem 1.1rem;
}
.fab-head-ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.fab-head strong { display: block; font-size: 1rem; font-weight: 600; }
.fab-head span { display: block; font-size: .78rem; color: rgba(255,255,255,.85); line-height: 1.3; margin-top: 1px; }
.fab-x { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 8px; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: .8rem; cursor: pointer; display: grid; place-items: center; }
.fab-x:hover { background: rgba(255,255,255,.3); }
.fab-body { padding: 1.1rem 1.15rem 1.25rem; }
.fab-body .form-control.is-ok { border-color: var(--xb-green-600); }
.fab-check { display: flex; gap: .55rem; align-items: flex-start; font-size: .82rem; color: var(--xb-slate-600); line-height: 1.45; cursor: pointer; }
.fab-check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--xb-green-600); }
.fab-check a { color: var(--xb-navy-700); font-weight: 500; }
.fab-note { font-size: .72rem; color: var(--xb-slate-400); text-align: center; margin: .7rem 0 0; }
.fab-success { text-align: center; padding: 1.5rem 1.2rem; }
.fab-success i { font-size: 2.2rem; color: var(--xb-green-600); display: block; margin-bottom: .6rem; }
.fab-success p { font-size: .9rem; color: var(--xb-slate-600); margin: 0; }

.fab-pop-enter-active, .fab-pop-leave-active { transition: opacity .2s ease, transform .2s ease; transform-origin: bottom right; }
.fab-pop-enter-from, .fab-pop-leave-to { opacity: 0; transform: translateY(10px) scale(.96); }

@media (max-width: 575.98px) {
  .fab-wrap { right: 16px; bottom: 16px; }
  .fab-btn { width: 54px; height: 54px; font-size: 1.4rem; }
}
