/* App-specific styles. Blok ships its own CSS (sitecore-blok.css) — keep this minimal. */

html, body {
	margin: 0;
	padding: 0;
}

/* Standard Blazor error UI — hidden until the framework reveals it on an unhandled error. */
#blazor-error-ui {
	color-scheme: light only;
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 0.75rem;
	top: 0.5rem;
}

/* The plugin renders inside the Pages context panel; give it room and a top offset for the bar. */
.jira-panel {
	padding: 46px 12px 24px;
	max-width: 920px;
	margin: 0 auto;
}

/* Top fixed bar that hosts the ⋮ options menu (replaces FloatingMenu.tsx). */
.jira-menu-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 38px;
	background-color: #e9e9e9;
	z-index: 1001;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 8px;
}

.jira-menu-bar__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	padding: 4px 8px;
	border-top: 1px solid #e0e0e0;
	background-color: #e9e9e9;
	font-size: 11px;
	color: #6b7280;
}

/* Icon-only button used for the ⋮ menu trigger (the Blok DropdownMenuTrigger is itself the button). */
.jira-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 6px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 4px;
	color: #111827;
}

.jira-icon-btn:hover {
	background: rgba(0, 0, 0, 0.06);
}

.jira-card-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.jira-item-card__desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .8125rem;
	color: #4b5563;
}
