/*
 * Minimal, theme-agnostic styling for the [wedding_rsvp_form] shortcode.
 * If the Amy & Ryan Wedding theme is active, its style.css targets the
 * same .wedding-rsvp-form classes with fuller branding — these rules are
 * just a sensible fallback so the form still looks tidy on any theme.
 */

.wedding-rsvp-form {
	max-width: 440px;
	margin: 0 auto;
	text-align: left;
}

.wedding-rsvp-form .rsvp-field {
	margin-bottom: 20px;
}

.wedding-rsvp-form label,
.wedding-rsvp-form legend {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.wedding-rsvp-form input[type="text"],
.wedding-rsvp-form input[type="email"],
.wedding-rsvp-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font: inherit;
}

.wedding-rsvp-form textarea {
	min-height: 90px;
	resize: vertical;
}

.wedding-rsvp-form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.wedding-rsvp-form .rsvp-attend-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wedding-rsvp-form .rsvp-attend-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 10px 12px;
	cursor: pointer;
	font-weight: 400;
}

.wedding-rsvp-form .rsvp-submit {
	display: inline-block;
	width: 100%;
	padding: 12px 18px;
	border: 1px solid #333;
	border-radius: 4px;
	background: #333;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.wedding-rsvp-form .rsvp-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rsvp-notice {
	max-width: 440px;
	margin: 0 auto 20px;
	padding: 14px 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.rsvp-notice--success {
	border-color: #2a6f3e;
	background: #eaf5ec;
	color: #2a6f3e;
}

.rsvp-notice--error {
	border-color: #a13e2f;
	background: #f8ece9;
	color: #a13e2f;
}
