.easy-read-toggle {
	margin: 1.5em 0;
}

.easy-read-toggle__bar {
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin-bottom: 1em;
	flex-wrap: wrap;
}

.easy-read-toggle__switch {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 44px;
	min-width: 44px;
	background: none;
	border: 2px solid transparent;
	padding: 4px 12px;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	color: inherit;
}

.easy-read-toggle__switch:focus-visible {
	outline: 2px solid #111111;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px #111111;
}

.easy-read-toggle__switch-track {
	position: relative;
	width: 44px;
	height: 24px;
	background: #767676;
	border-radius: 999px;
	transition: background-color 0.2s ease;
	flex-shrink: 0;
}

.easy-read-toggle__switch[aria-checked="true"] .easy-read-toggle__switch-track {
	background: #1a7a3c;
}

.easy-read-toggle__switch-thumb {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s ease;
}

.easy-read-toggle__switch[aria-checked="true"] .easy-read-toggle__switch-thumb {
	transform: translateX(20px);
}

@media (prefers-reduced-motion: reduce) {
	.easy-read-toggle__switch-track,
	.easy-read-toggle__switch-thumb {
		transition: none;
	}
}

.easy-read-toggle__switch-text {
	text-decoration: none;
}

.easy-read-toggle__panel--easy {
	font-size: 1.05em;
	line-height: 1.7;
}

.easy-read-toggle__pending-notice {
	margin-bottom: 1.5em;
	font-weight: 600;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
