/*
 * Fixed action tabs on the right edge of every page.
 * Each tab sits mostly off-screen, with its icon visible. Hover and keyboard
 * focus slide the label into view.
 */

.fka-side-actions {
	position: fixed;
	z-index: 40;
	top: 50%;
	right: 0;
	display: flex;
	flex-direction: column;
	gap: var(--fka-space-2xs);
	transform: translateY(-50%);
	pointer-events: none;
}

.fka-side-actions__link {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 18px 0 16px;
	border-radius: 18px 0 0 18px;
	background: var(--fka-color-blue);
	color: #fff;
	box-shadow: -4px 4px 12px rgb(24 68 129 / 18%);
	font-family: var(--fka-font-primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	pointer-events: auto;
	transform: translateX(calc(100% - 46px));
	transition: transform 0.28s ease;
}

.fka-side-actions__link:hover,
.fka-side-actions__link:focus-visible {
	color: #fff;
	transform: translateX(0);
}

.fka-side-actions__link:focus-visible {
	outline: 2px solid var(--fka-color-yellow);
	outline-offset: 3px;
}

.fka-side-actions__icon {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	font-size: 22px;
	color: #fff;
}

.fka-side-actions__label {
	color: #fff;
}

@media (max-width: 767px) {
	.fka-side-actions__link {
		height: 48px;
		padding: 0 14px 0 13px;
		border-radius: 14px 0 0 14px;
		font-size: 13px;
		transform: translateX(calc(100% - 40px));
	}

	.fka-side-actions__icon {
		flex-basis: 20px;
		width: 20px;
		height: 20px;
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fka-side-actions__link {
		transition: none;
	}
}

@media print {
	.fka-side-actions {
		display: none;
	}
}
