/* Overlay de démo GT Estimate — page publique, indépendant du CSS Mon Compte. */

.bp-demo-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: #0b1220;
}

.bp-demo-overlay.is-open {
	display: block;
}

.bp-demo-overlay .bp-demo-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 44px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 18px;
	background: #0b1220;
	box-sizing: border-box;
}

.bp-demo-overlay .bp-demo-close {
	background: transparent;
	border: 1px solid rgba( 255, 255, 255, .5 );
	color: #fff;
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s;
}

.bp-demo-overlay .bp-demo-close:hover {
	background: rgba( 255, 255, 255, .15 );
}

/* La iFrame démarre sous la barre du haut — ne doit jamais chevaucher son
   propre contenu (boutons de validation de l'outil GT Estimate inclus). */
.bp-demo-overlay .bp-demo-iframe {
	position: absolute;
	top: 44px;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: calc( 100% - 44px );
	border: 0;
}

.bp-demo-overlay .bp-demo-message {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	background: #fff;
	border-radius: 10px;
	padding: 32px 40px;
	max-width: 420px;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
}

.bp-demo-toast {
	display: none;
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX( -50% );
	background: #c0392b;
	color: #fff;
	padding: 12px 20px;
	border-radius: 6px;
	font-size: 14px;
	z-index: 100001;
	max-width: 90vw;
	text-align: center;
}

.bp-demo-toast.is-visible {
	display: block;
}
