/* =============================================================
   Smart WhatsApp Multi Agent — Frontend Styles
   ProgBi © 2024
   ============================================================= */

/* ── Float wrap ─────────────────────────────────────────────── */
.progbi-swma-float-wrap {
	position: fixed;
	z-index: 99999;
	bottom: 24px;
}
.progbi-swma-float-wrap.progbi-swma-bottom-right { right: 24px; }
.progbi-swma-float-wrap.progbi-swma-bottom-left  { left:  24px; }

/* ── Float button ───────────────────────────────────────────── */
.progbi-swma-float-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px 12px 16px;
	border-radius: 50px;
	color: #fff !important;
	text-decoration: none !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 4px 16px rgba(0,0,0,.25);
	transition: transform .2s ease, box-shadow .2s ease, opacity .15s ease;
	cursor: pointer;
	outline: none;
	border: none;
	white-space: nowrap;
}
.progbi-swma-float-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.progbi-swma-float-btn:active {
	transform: translateY(-1px);
}
.progbi-swma-float-btn svg { flex-shrink: 0; display: block; }

.progbi-swma-float-label {
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── Pulse animation ────────────────────────────────────────── */
@keyframes progbi-swma-pulse {
	0%   { box-shadow: 0 0 0 0   rgba(37,211,102,.55); }
	70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0);   }
	100% { box-shadow: 0 0 0 0   rgba(37,211,102,0);   }
}

/* ── Inline shortcode button ────────────────────────────────── */
.progbi-swma-inline-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 6px;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	transition: opacity .2s ease, transform .15s ease;
}
.progbi-swma-inline-btn:hover {
	opacity: .88;
	transform: translateY(-1px);
}
.progbi-swma-inline-btn svg { flex-shrink: 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 480px) {
	.progbi-swma-float-label { display: none; }
	.progbi-swma-float-btn {
		padding: 14px;
		border-radius: 50%;
		box-shadow: 0 4px 16px rgba(0,0,0,.3);
	}
}
