/* ── ComplyClear Accessibility — Elementor Widget Frontend Styles ──────────────── */
/* These styles are ONLY for the ADA Compliance Elementor widget.             */
/* No overlay, no runtime toolbar, no cosmetic JavaScript shims.              */

/* ── Panel wrapper ───────────────────────────────────────────────────────── */
.wcag-panel {
	font-family: inherit;
	color: #1a1a1a;
	line-height: 1.6;
}

.wcag-panel__heading {
	font-size: 1.5rem;
	font-weight: 700;
	margin-top: 0;
	color: var(--wcag-primary, #0052a5);
}

.wcag-panel__body {
	font-size: 1rem;
}

.wcag-panel__reviewed {
	font-size: 0.875rem;
	color: #555;
}

/* ── Checklist ───────────────────────────────────────────────────────────── */
.wcag-panel__checklist {
	list-style: none;
	padding: 0;
	margin: 0;
}

.wcag-checklist__item {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid #e8e8e8;
}

.wcag-checklist__item:last-child {
	border-bottom: none;
}

.wcag-checklist__icon {
	color: #2e7d32;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.wcag-checklist__text {
	flex: 1;
}

.wcag-checklist__criterion {
	font-size: 0.8rem;
	background: #e8f0fb;
	color: var(--wcag-primary, #0052a5);
	padding: 0.15rem 0.4rem;
	border-radius: 3px;
	white-space: nowrap;
}

/* ── Compliance Badge ────────────────────────────────────────────────────── */
.wcag-panel__badge {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 1.25rem 2rem;
	border: 3px solid var(--wcag-primary, #0052a5);
	border-radius: 0.5rem;
	text-align: center;
}

.wcag-badge__icon {
	font-size: 2.5rem;
	color: var(--wcag-primary, #0052a5);
}

.wcag-badge__standard {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--wcag-primary, #0052a5);
}

.wcag-badge__level {
	font-size: 0.9rem;
	font-weight: 600;
	color: #333;
}

.wcag-badge__agency {
	font-size: 0.8rem;
	color: #555;
}

/* ── Contact / Issue Report Form ─────────────────────────────────────────── */
.wcag-report-form {
	margin-top: 1rem;
}

.wcag-field {
	margin-bottom: 1rem;
}

.wcag-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.wcag-field input,
.wcag-field textarea {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #aaa;
	border-radius: 4px;
	font-size: 1rem;
	font-family: inherit;
	box-sizing: border-box;
}

.wcag-field input:focus,
.wcag-field textarea:focus {
	outline: 3px solid var(--wcag-primary, #0052a5);
	outline-offset: 1px;
	border-color: var(--wcag-primary, #0052a5);
}

.wcag-submit-btn {
	padding: 0.65rem 1.5rem;
	background: var(--wcag-primary, #0052a5);
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.wcag-submit-btn:hover,
.wcag-submit-btn:focus-visible {
	background: #003b76;
	outline: 3px solid var(--wcag-primary, #0052a5);
	outline-offset: 2px;
}

.wcag-form-success {
	padding: 0.75rem 1rem;
	background: #e8f5e9;
	border: 1px solid #2e7d32;
	border-radius: 4px;
	color: #1b5e20;
	font-weight: 600;
}

.wcag-form-error {
	padding: 0.75rem 1rem;
	background: #ffebee;
	border: 1px solid #c62828;
	border-radius: 4px;
	color: #b71c1c;
}

/* ── Print ───────────────────────────────────────────────────────────────── */
@media print {
	.wcag-report-form { display: none; }
}
