.emdrbox-consent-banner,
.emdrbox-consent-modal {
	box-sizing: border-box;
	color: #202124;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

.emdrbox-consent-banner *,
.emdrbox-consent-modal * {
	box-sizing: border-box;
}

.emdrbox-consent-banner {
	align-items: center;
	background: #fff;
	border-top: 4px solid #633b8f;
	bottom: 0;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, .18);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	left: 0;
	padding: 20px max(24px, calc((100vw - 1180px) / 2));
	position: fixed;
	right: 0;
	z-index: 2147483646;
}

.emdrbox-consent-banner h2,
.emdrbox-consent-modal h2 {
	color: #3f245d;
	font-size: 21px;
	margin: 0 0 6px;
}

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

.emdrbox-consent-banner a,
.emdrbox-consent-modal a,
.emdrbox-form-notice a,
.emdrbox-privacy-links a {
	color: #633b8f;
	text-decoration: underline;
}

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

.emdrbox-consent-actions button,
.emdrbox-consent-manage {
	background: #633b8f;
	border: 2px solid #633b8f;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	min-height: 44px;
	padding: 9px 14px;
}

.emdrbox-consent-actions button:hover,
.emdrbox-consent-actions button:focus,
.emdrbox-consent-manage:hover,
.emdrbox-consent-manage:focus {
	background: #452566;
	border-color: #452566;
	outline: 2px solid #b9a3d0;
	outline-offset: 2px;
}

.emdrbox-consent-actions .emdrbox-consent-settings,
.emdrbox-consent-actions .emdrbox-consent-save {
	background: #fff;
	color: #3f245d;
}

.emdrbox-consent-actions .emdrbox-consent-reject {
	background: #fff;
	border-color: #555;
	color: #222;
}

.emdrbox-consent-overlay {
	align-items: center;
	background: rgba(0, 0, 0, .62);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 2147483647;
}

.emdrbox-consent-modal {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
	max-height: calc(100vh - 40px);
	max-width: 680px;
	overflow: auto;
	padding: 28px;
	position: relative;
	width: 100%;
}

.emdrbox-consent-close {
	background: transparent;
	border: 0;
	color: #333;
	cursor: pointer;
	font-size: 30px;
	line-height: 1;
	padding: 8px;
	position: absolute;
	right: 10px;
	top: 8px;
}

.emdrbox-consent-categories {
	border-bottom: 1px solid #ddd;
	margin: 20px 0;
}

.emdrbox-consent-category {
	align-items: center;
	border-top: 1px solid #ddd;
	cursor: pointer;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin: 0;
	padding: 15px 0;
}

.emdrbox-consent-category span,
.emdrbox-consent-category small {
	display: block;
}

.emdrbox-consent-category small {
	color: #555;
	margin-top: 3px;
}

.emdrbox-consent-category input {
	height: 22px;
	min-width: 22px;
	width: 22px;
}

.emdrbox-consent-policy-links {
	margin-bottom: 20px !important;
}

.emdrbox-consent-manage {
	border-radius: 4px 4px 0 0;
	bottom: 0;
	font-size: 13px;
	left: 18px;
	min-height: 36px;
	padding: 6px 11px;
	position: fixed;
	z-index: 2147483645;
}

.emdrbox-consent-open {
	overflow: hidden;
}

.emdrbox-form-notice {
	background: #f7f4fa;
	border-left: 4px solid #633b8f;
	color: #333;
	font-size: 13px;
	line-height: 1.5;
	margin: 14px 0;
	padding: 12px 14px;
}

.emdrbox-privacy-links {
	font-size: 13px;
	margin: 15px auto;
	text-align: center;
}

@media (max-width: 760px) {
	.emdrbox-consent-banner {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
		padding: 18px;
	}

	.emdrbox-consent-actions {
		flex-direction: column;
	}

	.emdrbox-consent-actions button {
		width: 100%;
	}

	.emdrbox-consent-modal {
		padding: 24px 18px;
	}
}
