.lfb-faq-widget {
	max-width: 480px;
	font-family: inherit;
}
.lfb-faq-form {
	display: flex;
	gap: 8px;
}
.lfb-faq-input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}
.lfb-faq-submit {
	padding: 10px 16px;
	background: #222;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}
.lfb-faq-submit:hover {
	background: #444;
}
.lfb-faq-results {
	margin-top: 12px;
}
.lfb-faq-result-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.lfb-faq-result-list li {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}
.lfb-faq-result-list li:last-child {
	border-bottom: none;
}
.lfb-faq-result-category {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #888;
	margin-bottom: 2px;
}
.lfb-faq-result-list a {
	color: #1a5cff;
	text-decoration: none;
	font-size: 14px;
}
.lfb-faq-result-list a:hover {
	text-decoration: underline;
}
.lfb-faq-no-match {
	font-size: 14px;
	color: #333;
	background: #f7f7f7;
	padding: 12px;
	border-radius: 4px;
}
.lfb-faq-no-match a {
	color: #1a5cff;
}
.lfb-faq-loading {
	font-size: 13px;
	color: #888;
}

/* Floating bubble */
.lfb-faq-bubble-wrap {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 99999;
}
.lfb-faq-bubble-wrap.lfb-faq-dragging {
	transform: none;
}
.lfb-faq-bubble-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 56px;
	height: 56px;
	background: #ff8ea8;
	color: #fff;
	border: none;
	border-radius: 28px;
	padding: 0;
	cursor: grab;
	touch-action: none;
	user-select: none;
	box-shadow: 0 4px 14px rgba(255, 142, 168, .45);
	transition: background-color .15s ease, transform .15s ease, width .25s ease, padding .25s ease;
}
.lfb-faq-bubble-toggle:hover {
	background: #f2708f;
	transform: scale(1.05);
}
.lfb-faq-bubble-wrap.lfb-faq-dragging .lfb-faq-bubble-toggle {
	cursor: grabbing;
	transition: none;
	transform: none;
}
.lfb-faq-bubble-icon {
	display: block;
	flex: 0 0 auto;
	pointer-events: none;
}
.lfb-faq-bubble-label {
	display: none;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
	pointer-events: none;
}
.lfb-faq-bubble-toggle.lfb-faq-expanded {
	width: auto;
	padding: 0 20px 0 16px;
}
.lfb-faq-bubble-toggle.lfb-faq-expanded .lfb-faq-bubble-label {
	display: inline-block;
}

/* Periodic attention animation: one jump, then three settling bounces */
.lfb-faq-bubble-toggle.lfb-faq-attention {
	animation: lfbFaqJumpBounce 1.1s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes lfbFaqJumpBounce {
	0%   { transform: translateY(0); }
	18%  { transform: translateY(-26px); }
	36%  { transform: translateY(0); }
	48%  { transform: translateY(-12px); }
	60%  { transform: translateY(0); }
	70%  { transform: translateY(-6px); }
	80%  { transform: translateY(0); }
	88%  { transform: translateY(-2px); }
	100% { transform: translateY(0); }
}
.lfb-faq-bubble-remove {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #888;
	border: 1px solid #ddd;
	border-radius: 50%;
	font-size: 13px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.lfb-faq-bubble-remove:hover {
	background: #f5f5f5;
	color: #333;
}
.lfb-faq-bubble-panel {
	position: absolute;
	right: 0;
	bottom: 68px;
	width: 320px;
	max-width: calc(100vw - 40px);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
	padding: 16px;
}
.lfb-faq-bubble-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	font-weight: 600;
}
.lfb-faq-bubble-close {
	background: none;
	border: none;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #888;
}

/* Highlight when deep-linked from a search result */
.lfb-faq-highlight {
	animation: lfbFaqFlash 2.5s ease;
}
@keyframes lfbFaqFlash {
	0% { background-color: #fff6b0; }
	100% { background-color: transparent; }
}
