/**
 * Préférences communications écosystème.
 */

.mc-eco-prefs {
	max-width: 720px;
	margin: 0 auto 48px;
	padding: 8px 4px 40px;
	color: #222;
	line-height: 1.55;
}

.mc-eco-prefs__lead {
	font-size: 1.05rem;
	margin: 0 0 1.25rem;
}

.mc-eco-prefs__brands {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.mc-eco-prefs__brands a {
	display: block;
	padding: 0.75rem 1rem;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	color: #227403 !important;
	font-weight: 600;
	text-decoration: none;
	background: #f7fbf4;
}

.mc-eco-prefs__brands a:hover {
	border-color: #fa8400;
	color: #fa8400 !important;
}

.mc-eco-prefs__legal,
.mc-eco-prefs__hint,
.mc-eco-prefs__status,
.mc-eco-prefs__footnote {
	font-size: 0.95rem;
	color: #444;
	margin: 0 0 1.25rem;
}

.mc-eco-prefs__actions {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 1.75rem 0 1.25rem;
}

.mc-eco-prefs__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 14px 18px;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none !important;
	border: 2px solid transparent;
	cursor: pointer;
	line-height: 1.3;
}

.mc-eco-prefs__btn--accept {
	background: #fa8400;
	color: #fff !important;
}

.mc-eco-prefs__btn--accept:hover {
	background: #e07500;
	color: #fff !important;
}

.mc-eco-prefs__btn--refuse {
	background: #fff;
	color: #222 !important;
	border-color: #cfcfcf;
}

.mc-eco-prefs__btn--refuse:hover {
	border-color: #222;
}

.mc-eco-prefs__btn--ghost {
	background: transparent;
	color: #227403 !important;
	border-color: #227403;
	margin-top: 0.5rem;
}

.mc-eco-prefs__confirm {
	padding: 1.25rem;
	border: 1px solid #f0d2b0;
	border-radius: 12px;
	background: #fff8f0;
}

.mc-eco-prefs__confirm h2 {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	color: #222;
}

.mc-eco-prefs__flash {
	padding: 12px 14px;
	border-radius: 10px;
	margin: 0 0 1.25rem;
}

.mc-eco-prefs__flash--ok {
	background: #eaf5ea;
	color: #1f5c1f;
}

.mc-eco-prefs__flash--err {
	background: #fdecec;
	color: #8a1f1f;
}

.mc-eco-prefs__link {
	display: block;
	margin-top: 0.5rem;
	padding: 10px 12px;
	background: #f5f5f5;
	border-radius: 8px;
	font-size: 0.82rem;
	word-break: break-all;
	color: #333;
}

@media (min-width: 640px) {
	.mc-eco-prefs__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.mc-eco-prefs__btn {
		flex: 1 1 280px;
	}
}
