/* Popup de remerciement (com_quoteforms) — palette Dony Protect (sarcelle/blanc, fond clair) */

.qf-thanks-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity 0.2s ease;
	padding: 1rem;
}

.qf-thanks-overlay.qf-thanks-open {
	opacity: 1;
}

.qf-thanks-card {
	position: relative;
	max-width: 420px;
	width: 100%;
	text-align: center;
	padding: 2.4rem 2rem 2rem;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid #cccccc;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transform: translateY(12px);
	transition: transform 0.2s ease;
}

.qf-thanks-overlay.qf-thanks-open .qf-thanks-card {
	transform: translateY(0);
}

/* Couleur du TITRE du popup — modifiable ici (ou via plg_system_csscustomcode) sans toucher au message */
.qf-thanks-title {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a6b6b;
}

/* Couleur du MESSAGE du popup — indépendante du titre ci-dessus */
.qf-thanks-message {
	margin: 0;
	color: #333333;
	font-size: 1rem;
	line-height: 1.5;
	white-space: pre-line;
}

.qf-thanks-message a {
	color: #1a6b6b;
	text-decoration: underline;
}

.qf-thanks-close {
	position: absolute;
	top: 0.6rem;
	right: 0.75rem;
	background: transparent;
	border: 0;
	color: #333333;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.3rem 0.5rem;
	border-radius: 50%;
	transition: background 0.2s ease;
}

.qf-thanks-close:hover {
	background: rgba(26, 107, 107, 0.1);
}
