/* Mirrors MobileMessageActionsSheet.module.css so the two mobile
   action sheets share a visual language. Same body padding, same
   rounded-card action list, same inset divider trick between rows. */

.body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 8px 16px 32px;
}

.title {
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: var(--text-primary-muted, #a0a3a8);
	padding-bottom: 4px;
	border-bottom: 1px solid var(--background-header-secondary);
	margin: 0 -16px 4px;
	padding: 0 16px 12px;
}

.actionList {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-radius: 12px;
	overflow: hidden;
}

.actionItem {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 16px;
	background-color: var(--background-secondary-alt);
	border: none;
	border-radius: 0;
	color: var(--text-primary, #fff);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.1s;
	-webkit-tap-highlight-color: transparent;
}

.actionItem:active {
	background-color: var(--background-modifier-hover, rgba(255, 255, 255, 0.08));
}

.actionItem svg {
	flex-shrink: 0;
	color: var(--text-primary-muted, #a0a3a8);
}

/* Inset 1px divider between adjacent rows in the same card — same
   trick MobileMessageActionsSheet uses so the rows read as a
   single grouped card instead of floating buttons. */
.actionItem:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 0;
	height: 1px;
	background-color: var(--background-header-secondary);
	pointer-events: none;
}

/* Destructive variant — Fluxer's exact delete red, tied to the
   saturation-factor token so it tracks theme changes. Overrides
   both the label and the icon color. */
.actionItemDanger {
	color: hsl(350, calc(90% * var(--saturation-factor)), 65%);
}

.actionItemDanger svg {
	color: hsl(350, calc(90% * var(--saturation-factor)), 65%);
}
