/* BdcInfo — bandeau et popup (style soigné, arrondi) */

.bdcinfo {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	z-index: 900;
	font-family: inherit;
}

/* ——— Bandeau (banner) ——— */
.bdcinfo--banner {
	padding: 18px 56px 18px 24px;
	margin: 0 0 20px 0;
	font-size: 1.05rem;
	line-height: 1.55;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.bdcinfo__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
}

.bdcinfo__message {
	margin: 0;
	font-weight: 600;
	flex: 1 1 auto;
	font-size: 1.1rem;
	letter-spacing: 0.01em;
	line-height: 1.5;
}

.bdcinfo__message br {
	display: block;
	content: "";
	margin-top: 0.4em;
}

.bdcinfo__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.bdcinfo__cta {
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.15s ease;
	border-radius: 8px;
}

.bdcinfo__cta--link {
	text-decoration: underline;
	text-underline-offset: 3px;
	opacity: 0.95;
	padding: 6px 0;
}

.bdcinfo__cta--link:hover {
	opacity: 1;
}

.bdcinfo__cta--btn {
	display: inline-block;
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.28);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	text-decoration: none;
}

.bdcinfo__cta--btn:hover {
	background: rgba(255, 255, 255, 0.4);
	border-color: rgba(255, 255, 255, 0.55);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.bdcinfo__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.08);
	border: none;
	border-radius: 8px;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.9;
	padding: 0;
	color: inherit;
	transition: opacity 0.2s ease, background 0.2s ease;
}

.bdcinfo__close:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.14);
}

/* ——— Popup ——— */
.bdcinfo--popup.bdcinfo-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}

.bdcinfo--popup.bdcinfo-popup-overlay.bdcinfo-js-show {
	display: flex;
}

.bdcinfo__box.bdcinfo-popup {
	position: relative;
	padding: 32px 60px 32px 32px;
	min-width: 320px;
	max-width: 520px;
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
	font-size: 1rem;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.bdcinfo__box .bdcinfo__content {
	text-align: center;
}

.bdcinfo__box .bdcinfo__message {
	font-size: 1.15rem;
}

.bdcinfo__box .bdcinfo__actions {
	justify-content: center;
}

.bdcinfo__box .bdcinfo__close {
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	font-size: 1.6rem;
}

/* Rétrocompatibilité */
.bdcinfo-banner-close,
.bdcinfo-popup-close {
	/* déjà ciblés par .bdcinfo__close */
}
