/* DataCoreSystems WCAG Compliance - Frontend */

/* ─── Screen reader only ─── */
.htk-sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

/* Placeholder contrast only — does not override Elementor theme colors */
body.datacoresystems-wcag-active :where(
	.form-control::placeholder,
	input[type="search"]::placeholder,
	input[type="text"]::placeholder,
	textarea::placeholder
):not(.dcs-a11y-widget):not(.dcs-a11y-widget *) {
	color: #767676;
}

/* ─── Skip links ─── */
.htk-skip-links {
	position: relative;
	z-index: 100000;
}

.htk-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: #0b3d6e;
	color: #fff !important;
	padding: 12px 20px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0 0 8px 0;
	z-index: 100001;
}

.htk-skip-link:focus {
	left: 0;
	width: auto;
	height: auto;
	outline: 3px solid #fbbf24;
	outline-offset: 2px;
}

.datacoresystems-wcag-user-controlled .htk-skip-links {
	display: block;
}

/* ═══════════════════════════════════════
   VISUAL ACCESSIBILITY MODES
   (opt-in via accessibility panel only)
   ═══════════════════════════════════════ */

/* High Contrast */
body.htk-mode-contrast,
html.htk-mode-contrast body {
	background: #000 !important;
	color: #fff !important;
}

body.htk-mode-contrast #page,
body.htk-mode-contrast .site,
body.htk-mode-contrast .site-content,
body.htk-mode-contrast .elementor,
body.htk-mode-contrast .elementor-section,
body.htk-mode-contrast .elementor-top-section,
body.htk-mode-contrast .elementor-column,
body.htk-mode-contrast .elementor-column-wrap,
body.htk-mode-contrast .elementor-widget-wrap,
body.htk-mode-contrast .elementor-element,
body.htk-mode-contrast .elementor-widget-container,
body.htk-mode-contrast header,
body.htk-mode-contrast footer,
body.htk-mode-contrast nav,
body.htk-mode-contrast .navbar,
body.htk-mode-contrast .th-header-wrap {
	background-color: #000 !important;
	background-image: none !important;
	color: #fff !important;
	border-color: #fff !important;
}

body.htk-mode-contrast :where(p, li, label, td, th, div, .elementor-heading-title, .elementor-icon-list-text):not(.dcs-a11y-widget):not(.dcs-a11y-widget *):not(.elementor-button *):not(.btn *):not(.button *) {
	color: #fff !important;
}

body.htk-mode-contrast :where(h1, h2, h3, h4, h5, h6, span):not(.dcs-a11y-widget):not(.dcs-a11y-widget *):not(.elementor-button *):not(.btn *):not(.button *) {
	color: #fff !important;
}

body.htk-mode-contrast :where(a):not(.dcs-a11y-widget):not(.dcs-a11y-widget *):not(.elementor-button):not(.btn):not(.button):not([class*="btn-"]) {
	color: #ffeb3b !important;
	text-decoration: underline !important;
	font-weight: 600 !important;
}

body.htk-mode-contrast :where(
	button,
	.btn,
	.button,
	.elementor-button,
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	a.btn,
	a.button,
	a[class*="btn-"]
):not(.dcs-a11y-widget):not(.dcs-a11y-widget *) {
	background-color: #fff !important;
	background-image: none !important;
	color: #000 !important;
	border: 2px solid #ffeb3b !important;
	box-shadow: none !important;
	text-decoration: none !important;
	-webkit-text-fill-color: #000 !important;
}

body.htk-mode-contrast :where(
	button,
	.btn,
	.button,
	.elementor-button,
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	a.btn,
	a.button,
	a[class*="btn-"]
) :where(span, div, p, strong, em, i):not(.dcs-a11y-widget):not(.dcs-a11y-widget *) {
	background: transparent !important;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	text-decoration: none !important;
}

body.htk-mode-contrast :where(
	button,
	.btn,
	.button,
	.elementor-button,
	a.btn,
	a.button,
	a[class*="btn-"]
):not(.dcs-a11y-widget):not(.dcs-a11y-widget *):hover,
body.htk-mode-contrast :where(
	button,
	.btn,
	.button,
	.elementor-button,
	a.btn,
	a.button,
	a[class*="btn-"]
):not(.dcs-a11y-widget):not(.dcs-a11y-widget *):focus {
	background-color: #ffeb3b !important;
	color: #000 !important;
	border-color: #fff !important;
	-webkit-text-fill-color: #000 !important;
}

body.htk-mode-contrast :where(
	button,
	.btn,
	.button,
	.elementor-button,
	a.btn,
	a.button,
	a[class*="btn-"]
):not(.dcs-a11y-widget):not(.dcs-a11y-widget *):hover :where(span, div, p),
body.htk-mode-contrast :where(
	button,
	.btn,
	.button,
	.elementor-button,
	a.btn,
	a.button,
	a[class*="btn-"]
):not(.dcs-a11y-widget):not(.dcs-a11y-widget *):focus :where(span, div, p) {
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
}

body.htk-mode-contrast :where(input, select, textarea):not(.dcs-a11y-widget):not(.dcs-a11y-widget *) {
	background: #fff !important;
	color: #000 !important;
	border: 2px solid #fff !important;
}

body.htk-mode-contrast img:not(.dcs-a11y-widget img) {
	filter: contrast(1.2);
}

/* Readable font */
body.htk-mode-readable,
body.htk-mode-readable .elementor-widget-container,
body.htk-mode-readable .elementor-heading-title,
body.htk-mode-readable .elementor-icon-list-text,
body.htk-mode-readable p,
body.htk-mode-readable li,
body.htk-mode-readable a,
body.htk-mode-readable span,
body.htk-mode-readable h1,
body.htk-mode-readable h2,
body.htk-mode-readable h3,
body.htk-mode-readable h4,
body.htk-mode-readable h5,
body.htk-mode-readable h6 {
	font-family: Arial, Helvetica, "Segoe UI", sans-serif !important;
}

/* Highlight links */
body.htk-mode-links a:not(.dcs-a11y-widget a):not(.dcs-a11y-widget *),
body.htk-mode-links .elementor-button-link:not(.dcs-a11y-widget *) {
	text-decoration: underline !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 3px !important;
	font-weight: 600 !important;
	outline: 1px dashed #0b3d6e !important;
	outline-offset: 2px !important;
}

body.htk-mode-links a:not(.dcs-a11y-widget):not(.dcs-a11y-widget *):hover,
body.htk-mode-links a:not(.dcs-a11y-widget):not(.dcs-a11y-widget *):focus {
	background: #fff3cd !important;
	color: #000 !important;
	outline: 2px solid #0b3d6e !important;
}

/* Focus outline — keyboard navigation (overrides theme outline:none) */
body.htk-mode-focus :focus:not(.dcs-a11y-widget):not(.dcs-a11y-widget *),
body.datacoresystems-wcag-2-4-7 :focus:not(.dcs-a11y-widget):not(.dcs-a11y-widget *),
html.htk-mode-focus :focus:not(.dcs-a11y-widget):not(.dcs-a11y-widget *),
html.datacoresystems-wcag-2-4-7 :focus:not(.dcs-a11y-widget):not(.dcs-a11y-widget *) {
	outline: 3px dashed #f59e0b !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.4) !important;
}

/* Menu / navigation — extra-visible dotted border when tabbing */
body.htk-mode-focus nav :focus:not(.dcs-a11y-widget *),
body.htk-mode-focus .navbar :focus:not(.dcs-a11y-widget *),
body.htk-mode-focus .menu :focus:not(.dcs-a11y-widget *),
body.htk-mode-focus .elementor-nav-menu :focus:not(.dcs-a11y-widget *),
body.htk-mode-focus #htk-main-navigation :focus:not(.dcs-a11y-widget *),
body.datacoresystems-wcag-2-4-7 nav :focus:not(.dcs-a11y-widget *),
body.datacoresystems-wcag-2-4-7 .navbar :focus:not(.dcs-a11y-widget *),
body.datacoresystems-wcag-2-4-7 .menu :focus:not(.dcs-a11y-widget *),
body.datacoresystems-wcag-2-4-7 .elementor-nav-menu :focus:not(.dcs-a11y-widget *),
body.datacoresystems-wcag-2-4-7 #htk-main-navigation :focus:not(.dcs-a11y-widget *),
.htk-kbd-focus:not(.dcs-a11y-widget):not(.dcs-a11y-widget *) {
	outline: 3px dashed #f59e0b !important;
	outline-offset: 4px !important;
	border: 2px dotted #005fcc !important;
	background-color: #fff3cd !important;
	color: #000 !important;
	box-shadow: 0 0 0 5px rgba(0, 95, 204, 0.35) !important;
	position: relative !important;
	z-index: 9999 !important;
}

/* JS-applied class — current keyboard focus target */
.htk-kbd-focus {
	outline: 3px dashed #f59e0b !important;
	outline-offset: 4px !important;
	border: 2px dotted #005fcc !important;
	background-color: #fff3cd !important;
	box-shadow: 0 0 0 5px rgba(0, 95, 204, 0.35) !important;
}

/* Reduce motion */
body.htk-mode-motion *,
body.htk-mode-motion *::before,
body.htk-mode-motion *::after,
body.datacoresystems-wcag-reduce-motion *,
body.datacoresystems-wcag-reduce-motion *::before,
body.datacoresystems-wcag-reduce-motion *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.01ms !important;
	scroll-behavior: auto !important;
}

body.datacoresystems-wcag-pause-animations *,
body.datacoresystems-wcag-pause-animations *::before,
body.datacoresystems-wcag-pause-animations *::after {
	animation-play-state: paused !important;
	transition: none !important;
}

/* Text spacing */
body.htk-mode-spacing p,
body.htk-mode-spacing li,
body.datacoresystems-wcag-1-4-12 p,
body.datacoresystems-wcag-1-4-12 li {
	line-height: 1.8 !important;
	letter-spacing: 0.04em !important;
	word-spacing: 0.08em !important;
}

body.htk-mode-spacing p,
body.datacoresystems-wcag-1-4-12 p {
	margin-bottom: 1.5em !important;
}

/* Text scale */
html.datacoresystems-wcag-text-scaled {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html.datacoresystems-wcag-text-scaled body {
	zoom: var(--htk-text-scale, 1);
}

html.datacoresystems-wcag-text-scaled .dcs-a11y-widget,
html.datacoresystems-wcag-text-scaled .dcs-a11y-overlay,
html.datacoresystems-wcag-text-scaled .htk-skip-links {
	zoom: calc(1 / var(--htk-text-scale, 1));
}

@supports not (zoom: 1) {
	html.datacoresystems-wcag-text-scaled {
		font-size: calc(100% * var(--htk-text-scale, 1)) !important;
	}
}

/* Reflow */
body.datacoresystems-wcag-1-4-10 img,
body.datacoresystems-wcag-1-4-10 video,
body.datacoresystems-wcag-1-4-10 iframe,
body.datacoresystems-wcag-1-4-10 table {
	max-width: 100% !important;
	height: auto !important;
}

/* Non-text contrast */
body.datacoresystems-wcag-1-4-11 button,
body.datacoresystems-wcag-1-4-11 input,
body.datacoresystems-wcag-1-4-11 select,
body.datacoresystems-wcag-1-4-11 textarea,
body.datacoresystems-wcag-1-4-11 .btn {
	border: 2px solid #333 !important;
}

/* Form errors */
.htk-field-error {
	border-color: #b00020 !important;
}

.htk-form-errors-summary {
	background: #fde8e8;
	border: 2px solid #b00020;
	padding: 12px 16px;
	margin-bottom: 16px;
	border-radius: 6px;
}

/* Touch targets */
body.datacoresystems-wcag-2-5-1 a,
body.datacoresystems-wcag-2-5-2 a,
body.datacoresystems-wcag-2-5-1 button,
body.datacoresystems-wcag-2-5-2 button {
	min-height: 44px;
	min-width: 44px;
}

/* ═══════════════════════════════════════
   ACCESSIBILITY WIDGET (excluded from modes)
   ═══════════════════════════════════════ */

.dcs-a11y-widget,
.dcs-a11y-widget * {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	line-height: 1.4 !important;
	letter-spacing: normal !important;
	word-spacing: normal !important;
}

/* Hide legacy AccessibleWP toolbar when DCS panel is active */
#acwp-toolbar-btn-wrap,
#acwp-toolbar-wrap {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.dcs-a11y-widget {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 2147483000;
}

body.dcs-a11y-panel-open {
	overflow: auto;
}

/* Overlay removed — panel opens without dimming or blurring the page */
.dcs-a11y-overlay {
	display: none !important;
}

/* Trigger — compact icon only, bottom-left */
.dcs-a11y-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: #0b3d6e;
	color: #fff !important;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(11, 61, 110, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.dcs-a11y-trigger:hover {
	transform: scale(1.06);
	background: #1565a8;
	box-shadow: 0 6px 18px rgba(11, 61, 110, 0.45);
}

.dcs-a11y-trigger:focus-visible {
	outline: 3px solid #fbbf24;
	outline-offset: 3px;
}

.dcs-a11y-trigger-icon {
	flex-shrink: 0;
	display: block;
}

.dcs-a11y-trigger-label {
	display: none !important;
}

/* Panel — opens above icon on the left */
.dcs-a11y-panel[hidden] {
	display: none !important;
}

.dcs-a11y-panel {
	position: fixed;
	left: 20px;
	bottom: 72px;
	width: min(380px, calc(100vw - 40px));
	max-height: min(85vh, 720px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
	border: 1px solid #e2e8f0;
	overflow: hidden;
	z-index: 2147483001;
	animation: htkSlideUp 0.25s ease;
}

@keyframes htkFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes htkSlideUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Header */
.dcs-a11y-panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 20px 16px;
	background: linear-gradient(135deg, #0b3d6e 0%, #1565a8 100%);
	color: #fff;
	flex-shrink: 0;
}

.dcs-a11y-panel-brand {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.dcs-a11y-panel-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 10px;
	flex-shrink: 0;
}

.dcs-a11y-panel-header h2 {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 700;
	color: #fff !important;
}

.dcs-a11y-panel-header p {
	margin: 0;
	font-size: 12px;
	opacity: 0.85;
	color: #fff !important;
}

.dcs-a11y-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.15);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	color: #fff;
	flex-shrink: 0;
	transition: background 0.15s;
}

.dcs-a11y-close:hover {
	background: rgba(255, 255, 255, 0.25);
}

.dcs-a11y-close:focus-visible {
	outline: 2px solid #fbbf24;
	outline-offset: 2px;
}

/* Body scroll area */
.dcs-a11y-panel-body {
	flex: 1;
	overflow-y: auto;
	padding: 0 0 8px;
}

.dcs-a11y-section {
	padding: 16px 20px;
	border-bottom: 1px solid #eef0f3;
}

.dcs-a11y-section-title {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b !important;
}

.dcs-a11y-section-note {
	margin: -6px 0 12px;
	font-size: 12px;
	line-height: 1.45;
	color: #94a3b8 !important;
}

.dcs-a11y-section-primary {
	background: #f1f5f9;
}

.dcs-a11y-section-keyboard {
	background: #f1f5f9;
}

/* Full-width cards (contrast, text size) */
.dcs-a11y-card-wide {
	grid-column: 1 / -1;
	width: 100%;
	margin-bottom: 10px;
}

.dcs-a11y-card-span-2 {
	grid-column: 1 / -1;
}

/* Featured contrast — centered like mockup */
.dcs-a11y-card-featured {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px 16px;
	min-height: 100px;
}

.dcs-a11y-card-featured .dcs-a11y-card-icon {
	width: 40px;
	height: 40px;
	margin-bottom: 4px;
}

.dcs-a11y-card-featured .dcs-a11y-card-label {
	font-size: 15px;
	font-weight: 700;
	color: #0b3d6e !important;
}

.dcs-a11y-card-desc {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #64748b !important;
	margin-top: 2px;
}

/* Text size box */
.dcs-a11y-text-size-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 16px;
	cursor: default;
	min-height: auto;
}

.dcs-a11y-text-size-box:hover {
	border-color: #e2e8f0;
	background: #fff;
}

.dcs-a11y-text-size-heading {
	font-size: 14px;
	font-weight: 700;
	color: #0b3d6e !important;
}

.dcs-a11y-text-size-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

/* Quick action cards grid */
.dcs-a11y-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.dcs-a11y-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 8px;
	background: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
	min-height: 88px;
	color: #0b3d6e !important;
	text-decoration: none !important;
}

.dcs-a11y-card:hover {
	border-color: #94a3b8;
	background: #f8fafc;
}

.dcs-a11y-card:focus-visible {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
}

.dcs-a11y-card.is-active {
	background: #fff;
	border-color: #0b3d6e;
	border-width: 3px;
	padding: 13px 7px;
}

.dcs-a11y-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: #0b3d6e;
	flex-shrink: 0;
}

.dcs-a11y-card-icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.dcs-a11y-card-label {
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	color: #0b3d6e !important;
	line-height: 1.3;
}

.dcs-a11y-card.is-active .dcs-a11y-card-label {
	color: #0b3d6e !important;
}

/* Keyboard jump cards — same box style */
.dcs-a11y-jump-card:hover,
.dcs-a11y-jump-card:focus-visible {
	border-color: #0b3d6e;
	background: #eff6ff;
}

/* Text size controls */
.dcs-a11y-size-btn {
	width: 40px;
	height: 40px;
	border: 2px solid #e2e8f0;
	background: #fff;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	color: #0b3d6e !important;
	transition: all 0.15s;
	flex-shrink: 0;
}

.dcs-a11y-size-btn:hover {
	border-color: #0b3d6e;
	background: #eff6ff;
}

.dcs-a11y-size-btn:focus-visible {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
}

.dcs-a11y-size-label {
	min-width: 52px;
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	color: #0b3d6e !important;
}

.dcs-a11y-size-reset {
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	background: #fff;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	color: #64748b !important;
}

/* Advanced accordion */
.dcs-a11y-accordion-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 0;
	background: none;
	border: none;
	font-size: 13px;
	font-weight: 700;
	color: #1e293b !important;
	cursor: pointer;
	text-align: left;
}

.dcs-a11y-accordion-trigger[aria-expanded="true"] .dcs-a11y-chevron {
	transform: rotate(180deg);
}

.dcs-a11y-chevron {
	transition: transform 0.2s;
	flex-shrink: 0;
}

.dcs-a11y-advanced-panel {
	padding-top: 4px;
}

.dcs-a11y-group-title {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8 !important;
	margin: 14px 0 8px;
}

.dcs-a11y-switch-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
}

.dcs-a11y-switch-row.is-locked {
	opacity: 0.85;
}

.dcs-a11y-switch-row.is-locked .dcs-a11y-switch-slider {
	background: #64748b;
	cursor: not-allowed;
}

.dcs-a11y-switch input:disabled + .dcs-a11y-switch-slider {
	opacity: 1;
}

.dcs-a11y-switch-meta strong {
	display: block;
	font-size: 13px;
	color: #1e293b !important;
}

.dcs-a11y-switch-meta small {
	font-size: 11px;
	color: #94a3b8 !important;
}

/* Toggle switch */
.dcs-a11y-switch {
	position: relative;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.dcs-a11y-switch input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.dcs-a11y-switch-slider {
	position: absolute;
	inset: 0;
	background: #cbd5e1;
	border-radius: 24px;
	cursor: pointer;
	transition: background 0.2s;
}

.dcs-a11y-switch-slider::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dcs-a11y-switch input:checked + .dcs-a11y-switch-slider {
	background: #0b3d6e;
}

.dcs-a11y-switch input:checked + .dcs-a11y-switch-slider::before {
	transform: translateX(20px);
}

.dcs-a11y-switch input:focus-visible + .dcs-a11y-switch-slider {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
}

/* Footer */
.dcs-a11y-panel-footer {
	display: flex;
	gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid #eef0f3;
	background: #f8fafc;
	flex-shrink: 0;
}

.dcs-a11y-btn {
	flex: 1;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	transition: all 0.15s;
}

.dcs-a11y-btn-primary {
	background: #0b3d6e;
	color: #fff !important;
}

.dcs-a11y-btn-primary:hover {
	background: #094d8a;
}

.dcs-a11y-btn-ghost {
	background: #fff;
	color: #64748b !important;
	border: 1px solid #e2e8f0;
}

.dcs-a11y-btn-ghost:hover {
	background: #f1f5f9;
}

.dcs-a11y-btn:focus-visible {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
}

/* Mobile */
@media (max-width: 480px) {
	.dcs-a11y-panel {
		left: 0;
		bottom: 0;
		width: 100%;
		max-height: 92vh;
		border-radius: 16px 16px 0 0;
	}

	.dcs-a11y-widget {
		left: 16px;
		bottom: 16px;
	}
}

/* Accessibility statement */
.dcs-a11y-statement {
	max-width: 720px;
	margin: 2em auto;
	padding: 1.5em;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

/* Status region */
#dcs-a11y-status {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	width: 1px !important;
}
