/* Masque les éléments natifs tarteaucitron */
#tarteaucitronAlertBig,
#tarteaucitronIcon {
	display: none !important;
}

/* Variables personnalisables par site (CSS du thème) */
:root {
	--bm-consent-accept-bg: #4567fc;
	--bm-consent-accept-color: #ffffff;
	--bm-consent-accept-hover-bg: #212934;
	--bm-consent-accept-hover-color: #ffffff;
}

#bm-consent-banner {
	position: fixed;
	bottom: 24px;
	left: 24px;
	width: 460px;
	max-width: calc(100vw - 32px);
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.07);
	border: 1px solid rgba(0, 0, 0, 0.06);
	padding: 20px;
	z-index: 99999;
	font-family: inherit;
	box-sizing: border-box;
}

.bm-consent-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bm-consent-refuse {
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-family: inherit;
	font-weight: 400;
	color: #999999;
	text-decoration: none;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	line-height: 1.4;
	display: inline;
	appearance: none;
	-webkit-appearance: none;
}

.bm-consent-title {
	font-size: 16px;
	font-weight: 400;
	color: #111111;
	margin: 0 0 2px;
	line-height: 1.3;
}

.bm-consent-body {
	font-size: 13px;
	line-height: 1.6;
	color: #333333;
}

.bm-consent-body p {
	margin: 0 0 8px;
}

.bm-consent-body p:last-child {
	margin-bottom: 0;
}

.bm-consent-credit {
	font-size: 11px;
	color: #999999;
	text-align: center;
	margin: 14px 0 0;
}

.bm-consent-buttons {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.bm-consent-manage,
.bm-consent-accept {
	flex: 1;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	text-align: center;
	line-height: 1.2;
	text-transform: none !important;
	letter-spacing: 0 !important;
	transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.bm-consent-manage {
	background: #ffffff;
	color: #333333;
	border: 1.5px solid #cccccc;
}

.bm-consent-manage:hover {
	border-color: #888888;
	background: #f7f7f7;
}

.bm-consent-accept {
	background: var(--bm-consent-accept-bg);
	color: var(--bm-consent-accept-color);
	border: none;
}

.bm-consent-accept:hover {
	background: var(--bm-consent-accept-hover-bg);
	color: var(--bm-consent-accept-hover-color);
}

#tarteaucitronBack {
	background: rgba(0, 0, 0, 0.35) !important;
	opacity: 1 !important;
}

@media (max-width: 520px) {
	#bm-consent-banner {
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
		border-radius: 16px 16px 0 0;
	}
}
