/* ── My Wedding RSVP — Frontend Styles ─────────────────────────────────── */

.myrsvp-wrapper {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
}

/* Lookup form */
.myrsvp-lookup-form {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 32px;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Guest card */
.myrsvp-guest-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 24px 28px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.myrsvp-welcome {
	margin-bottom: 20px;
}

.myrsvp-guest-name {
	margin: 0 0 16px;
	font-size: 1.15em;
	font-weight: 600;
}

.myrsvp-child-tag {
	font-size: 0.72em;
	font-weight: 400;
	background: #f0f0f0;
	border-radius: 4px;
	padding: 2px 6px;
	vertical-align: middle;
}

/* Fields */
.myrsvp-field {
	margin-bottom: 18px;
}

.myrsvp-field label,
.myrsvp-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 0.9em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #444;
}

.myrsvp-field select,
.myrsvp-field input[type="text"],
.myrsvp-field input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1em;
	font-family: inherit;
	box-sizing: border-box;
	transition: border-color .15s;
}

.myrsvp-field select:focus,
.myrsvp-field input:focus {
	outline: none;
	border-color: #7b6ea6;
	box-shadow: 0 0 0 3px rgba(123,110,166,.15);
}

/* Checkboxes */
.myrsvp-checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.myrsvp-checkbox-label {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 5px 12px;
	font-size: 0.88em;
	cursor: pointer;
	transition: background .15s, border-color .15s;
}

.myrsvp-checkbox-label:hover {
	background: #ede9f8;
	border-color: #9e8fd4;
}

.myrsvp-checkbox-label input[type="checkbox"] {
	margin: 0;
	cursor: pointer;
}

/* Button */
.myrsvp-button {
	display: inline-block;
	background: #7b6ea6;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 28px;
	font-size: 1em;
	font-family: inherit;
	cursor: pointer;
	transition: background .15s;
	text-decoration: none;
}

.myrsvp-button:hover {
	background: #5e5189;
}

.myrsvp-submit {
	margin-top: 8px;
	width: 100%;
	text-align: center;
	padding: 14px;
	font-size: 1.05em;
	letter-spacing: .02em;
}

/* Success */
.myrsvp-success {
	background: #eaffea;
	border: 1px solid #4caf50;
	color: #2e7d32;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 20px;
	font-weight: 500;
}

/* Summary */
.myrsvp-summary {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 20px 24px;
}

.myrsvp-summary-row {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 0.95em;
}

.myrsvp-summary-row:last-child {
	border-bottom: none;
}

.myrsvp-status-accepted { color: #2e7d32; font-weight: 600; }
.myrsvp-status-declined { color: #c62828; font-weight: 600; }
.myrsvp-summary-allergies { color: #888; font-size: .88em; }

/* Error */
.myrsvp-error {
	background: #fff3f3;
	border: 1px solid #e57373;
	color: #c62828;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

/* Closed */
.myrsvp-closed {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	padding: 28px;
	text-align: center;
	color: #555;
}

/* Intro note (seating message) */
.myrsvp-intro-note {
	background: #f7f5fb;
	border: 1px solid #e3ddf2;
	border-left: 4px solid #7b6ea6;
	border-radius: 8px;
	padding: 18px 22px;
	margin-bottom: 22px;
	color: #444;
	line-height: 1.6;
}

.myrsvp-intro-note p { margin: 0 0 10px; }
.myrsvp-intro-note p:last-child { margin-bottom: 0; }

/* Party-wide note card */
.myrsvp-party-note-card textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1em;
	font-family: inherit;
	box-sizing: border-box;
	resize: vertical;
}

/* Footnote under submit */
.myrsvp-submit-footnote {
	margin-top: 12px;
	text-align: center;
	font-size: 0.85em;
	color: #777;
	font-style: italic;
}

/* Redirect note */
.myrsvp-redirect-note {
	margin-top: 16px;
	text-align: center;
	font-size: 0.95em;
	color: #555;
}

.myrsvp-summary-note {
	color: #555;
	font-size: 0.92em;
}

/* Honeypot — visually hidden, not display:none (so bots still fill it) */
.myrsvp-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}
