/* Mon compte > Parrainage : coupons épuisés grisés. */
.crp-nl__table-row--exhausted {
	opacity: 0.45;
}

.crp-nl__table-row--exhausted .crp-nl__ticket {
	background: #f0f0f0;
	cursor: default;
}

/*
 * Bouton flottant « Voir nos codes promo », placé au-dessus (positions basses) ou en dessous
 * (positions hautes) du bouton de parrainage de l'extension.
 * Décalage = hauteur du bouton de l'extension (44px) + son bord (28px) + écart (8px) ≈ 84px.
 */
#jmb-promo-btn {
	position: fixed;
	z-index: 99998;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 20px;
	border-radius: 999px;
	background: #4bab48;
	box-shadow: 0 4px 14px rgba(75, 171, 72, 0.4);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

#jmb-promo-btn:hover,
#jmb-promo-btn:focus {
	background: #3d9a3a;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

#jmb-promo-btn.is-bottom { bottom: 84px; }
#jmb-promo-btn.is-top { top: 84px; }
#jmb-promo-btn.is-right { right: 28px; }
#jmb-promo-btn.is-left { left: 28px; }

@media (max-width: 640px) {
	#jmb-promo-btn {
		padding: 10px 16px;
		font-size: 12px;
	}

	#jmb-promo-btn.is-bottom { bottom: 66px; }
	#jmb-promo-btn.is-top { top: 66px; }
	#jmb-promo-btn.is-right { right: 16px; }
	#jmb-promo-btn.is-left { left: 16px; }
}

/*
 * Panier et commande : les deux boutons flottants deviennent une ligne sous le champ code promo
 * (flottants, ils recouvraient la case des CGV et les boutons de validation).
 */
.jmb-referral-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
}

.jmb-referral-links a,
.jmb-referral-links button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid #4bab48;
	border-radius: 999px;
	background: #fff;
	color: #27356b;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}

.jmb-referral-links a:hover,
.jmb-referral-links a:focus,
.jmb-referral-links button:hover,
.jmb-referral-links button:focus {
	background: #4bab48;
	color: #fff;
}
