/*
 * Netserve Agent™ 1.4.0 — Package 01 Foundation Correction
 * Visual target: Borake Netserve approved chat mock-up.
 */
#nsa-chatbot-widget {
	position: fixed;
	z-index: 999999;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	line-height: 1.4;
	--nsa-navy: #020452;
	--nsa-royal: #0637f5;
	--nsa-blue: #0b55ea;
	--nsa-canvas: #f1f4fa;
	--nsa-bot-border: #b9bbc1;
	--nsa-muted: #69758e;
	--nsa-online-bg: #c9f4ce;
	--nsa-online: #0aa523;
}
#nsa-chatbot-widget.bottom-right { right: 24px; bottom: 24px; }
#nsa-chatbot-widget.bottom-left { left: 24px; bottom: 24px; }

.nsa-chatbot-toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(145deg, #147cf0, var(--nsa-navy));
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(2,4,82,.35);
	transition: transform .2s ease, box-shadow .2s ease;
}
.nsa-chatbot-toggle:hover,
.nsa-chatbot-toggle:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(2,4,82,.42); outline: none; }
.nsa-chatbot-toggle svg { width: 29px; height: 29px; fill: currentColor; }
.nsa-chatbot-toggle .nsa-badge {
	position: absolute; top: -5px; right: -4px; display: grid; place-items: center;
	min-width: 21px; height: 21px; padding: 0 4px; border: 2px solid #fff; border-radius: 50%;
	background: #f10d1c; color: #fff; font-size: 11px; font-weight: 800;
}

.nsa-chatbot-box {
	position: absolute;
	right: 0;
	bottom: 72px;
	display: none;
	flex-direction: column;
	width: 470px;
	max-width: calc(100vw - 28px);
	height: min(790px, calc(100vh - 110px));
	overflow: hidden;
	border: 0;
	border-radius: 22px;
	background: var(--nsa-canvas);
	box-shadow: 0 25px 70px rgba(12,18,55,.28);
	transform-origin: bottom right;
}
.bottom-left .nsa-chatbot-box { right: auto; left: 0; transform-origin: bottom left; }
.nsa-chatbot-box.open { display: flex; animation: nsa-chat-open .22s ease-out; }

/* Modern glossy brand header */
.nsa-chatbot-header {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(165px, .95fr);
	align-items: center;
	min-height: 155px;
	padding: 24px 28px 20px;
	background:
		linear-gradient(135deg, rgba(255,255,255,.97), rgba(235,241,252,.94)),
		linear-gradient(120deg, #ffffff, #dfe9fb);
	border-bottom: 1px solid rgba(10,62,177,.14);
	color: #111827;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -12px 30px rgba(45,92,180,.05);
}
.nsa-brand-block { min-width: 0; align-self: center; }
.nsa-brand-logo { display: block; width: 150px; max-width: 100%; height: auto; filter: drop-shadow(0 5px 12px rgba(5,50,145,.12)); }
.nsa-brand-motto { margin: 13px 0 0; color: #6b7280; font-size: 11px; line-height: 1.3; white-space: nowrap; font-weight: 600; }
.nsa-agent-title { align-self: center; padding-top: 10px; text-align: right; }
.nsa-agent-title h3 { margin: 0; color: #0637f5; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: 0; white-space: nowrap; }
.nsa-agent-title p { margin: 2px 0 0; color: #6b7280; font-size: 11px; line-height: 1.2; font-weight: 600; }
.nsa-chatbot-close {
	position: absolute; top: 18px; right: 20px;
	display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
	border: 1px solid rgba(255,255,255,.55); border-radius: 10px; background: linear-gradient(145deg, #1678ee, #0646d7); color: #fff;
	font-size: 23px; font-weight: 600; line-height: 1; cursor: pointer;
	box-shadow: 0 7px 18px rgba(6,70,215,.26); transition: none;
}
.nsa-chatbot-close span { display: grid; place-items: center; width: 100%; height: 100%; line-height: 1; transform: translateY(-1px); }
.nsa-chatbot-close:hover,
.nsa-chatbot-close:focus-visible { background: linear-gradient(145deg, #1678ee, #0646d7); color: #fff; transform: none; filter: none; outline: 2px solid rgba(6,70,215,.28); outline-offset: 2px; }

.nsa-active-banner {
	display: flex; align-items: center; gap: 16px; min-height: 50px;
	padding: 0 28px; border: 0; background: var(--nsa-online-bg);
	color: #117d20; font-size: 13px; font-weight: 800;
}
.nsa-online-pulse {
	position: relative; display: inline-block; width: 15px; height: 15px; flex: 0 0 15px;
	border-radius: 50%; background: var(--nsa-online); box-shadow: inset 0 0 0 4px rgba(255,255,255,.32);
	animation: nsa-online-pulse 1.7s ease-in-out infinite;
}

.nsa-chatbot-messages {
	flex: 1; display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
	padding: 30px 27px 22px; background: var(--nsa-canvas); scroll-behavior: smooth;
	scrollbar-width: thin; scrollbar-color: #c7ced9 transparent;
}
.nsa-message-row { display: flex; flex-direction: column; max-width: 78%; animation: nsa-fade-in .2s ease; }
.nsa-message-row.bot { align-self: flex-start; align-items: flex-start; }
.nsa-message-row.user { align-self: flex-end; align-items: flex-end; }
.nsa-message-label { margin: 0 3px 6px; color: var(--nsa-muted); font-size: 12px; font-weight: 800; }
.nsa-message { padding: 13px 20px; border-radius: 16px; font-size: 13px; line-height: 1.38; word-break: break-word; }
.nsa-message.bot {
	border: 4px solid var(--nsa-bot-border); border-radius: 16px 16px 16px 2px;
	background: #fff; color: #10131c; box-shadow: none;
}
.nsa-message.user {
	border: 0; border-radius: 6px 6px 2px 6px; background: var(--nsa-navy); color: #fff;
	font-weight: 700; box-shadow: none;
}
.nsa-message a,
.nsa-message .nsa-chat-link {
	color: #0645ad;
	font-weight: 750;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
	word-break: break-word;
	cursor: pointer;
}
.nsa-message a:hover,
.nsa-message a:focus-visible {
	color: #002f7a;
	text-decoration-thickness: 2px;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.nsa-message.user a { color: inherit; }
.nsa-welcome-message { max-width: 83%; }
.nsa-welcome-message .nsa-message { padding: 17px 28px 13px; }

/* Language selector: stable two-column button layout from the approved reference. */
.nsa-language-panel { position: relative; width: 100%; margin: 18px 0 0; padding: 0; z-index: 4; pointer-events: auto; }
.nsa-language-heading { display:flex; align-items:center; gap:5px; margin: 0 0 10px; color:#17233f; font-size:13px; font-weight:800; }
.nsa-language-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; width:100%; }
.nsa-language-choice {
 position:relative; display:flex; align-items:center; gap:8px; width:100%; min-height:40px; margin:0; padding:8px 10px;
 border:1px solid #d6e2f3; border-radius:11px; appearance:none; -webkit-appearance:none;
 background:#fff; color:#17233f; font:inherit; font-size:13px; font-weight:800; line-height:1.2; text-align:left; cursor:pointer;
 pointer-events:auto; touch-action:manipulation; user-select:none;
 transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}
.nsa-language-choice:hover,.nsa-language-choice:focus-visible { border-color:#8bb7ff; box-shadow:0 0 0 3px rgba(11,85,234,.09); transform:translateY(-1px); outline:none; }
.nsa-language-choice.is-selected { border-color:var(--nsa-blue); background:rgba(11,85,234,.06); box-shadow:0 0 0 3px rgba(11,85,234,.09); }
.nsa-language-choice span:first-child { display:inline-flex; flex:0 0 auto; font-size:15px; line-height:1; }
.nsa-language-choice:disabled { opacity:.62; cursor:wait; transform:none; }
@media (max-width:420px){ .nsa-language-grid{grid-template-columns:1fr 1fr;} .nsa-language-choice{padding:8px;font-size:12px;} }
/* Starter cards remain available in code for later packages, but hidden in this exact foundation layout. */
.nsa-starter-panel { display: none; }

.nsa-typing-row { align-self: flex-start; }
.nsa-typing { display: flex; gap: 5px; padding: 12px 16px; border: 4px solid var(--nsa-bot-border); border-radius: 16px 16px 16px 2px; background: #fff; }
.nsa-typing span { width: 7px; height: 7px; border-radius: 50%; background: #7d8797; animation: nsa-bounce 1.2s infinite; }
.nsa-typing span:nth-child(2) { animation-delay: .16s; }
.nsa-typing span:nth-child(3) { animation-delay: .32s; }

.nsa-chatbot-footer { flex: 0 0 auto; padding: 15px 29px 12px; border: 0; background: var(--nsa-navy); }
.nsa-chatbot-input {
	display: grid; grid-template-columns: minmax(0, 1fr) 35px 44px; align-items: center; gap: 6px;
	width: 100%; min-width: 0; height: 49px; padding: 0 6px 0 14px; box-sizing: border-box;
	border-radius: 13px; background: #fff; overflow: hidden;
}
.nsa-chatbot-input input {
	width: 100%; min-width: 0; height: 42px; padding: 0 8px; box-sizing: border-box; border: 0; background: transparent;
	color: #171b27; font-size: 14px; outline: none;
}
.nsa-chatbot-input input:focus { box-shadow: none; }
.nsa-chatbot-input button {
	display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 0; cursor: pointer;
	transition: transform .18s ease, filter .18s ease;
}
.nsa-chatbot-input button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.nsa-chatbot-input button:disabled { opacity: .55; cursor: wait; }
.nsa-chatbot-mic { width: 35px; height: 39px; background: transparent; color: var(--nsa-navy); }
.nsa-chatbot-mic svg { width: 24px; height: 24px; fill: currentColor; }
.nsa-chatbot-send { width: 44px; height: 39px; max-width: 44px; justify-self: end; border-radius: 12px !important; background: linear-gradient(145deg, #1678ee, #04248e); color: #fff; box-shadow: 0 5px 12px rgba(2,4,82,.28); }
.nsa-chatbot-send svg { width: 20px; height: 20px; fill: currentColor; }

@keyframes nsa-online-pulse { 0%,100% { transform: scale(.9); opacity: .88; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes nsa-chat-open { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes nsa-fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nsa-bounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }

@media (max-width: 520px) {
	#nsa-chatbot-widget.bottom-right { right: 10px; bottom: 10px; }
	#nsa-chatbot-widget.bottom-left { left: 10px; bottom: 10px; }
	.nsa-chatbot-box { position: fixed; inset: 8px 8px 76px; width: auto; max-width: none; height: auto; border-radius: 20px; }
	.nsa-chatbot-header { min-height: 138px; grid-template-columns: 1fr 1fr; padding: 22px 20px 17px; }
	.nsa-brand-logo { width: 126px; }
	.nsa-brand-motto { font-size: 9px; }
	.nsa-agent-title h3 { font-size: 11px; }
	.nsa-chatbot-close { top: 14px; right: 14px; width: 35px; height: 35px; }
	.nsa-chatbot-messages { padding: 24px 22px 18px; }
	.nsa-message-row { max-width: 85%; }
	.nsa-welcome-message { max-width: 91%; }
	.nsa-language-panel { width: 100%; padding-left: 0; }
	.nsa-chatbot-footer { padding: 13px 20px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.nsa-chatbot-box.open, .nsa-message-row, .nsa-online-pulse, .nsa-typing span { animation: none !important; }
}


/* Voice & Accessibility Foundation — 1.9.1 */
.nsa-chatbot-mic { position: relative; border-radius: 50% !important; }
.nsa-chatbot-mic:focus-visible { outline: 3px solid rgba(22,120,238,.35); outline-offset: 2px; }
.nsa-chatbot-mic.is-listening { color: #c62828; background: rgba(198,40,40,.09); animation: nsa-mic-pulse 1.2s ease-in-out infinite; }
.nsa-chatbot-mic.is-processing { color: #7b5e00; background: rgba(255,193,7,.14); }
.nsa-chatbot-mic.is-error { color: #a01818; background: rgba(198,40,40,.08); }
.nsa-voice-status { min-height: 18px; margin-top: 6px; color: rgba(255,255,255,.9); font-size: 11px; line-height: 1.45; text-align: center; }
.nsa-voice-status:empty { min-height: 0; margin-top: 0; }
@keyframes nsa-mic-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(198,40,40,.28); } 50% { box-shadow: 0 0 0 7px rgba(198,40,40,0); } }
@media (prefers-reduced-motion: reduce) { .nsa-chatbot-mic.is-listening { animation: none !important; } }

/* Netserve Agent 1.9.5.4 — isolated controls and compact language selector.
 * These rules intentionally use the widget ID and !important so active-theme
 * button/input rules cannot distort the chatbot controls.
 */
#nsa-chatbot-widget,
#nsa-chatbot-widget * {
	box-sizing: border-box;
}

#nsa-chatbot-widget .nsa-chatbot-close {
	all: unset;
	position: absolute !important;
	top: 18px !important;
	right: 20px !important;
	display: grid !important;
	place-items: center !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	max-width: 34px !important;
	min-height: 34px !important;
	max-height: 34px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255,255,255,.58) !important;
	border-radius: 10px !important;
	background: linear-gradient(145deg, #1678ee, #0646d7) !important;
	color: #fff !important;
	box-shadow: 0 7px 18px rgba(6,70,215,.26) !important;
	font-family: Arial, sans-serif !important;
	font-size: 23px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	text-align: center !important;
	cursor: pointer !important;
	transform: none !important;
	transition: none !important;
	z-index: 8 !important;
}
#nsa-chatbot-widget .nsa-chatbot-close span {
	display: grid !important;
	place-items: center !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 0 2px !important;
	color: #fff !important;
	font: inherit !important;
	line-height: 1 !important;
	transform: none !important;
}
#nsa-chatbot-widget .nsa-chatbot-close:hover,
#nsa-chatbot-widget .nsa-chatbot-close:active,
#nsa-chatbot-widget .nsa-chatbot-close:focus {
	background: linear-gradient(145deg, #1678ee, #0646d7) !important;
	color: #fff !important;
	box-shadow: 0 7px 18px rgba(6,70,215,.26) !important;
	transform: none !important;
	filter: none !important;
}
#nsa-chatbot-widget .nsa-chatbot-close:focus-visible {
	outline: 2px solid rgba(6,70,215,.32) !important;
	outline-offset: 2px !important;
}

#nsa-chatbot-widget .nsa-chatbot-input {
	display: grid !important;
	grid-template-columns: minmax(0,1fr) 38px 46px !important;
	align-items: center !important;
	column-gap: 4px !important;
	width: 100% !important;
	height: 52px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 4px 5px 4px 14px !important;
	border: 0 !important;
	border-radius: 16px !important;
	background: #fff !important;
	overflow: hidden !important;
}
#nsa-chatbot-widget .nsa-chatbot-input input[type="text"] {
	all: unset;
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 8px !important;
	border: 0 !important;
	background: transparent !important;
	color: #171b27 !important;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
	font-size: 14px !important;
	line-height: 44px !important;
	box-shadow: none !important;
	outline: 0 !important;
}
#nsa-chatbot-widget .nsa-chatbot-mic,
#nsa-chatbot-widget .nsa-chatbot-send {
	all: unset;
	display: grid !important;
	place-items: center !important;
	position: static !important;
	inset: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	cursor: pointer !important;
	transform: none !important;
	box-sizing: border-box !important;
}
#nsa-chatbot-widget .nsa-chatbot-mic {
	width: 38px !important;
	height: 42px !important;
	min-width: 38px !important;
	max-width: 38px !important;
	border-radius: 10px !important;
	background: transparent !important;
	color: #68738c !important;
}
#nsa-chatbot-widget .nsa-chatbot-send {
	width: 46px !important;
	height: 44px !important;
	min-width: 46px !important;
	max-width: 46px !important;
	border-radius: 13px !important;
	background: linear-gradient(145deg, #1678ee, #04248e) !important;
	color: #fff !important;
	box-shadow: 0 5px 12px rgba(2,4,82,.28) !important;
}
#nsa-chatbot-widget .nsa-chatbot-send:hover,
#nsa-chatbot-widget .nsa-chatbot-send:active,
#nsa-chatbot-widget .nsa-chatbot-send:focus {
	background: linear-gradient(145deg, #1678ee, #04248e) !important;
	color: #fff !important;
	transform: none !important;
	filter: none !important;
}
#nsa-chatbot-widget .nsa-chatbot-mic svg {
	width: 22px !important;
	height: 22px !important;
	fill: currentColor !important;
}
#nsa-chatbot-widget .nsa-chatbot-send svg {
	width: 20px !important;
	height: 20px !important;
	fill: currentColor !important;
	transform: translateX(1px) !important;
}

#nsa-chatbot-widget .nsa-language-panel {
	width: min(100%, 330px) !important;
	margin: 16px auto 0 !important;
	padding: 0 !important;
}
#nsa-chatbot-widget .nsa-language-heading {
	justify-content: center !important;
	text-align: center !important;
}
#nsa-chatbot-widget .nsa-language-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 8px !important;
	width: 100% !important;
	margin: 0 auto !important;
}
#nsa-chatbot-widget .nsa-language-choice {
	all: unset;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 7px 8px !important;
	border: 1px solid #d6e2f3 !important;
	border-radius: 11px !important;
	background: #fff !important;
	color: #17233f !important;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-align: center !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transform: none !important;
}
#nsa-chatbot-widget .nsa-language-choice:hover,
#nsa-chatbot-widget .nsa-language-choice:focus-visible {
	border-color: #8bb7ff !important;
	background: #f8fbff !important;
	box-shadow: 0 0 0 3px rgba(11,85,234,.09) !important;
	transform: none !important;
}
#nsa-chatbot-widget .nsa-language-choice span {
	text-align: center !important;
}

@media (max-width: 520px) {
	#nsa-chatbot-widget .nsa-chatbot-close {
		top: 14px !important;
		right: 14px !important;
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		max-width: 32px !important;
		min-height: 32px !important;
		max-height: 32px !important;
	}
	#nsa-chatbot-widget .nsa-language-panel { width: min(100%, 310px) !important; }
	#nsa-chatbot-widget .nsa-language-choice { min-height: 36px !important; padding: 6px 7px !important; font-size: 12px !important; }
	#nsa-chatbot-widget .nsa-chatbot-input { grid-template-columns: minmax(0,1fr) 36px 44px !important; }
	#nsa-chatbot-widget .nsa-chatbot-mic { width: 36px !important; min-width: 36px !important; max-width: 36px !important; }
	#nsa-chatbot-widget .nsa-chatbot-send { width: 44px !important; min-width: 44px !important; max-width: 44px !important; }
}

/* Netserve Agent 1.9.5.5 — visible chat scrollbar, borderless close control,
   and removal of the language-choice interface. */
#nsa-chatbot-widget .nsa-chatbot-close,
#nsa-chatbot-widget .nsa-chatbot-close:hover,
#nsa-chatbot-widget .nsa-chatbot-close:active,
#nsa-chatbot-widget .nsa-chatbot-close:focus,
#nsa-chatbot-widget .nsa-chatbot-close:focus-visible {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: 0 7px 18px rgba(6,70,215,.26) !important;
}

#nsa-chatbot-widget .nsa-chatbot-messages {
	overflow-y: scroll !important;
	overflow-x: hidden !important;
	scrollbar-width: thin !important;
	scrollbar-color: #0b55ea rgba(11,85,234,.12) !important;
}
#nsa-chatbot-widget .nsa-chatbot-messages::-webkit-scrollbar {
	width: 9px !important;
}
#nsa-chatbot-widget .nsa-chatbot-messages::-webkit-scrollbar-track {
	background: rgba(11,85,234,.10) !important;
	border-radius: 999px !important;
}
#nsa-chatbot-widget .nsa-chatbot-messages::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #1678ee, #0646d7) !important;
	border: 2px solid rgba(255,255,255,.82) !important;
	border-radius: 999px !important;
}
#nsa-chatbot-widget .nsa-chatbot-messages::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #1678ee, #0646d7) !important;
}



/* Netserve Agent 1.9.5.6 — restore language choices without boxes or borders. */
#nsa-chatbot-widget .nsa-language-panel {
	display: block !important;
	width: min(100%, 330px) !important;
	margin: 18px auto 0 !important;
	padding: 0 !important;
}
#nsa-chatbot-widget .nsa-language-heading {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 0 0 10px !important;
	text-align: center !important;
}
#nsa-chatbot-widget .nsa-language-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 6px 18px !important;
	width: 100% !important;
}
#nsa-chatbot-widget .nsa-language-choice,
#nsa-chatbot-widget .nsa-language-choice:hover,
#nsa-chatbot-widget .nsa-language-choice:focus,
#nsa-chatbot-widget .nsa-language-choice:focus-visible,
#nsa-chatbot-widget .nsa-language-choice:active {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	min-height: 30px !important;
	padding: 3px 4px !important;
	margin: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transform: none !important;
	color: #17233f !important;
	text-decoration: none !important;
}
#nsa-chatbot-widget .nsa-language-choice:hover,
#nsa-chatbot-widget .nsa-language-choice:focus-visible {
	color: #0b55ea !important;
}
#nsa-chatbot-widget .nsa-language-choice.is-selected {
	color: #0b55ea !important;
	background: transparent !important;
	box-shadow: none !important;
}
@media (max-width: 420px) {
	#nsa-chatbot-widget .nsa-language-grid { gap: 5px 10px !important; }
	#nsa-chatbot-widget .nsa-language-choice { font-size: 12px !important; padding: 3px 2px !important; }
}


/* Netserve Agent 1.9.5.8 — compact, aligned language choices with subtle borders. */
#nsa-chatbot-widget .nsa-language-only-message .nsa-message-label {
	display: none !important;
}
#nsa-chatbot-widget .nsa-language-only-message .nsa-message-bubble {
	padding: 14px 16px !important;
}
#nsa-chatbot-widget .nsa-language-panel {
	width: min(100%, 336px) !important;
	margin: 0 auto !important;
}
#nsa-chatbot-widget .nsa-language-heading {
	margin: 0 0 10px !important;
	font-size: 13px !important;
	line-height: 1.25 !important;
}
#nsa-chatbot-widget .nsa-language-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 7px !important;
	align-items: stretch !important;
}
#nsa-chatbot-widget .nsa-language-choice,
#nsa-chatbot-widget .nsa-language-choice:hover,
#nsa-chatbot-widget .nsa-language-choice:focus,
#nsa-chatbot-widget .nsa-language-choice:focus-visible,
#nsa-chatbot-widget .nsa-language-choice:active {
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 34px !important;
	padding: 6px 8px !important;
	margin: 0 !important;
	border: 1px solid #d8e3f4 !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	box-shadow: none !important;
	transform: none !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	text-align: center !important;
	white-space: nowrap !important;
	color: #17233f !important;
}
#nsa-chatbot-widget .nsa-language-choice:hover,
#nsa-chatbot-widget .nsa-language-choice:focus-visible {
	border-color: #8fb4f5 !important;
	background: #f7faff !important;
	color: #0b55ea !important;
}
#nsa-chatbot-widget .nsa-language-choice.is-selected {
	border-color: #0b55ea !important;
	background: #eef5ff !important;
	color: #0b55ea !important;
}
#nsa-chatbot-widget .nsa-language-choice span:first-child {
	flex: 0 0 auto !important;
	font-size: 14px !important;
	line-height: 1 !important;
}
#nsa-chatbot-widget .nsa-language-choice span:last-child {
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}
@media (max-width: 420px) {
	#nsa-chatbot-widget .nsa-language-only-message .nsa-message-bubble { padding: 12px !important; }
	#nsa-chatbot-widget .nsa-language-grid { gap: 6px !important; }
	#nsa-chatbot-widget .nsa-language-choice { min-height: 32px !important; padding: 5px 6px !important; font-size: 11.5px !important; }
}

/* Netserve Agent 1.9.6.1 — shaded chat workspace for clear separation
   from light website backgrounds. Scope is limited to the message canvas. */
#nsa-chatbot-widget .nsa-chatbot-messages {
	background:
		radial-gradient(circle at 16% 8%, rgba(255,255,255,.52) 0, rgba(255,255,255,0) 34%),
		linear-gradient(180deg, #e4f1fa 0%, #d3e7f5 52%, #c9e0f1 100%) !important;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,.78),
		inset 0 -1px 0 rgba(78,122,158,.12),
		inset 10px 0 24px rgba(255,255,255,.12) !important;
}

#nsa-chatbot-widget .nsa-message.bot {
	background: rgba(255,255,255,.96) !important;
	box-shadow: 0 5px 14px rgba(42,83,116,.10) !important;
}

#nsa-chatbot-widget .nsa-language-choice,
#nsa-chatbot-widget .nsa-language-choice:hover,
#nsa-chatbot-widget .nsa-language-choice:focus,
#nsa-chatbot-widget .nsa-language-choice:focus-visible,
#nsa-chatbot-widget .nsa-language-choice:active {
	background: rgba(255,255,255,.90) !important;
}


/* Netserve Agent 1.9.7.2 — footer credit and integrated close button. */
#nsa-chatbot-widget .nsa-chatbot-header {
	padding-right: 82px !important;
}
#nsa-chatbot-widget .nsa-chatbot-close,
#nsa-chatbot-widget .nsa-chatbot-close:hover,
#nsa-chatbot-widget .nsa-chatbot-close:active,
#nsa-chatbot-widget .nsa-chatbot-close:focus,
#nsa-chatbot-widget .nsa-chatbot-close:focus-visible {
	top: 14px !important;
	right: 14px !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	border-radius: 10px !important;
	box-shadow: 0 6px 16px rgba(6,70,215,.24) !important;
	z-index: 20 !important;
}
#nsa-chatbot-widget .nsa-chatbot-close span {
	padding: 0 0 1px !important;
	font-size: 25px !important;
}
#nsa-chatbot-widget .nsa-developed-by {
	margin: 7px 0 0 !important;
	padding: 0 !important;
	color: #98c8f5 !important;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
	font-size: 9px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	text-align: center !important;
}
#nsa-chatbot-widget .nsa-developed-by a,
#nsa-chatbot-widget .nsa-developed-by a:hover,
#nsa-chatbot-widget .nsa-developed-by a:focus,
#nsa-chatbot-widget .nsa-developed-by a:visited {
	color: #98c8f5 !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}
@media (max-width: 520px) {
	#nsa-chatbot-widget .nsa-chatbot-header { padding-right: 70px !important; }
	#nsa-chatbot-widget .nsa-chatbot-close,
	#nsa-chatbot-widget .nsa-chatbot-close:hover,
	#nsa-chatbot-widget .nsa-chatbot-close:active,
	#nsa-chatbot-widget .nsa-chatbot-close:focus,
	#nsa-chatbot-widget .nsa-chatbot-close:focus-visible {
		top: 12px !important;
		right: 12px !important;
		width: 38px !important;
		height: 38px !important;
		min-width: 38px !important;
		max-width: 38px !important;
		min-height: 38px !important;
		max-height: 38px !important;
	}
}


/* Netserve Agent 1.9.7.3 — approved compact header title. */
#nsa-chatbot-widget .nsa-agent-title h3 {
	font-size: 11px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
}
@media (max-width: 520px) {
	#nsa-chatbot-widget .nsa-agent-title h3 { font-size: 11px !important; }
}

/* Netserve Agent 1.9.7.7 — approved responsive reference alignment. */
#nsa-chatbot-widget {
	--nsa-reference-navy: #030455;
	--nsa-reference-sky: #c7dcf1;
	--nsa-reference-border: #aeb7c2;
}
#nsa-chatbot-widget .nsa-chatbot-box {
	width: 542px;
	height: min(860px, calc(100vh - 96px));
	border-radius: 28px;
	background: var(--nsa-reference-sky);
}
#nsa-chatbot-widget .nsa-chatbot-header {
	min-height: 136px;
	grid-template-columns: minmax(0, 46%) minmax(0, 54%);
	padding: 20px 24px 15px;
	background:
		linear-gradient(135deg, #cfe2f5 0 46%, transparent 46.2%),
		var(--nsa-reference-navy);
	border-bottom: 0;
	box-shadow: none;
}
#nsa-chatbot-widget .nsa-brand-logo {
	width: 171px;
	filter: none;
}
#nsa-chatbot-widget .nsa-brand-motto { display: none; }
#nsa-chatbot-widget .nsa-agent-title {
	align-self: end;
	padding: 0 20px 4px 0;
	text-align: right;
}
#nsa-chatbot-widget .nsa-agent-title h3 {
	color: #fff;
	font-size: 20px;
	line-height: 1.08;
	white-space: normal;
}
#nsa-chatbot-widget .nsa-agent-title p {
	color: #87b5ff;
	font-size: 17px;
	font-weight: 500;
}
#nsa-chatbot-widget .nsa-chatbot-close {
	top: 20px !important;
	right: 20px !important;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	max-width: 42px !important;
	min-height: 42px !important;
	max-height: 42px !important;
	border-radius: 12px !important;
	font-size: 28px !important;
}
#nsa-chatbot-widget .nsa-active-banner {
	min-height: 62px;
	padding: 0 31px;
	gap: 18px;
	font-size: 15px;
	background: #c8f4cc;
}
#nsa-chatbot-widget .nsa-online-pulse {
	width: 18px;
	height: 18px;
	flex-basis: 18px;
}
#nsa-chatbot-widget .nsa-chatbot-messages {
	gap: 18px;
	padding: 28px 30px 24px;
	background: var(--nsa-reference-sky);
}
#nsa-chatbot-widget .nsa-message-row { max-width: 84%; }
#nsa-chatbot-widget .nsa-message-label {
	margin-bottom: 7px;
	font-size: 13px;
	color: #64738d;
}
#nsa-chatbot-widget .nsa-message {
	font-size: 14px;
	line-height: 1.45;
}
#nsa-chatbot-widget .nsa-message.bot {
	padding: 16px 19px;
	border: 5px solid var(--nsa-reference-border);
	border-radius: 22px 22px 22px 3px;
}
#nsa-chatbot-widget .nsa-message.user {
	padding: 13px 18px;
	border-radius: 7px 7px 3px 7px;
}
#nsa-chatbot-widget .nsa-welcome-message { max-width: 88%; }
#nsa-chatbot-widget .nsa-welcome-message .nsa-message { padding: 17px 20px; }
#nsa-chatbot-widget .nsa-language-only-message {
	width: 88%;
	max-width: 88%;
}
#nsa-chatbot-widget .nsa-language-only-message > .nsa-message-label {
	display: none;
}
#nsa-chatbot-widget .nsa-language-panel {
	margin-top: 0;
	padding: 18px;
	border: 5px solid var(--nsa-reference-border);
	border-radius: 23px;
	background: #fff;
}
#nsa-chatbot-widget .nsa-language-heading {
	margin-bottom: 13px;
	font-size: 14px;
}
#nsa-chatbot-widget .nsa-language-grid { gap: 10px; }
#nsa-chatbot-widget .nsa-language-choice {
	min-height: 48px;
	padding: 10px 13px;
	border-radius: 13px;
	font-size: 13px;
}
#nsa-chatbot-widget .nsa-chatbot-footer {
	padding: 16px 30px 13px;
	background: var(--nsa-reference-navy);
}
#nsa-chatbot-widget .nsa-chatbot-input {
	height: 60px !important;
	grid-template-columns: minmax(0,1fr) 43px 51px !important;
	padding: 5px 6px 5px 16px !important;
	border-radius: 16px !important;
}
#nsa-chatbot-widget .nsa-chatbot-input input[type="text"] {
	height: 50px !important;
	font-size: 15px !important;
}
#nsa-chatbot-widget .nsa-chatbot-mic {
	width: 43px !important;
	height: 48px !important;
}
#nsa-chatbot-widget .nsa-chatbot-send {
	width: 51px !important;
	height: 48px !important;
	max-width: 51px !important;
	border-radius: 14px !important;
}
#nsa-chatbot-widget .nsa-developed-by {
	margin-top: 10px;
	color: #98c8f5;
	font-size: 9px;
	text-align: center;
}
#nsa-chatbot-widget .nsa-developed-by a { color: #98c8f5; }

@media (max-width: 600px) {
	#nsa-chatbot-widget.bottom-right,
	#nsa-chatbot-widget.bottom-left { right: 8px; left: auto; bottom: 8px; }
	#nsa-chatbot-widget .nsa-chatbot-box {
		position: fixed;
		inset: 8px 8px 74px;
		width: auto;
		height: auto;
		max-width: none;
		border-radius: 22px;
	}
	#nsa-chatbot-widget .nsa-chatbot-header {
		min-height: 118px;
		grid-template-columns: 44% 56%;
		padding: 17px 16px 13px;
	}
	#nsa-chatbot-widget .nsa-brand-logo { width: min(142px, 100%); }
	#nsa-chatbot-widget .nsa-agent-title { padding-right: 12px; }
	#nsa-chatbot-widget .nsa-agent-title h3 { font-size: 16px; }
	#nsa-chatbot-widget .nsa-agent-title p { font-size: 13px; }
	#nsa-chatbot-widget .nsa-chatbot-close {
		top: 12px !important; right: 12px !important;
		width: 38px !important; height: 38px !important;
		min-width: 38px !important; max-width: 38px !important;
		min-height: 38px !important; max-height: 38px !important;
	}
	#nsa-chatbot-widget .nsa-active-banner { min-height: 52px; padding: 0 22px; font-size: 13px; }
	#nsa-chatbot-widget .nsa-chatbot-messages { padding: 21px 20px 18px; }
	#nsa-chatbot-widget .nsa-message-row { max-width: 91%; }
	#nsa-chatbot-widget .nsa-language-only-message { width: 100%; max-width: 100%; }
	#nsa-chatbot-widget .nsa-language-panel { padding: 14px; border-width: 4px; }
	#nsa-chatbot-widget .nsa-language-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
	#nsa-chatbot-widget .nsa-language-choice { min-height: 43px; padding: 8px; font-size: 12px; }
	#nsa-chatbot-widget .nsa-chatbot-footer { padding: 12px 18px 10px; }
}
@media (max-width: 380px) {
	#nsa-chatbot-widget .nsa-chatbot-header { grid-template-columns: 48% 52%; min-height: 108px; padding-left: 13px; }
	#nsa-chatbot-widget .nsa-brand-logo { width: 116px; }
	#nsa-chatbot-widget .nsa-agent-title h3 { font-size: 14px; }
	#nsa-chatbot-widget .nsa-agent-title p { font-size: 11px; }
	#nsa-chatbot-widget .nsa-language-choice { font-size: 11px; }
	#nsa-chatbot-widget .nsa-chatbot-messages { padding-left: 15px; padding-right: 15px; }
}

/* Netserve Agent 1.9.7.7 — compact responsive shell and stable close control. */
#nsa-chatbot-widget .nsa-chatbot-box {
	width: 430px !important;
	max-width: calc(100vw - 32px) !important;
	height: min(760px, calc(100vh - 104px)) !important;
	border-radius: 24px !important;
}
#nsa-chatbot-widget .nsa-chatbot-header {
	position: relative !important;
	min-height: 124px !important;
	grid-template-columns: minmax(0, 48%) minmax(0, 52%) !important;
	padding: 18px 20px 14px !important;
	overflow: hidden !important;
}
#nsa-chatbot-widget .nsa-brand-logo {
	width: 145px !important;
	max-width: 100% !important;
}
#nsa-chatbot-widget .nsa-agent-title {
	padding: 28px 10px 2px 8px !important;
	min-width: 0 !important;
}
#nsa-chatbot-widget .nsa-agent-title h3 {
	font-size: 15px !important;
	line-height: 1.1 !important;
	white-space: normal !important;
}
#nsa-chatbot-widget .nsa-agent-title p {
	font-size: 13px !important;
	line-height: 1.15 !important;
}
#nsa-chatbot-widget .nsa-chatbot-close,
#nsa-chatbot-widget .nsa-chatbot-close:hover,
#nsa-chatbot-widget .nsa-chatbot-close:active,
#nsa-chatbot-widget .nsa-chatbot-close:focus,
#nsa-chatbot-widget .nsa-chatbot-close:focus-visible {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	left: auto !important;
	bottom: auto !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	max-width: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 10px !important;
	font-size: 23px !important;
	transform: none !important;
	translate: none !important;
	animation: none !important;
	transition: background-color .15s ease, box-shadow .15s ease !important;
	z-index: 20 !important;
}
#nsa-chatbot-widget .nsa-chatbot-close span {
	transform: none !important;
	padding: 0 0 2px !important;
}
#nsa-chatbot-widget .nsa-active-banner {
	min-height: 52px !important;
	padding: 0 24px !important;
}
#nsa-chatbot-widget .nsa-chatbot-messages {
	padding: 22px 22px 18px !important;
}
#nsa-chatbot-widget .nsa-chatbot-footer {
	padding: 13px 22px 11px !important;
}

@media (max-width: 520px) {
	#nsa-chatbot-widget.bottom-right,
	#nsa-chatbot-widget.bottom-left {
		right: 6px !important;
		left: auto !important;
		bottom: 6px !important;
	}
	#nsa-chatbot-widget .nsa-chatbot-box {
		position: fixed !important;
		inset: 8px 8px 72px !important;
		width: auto !important;
		max-width: none !important;
		height: auto !important;
		border-radius: 20px !important;
	}
	#nsa-chatbot-widget .nsa-chatbot-header {
		min-height: 108px !important;
		grid-template-columns: 47% 53% !important;
		padding: 14px 14px 11px !important;
	}
	#nsa-chatbot-widget .nsa-brand-logo {
		width: min(126px, 100%) !important;
	}
	#nsa-chatbot-widget .nsa-agent-title {
		padding: 27px 6px 0 6px !important;
	}
	#nsa-chatbot-widget .nsa-agent-title h3 {
		font-size: 13px !important;
	}
	#nsa-chatbot-widget .nsa-agent-title p {
		font-size: 11px !important;
	}
	#nsa-chatbot-widget .nsa-chatbot-close,
	#nsa-chatbot-widget .nsa-chatbot-close:hover,
	#nsa-chatbot-widget .nsa-chatbot-close:active,
	#nsa-chatbot-widget .nsa-chatbot-close:focus,
	#nsa-chatbot-widget .nsa-chatbot-close:focus-visible {
		top: 10px !important;
		right: 10px !important;
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		max-width: 32px !important;
		min-height: 32px !important;
		max-height: 32px !important;
		font-size: 21px !important;
	}
	#nsa-chatbot-widget .nsa-active-banner {
		min-height: 48px !important;
		padding: 0 18px !important;
	}
	#nsa-chatbot-widget .nsa-chatbot-messages {
		padding: 18px 16px 15px !important;
	}
	#nsa-chatbot-widget .nsa-chatbot-footer {
		padding: 11px 14px 9px !important;
	}
}

@media (max-width: 360px) {
	#nsa-chatbot-widget .nsa-chatbot-header {
		grid-template-columns: 45% 55% !important;
		min-height: 100px !important;
		padding: 12px 10px 9px !important;
	}
	#nsa-chatbot-widget .nsa-brand-logo { width: min(112px, 100%) !important; }
	#nsa-chatbot-widget .nsa-agent-title { padding-top: 25px !important; }
	#nsa-chatbot-widget .nsa-agent-title h3 { font-size: 12px !important; }
	#nsa-chatbot-widget .nsa-agent-title p { font-size: 10px !important; }
}

/* Netserve Agent 1.9.7.7 — approved card alignment and close-glyph centering only. */
#nsa-chatbot-widget .nsa-welcome-message,
#nsa-chatbot-widget .nsa-language-only-message {
	width: 80% !important;
	max-width: 80% !important;
}

/* Keep one professional card border: the shared bot-message card. */
#nsa-chatbot-widget .nsa-language-only-message .nsa-message.bot {
	width: 100% !important;
	box-sizing: border-box !important;
}
#nsa-chatbot-widget .nsa-language-only-message .nsa-language-panel {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
#nsa-chatbot-widget .nsa-language-heading {
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

/* Geometrically centre the X inside its fixed blue control. */
#nsa-chatbot-widget .nsa-chatbot-close,
#nsa-chatbot-widget .nsa-chatbot-close:hover,
#nsa-chatbot-widget .nsa-chatbot-close:active,
#nsa-chatbot-widget .nsa-chatbot-close:focus,
#nsa-chatbot-widget .nsa-chatbot-close:focus-visible {
	display: grid !important;
	place-items: center !important;
	line-height: 1 !important;
	text-align: center !important;
}
#nsa-chatbot-widget .nsa-chatbot-close span {
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	transform: none !important;
}

@media (max-width: 520px) {
	#nsa-chatbot-widget .nsa-welcome-message,
	#nsa-chatbot-widget .nsa-language-only-message {
		width: 88% !important;
		max-width: 88% !important;
	}
}

@media (max-width: 360px) {
	#nsa-chatbot-widget .nsa-welcome-message,
	#nsa-chatbot-widget .nsa-language-only-message {
		width: 92% !important;
		max-width: 92% !important;
	}
}
