.esey-chatbot {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.esey-chatbot__toggle {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	border: 0;
	border-radius: 999px;
	padding: 14px 18px;
	background: linear-gradient(135deg, #0f766e, #14b8a6);
	color: #ffffff;
	box-shadow: 0 18px 35px rgba(15, 118, 110, 0.28);
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
}

.esey-chatbot__toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	font-size: 18px;
	line-height: 1;
}

.esey-chatbot__panel {
	width: min(380px, calc(100vw - 24px));
	margin-top: 14px;
	border-radius: 24px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.22);
	box-shadow: 0 28px 60px rgba(15, 23, 42, 0.2);
}

.esey-chatbot__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 20px 20px 16px;
	background: linear-gradient(135deg, #0f172a, #155e75);
	color: #ffffff;
}

.esey-chatbot__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

.esey-chatbot__header h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
	color: #ffffff;
}

.esey-chatbot__close {
	border: 0;
	background: transparent;
	color: #ffffff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 0 0 0 12px;
}

.esey-chatbot__messages {
	padding: 18px;
	max-height: 320px;
	overflow-y: auto;
	background:
		radial-gradient(circle at top right, rgba(20, 184, 166, 0.16), transparent 32%),
		#f8fafc;
}

.esey-chatbot__message {
	max-width: 85%;
	margin-bottom: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	font-size: 14px;
	line-height: 1.5;
	word-break: break-word;
}

.esey-chatbot__message--bot {
	background: #ffffff;
	color: #0f172a;
	border-top-left-radius: 6px;
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.esey-chatbot__message--user {
	margin-left: auto;
	background: linear-gradient(135deg, #0f766e, #14b8a6);
	color: #ffffff;
	border-top-right-radius: 6px;
}

.esey-chatbot__form-wrap {
	padding: 16px 18px 18px;
	background: #ffffff;
}

.esey-chatbot__form {
	display: flex;
	gap: 10px;
}

.esey-chatbot__form input {
	flex: 1;
	height: 48px;
	border: 1px solid #cbd5e1;
	border-radius: 14px;
	padding: 0 14px;
	font-size: 14px;
	color: #0f172a;
	background: #f8fafc;
}

.esey-chatbot__form button {
	border: 0;
	border-radius: 14px;
	padding: 0 18px;
	background: #0f172a;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.esey-chatbot__result {
	padding: 0 18px 18px;
	background: #ffffff;
}

.esey-chatbot__success {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: #0f766e;
}

.esey-chatbot__summary {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #334155;
}

.esey-chatbot__whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border-radius: 14px;
	background: linear-gradient(135deg, #16a34a, #22c55e);
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	box-sizing: border-box;
}

.esey-chatbot__whatsapp[aria-disabled="true"] {
	background: #94a3b8;
	pointer-events: none;
}

@media (max-width: 600px) {
	.esey-chatbot {
		right: 12px;
		left: 12px;
		bottom: 12px;
	}

	.esey-chatbot__toggle {
		width: 100%;
		justify-content: center;
	}

	.esey-chatbot__panel {
		width: 100%;
	}

	.esey-chatbot__form {
		flex-direction: column;
	}

	.esey-chatbot__form button {
		height: 48px;
	}
}
