.kcc-root,
.kcc-root * {
	box-sizing: border-box;
}

.kcc-root {
	accent-color: var(--primary, #075ea8);
}

iframe[data-kcc-blocked-iframe] {
	display: none !important;
}

.kcc-banner {
	position: fixed;
	z-index: 999998;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 18px;
	color: #172033;
	background: #fff;
	border-top: 1px solid #d8deea;
	box-shadow: 0 -8px 30px rgba(23, 32, 51, .14);
	font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kcc-banner__content {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
}

.kcc-banner h2,
.kcc-modal h2 {
	margin: 0 0 8px;
	color: #172033;
	font: 700 22px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kcc-banner p,
.kcc-modal p {
	margin: 0;
}

.kcc-banner a {
	color: var(--primary, #075ea8);
	text-decoration: underline;
}

.kcc-actions {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
	flex-wrap: wrap;
}

.kcc-button,
.kcc-reopen {
	min-height: 42px;
	padding: 9px 17px;
	border: 2px solid var(--primary, #075ea8);
	border-radius: 4px;
	font: 700 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	cursor: pointer;
}

.kcc-button--primary,
.kcc-reopen {
	color: #fff;
	background: var(--primary, #075ea8);
}

.kcc-button--secondary {
	color: var(--primary, #075ea8);
	background: #fff;
}

.kcc-button:focus-visible,
.kcc-reopen:focus-visible,
.kcc-choice input:focus-visible {
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
}

.kcc-reopen {
	position: fixed;
	z-index: 999997;
	right: 18px;
	bottom: 18px;
	min-height: 38px;
	padding: 7px 13px;
	box-shadow: 0 4px 16px rgba(23, 32, 51, .22);
}

.kcc-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(10, 18, 33, .66);
}

.kcc-modal[hidden],
.kcc-banner[hidden],
.kcc-reopen[hidden] {
	display: none;
}

.kcc-modal__panel {
	width: min(100%, 610px);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 28px;
	color: #172033;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
	font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kcc-choice {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #d8deea;
}

.kcc-choice p {
	margin-top: 3px;
	color: #4b566b;
}

.kcc-choice input {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
}

.kcc-actions--modal {
	justify-content: flex-end;
	margin-top: 26px;
}

body.kcc-modal-open {
	overflow: hidden;
}

@media (max-width: 760px) {
	.kcc-banner__content {
		display: block;
	}

	.kcc-actions {
		margin-top: 16px;
	}

	.kcc-actions .kcc-button {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kcc-root * {
		scroll-behavior: auto !important;
	}
}
