/* Simple RSVP Families — estilos públicos */

.srsvp-family-intro {
	text-align: center;
	margin: 0 0 20px;
	font-size: 0.95em;
}

.srsvp-family-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 22px;
}

.srsvp-family-member {
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: 14px;
	padding: 18px;
}

.srsvp-family-member-header {
	margin-bottom: 14px;
}

.srsvp-family-member-name {
	font-size: 1.05em;
	font-weight: 700;
	color: inherit;
}

.srsvp-family-member-meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 3px;
}

.srsvp-family-role {
	font-size: 0.78em;
	opacity: 0.6;
}

.srsvp-family-primary {
	font-size: 0.72em;
	font-weight: 700;
	color: var(--srsvp-primary, #9333EA);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.srsvp-family-attendance-choices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
}

.srsvp-family-attendance-choices .srsvp-choice {
	min-width: 0;
	width: 100%;
	padding: 12px 8px;
}

.srsvp-family-attendance-choices .srsvp-choice-icon {
	font-size: 1.35em;
	margin-bottom: 4px;
}

.srsvp-family-attendance-choices .srsvp-choice-label {
	font-size: 0.78em;
}

@media (max-width: 480px) {

	.srsvp-family-member {
		padding: 14px;
	}

	.srsvp-family-attendance-choices {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 6px;
	}

	.srsvp-family-attendance-choices .srsvp-choice {
		padding: 10px 5px;
	}
}

/* Desktop */
.srsvp-family-attendance-choices {
	display: flex !important;
	width: 100% !important;
	gap: 8px;
}

.srsvp-family-attendance-choices > .srsvp-choice {
	flex: 1 1 0 !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: none !important;
}

/* Celular */
@media (max-width: 600px) {

	.srsvp-family-attendance-choices {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		gap: 8px !important;
	}

	.srsvp-family-attendance-choices > .srsvp-choice {
		flex: 1 1 50% !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}
}