/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.chat-context-usage-widget {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 22px;
	flex-shrink: 0;
	cursor: pointer;
	padding: 3px;
	border-radius: 5px;
	box-sizing: border-box;
}

.chat-context-usage-widget .icon-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.chat-context-usage-widget:hover {
	background-color: var(--vscode-toolbar-hoverBackground);
	outline: 1px dashed var(--vscode-toolbar-hoverOutline);
	outline-offset: -1px;
}

.chat-context-usage-widget:focus {
	outline: 1px solid var(--vscode-focusBorder);
	outline-offset: -1px;
}

.chat-context-usage-widget:active {
	background-color: var(--vscode-toolbar-activeBackground);
}

.chat-context-usage-widget .circular-progress {
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.chat-context-usage-widget .progress-bg {
	fill: transparent;
	stroke: var(--vscode-icon-foreground);
	stroke-width: 2;
	opacity: 0.4;
}

.chat-context-usage-widget .progress-pie {
	fill: var(--vscode-icon-foreground);
	opacity: 0.8;
	pointer-events: none;
}

.chat-context-usage-widget.warning .progress-pie {
	fill: var(--vscode-editorWarning-foreground);
}

.chat-context-usage-widget.error .progress-pie {
	fill: var(--vscode-editorError-foreground);
}
