/* WhatsApp pre-form modal: lock scroll when open (iOS needs overflow + height) */
html.wa-preform-open {
	overflow: hidden !important;
	height: 100% !important;
}
html.wa-preform-open body {
	overflow: hidden !important;
	height: 100% !important;
}
.wa-preform-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(10, 22, 46, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.wa-preform-backdrop.wa-preform-open {
	opacity: 1;
	visibility: visible;
	overflow: hidden;
	touch-action: none;
	-webkit-overflow-scrolling: touch;
}
.wa-preform-modal,
.wa-preform-connecting {
	background: #fff;
	border-radius: 12px;
	max-width: 440px;
	width: 100%;
	padding: 1.75rem;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	touch-action: auto;
}
.wa-preform-connecting {
	text-align: center;
}
.wa-preform-modal[aria-hidden="true"],
.wa-preform-connecting[aria-hidden="true"] {
	display: none;
}
.wa-preform-close {
	position: absolute;
    top: 0;
    right: 25px;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #0a162e;
    opacity: 0.7;
    padding: 0.25rem;
    left: auto;
    text-align: right;
}
.wa-preform-close:hover {
	opacity: 1;
}
.wa-preform-title {
	font-size: 1.35rem;
	margin: 0 0 0.5rem;
	color: #0a162e;
}
.wa-preform-subtitle {
	font-size: 0.9rem;
	color: #555;
	margin: 0 0 1.25rem;
	line-height: 1.4;
}
.wa-preform-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: #0a162e;
	font-size: 0.9rem;
}
.wa-preform-form .required {
	color: #c00;
}
.wa-preform-field {
	margin-bottom: 1rem;
}
.wa-preform-form input[type="date"],
.wa-preform-form select {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
}
.wa-preform-guests {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.wa-preform-guest-btn {
	padding: 0.5rem 0.75rem;
	border: 1px solid #0a162e;
	background: #fff;
	color: #0a162e;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background 0.2s, color 0.2s;
}
.wa-preform-guest-btn:hover,
.wa-preform-guest-btn.active {
	background: #0a162e;
	color: #fff;
}
.wa-preform-submit {
	width: 100%;
	margin-top: 0.5rem;
	cursor: pointer;
}
.wa-preform-connecting-text {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
	color: #0a162e;
}
.wa-preform-connecting-hint {
	font-size: 0.9rem;
	color: #666;
	margin: 0 0 1rem;
}
.wa-preform-connecting .white_button {
	display: inline-block;
	text-decoration: none;
}
