.kwv-rsvp-shell {
	--kwv-berry: #a71d42;
	--kwv-blue: #01365c;
	--kwv-ink: #1f2937;
	--kwv-line: rgba(17, 55, 92, 0.12);
	position: relative;
	font-family: inherit;
	color: #fff;
}

.kwv-rsvp-shell,
.kwv-rsvp-shell * {
	box-shadow: none !important;
}

.kwv-rsvp-card {
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
		linear-gradient(135deg, #01365c, #012947);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 28px;
	padding: 32px;
}

.kwv-rsvp-header {
	margin-bottom: 24px;
}

.kwv-rsvp-kicker {
	display: inline-flex;
	margin: 0 0 12px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.kwv-rsvp-header h1,
.kwv-rsvp-header h2 {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.1;
	color: #fff;
}

.kwv-rsvp-header p {
	margin: 0 0 8px;
	max-width: 680px;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
}

.kwv-rsvp-header p:last-child {
	margin-bottom: 0;
}

.kwv-rsvp-form {
	display: grid;
	gap: 22px;
}

.kwv-rsvp-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.kwv-rsvp-grid label {
	display: grid;
	gap: 8px;
}

.kwv-rsvp-field-wide {
	grid-column: 1 / -1;
}

.kwv-rsvp-grid span,
.kwv-rsvp-label {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	display: block;
}

.kwv-rsvp-grid input,
.kwv-rsvp-grid textarea {
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.96);
	padding: 15px 16px;
	font: inherit;
	color: var(--kwv-blue);
}

.kwv-rsvp-grid input::placeholder,
.kwv-rsvp-grid textarea::placeholder {
	color: rgba(1, 54, 92, 0.62);
}

.kwv-rsvp-grid input:focus,
.kwv-rsvp-grid textarea:focus {
	outline: 3px solid rgba(167, 29, 66, 0.15);
	border-color: var(--kwv-berry);
}

.kwv-rsvp-quantity-block {
	display: grid;
	gap: 8px;
}

.kwv-rsvp-quantity {
	display: inline-grid;
	grid-template-columns: 40px 64px 40px;
	align-items: center;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	padding: 4px;
	width: fit-content;
	gap: 0;
}

.kwv-rsvp-qty-btn {
	box-sizing: border-box;
	border: 0;
	border-radius: 999px;
	background: var(--kwv-blue);
	color: #fff;
	width: 32px;
	height: 32px;
	min-width: 0;
	min-height: 0;
	margin: 0 4px;
	padding: 0;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.kwv-rsvp-qty-btn:hover,
.kwv-rsvp-qty-btn:focus {
	background: var(--kwv-berry);
}

.kwv-rsvp-qty-btn[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	background: var(--kwv-blue);
}

.kwv-rsvp-quantity input {
	border: 0 !important;
	background: transparent !important;
	text-align: center;
	font-weight: 700;
	font-size: 16px;
	color: var(--kwv-blue) !important;
	padding: 0 !important;
	width: 100%;
	height: 32px;
	line-height: 32px;
	-moz-appearance: textfield;
}

.kwv-rsvp-quantity input::-webkit-outer-spin-button,
.kwv-rsvp-quantity input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.kwv-rsvp-summary {
	display: grid;
	gap: 10px;
	padding: 18px 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.kwv-rsvp-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
}

.kwv-rsvp-summary__row strong {
	color: #fff;
	font-weight: 700;
}

.kwv-rsvp-summary__total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 17px;
}

.kwv-rsvp-summary__total strong {
	font-size: 22px;
	color: #fff;
}

.kwv-rsvp-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-width: 220px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--kwv-berry), #cb2f5b);
	box-shadow: 0 16px 28px rgba(167, 29, 66, 0.25);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 16px 28px;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kwv-rsvp-submit:hover,
.kwv-rsvp-submit:focus {
	transform: translateY(-1px);
}

.kwv-rsvp-submit[disabled] {
	opacity: 0.7;
	cursor: progress;
	transform: none;
}

.kwv-rsvp-fineprint {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.6;
}

.kwv-rsvp-fineprint--strong {
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.02em;
}

.kwv-rsvp-alert {
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 16px;
	font-weight: 600;
}

.kwv-rsvp-alert-error {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.kwv-rsvp-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 99999;
}

.kwv-rsvp-modal.is-visible {
	display: flex;
}

.kwv-rsvp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 55, 92, 0.6);
	backdrop-filter: blur(5px);
}

.kwv-rsvp-modal__dialog {
	position: relative;
	width: min(540px, 100%);
	border-radius: 28px;
	background: linear-gradient(135deg, #01365c, #012947);
	box-shadow: 0 24px 70px rgba(1, 54, 92, 0.34);
	padding: 32px;
	text-align: center;
	color: #fff;
}

.kwv-rsvp-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 22px;
}

.kwv-rsvp-modal__dialog h3 {
	margin: 0 0 12px;
	font-size: 26px;
	color: #fff;
	line-height: 1.25;
}

.kwv-rsvp-success-lead {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.85);
}

.kwv-rsvp-success-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
	display: grid;
	gap: 8px;
}

.kwv-rsvp-success-list li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.kwv-rsvp-success-list li span {
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
}

.kwv-rsvp-success-list li strong {
	color: #fff;
	font-weight: 700;
	text-align: right;
}

.kwv-rsvp-success-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin: 0 auto 18px;
}

.kwv-rsvp-success-mark svg {
	width: 88px;
	height: 88px;
}

.kwv-rsvp-success-mark circle {
	fill: none;
	stroke: rgba(255, 255, 255, 0.24);
	stroke-width: 2;
	stroke-dasharray: 166;
	stroke-dashoffset: 166;
	animation: kwv-rsvp-draw-circle 0.55s ease forwards;
}

.kwv-rsvp-success-mark path {
	fill: none;
	stroke: #fff;
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 36;
	stroke-dashoffset: 36;
	animation: kwv-rsvp-draw-check 0.35s ease 0.45s forwards;
}

@keyframes kwv-rsvp-draw-circle {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes kwv-rsvp-draw-check {
	to {
		stroke-dashoffset: 0;
	}
}

.kwv-rsvp-honeypot {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.kwv-rsvp-admin .description code {
	white-space: nowrap;
}

@media (max-width: 767px) {
	.kwv-rsvp-card {
		padding: 22px;
		border-radius: 22px;
	}

	.kwv-rsvp-grid {
		grid-template-columns: 1fr;
	}

	.kwv-rsvp-submit {
		width: 100%;
	}
}
