/* France Coupon Popup styles */

.fcp-overlay {
	--fcp-primary: #e63946;
	--fcp-text: #1d1d1f;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.fcp-overlay.fcp-visible {
	display: flex;
	opacity: 1;
}

.fcp-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	color: var(--fcp-text);
	border-radius: 18px;
	padding: 38px 32px 34px;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	transform: translateY(18px) scale(0.97);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.fcp-overlay.fcp-visible .fcp-modal {
	transform: translateY(0) scale(1);
}

.fcp-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 34px;
	height: 34px;
	border: none;
	background: transparent;
	color: #9a9a9a;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.2s, color 0.2s;
}

.fcp-close:hover {
	background: #f1f1f1;
	color: #333;
}

.fcp-title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--fcp-text);
}

.fcp-message {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.55;
	color: #555;
}

.fcp-code-box {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 18px;
	padding: 16px;
	border: 2px dashed var(--fcp-primary);
	border-radius: 12px;
	background: color-mix(in srgb, var(--fcp-primary) 8%, #fff);
}

.fcp-code {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 3px;
	color: var(--fcp-primary);
	user-select: all;
}

.fcp-copy-btn {
	display: inline-block;
	width: 100%;
	padding: 14px 20px;
	border: none;
	border-radius: 12px;
	background: var(--fcp-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.2s, transform 0.1s;
}

.fcp-copy-btn:hover {
	filter: brightness(1.06);
}

.fcp-copy-btn:active {
	transform: translateY(1px);
}

.fcp-copy-btn.fcp-copied {
	background: #2a9d8f;
}

@media (max-width: 480px) {
	.fcp-modal {
		padding: 32px 22px 28px;
		border-radius: 14px;
	}
	.fcp-title {
		font-size: 21px;
	}
	.fcp-code {
		font-size: 22px;
	}
}
