/**
 * Booking bar — mockup styles (overrides main/refinements).
 */

.mph-booking-bar {
	margin-top: -56px;
}

.mph-booking-bar__panel {
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(15, 35, 28, 0.08);
	padding: 24px 28px;
	min-height: auto;
	display: block;
	align-items: stretch;
}

.mph-booking-form {
	width: 100%;
}

.mph-booking-form__bar,
.mph-core-component .mph-booking-form__bar {
	display: grid;
	grid-template-columns: 1.15fr 1.15fr 0.95fr 0.95fr auto;
	align-items: stretch;
	gap: 0;
	width: 100%;
	min-height: 56px;
}

.mph-booking-form__field {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 6px 18px;
	border-right: 1px solid #e8e0cd;
	min-width: 0;
	border-radius: 10px;
	transition: box-shadow 0.2s ease, background 0.2s ease;
}

.mph-booking-form__field:first-child {
	padding-left: 4px;
}

.mph-booking-form__field:hover,
.mph-booking-form__field:focus-within {
	box-shadow: inset 0 0 0 1px #f1e3b6;
	background: rgba(241, 227, 182, 0.14);
}

.mph-booking-form__label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #7a836f;
	margin: 0;
}

.mph-booking-form__control {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	position: relative;
}

.mph-booking-form__icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #d4a62a;
	line-height: 0;
}

.mph-booking-form__icon--end {
	margin-left: auto;
}

.mph-booking-form__svg {
	display: block;
}

.mph-booking-form__input {
	width: 100%;
	min-width: 0;
	padding: 2px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-family: var(--mph-font-body, Montserrat, sans-serif);
	font-size: 16px;
	font-weight: 600;
	color: #1d2a24;
	appearance: none;
	-webkit-appearance: none;
}

.mph-booking-form__input::placeholder {
	color: #9aa194;
	font-weight: 500;
}

.mph-booking-form__input:focus {
	outline: none;
}

.mph-booking-form__field--guests .mph-booking-form__input[type="number"] {
	-moz-appearance: textfield;
}

.mph-booking-form__field--guests .mph-booking-form__input[type="number"]::-webkit-outer-spin-button,
.mph-booking-form__field--guests .mph-booking-form__input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.mph-booking-form__actions {
	display: flex;
	align-items: center;
	padding-left: 16px;
	border-right: 0;
}

.mph-booking-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 56px;
	min-height: 56px;
	padding: 0 28px;
	border: 0;
	border-radius: 12px;
	background: #073b2d;
	color: #fff;
	font-family: var(--mph-font-body, Montserrat, sans-serif);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease;
	white-space: nowrap;
	box-shadow: none;
}

.mph-booking-form__submit:hover {
	background: #052d21;
	color: #fff;
}

.mph-booking-form__submit:active {
	background: #04261c;
}

.mph-booking-form__expand {
	margin-top: 14px;
}

.mph-booking-form__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	color: #073b2d;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	text-decoration: none;
}

.mph-booking-form__toggle:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
	color: #073b2d;
}

.mph-booking-form__toggle-icon {
	display: inline-flex;
	color: #073b2d;
	line-height: 0;
}

.mph-booking-form__contact {
	border-top-color: #e8e0cd;
}

.mph-booking-form__contact .mph-booking-form__field {
	border-right: 0;
	padding: 0;
	border-radius: 0;
}

.mph-booking-form__contact .mph-booking-form__field:hover,
.mph-booking-form__contact .mph-booking-form__field:focus-within {
	box-shadow: none;
	background: transparent;
}

.mph-booking-form__input.is-invalid,
.mph-booking-form__contact .mph-booking-form__field input.is-invalid,
.mph-booking-form__contact .mph-booking-form__field textarea.is-invalid {
	border-color: #c45c5c !important;
	box-shadow: 0 0 0 2px rgba(196, 92, 92, 0.18);
}

.mph-booking-form__field:has(.is-invalid) {
	background: rgba(196, 92, 92, 0.04);
}

.mph-booking-form__message {
	margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Responsive — tablet 768–1199
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
	.mph-booking-form__bar,
	.mph-core-component .mph-booking-form__bar {
		grid-template-columns: 1fr 1fr;
		gap: 12px 0;
	}

	.mph-booking-form__field {
		border-right: 1px solid #e8e0cd;
		padding: 10px 14px;
	}

	.mph-booking-form__field:nth-child(2),
	.mph-booking-form__field:nth-child(4) {
		border-right: 0;
	}

	.mph-booking-form__actions {
		grid-column: 1 / -1;
		padding: 8px 0 0;
		justify-content: stretch;
	}

	.mph-booking-form__submit {
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Responsive — mobile ≤767
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
	.mph-booking-bar {
		margin-top: -28px;
	}

	.mph-booking-bar__panel {
		padding: 18px 16px;
	}

	.mph-booking-form__bar,
	.mph-core-component .mph-booking-form__bar {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.mph-booking-form__field {
		border-right: 0;
		border-bottom: 1px solid #e8e0cd;
		border-radius: 10px;
		padding: 12px 10px;
	}

	.mph-booking-form__field:last-of-type {
		border-bottom: 0;
	}

	.mph-booking-form__actions {
		padding-top: 4px;
	}

	.mph-booking-form__submit {
		width: 100%;
	}
}

/* Room sidebar: stack remains */
.mph-room-booking-card .mph-booking-form__bar {
	grid-template-columns: 1fr;
}

.mph-room-booking-card .mph-booking-form__field {
	border-right: 0;
}

.mph-room-booking-card .mph-booking-form__actions {
	padding-left: 0;
}

.mph-room-booking-card .mph-booking-form__submit {
	width: 100%;
}
