.wsm-attendees-form fieldset.wsm-attendee-block {
	margin: 1.5rem 0;
	padding: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.wsm-attendees-form .required {
	color: #b32d2e;
	font-weight: 600;
}

.wsm-attendees-form label {
	display: block;
	margin: 0.35rem 0;
}

/* ── Normalise all inputs and selects to the same visual style ── */
.wsm-attendees-form input[type='text'],
.wsm-attendees-form input[type='email'],
.wsm-attendees-form input[type='tel'],
.wsm-attendees-form input[type='number'],
.wsm-attendees-form select {
	display: block;
	width: 100%;
	max-width: 28rem;
	height: 2.75rem;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.5;
	color: inherit;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: none;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}

.wsm-attendees-form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	background-size: 1rem;
	cursor: pointer;
}

.wsm-attendees-form input[type='text']:focus,
.wsm-attendees-form input[type='email']:focus,
.wsm-attendees-form input[type='tel']:focus,
.wsm-attendees-form input[type='number']:focus,
.wsm-attendees-form select:focus {
	border-color: #2271b1;
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.25);
}

.wsm-send-info {
	margin-top: 1rem;
}

/* Phone row — CC select + local input side by side */
.wsm-attendees-form .wsm-phone-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: flex-end;
	justify-content: flex-start;
}

.wsm-attendees-form .wsm-phone-row > label:first-child {
	flex: 0 0 auto;
	min-width: 0;
	margin: 0;
}

.wsm-attendees-form .wsm-phone-row > label:last-child {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.wsm-attendees-form .wsm-phone-row select.wsm-att-phone-cc {
	max-width: 8rem !important;
	width: 8rem !important;
}

.wsm-attendees-form .wsm-phone-row input[name*="[phone_local]"],
.wsm-attendees-form .wsm-phone-row input#wsm_waitlist_phone {
	width: 100%;
	max-width: none;
	min-width: 0;
}

.wsm-attendees-form .wsm-inline-error {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.875rem;
	color: #e2401c;
}

.wsm-attendees-form input.wsm-invalid {
	border-color: #e2401c !important;
	outline-color: #e2401c !important;
}
