.edcc-root,
.edcc-root * {
	box-sizing: border-box;
}

.edcc-banner {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 99998;
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	padding: 18px;
	background: #ffffff;
	border: 1px solid #d7dce2;
	border-radius: 8px;
	box-shadow: 0 12px 36px rgba(24, 32, 42, 0.18);
	color: #1f2933;
	font-family: Arial, Helvetica, sans-serif;
}

.edcc-banner[hidden],
.edcc-modal[hidden],
.edcc-reopen[hidden],
.edcc-admin-scanner[hidden],
.edcc-admin-scanner__panel[hidden] {
	display: none !important;
}

.edcc-banner__content {
	max-width: 760px;
}

.edcc-banner__title,
.edcc-modal__title {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	color: #111827;
}

.edcc-banner__text,
.edcc-banner__policy,
.edcc-modal__description {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.edcc-modal__description {
	margin-bottom: 18px;
}

.edcc-banner__policy {
	margin-top: 8px;
}

.edcc-banner__actions,
.edcc-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.edcc-modal__actions {
	gap: 10px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.edcc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid #7b8794;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
}

.edcc-button:focus,
.edcc-reopen:focus,
.edcc-category input:focus,
.edcc-modal:focus,
.edcc-admin-scanner__toggle:focus,
.edcc-admin-scanner__close:focus,
.edcc-smallButton:focus {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.edcc-button:focus-visible,
.edcc-reopen:focus-visible,
.edcc-category input:focus-visible,
.edcc-modal:focus-visible,
.edcc-admin-scanner__toggle:focus-visible,
.edcc-admin-scanner__close:focus-visible,
.edcc-smallButton:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.edcc-button--primary {
	border-color: #1565c0;
	background: #1565c0;
	color: #ffffff;
}

.edcc-button--secondary {
	border-color: #43515f;
	background: #43515f;
	color: #ffffff;
}

.edcc-button--ghost {
	border-color: #9aa5b1;
	background: #ffffff;
	color: #1f2933;
}

a.edcc-button,
a.edcc-button:visited,
a.edcc-button:focus,
a.edcc-reopen,
a.edcc-reopen:visited,
a.edcc-reopen:focus {
	text-decoration: none;
}

.edcc-button.edcc-button--primary,
.edcc-button.edcc-button--primary:visited,
.edcc-button.edcc-button--primary:focus {
	border-color: #1565c0;
	background: #1565c0;
	color: #ffffff;
}

.edcc-button.edcc-button--primary:hover {
	border-color: #0b4f9c;
	background: #0b4f9c;
	color: #ffffff;
	box-shadow: 0 8px 18px rgba(21, 101, 192, 0.28);
}

.edcc-button.edcc-button--primary:active {
	border-color: #073f7d;
	background: #073f7d;
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(21, 101, 192, 0.22);
}

.edcc-button.edcc-button--secondary,
.edcc-button.edcc-button--secondary:visited,
.edcc-button.edcc-button--secondary:focus {
	border-color: #43515f;
	background: #43515f;
	color: #ffffff;
}

.edcc-button.edcc-button--secondary:hover {
	border-color: #263442;
	background: #263442;
	color: #ffffff;
	box-shadow: 0 8px 18px rgba(67, 81, 95, 0.24);
}

.edcc-button.edcc-button--secondary:active {
	border-color: #1f2a35;
	background: #1f2a35;
	color: #ffffff;
	box-shadow: 0 4px 10px rgba(67, 81, 95, 0.2);
}

.edcc-button.edcc-button--ghost,
.edcc-button.edcc-button--ghost:visited,
.edcc-button.edcc-button--ghost:focus {
	border-color: #9aa5b1;
	background: #ffffff;
	color: #1f2933;
}

.edcc-button.edcc-button--ghost:hover {
	border-color: #1565c0;
	background: #eef5ff;
	color: #0f3b68;
	box-shadow: 0 8px 18px rgba(21, 101, 192, 0.16);
}

.edcc-button.edcc-button--ghost:active {
	border-color: #0b4f9c;
	background: #dbeafe;
	color: #0f3b68;
	box-shadow: 0 4px 10px rgba(21, 101, 192, 0.12);
}

.edcc-reopen,
.edcc-reopen:visited,
.edcc-reopen:focus {
	position: fixed;
	z-index: 99997;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid rgba(15, 23, 42, 0.18);
	border-radius: 999px;
	background: #ffffff;
	color: #1f2937;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.edcc-reopen:hover {
	transform: translateY(-1px);
	border-color: rgba(15, 23, 42, 0.22);
	background: #f8fafc;
	color: #1f2937;
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.24);
}

.edcc-reopen:active {
	transform: translateY(0);
	background: #eef2f7;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
}

.edcc-reopen:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.45);
	outline-offset: 3px;
}

.edcc-reopen__icon {
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.edcc-reopen__svg {
	width: 26px;
	height: 26px;
	display: block;
	fill: currentColor;
}

.edcc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.edcc-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 24, 39, 0.56);
	font-family: Arial, Helvetica, sans-serif;
}

.edcc-modal__panel {
	width: min(680px, 100%);
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 22px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 16px 50px rgba(17, 24, 39, 0.26);
	color: #1f2933;
}

.edcc-modal__tabs {
	display: flex;
	gap: 8px;
	margin: 6px 0 16px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.edcc-modal__tab {
	appearance: none;
	border: 0;
	background: transparent;
	color: #475569;
	font: inherit;
	font-weight: 700;
	padding: 10px 14px;
	border-radius: 8px 8px 0 0;
	cursor: pointer;
	position: relative;
}

.edcc-modal__tab:hover {
	background: rgba(15, 23, 42, 0.05);
	color: #0f172a;
}

.edcc-modal__tab:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.35);
	outline-offset: 2px;
}

.edcc-modal__tab--active {
	color: #0f172a;
	background: #ffffff;
}

.edcc-modal__tab--active::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: -1px;
	height: 3px;
	border-radius: 999px 999px 0 0;
	background: #2563eb;
}

.edcc-modal__tabPanel[hidden] {
	display: none;
}

.edcc-categories {
	display: grid;
	gap: 10px;
	margin: 16px 0;
}

.edcc-category {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 12px;
	border: 1px solid #d7dce2;
	border-radius: 6px;
	background: #f8fafc;
}

.edcc-category__body {
	display: grid;
	gap: 4px;
	font-size: 14px;
	line-height: 1.4;
}

.edcc-category input {
	width: 22px;
	height: 22px;
}

.edcc-aboutCookies {
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 10px;
	padding: 20px 20px 18px;
	color: #334155;
	line-height: 1.65;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.edcc-aboutCookies p {
	margin: 0 0 16px;
}

.edcc-aboutCookies p:last-child {
	margin-bottom: 0;
}

.edcc-aboutCookies__policyLinks {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.edcc-aboutCookies__policyIntro {
	margin: 0 0 10px;
	font-weight: 600;
	color: #334155;
}

.edcc-aboutCookies__links {
	margin: 0;
	padding-left: 20px;
}

.edcc-aboutCookies__links li {
	margin: 8px 0;
}

.edcc-aboutCookies__link {
	color: #2563eb;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.edcc-aboutCookies__link:hover {
	color: #1d4ed8;
}

.edcc-adsense-placeholder {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	margin: 12px 0;
	padding: 12px;
	border: 1px dashed #9aa5b1;
	background: #f8fafc;
	color: #1f2933;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

.edcc-adsense-placeholder button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 6px 10px;
	border: 1px solid #43515f;
	border-radius: 6px;
	background: #43515f;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.edcc-admin-scanner {
	display: block;
	margin: 0 0 12px;
	font-family: Arial, Helvetica, sans-serif;
	color: #1f2933;
}

.edcc-admin-scanner__toggle,
.edcc-smallButton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 12px;
	border: 1px solid #43515f;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(24, 32, 42, 0.16);
}

.edcc-admin-scanner__toggle:hover,
.edcc-smallButton:hover {
	border-color: #1565c0;
	background: #eef5ff;
	color: #0f3b68;
	box-shadow: 0 8px 18px rgba(21, 101, 192, 0.18);
}

.edcc-admin-scanner__toggle:active,
.edcc-smallButton:active {
	border-color: #0b4f9c;
	background: #dbeafe;
	color: #0f3b68;
	box-shadow: 0 4px 10px rgba(21, 101, 192, 0.14);
}

.edcc-admin-scanner__toggle:focus,
.edcc-smallButton:focus {
	border-color: #43515f;
	background: #ffffff;
	color: #1f2933;
}

.edcc-admin-scanner__panel {
	width: 100%;
	max-width: 920px;
	max-height: calc(100vh - 96px);
	overflow: auto;
	margin-top: 10px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 18px 48px rgba(17, 24, 39, 0.24);
}

.edcc-admin-scanner__header {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.edcc-admin-scanner__header h2 {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	color: #111827;
}

.edcc-admin-scanner__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #9aa5b1;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.edcc-admin-scanner__close:hover {
	border-color: #1565c0;
	background: #eef5ff;
	color: #0f3b68;
}

.edcc-admin-scanner__close:active {
	border-color: #0b4f9c;
	background: #dbeafe;
	color: #0f3b68;
}

.edcc-admin-scanner__close:focus {
	border-color: #43515f;
	background: #ffffff;
	color: #1f2933;
}

.edcc-admin-scanner__panel p {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.45;
}

.edcc-admin-scanner__welcome {
	margin: 0 0 10px;
	padding: 10px 12px;
	border-left: 4px solid #1565c0;
	background: #f1f7ff;
	color: #1f2933;
	font-size: 14px;
	line-height: 1.45;
}

.edcc-admin-scanner__notice {
	color: #4b5563;
}

.edcc-admin-scanner__setupNotice {
	margin: 0 0 10px;
	padding: 9px 11px;
	border: 1px solid #fbbf24;
	border-radius: 6px;
	background: #fffbeb;
	color: #713f12;
	font-weight: 700;
}

.edcc-admin-scanner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0;
}

.edcc-admin-scanner .edcc-button[disabled],
.edcc-admin-scanner .edcc-button[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
}

.edcc-admin-scanner__tableWrap {
	max-width: 100%;
	overflow-x: auto;
}

.edcc-scannerTable {
	width: 100%;
	min-width: 820px;
	border-collapse: collapse;
	background: #ffffff;
	font-size: 13px;
}

.edcc-scannerTable td {
	padding: 9px 10px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}

.edcc-scannerTable tr:first-child td {
	font-weight: 700;
	color: #111827;
	background: #f8fafc;
}

.edcc-smallButton {
	min-height: 30px;
	padding: 5px 9px;
	box-shadow: none;
}

.edcc-smallButton:disabled {
	opacity: 0.62;
	cursor: not-allowed;
}

.edcc-admin-scanner__category {
	display: block;
	width: 100%;
	min-width: 160px;
	margin: 0 0 6px;
	padding: 5px 8px;
	border: 1px solid #9aa5b1;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2933;
	font-size: 13px;
	line-height: 1.2;
}

.edcc-admin-scanner__message {
	display: block;
	margin-top: 5px;
	color: #9f1239;
	font-size: 12px;
	line-height: 1.35;
}

.edcc-reopen--bottom-left {
	left: 24px;
	bottom: 24px;
}

.edcc-reopen--bottom-right {
	right: 24px;
	bottom: 24px;
}

.edcc-reopen--top-left {
	left: 24px;
	top: 24px;
}

.edcc-reopen--top-right {
	right: 24px;
	top: 24px;
}

@media (max-width: 640px) {
	.edcc-aboutCookies {
		padding: 16px;
	}

	.edcc-modal__actions {
		margin-top: 18px;
		padding-top: 14px;
		flex-wrap: wrap;
	}

	.edcc-modal__actions .edcc-button {
		flex: 1 1 auto;
	}

	.edcc-reopen {
		width: 46px;
		height: 46px;
	}

	.edcc-reopen__icon,
	.edcc-reopen__svg {
		width: 23px;
		height: 23px;
	}

	.edcc-reopen--bottom-left {
		left: 16px;
		bottom: 16px;
	}

	.edcc-reopen--bottom-right {
		right: 16px;
		bottom: 16px;
	}

	.edcc-reopen--top-left {
		left: 16px;
		top: 16px;
	}

	.edcc-reopen--top-right {
		right: 16px;
		top: 16px;
	}
}

@media (max-width: 720px) {
	.edcc-banner {
		flex-direction: column;
		align-items: stretch;
	}

	.edcc-banner__actions,
	.edcc-modal__actions {
		justify-content: stretch;
	}

	.edcc-button {
		flex: 1 1 100%;
	}
	.edcc-admin-scanner__panel {
		max-height: calc(100vh - 80px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.edcc-root *,
	.edcc-root *::before,
	.edcc-root *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
