/* Floating WhatsApp Clinics - Frontend Styles */

.fwa-widget {
	position: fixed;
	bottom: 20px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.fwa-float-btn {
	width: 60px;
	height: 60px;
	padding:13px 15px 13px 15px !important;
	border: none;
	border-radius: 50%;
	background-color: #25D366 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	padding: 0;
}

.fwa-float-btn:hover,
.fwa-float-btn:focus {
	transform: scale(1.08);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
	outline: none;
}

.fwa-popup {
	position: absolute;
	bottom: 78px;
	right: 0;
	width: 300px;
	max-width: calc(100vw - 40px);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	transform: translateY(16px) scale(0.96);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.fwa-widget.fwa-left .fwa-popup {
	right: auto;
	left: 0;
}

.fwa-popup.fwa-open {
	transform: translateY(0) scale(1);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.fwa-popup-header {
	background-color: #25D366;
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.fwa-popup-header strong {
	display: block;
	font-size: 15px;
	line-height: 1.3;
}

.fwa-popup-subtitle {
	display: block;
	font-size: 12px;
	opacity: 0.9;
	margin-top: 2px;
}

.fwa-popup-close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	margin-left: 8px;
}

.fwa-clinic-list {
	list-style: none;
	margin: 0;
	padding: 8px;
	max-height: 320px;
	overflow-y: auto;
}

.fwa-clinic-list li + li {
	margin-top: 6px;
}

.fwa-clinic-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #f4f6f5;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.fwa-clinic-link:hover {
	background: #e9efe9;
}

.fwa-clinic-icon {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	border-radius: 50%;
	background-color: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fwa-clinic-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fwa-clinic-name {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fwa-clinic-cta {
	font-size: 12px;
	color: #667781;
}

/* Responsive */
@media (max-width: 480px) {
	.fwa-widget {
		bottom: 14px;
	}

	.fwa-float-btn {
		width: 54px;
		height: 54px;
	}

	.fwa-popup {
		width: calc(100vw - 28px);
		bottom: 70px;
	}
}
