/*
 * AccessPlus
 *
 * Package: vtinnovations/vt-access-plus
 * Copyright: VT Innovations
 * Licence: GPL-2.0-or-later
 * Website: https://v-t.one/accessplus
 */

/**
 * Floating plain-language toggle button.
 *
 * A class name only — every property here is applied via this stylesheet, never via
 * inline style attributes, so the button still renders correctly on a site running a
 * strict Content-Security-Policy without style-src 'unsafe-inline'.
 */
#vtap-simplify-toggle {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 2147482999;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: #1d4ed8;
	color: #fff;
	font-size: 14px;
	font-family: inherit;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.25 );
}

#vtap-simplify-toggle:hover,
#vtap-simplify-toggle:focus {
	background: #1e40af;
}

#vtap-simplify-toggle:focus-visible {
	outline: 3px solid #fbbf24;
	outline-offset: 2px;
}

#vtap-simplify-toggle[aria-pressed="true"] {
	background: #15803d;
}
