/* Mesato — Formulário de reservas. Namespaced mst-res, glassmorphism. */

.mst-res {
	--mst-brand: #B0703E;
	--mst-brand-dark: #8a5630;
	--mst-line: rgba(120, 90, 60, .18);
	font-family: Inter, system-ui, -apple-system, sans-serif;
	max-width: 640px;
	margin: 48px auto;
	background: rgba(255, 255, 255, .72);
	backdrop-filter: blur(14px);
	border: 1px solid var(--mst-line);
	border-radius: 18px;
	padding: 26px 24px;
	box-shadow: 0 16px 44px rgba(60, 40, 25, .12);
	color: #2c2420;
}
.mst-res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mst-res-field { display: block; margin-bottom: 14px; }
.mst-res-field > span { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: #4b443c; }
.mst-res-field input,
.mst-res-field select,
.mst-res-field textarea {
	width: 100%;
	border: 1px solid var(--mst-line);
	border-radius: 12px;
	padding: 14px 16px;
	min-height: 52px;
	font-size: 16px;
	font-family: inherit;
	background: #fff;
	box-sizing: border-box;
}
.mst-res-field textarea { min-height: 92px; }
.mst-res-field input:focus,
.mst-res-field select:focus,
.mst-res-field textarea:focus {
	outline: none;
	border-color: var(--mst-brand);
	box-shadow: 0 0 0 3px color-mix( in srgb, var(--mst-brand) 22%, transparent );
}

/* honeypot escondido */
.mst-res-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.mst-res-slots { margin: 4px 0 16px; }
.mst-res-slots-label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; color: #4b443c; }
.mst-res-slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mst-res-slot {
	border: 1px solid var(--mst-line);
	background: #fff;
	border-radius: 10px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: #4b443c;
	transition: all .15s ease;
}
.mst-res-slot:hover { border-color: var(--mst-brand); color: var(--mst-brand-dark); }
.mst-res-slot.is-on { background: var(--mst-brand); border-color: var(--mst-brand); color: #fff; }
.mst-res-slot[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.mst-res-slot-empty { color: #8a8079; font-size: 14px; }

.mst-res-submit {
	width: 100%;
	border: 0;
	background: var(--mst-brand);
	color: #fff;
	font-weight: 600;
	font-size: 15.5px;
	padding: 14px;
	border-radius: 12px;
	cursor: pointer;
	transition: background .18s ease;
}
.mst-res-submit:hover { background: var(--mst-brand-dark); }
.mst-res-submit:disabled { opacity: .6; cursor: default; }

.mst-res-msg { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.mst-res-msg.is-ok { background: rgba(47, 143, 91, .12); color: #226844; border: 1px solid rgba(47, 143, 91, .3); }
.mst-res-msg.is-err { background: rgba(179, 38, 30, .1); color: #8a2018; border: 1px solid rgba(179, 38, 30, .28); }

.mst-res-privacy {
	margin: 4px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #857c70;
}
.mst-res-privacy a { color: var(--mst-brand-dark); text-decoration: underline; }

.mst-res-biggroup {
	margin: 2px 0 12px;
	padding: 12px 14px;
	border-radius: 11px;
	background: rgba(176, 112, 62, .08);
	border: 1px solid var(--mst-line);
	color: #6b5a48;
	font-size: 14px;
}
.mst-res-biggroup a { color: var(--mst-brand-dark); font-weight: 700; white-space: nowrap; }

.mst-res-consent {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	margin: 6px 0 4px;
	font-size: 13px;
	line-height: 1.5;
	color: #6b5a48;
	cursor: pointer;
}
.mst-res-consent input { margin-top: 2px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--mst-brand); }
.mst-res-consent a { color: var(--mst-brand-dark); text-decoration: underline; }

@media (max-width: 560px) {
	.mst-res-grid { grid-template-columns: 1fr; }
}
