/*
 * Elite Kit — Accessibility Check, in the Elementor editor.
 * Loaded in the editor only (classes/a11y-check.php); never on the site.
 */
.ek-a11y-button {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 100000;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 0;
	border-radius: 999px;
	background: #1d2327;
	color: #fff;
	font: 600 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	cursor: pointer;
}

.ek-a11y-button:hover {
	background: #000;
}

/* Open, the panel covers the corner; the button moves out beside it. */
.ek-a11y-button[aria-expanded="true"] {
	right: 400px;
}

.ek-a11y-button:focus-visible,
.ek-a11y-panel button:focus-visible,
.ek-a11y-heading:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

.ek-a11y-icon {
	font-size: 16px;
	line-height: 1;
}

.ek-a11y-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: #f0b849;
	color: #1d2327;
	font-size: 12px;
}

.ek-a11y-badge[data-severity="error"] {
	background: #d63638;
	color: #fff;
}

.ek-a11y-badge[hidden],
.ek-a11y-panel[hidden],
.ek-a11y-item[hidden] {
	display: none;
}

.ek-a11y-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	width: 380px;
	max-width: 100vw;
	background: #fff;
	color: #1d2327;
	font: 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
}

.ek-a11y-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid #dcdcde;
}

.ek-a11y-heading {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}

.ek-a11y-close {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.ek-a11y-close:hover {
	background: #f0f0f1;
}

.ek-a11y-tools {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	border-bottom: 1px solid #dcdcde;
}

.ek-a11y-rerun {
	padding: 6px 12px;
	border: 1px solid #2271b1;
	border-radius: 4px;
	background: #fff;
	color: #2271b1;
	font-weight: 600;
	cursor: pointer;
}

.ek-a11y-rerun:hover {
	background: #f0f6fc;
}

.ek-a11y-status {
	color: #50575e;
	font-size: 12px;
}

.ek-a11y-body {
	flex: 1 1 auto;
	padding: 12px 16px 24px;
	overflow-y: auto;
}

.ek-a11y-summary,
.ek-a11y-clear {
	margin: 4px 0 14px;
	font-size: 14px;
}

.ek-a11y-clear {
	padding: 10px 12px;
	border-radius: 6px;
	background: #edfaef;
	color: #00450c;
}

.ek-a11y-group {
	margin-bottom: 18px;
	border-left: 4px solid #f0b849;
	padding-left: 12px;
}

.ek-a11y-group[data-severity="error"] {
	border-left-color: #d63638;
}

.ek-a11y-group-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
}

.ek-a11y-sev {
	padding: 1px 6px;
	border-radius: 3px;
	background: #fcf0f1;
	color: #8a1f21;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.ek-a11y-group[data-severity="warning"] .ek-a11y-sev {
	background: #fcf9e8;
	color: #614200;
}

.ek-a11y-count {
	margin-left: auto;
	color: #50575e;
	font-weight: 400;
}

.ek-a11y-fix {
	margin: 0 0 8px;
	color: #50575e;
}

.ek-a11y-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ek-a11y-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid #f0f0f1;
}

.ek-a11y-item-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ek-a11y-item-where {
	overflow: hidden;
	color: #50575e;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ek-a11y-show,
.ek-a11y-all {
	flex-shrink: 0;
	padding: 4px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	font-size: 12px;
	cursor: pointer;
}

.ek-a11y-show:hover,
.ek-a11y-all:hover {
	background: #f6f7f7;
}

.ek-a11y-all {
	margin-top: 8px;
}

.ek-a11y-note {
	margin: 20px 0 0;
	padding-top: 12px;
	border-top: 1px solid #dcdcde;
	color: #50575e;
	font-size: 12px;
}

@media (prefers-reduced-motion: no-preference) {
	.ek-a11y-button {
		transition: background-color 0.15s ease;
	}
}
