#evolutatv-agents-widget-root {
	position: relative;
	z-index: 999999;
}

.evo-agents-launcher {
	position: fixed;
	right: 18px;
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 2px solid #2ee6ff;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff7a00, #ff9d2f);
	box-shadow: 0 0 18px rgba(46, 230, 255, 0.55), 0 10px 24px rgba(15, 23, 42, 0.22);
	color: #ffffff;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	z-index: 999999;
}

.evo-agents-launcher:hover,
.evo-agents-launcher:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 0 22px rgba(46, 230, 255, 0.7), 0 12px 28px rgba(15, 23, 42, 0.26);
}

.evo-agents-launcher svg {
	width: 29px;
	height: 29px;
	fill: currentColor;
}

.evo-agents-panel {
	position: fixed;
	right: 12px;
	bottom: 88px;
	width: 285px;
	max-height: calc(100vh - 112px);
	overflow: auto;
	border: 2px solid #2ee6ff;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 0 18px rgba(46, 230, 255, 0.55), 0 18px 42px rgba(15, 23, 42, 0.25);
	color: #111827;
	font-family: inherit;
	z-index: 999998;
}

.evo-agents-panel[hidden] {
	display: none !important;
}

.evo-agents-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 13px;
	border-bottom: 3px solid #ff7a00;
	border-radius: 13px 13px 0 0;
	background: linear-gradient(135deg, #0077ff, #00cfff);
	color: #ffffff;
}

.evo-agents-header h2 {
	margin: 0;
	color: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.evo-agents-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.12);
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.evo-agents-close:hover,
.evo-agents-close:focus-visible {
	background: rgba(0, 0, 0, 0.24);
}

.evo-agents-body {
	padding: 10px;
}

.evo-agents-intro {
	margin: 0 0 9px;
	font-size: 13px;
	line-height: 1.35;
}

.evo-agents-list {
	display: grid;
	gap: 8px;
}

.evo-agent-row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #f8fafc;
	color: #111827;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.evo-agent-row:not(:disabled):hover,
.evo-agent-row:not(:disabled):focus-visible {
	border-color: #2ee6ff;
	background: #9eeeff;
	transform: translateY(-1px);
}

.evo-agent-row.agent-offline,
.evo-agent-row:disabled {
	border-color: #e5e7eb;
	background: #f3f4f6;
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.evo-agent-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff7a00, #ff9d2f);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.evo-agent-copy {
	min-width: 0;
	flex: 1 1 auto;
}

.evo-agent-name {
	display: block;
	overflow: hidden;
	color: #111827;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.evo-agent-title {
	display: block;
	margin-top: 2px;
	overflow: hidden;
	color: #4b5563;
	font-size: 12px;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.evo-agent-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 5px;
	color: #475569;
	font-size: 11px;
	font-weight: 600;
}

.evo-agent-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #9ca3af;
}

.evo-agent-row.is-online .evo-agent-status-dot {
	background: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.13);
}

.evo-agents-message {
	padding: 12px 8px;
	color: #475569;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}

.evo-agents-confirmation {
	margin-top: 10px;
	padding: 10px;
	border: 1px solid #2ee6ff;
	border-radius: 12px;
	background: #ecfdff;
}

.evo-agents-confirmation p {
	margin: 0 0 9px;
	color: #0f172a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.evo-agents-confirmation-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.evo-agents-confirmation button {
	min-height: 36px;
	padding: 7px 10px;
	border-radius: 9px;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.evo-agents-confirm-yes {
	border: 1px solid #ff7a00;
	background: #ff7a00;
	color: #ffffff;
}

.evo-agents-confirm-no {
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #334155;
}

.evo-agents-confirmation button:hover,
.evo-agents-confirmation button:focus-visible {
	filter: brightness(0.96);
}

.evo-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 480px) {
	.evo-agents-panel {
		right: 12px;
		bottom: 88px;
		width: calc(100vw - 24px);
		max-height: calc(100vh - 108px);
	}

	.evo-agents-launcher {
		right: 14px;
		bottom: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.evo-agents-launcher,
	.evo-agent-row {
		transition: none;
	}
}
