/* HUB380 Accessibility Widget */
#hub380-accessibility-widget {
	position: fixed;
	bottom: 20px;
	left: 20px; /* Israeli sites are RTL, so putting it on the left is common, but can be adjusted */
	z-index: 999999;
	font-family: system-ui, -apple-system, sans-serif;
	direction: rtl;
}

#hub380-a11y-toggle {
	background-color: #005A9C;
	color: #ffffff;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s;
}

#hub380-a11y-toggle:hover {
	transform: scale(1.05);
}

#hub380-a11y-menu {
	display: none;
	position: absolute;
	bottom: 60px;
	left: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
	width: 250px;
	padding: 15px;
}

#hub380-accessibility-widget.hub380-a11y-open #hub380-a11y-menu {
	display: block;
}

.hub380-a11y-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.hub380-a11y-header h4 {
	margin: 0;
	font-size: 16px;
	color: #333;
}

#hub380-a11y-close {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #666;
}

.hub380-a11y-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hub380-a11y-action {
	background: #f5f5f5;
	border: 1px solid #ddd;
	padding: 8px;
	border-radius: 4px;
	cursor: pointer;
	text-align: right;
	font-size: 14px;
	transition: background 0.2s;
	color: #333;
}

.hub380-a11y-action:hover, .hub380-a11y-action.active {
	background: #e0f0ff;
	border-color: #005A9C;
}

.hub380-a11y-footer {
	margin-top: 15px;
	text-align: center;
	font-size: 12px;
}

.hub380-a11y-footer a {
	color: #005A9C;
	text-decoration: underline;
}

/* Accessibility Active Classes applied to body */
body.hub380-a11y-high-contrast {
	background-color: #000 !important;
	color: #fff !important;
}

body.hub380-a11y-high-contrast * {
	background-color: #000 !important;
	color: #0ff !important;
	border-color: #0ff !important;
}

body.hub380-a11y-high-contrast a {
	color: #ff0 !important;
}

body.hub380-a11y-underline-links a {
	text-decoration: underline !important;
}
