/* VF Green Club Popup - lekki, brandowy (#a254a0). Zero zaleznosci zewnetrznych. */

.vfgc-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(24, 12, 28, 0.62);
	opacity: 0;
	transition: opacity 0.22s ease;
	-webkit-overflow-scrolling: touch;
	overflow-y: auto;
}

.vfgc-overlay[hidden] {
	display: none;
}

.vfgc-overlay.vfgc-open {
	opacity: 1;
}

.vfgc-modal {
	position: relative;
	width: 100%;
	max-width: 440px;
	margin: auto;
	background: #ffffff;
	border-radius: 16px;
	border-top: 5px solid #a254a0;
	box-shadow: 0 24px 60px rgba(24, 12, 28, 0.35);
	padding: 30px 26px 24px;
	transform: translateY(14px) scale(0.98);
	transition: transform 0.22s ease;
	box-sizing: border-box;
}

.vfgc-overlay.vfgc-open .vfgc-modal {
	transform: translateY(0) scale(1);
}

.vfgc-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	line-height: 30px;
	padding: 0;
	font-size: 26px;
	color: #9a8fa0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}

.vfgc-close:hover,
.vfgc-close:focus {
	color: #a254a0;
	background: rgba(162, 84, 160, 0.1);
	outline: none;
}

.vfgc-title {
	margin: 0 26px 8px 0;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	color: #2a1c2e;
}

.vfgc-subtitle {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
	color: #5f5563;
}

/* Formularz FluentForms wewnatrz modala - dociagniecie do brandu. Scoped do popupu. */
.vfgc-form .frm-fluent-form,
.vfgc-form form {
	margin: 0;
}

.vfgc-form .ff-el-input--content input[type="text"],
.vfgc-form .ff-el-input--content input[type="email"],
.vfgc-form input.ff-el-form-control {
	border-radius: 10px;
}

.vfgc-form .ff-btn-submit,
.vfgc-form button[type="submit"] {
	background-color: #a254a0 !important;
	border-color: #a254a0 !important;
	color: #ffffff !important;
	border-radius: 10px !important;
	width: 100%;
	font-weight: 700;
}

.vfgc-form .ff-btn-submit:hover,
.vfgc-form button[type="submit"]:hover {
	background-color: #8c4189 !important;
	border-color: #8c4189 !important;
	color: #ffffff !important;
}

/* Komunikat sukcesu FluentForms - zielony akcent. */
.vfgc-form .ff-message-success {
	color: #2a1c2e;
}

@media (max-width: 480px) {
	.vfgc-modal {
		max-width: 100%;
		padding: 26px 18px 20px;
		border-radius: 14px;
	}

	.vfgc-title {
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vfgc-overlay,
	.vfgc-modal {
		transition: none;
	}
}
