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

.monaco-workbench .rageShake-card {
	position: absolute;
	z-index: 1000;
	top: 35px;
	right: 0px;
	width: 260px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 10px;
	border-radius: 4px;
	background-color: var(--vscode-editor-background);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s;
}

.monaco-workbench .rageShake-card > .rageShake-card-header {
	display: grid;
	font-weight: bold;
	font-size: 14px;
	grid-template-columns: min-content auto min-content;
}

.monaco-workbench .rageShake-card > .rageShake-card-header .rageShake-card-title {
	text-align: center;
}

.monaco-workbench .rageShake-card > .rageShake-card-header .monaco-button {
	transform: translateY(-1px);
	padding: 3px;
	border-radius: 5px;
	cursor: pointer;
}

.monaco-workbench .rageShake-card > .rageShake-card-header .monaco-button:hover {
	background-color: var(--vscode-actionBar-toggledBackground);
}


/* Start */

.monaco-workbench .rageShake-card > .rageShake-card-body .rageShake-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}


.monaco-workbench .rageShake-card > .rageShake-card-body .rageShake-list .monaco-button {
	display: grid;
	grid-template-columns: min-content auto min-content;
	place-content: stretch;
}


.monaco-workbench .rageShake-card > .rageShake-card-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.monaco-workbench .rageShake-card > .rageShake-card-body textarea {
	background-color: var(--vscode-input-background);
	color: var(--vscode-input-foreground);
	border: 1px solid var(--vscode-input-border, transparent);
	border-radius: 4px;
	line-height: 18px;
	font-family: inherit;
	resize: vertical;
	width: 100%;
	padding: 6px;
	box-sizing: border-box;
}

/* Issue */

.monaco-workbench .rageShake-card > .rageShake-card-body .rageShake-issue-attachments {
	display: flex;
	gap: 4px;
}

.monaco-workbench .rageShake-card > .rageShake-card-body .rageShake-screenshot-container {
	display: flex;
	position: relative;
}

.monaco-workbench .rageShake-card > .rageShake-card-body .rageShake-screenshot-clear-button {
	aspect-ratio: 1;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	right: 0;
	top: 0;
	width: auto;
	transform: translate(50%, -50%);
	padding: 2px;
	color: var(--vscode-button-secondaryForeground);
	background-color: var(--vscode-button-secondaryBackground);
	border-radius: 999px;
}


.monaco-workbench .rageShake-card > .rageShake-card-body .rageShake-screenshot-add-button {
	aspect-ratio: 1;
	width: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2px;
}

.monaco-workbench .rageShake-card > .rageShake-card-body .rageShake-screenshot-preview {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes screenshot-button-icon-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.monaco-workbench .rageShake-card > .rageShake-card-body .monaco-button.screenShot-button .codicon-loading {
	animation: screenshot-button-icon-spin 1s linear infinite;
}


