/* NixPulse AI Chatbot & Helpdesk Agent v3.0 */

.nxp-support-float {
	position: fixed;
	bottom: 30px;
	right: 100px;
	z-index: 99998;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.nxp-support-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0284c7, #38bdf8);
	border: none;
	color: #fff;
	font-size: 28px;
	cursor: pointer;
	box-shadow: 0 8px 30px rgba(2, 132, 199, 0.5), 0 0 15px rgba(56, 189, 248, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nxp-support-btn:hover {
	transform: scale(1.1) rotate(5deg);
}

.nxp-support-window {
	position: absolute;
	bottom: 75px;
	right: 0;
	width: 340px;
	height: 420px;
	background: rgba(11, 19, 41, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(56, 189, 248, 0.35);
	border-radius: 20px;
	padding: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
	color: #fff;
	display: none;
	flex-direction: column;
	justify-content: space-between;
}

.nxp-support-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 10px;
}

.nxp-chat-history {
	flex: 1;
	overflow-y: auto;
	padding: 10px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nxp-chat-bubble {
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 12px;
	line-height: 1.5;
	max-width: 80%;
}

.nxp-bubble-ai {
	background: rgba(255, 255, 255, 0.08);
	color: #f8fafc;
	align-self: flex-start;
	border-bottom-left-radius: 2px;
}

.nxp-bubble-user {
	background: linear-gradient(135deg, #0284c7, #0369a1);
	color: #fff;
	align-self: flex-end;
	border-bottom-right-radius: 2px;
}

.nxp-chat-input-row {
	display: flex;
	gap: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 10px;
}

.nxp-chat-input {
	flex: 1;
	background: #020617;
	border: 1px solid #334155;
	border-radius: 8px;
	padding: 8px 12px;
	color: #fff;
	font-size: 12px;
	outline: none;
}

.nxp-btn-send {
	background: #0284c7;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
