/* Pagina integrata */
body.wga-page {
	margin: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
	background: #f7f3ee center / cover no-repeat;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #2f2a25;
}
body.wga-page.has-bg::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(20, 16, 12, 0.35);
}
.wga-card {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 14px;
	padding: 40px 32px 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
	text-align: center;
}
.wga-logo {
	max-width: 140px;
	max-height: 120px;
	margin: 0 auto 16px;
	display: block;
}
.wga-title {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: 34px;
	line-height: 1.15;
	margin: 0 0 12px;
	color: var(--wga-accent, #9c7c4c);
}
.wga-subtitle {
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 28px;
	color: #6b625a;
}

/* Form (pagina integrata e shortcode) */
.wga-box {
	text-align: left;
	max-width: 420px;
	margin: 0 auto;
}
.wga-box [hidden] {
	display: none !important;
}
.wga-label {
	display: block;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b625a;
	margin-bottom: 8px;
}
.wga-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	font-size: 17px;
	padding: 14px 16px;
	border: 1px solid #d9d1c7;
	border-radius: 8px;
	background: #fff;
	color: #2f2a25;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.wga-input:focus {
	border-color: var(--wga-accent, #9c7c4c);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wga-accent, #9c7c4c) 20%, transparent);
}
.wga-code {
	text-align: center;
	font-size: 26px;
	letter-spacing: 0.4em;
	font-variant-numeric: tabular-nums;
}
.wga-btn {
	display: block;
	width: 100%;
	margin-top: 16px;
	padding: 14px 16px;
	font-size: 16px;
	font-weight: 600;
	border: 0;
	border-radius: 8px;
	background: var(--wga-accent, #9c7c4c);
	color: #fff;
	cursor: pointer;
	transition: opacity 0.15s;
}
.wga-btn:hover {
	opacity: 0.9;
}
.wga-btn:disabled {
	opacity: 0.55;
	cursor: wait;
}
.wga-sent {
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 18px;
	text-align: center;
}
.wga-links {
	text-align: center;
	margin: 16px 0 0;
	font-size: 14px;
	color: #a39a90;
}
.wga-link {
	background: none;
	border: 0;
	padding: 4px;
	font: inherit;
	color: var(--wga-accent, #9c7c4c);
	text-decoration: underline;
	cursor: pointer;
}
.wga-link:disabled {
	color: #a39a90;
	text-decoration: none;
	cursor: default;
}
.wga-msg {
	min-height: 1.4em;
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}
.wga-msg.is-error {
	color: #b3261e;
}
.wga-msg.is-ok {
	color: #2e7d32;
}

@media (max-width: 480px) {
	.wga-card {
		padding: 32px 20px 24px;
	}
	.wga-title {
		font-size: 28px;
	}
}

.wga-step-login .wga-input + .wga-label {
	margin-top: 16px;
}
.wga-rsvp-thanks {
	text-align: center;
}
