.ebd360-privacy-banner,
.ebd360-privacy-backdrop,
.ebd360-privacy-manage,
.ebd360-external-placeholder,
.ebd360-privacy-modal {
	box-sizing: border-box;
	font-family: Inter, Arial, sans-serif;
}

.ebd360-privacy-banner *,
.ebd360-privacy-backdrop *,
.ebd360-privacy-manage *,
.ebd360-external-placeholder *,
.ebd360-privacy-modal * {
	box-sizing: border-box;
}

.ebd360-privacy-banner {
	position: fixed;
	z-index: 999990;
	left: 50%;
	bottom: 20px;
	display: grid;
	grid-template-columns: minmax(320px, 1fr) auto;
	gap: 28px;
	align-items: center;
	width: min(1120px, calc(100% - 72px));
	padding: 26px 28px;
	border: 1px solid #d9dee5;
	border-top: 4px solid #c5a059;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
	color: #1a2634;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
	transform: translateX(-50%);
}

.ebd360-privacy-banner > div:first-child {
	min-width: 0;
	max-width: 720px;
}

.ebd360-privacy-banner[hidden],
.ebd360-privacy-backdrop[hidden] {
	display: none;
}

.ebd360-privacy-banner h2 {
	margin: 0 0 8px;
	color: #111b27;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	line-height: 1.15;
}

.ebd360-privacy-banner p {
	max-width: 64ch;
	margin: 0 0 10px;
	color: #263445;
	font-size: 17px;
	line-height: 1.55;
	overflow-wrap: normal;
	word-break: normal;
}

.ebd360-privacy-banner a {
	color: #76591f;
	font-weight: 800;
	text-decoration: none;
}

.ebd360-privacy-banner a:hover {
	text-decoration: underline;
}

.ebd360-privacy-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex-wrap: wrap;
	min-width: 0;
}

.ebd360-privacy-actions button,
.ebd360-external-placeholder button,
.ebd360-privacy-request button {
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid #1a2634;
	border-radius: 6px;
	background: #fff;
	color: #1a2634;
	font-weight: 800;
	white-space: nowrap;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.ebd360-privacy-actions button:hover,
.ebd360-external-placeholder button:hover,
.ebd360-privacy-request button:hover {
	transform: translateY(-1px);
}

.ebd360-privacy-actions button:first-child {
	background: #1a2634;
	color: #fff;
}

.ebd360-privacy-banner[data-position="bottom-left"] {
	left: 20px;
	grid-template-columns: 1fr;
	align-items: start;
	gap: 18px;
	width: min(440px, calc(100% - 40px));
	padding: 24px;
	transform: none;
}

.ebd360-privacy-banner[data-position="bottom-right"] {
	right: 20px;
	left: auto;
	grid-template-columns: 1fr;
	align-items: start;
	gap: 18px;
	width: min(440px, calc(100% - 40px));
	padding: 24px;
	transform: none;
}

.ebd360-privacy-banner[data-position="bottom-left"] > div:first-child,
.ebd360-privacy-banner[data-position="bottom-right"] > div:first-child {
	max-width: none;
}

.ebd360-privacy-banner[data-position="bottom-left"] .ebd360-privacy-actions,
.ebd360-privacy-banner[data-position="bottom-right"] .ebd360-privacy-actions {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
}

.ebd360-privacy-banner[data-position="bottom-left"] .ebd360-privacy-actions button,
.ebd360-privacy-banner[data-position="bottom-right"] .ebd360-privacy-actions button {
	width: 100%;
	white-space: normal;
}

.ebd360-privacy-banner[data-position="bottom-full"] {
	right: 0;
	bottom: 0;
	left: 0;
	grid-template-columns: minmax(0, 760px) auto;
	width: 100%;
	padding: 24px clamp(24px, 5vw, 64px);
	border-radius: 0;
	transform: none;
}

.ebd360-privacy-banner[data-position="bottom-full"] > div:first-child {
	max-width: 760px;
}

.ebd360-privacy-banner[data-position="modal"] {
	top: 50%;
	bottom: auto;
	grid-template-columns: 1fr;
	align-items: start;
	width: min(560px, calc(100% - 40px));
	padding: 30px;
	border-radius: 16px;
	box-shadow: 0 28px 80px rgba(10, 17, 28, .24);
	transform: translate(-50%, -50%);
}

.ebd360-privacy-banner[data-position="modal"] > div:first-child {
	max-width: none;
}

.ebd360-privacy-banner[data-position="modal"] .ebd360-privacy-actions {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
}

.ebd360-privacy-banner[data-position="modal"] .ebd360-privacy-actions button {
	width: 100%;
	white-space: normal;
}

.ebd360-privacy-backdrop {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(16, 25, 38, .68);
	backdrop-filter: blur(4px);
}

.ebd360-privacy-modal {
	position: relative;
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr) auto;
	width: min(760px, 100%);
	max-height: min(840px, calc(100vh - 48px));
	overflow: hidden;
	border: 1px solid rgba(197, 160, 89, .36);
	border-top: 4px solid #c5a059;
	border-radius: 14px;
	background: #fff;
	color: #1a2634;
	box-shadow: 0 28px 90px rgba(10, 17, 28, .32);
}

.ebd360-privacy-modal::before {
	content: "";
	position: absolute;
	top: -92px;
	right: -120px;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(197, 160, 89, .18);
	border-radius: 50%;
	pointer-events: none;
}

.ebd360-privacy-close {
	position: absolute;
	z-index: 2;
	top: 18px;
	right: 18px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid #e0cda3;
	border-radius: 8px;
	background: #fffdf8;
	color: #111b27;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.ebd360-privacy-close:hover,
.ebd360-privacy-close:focus {
	outline: 0;
	border-color: #c5a059;
	background: #f6efe1;
	transform: translateY(-1px);
}

.ebd360-privacy-modal h2 {
	position: relative;
	margin: 0;
	padding: 30px 86px 10px 34px;
	color: #111b27;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 3.6vw, 44px);
	line-height: 1.05;
	letter-spacing: 0;
}

.ebd360-privacy-modal h2::before {
	content: "Portal EBD 360";
	display: block;
	margin-bottom: 9px;
	color: #c5a059;
	font-family: Inter, Arial, sans-serif;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ebd360-privacy-modal > p {
	margin: 0;
	padding: 0 86px 22px 34px;
	border-bottom: 1px solid #e3e8ef;
	color: #526174;
	font-size: 17px;
	line-height: 1.58;
}

.ebd360-privacy-modal [data-privacy-categories] {
	min-height: 0;
	overflow: auto;
	padding: 18px 24px 18px 34px;
	scrollbar-color: #9ca7b5 #eef1f4;
	scrollbar-width: thin;
}

.ebd360-privacy-modal [data-privacy-categories]::-webkit-scrollbar {
	width: 10px;
}

.ebd360-privacy-modal [data-privacy-categories]::-webkit-scrollbar-track {
	background: #eef1f4;
}

.ebd360-privacy-modal [data-privacy-categories]::-webkit-scrollbar-thumb {
	border: 2px solid #eef1f4;
	border-radius: 999px;
	background: #9ca7b5;
}

.ebd360-privacy-category {
	margin: 0;
	padding: 0;
	border: 0;
}

.ebd360-privacy-category + .ebd360-privacy-category {
	margin-top: 10px;
}

.ebd360-privacy-category summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	align-items: center;
	padding: 18px 18px;
	border: 1px solid #e0e6ee;
	border-radius: 10px;
	background: #fff;
	list-style: none;
	transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.ebd360-privacy-category summary::-webkit-details-marker {
	display: none;
}

.ebd360-privacy-category summary:hover {
	border-color: rgba(197, 160, 89, .75);
	background: #fffdf8;
	transform: translateY(-1px);
}

.ebd360-privacy-category summary > span {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.ebd360-privacy-category strong {
	color: #111b27;
	font-size: 18px;
	line-height: 1.25;
}

.ebd360-privacy-category small {
	max-width: 58ch;
	color: #5b6a7d;
	font-size: 15px;
	line-height: 1.48;
}

.ebd360-switch {
	display: grid;
	grid-template-columns: 54px;
	justify-items: center;
	gap: 7px;
	min-width: 66px;
}

.ebd360-switch input {
	position: absolute;
	opacity: 0;
}

.ebd360-switch span {
	position: relative;
	width: 54px;
	height: 30px;
	border: 1px solid #c4ceda;
	border-radius: 999px;
	background: #c8d1dc;
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, .16);
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ebd360-switch span::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 7px rgba(15, 23, 42, .22);
	transition: transform .2s ease;
}

.ebd360-switch input:focus + span {
	box-shadow: 0 0 0 3px rgba(197, 160, 89, .26), inset 0 1px 3px rgba(15, 23, 42, .16);
}

.ebd360-switch input:checked + span {
	border-color: #1a2634;
	background: #1a2634;
}

.ebd360-switch input:checked + span::after {
	transform: translateX(24px);
}

.ebd360-switch input:disabled:checked + span {
	border-color: #1a2634;
	background: linear-gradient(135deg, #1a2634, #2c3e50);
}

.ebd360-switch em {
	color: #607086;
	font-size: 11px;
	font-style: normal;
	font-weight: 800;
	text-align: center;
}

.ebd360-privacy-modal > .ebd360-privacy-actions {
	position: sticky;
	bottom: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 18px 34px 24px;
	border-top: 1px solid #e3e8ef;
	background: linear-gradient(180deg, rgba(255, 255, 255, .92), #fff 36%);
}

.ebd360-privacy-modal > .ebd360-privacy-actions button {
	justify-content: center;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 7px;
	font-size: 14px;
	white-space: normal;
}

.ebd360-privacy-modal > .ebd360-privacy-actions button:first-child {
	border-color: #1a2634;
	background: #1a2634;
	color: #fff;
}

.ebd360-privacy-modal > .ebd360-privacy-actions button:nth-child(2) {
	border-color: #cbd4df;
	background: #fff;
	color: #1a2634;
}

.ebd360-privacy-modal > .ebd360-privacy-actions button:nth-child(3) {
	border-color: #c5a059;
	background: #fffdf8;
	color: #1a2634;
}

.ebd360-privacy-modal > .ebd360-privacy-actions button:focus {
	outline: 3px solid rgba(197, 160, 89, .28);
	outline-offset: 2px;
}

.ebd360-privacy-manage {
	position: fixed;
	z-index: 999980;
	right: 16px;
	bottom: 16px;
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid #c5a059;
	border-radius: 999px;
	background: #fff;
	color: #1a2634;
	font-weight: 800;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .12);
	cursor: pointer;
}

.ebd360-external-placeholder {
	display: grid;
	place-items: center;
	min-height: 300px;
	padding: 30px;
	background: #f8f9fa;
	text-align: center;
}

.ebd360-privacy-request {
	display: grid;
	gap: 16px;
	max-width: 720px;
}

.ebd360-privacy-request label {
	display: grid;
	gap: 6px;
	font-weight: 800;
}

.ebd360-privacy-request input,
.ebd360-privacy-request select,
.ebd360-privacy-request textarea {
	padding: 12px;
	border: 1px solid #cbd2dc;
	border-radius: 6px;
}

.ebd360-privacy-locked {
	overflow: hidden;
}

@media (max-width: 760px) {
	.ebd360-privacy-banner {
		right: 12px;
		bottom: 12px;
		left: 12px;
		grid-template-columns: 1fr;
		gap: 16px;
		width: auto;
		max-height: calc(100vh - 24px);
		overflow: auto;
		padding: 20px;
		border-radius: 14px;
		transform: none;
	}

	.ebd360-privacy-banner[data-position="bottom-left"],
	.ebd360-privacy-banner[data-position="bottom-right"],
	.ebd360-privacy-banner[data-position="modal"] {
		right: 12px;
		bottom: 12px;
		left: 12px;
		top: auto;
		width: auto;
		transform: none;
	}

	.ebd360-privacy-banner[data-position="bottom-full"] {
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		border-radius: 14px 14px 0 0;
	}

	.ebd360-privacy-banner p {
		font-size: 16px;
	}

	.ebd360-privacy-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ebd360-privacy-actions button {
		width: 100%;
	}

	.ebd360-privacy-backdrop {
		padding: 12px;
	}

	.ebd360-privacy-modal {
		width: 100%;
		max-height: calc(100vh - 24px);
		border-radius: 12px;
	}

	.ebd360-privacy-close {
		top: 14px;
		right: 14px;
	}

	.ebd360-privacy-modal h2 {
		padding: 26px 72px 10px 22px;
		font-size: 31px;
	}

	.ebd360-privacy-modal > p {
		padding: 0 72px 20px 22px;
		font-size: 16px;
	}

	.ebd360-privacy-modal [data-privacy-categories] {
		padding: 12px 14px 14px;
	}

	.ebd360-privacy-category summary {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 16px;
	}

	.ebd360-switch {
		justify-items: start;
	}

	.ebd360-privacy-modal > .ebd360-privacy-actions {
		grid-template-columns: 1fr;
		padding: 16px 18px 20px;
	}

	.ebd360-privacy-manage {
		right: 10px;
		bottom: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ebd360-privacy-actions button,
	.ebd360-privacy-close,
	.ebd360-privacy-category summary,
	.ebd360-switch span,
	.ebd360-switch span::after {
		transition: none;
	}
}
