:root {
	font-size: 14.4px;
	--green: #2e7d32;
	--green-light: #e8f5e9;
	--red: #d32f2f;
	--blue: #1565c0;
	--border: #d0d0d0;
	--bg: #f2f2f2;
	--white: #ffffff;
	--text: #1a1a1a;
	--text-muted: #757575;
	--radius: 0.556rem;
	--cyan: #00bcd4;
}
.booking-form-wrap {
	max-width: 46.80556rem;
	margin: 0 auto;
	background: var(--bg);
	padding: 7.18rem 4.38rem;
	position: relative;
}
.booking-form-relative {
	position: relative;
}
/* Top notice */
.form-notice {
	position: absolute;
	top: 1.18rem;
	right: 1.18rem;
	display: flex;
	align-items: center;
	gap: 0.76rem;
}
.form-notice p {
	color: #d0d0d0;
	text-align: right;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.form-notice strong {
	color: #e31d1c;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

/* Section card */
.form-section {
	border-radius: var(--radius);
	padding-top: 4.58rem;
}

/* Field group */
.field-row {
	display: flex;
	gap: 1.111rem;
	margin-bottom: 1.111rem;
}
.field-row.field-row-name {
	gap: 2.85rem;
}
.field-row.field-row-name .field {
	width: 12.91667rem;
	flex: unset;
}
.field-row .field {
	flex: 1;
}

.field {
	margin-bottom: 1.53rem;
}
.field:last-child {
	margin-bottom: 0;
}

label.field-label {
	display: block;
	color: #000;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin-bottom: 0.617rem;
}
label.field-label .req {
	color: var(--red);
}
label.field-label .opt {
	color: #d0d0d0;
	text-align: justify;
	font-family: "Instrument Sans";
	font-size: 0.83333rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="time"],
textarea,
select {
	width: 100%;
	height: 2.43056rem;
	border: 0.5px solid #c4c4c4;
	border-radius: 0.55556rem;
	padding: 0.556rem 0.694rem;
	font-family: "Instrument Sans", sans-serif;
	font-size: 0.972rem;
	color: var(--text);
	background: var(--white);
	outline: none;
	transition: border-color 0.2s;
}
#special_requests {
	padding: 1.68rem 1.32rem;
}
#special_requests::placeholder {
	color: #d0d0d0;
	text-align: justify;
	font-family: "Instrument Sans";
	font-size: 0.83333rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
input:focus,
textarea:focus,
select:focus {
	border-color: var(--cyan);
}
input.error,
textarea.error,
select.error {
	border-color: var(--red);
}
.error-msg {
	color: var(--red);
	font-size: 0.764rem;
	margin-top: 0.278rem;
	display: none;
}
.error-msg.show {
	display: block;
}

/* Radio group */
.radio-group {
	display: flex;
	align-items: center;
	gap: 2.64rem;
	flex-wrap: wrap;
}
.radio-item {
	display: flex;
	align-items: center;
	gap: 0.417rem;
	cursor: pointer;
	color: #000;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.radio-item input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	width: 1.111rem;
	height: 1.111rem;
	border: 2px solid #c4c4c4;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
}
.radio-item input[type="radio"]:checked {
	border-color: #a3e2ff;
}
.radio-item input[type="radio"]:checked::before {
	content: "";
	position: absolute;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #a3e2ff;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* intl-tel-input overrides */
/* Fix đường dẫn ảnh cờ khi dùng CDN */
:root {
	--iti-path-flags-1x: url("https://intl-tel-input.com/img/largeFlags.webp?v=d61d2c272875");
	--iti-path-flags-2x: url("https://intl-tel-input.com/img/largeFlags.webp?v=d61d2c272875");
	--iti-path-globe-1x: url("https://intl-tel-input.com/img/largeFlags.webp?v=d61d2c272875");
	--iti-path-globe-2x: url("https://intl-tel-input.com/img/largeFlags.webp?v=d61d2c272875");
}
.iti {
	width: 100%;
	display: block;
}
/* Override global input[type=tel] cho input bên trong iti */
.iti input.iti__tel-input {
	height: 2.43056rem;
	border: 0.5px solid #c4c4c4;
	border-radius: 0.55556rem;
	font-family: "Instrument Sans", sans-serif;
	font-size: 0.972rem;
	color: var(--text);
	background: var(--white);
	outline: none;
	transition: border-color 0.2s;
}
.iti input.iti__tel-input:focus {
	border-color: var(--cyan);
	box-shadow: none;
}
.iti input.iti__tel-input.error {
	border-color: var(--red);
}

/* Flag button */
.iti__selected-country {
	padding: 0 0.5rem 0 0.694rem;
	background: #fff;
	border-right: 0.5px solid #c4c4c4;
	border-radius: 0.55556rem 0 0 0.55556rem;
	gap: 0.278rem;
}
.iti__selected-country:hover {
	background: #ececec;
}
.iti__selected-country-arrow {
	color: #888;
}
.iti__selected-dial-code {
	font-family: "Instrument Sans", sans-serif;
	font-size: 0.833rem;
	color: var(--text);
}

/* Dropdown */
.iti__dropdown-content {
	border-radius: 0.55556rem;
	border: 0.5px solid #c4c4c4;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}
/* Reset global input styles cho search box trong dropdown */
.iti__search-input {
	height: 2rem !important;
	border-radius: 0 !important;
	border: none !important;
	border-bottom: 0.5px solid #e0e0e0 !important;
	padding: 0 0.694rem !important;
	font-family: "Instrument Sans", sans-serif;
	font-size: 0.9rem;
	width: 100%;
	box-sizing: border-box;
}
.iti__country-list {
	max-height: 14rem;
}
.iti__country-name {
	font-family: "Instrument Sans", sans-serif;
	font-size: 0.9rem;
}
.iti__dial-code {
	font-size: 0.833rem;
}
.iti__country.iti__highlight {
	background: #e0f7fa;
}

/* Room card */
.room-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem 1.81rem;
	margin-bottom: 1.111rem;
	background: #fff;
}
.room-card:last-child {
	margin-bottom: 0;
}
.room-title {
	color: #000;
	font-family: "Instrument Sans";
	font-size: 1.38889rem;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	margin-bottom: 1.833rem;
}
.room-included {
	display: flex;
	align-items: flex-start;
	gap: 1.39rem;
	margin-bottom: 1rem;
}
.badge-included {
	background: #6bd43a;
	padding: 0.239rem 0.417rem;
	border-radius: 0.27778rem;
	letter-spacing: 0.05em;
	white-space: nowrap;
	margin-top: 0.1rem;
	color: #fff;
	text-align: center;
	font-family: "Instrument Sans";
	font-size: 0.90278rem;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}
.included-items {
	color: #6bd43a;
	text-align: justify;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}
.included-items span {
	display: block;
	color: #6bd43a;
	text-align: justify;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}
.room-policy {
	display: flex;
	align-items: center;
	gap: 0.556rem;
	font-size: 0.833rem;
	font-weight: 600;
	margin-bottom: 1.81rem;
}
.room-policy svg {
	flex-shrink: 0;
	min-width: 6.7rem;
}
.room-guests {
	display: flex;
	align-items: center;
	gap: 0.694rem;
	font-size: 0.833rem;
	margin-bottom: 0.556rem;
}
.room-guests > span:last-child {
	color: #000;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-left: 1.2rem;
}
.room-guests .label {
	min-width: 6.7rem;
	color: #000;
	text-align: center;
	font-family: "Instrument Sans";
	font-size: 0.90278rem;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}
.guest-icons {
	display: flex;
	gap: 0.42rem;
}
.add-guest-link {
	color: var(--cyan);
	font-size: 0.833rem;
	text-decoration: none;
	cursor: pointer;
}
.add-guest-link:hover {
	text-decoration: underline;
}
.room-smoking {
	display: flex;
	align-items: center;
	gap: 0.417rem;
	margin-top: 0.556rem;
	color: #d0d0d0;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

/* Arrival time card */
.arrival-card {
	margin-top: 2.29rem;
	background: #fff;
	border-radius: var(--radius);
	padding: 1.389rem 1.667rem;
	margin-bottom: 1.111rem;
}
.arrival-title {
	color: #000;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin-bottom: 1rem;
}
.arrival-info {
	display: flex;
	align-items: center;
	gap: 0.417rem;
	font-size: 0.833rem;
	color: var(--green);
	margin-bottom: 0.833rem;
}
.arrival-info svg {
	flex-shrink: 0;
	width: 6.7rem;
	height: 0.97222rem;
}
.arrival-hint {
	color: #d0d0d0;
	text-align: justify;
	font-family: "Instrument Sans";
	font-size: 0.83333rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-top: 0.617rem;
}

/* Special requests */
.special-card {
	border-radius: var(--radius);
	padding: 1.389rem 0;
	margin-bottom: 1.111rem;
}
.special-title {
	color: #000;
	font-family: "Instrument Sans";
	font-size: 1.04167rem;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin-bottom: 0.278rem;
}
.special-title span {
	color: #d0d0d0;
	text-align: justify;
	font-family: "Instrument Sans";
	font-size: 0.83333rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.special-subtitle {
	color: #c4c4c4;
	text-align: justify;
	font-family: "Instrument Sans";
	font-size: 0.83333rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-bottom: 0.833rem;
}
.special-subtitle strong {
	color: #c4c4c4;
	font-family: "Instrument Sans";
	font-size: 0.83333rem;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}
.textarea-wrap {
	position: relative;
}
textarea {
	resize: none;
	min-height: 6.944rem;
}
.char-count {
	text-align: right;
	margin-top: 0.278rem;
	color: #c4c4c4;
	text-align: right;
	font-family: "Instrument Sans";
	font-size: 0.83333rem;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

/* Footer */
.form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 1.389rem;
	flex-wrap: wrap;
	gap: 0.833rem;
}
.booking-conditions-link {
	color: var(--cyan);
	font-size: 0.833rem;
	text-decoration: none;
}
.booking-conditions-link:hover {
	text-decoration: underline;
}
.btn-final {
	background: var(--cyan);
	color: #fff;
	border: none;
	border-radius: 0.347rem;
	padding: 0.833rem 2.222rem;
	font-family: "Instrument Sans", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: background 0.2s;
}
.btn-final:hover {
	background: #0097a7;
}
.btn-final.loading {
	pointer-events: none;
	opacity: 0.8;
	display: flex;
	align-items: center;
	gap: 0.556rem;
}
.btn-spinner {
	width: 1rem;
	height: 1rem;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
	flex-shrink: 0;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Divider */
.field-divider {
	border: none;
	border-top: 1px solid var(--bg);
	margin: 1.111rem 0;
}

/* ── Tablet: 768px – 1024px ── */
@media (min-width: 768px) and (max-width: 1024px) {
	body {
		padding: 2.222rem 2rem;
	}
	.booking-form-wrap {
		max-width: 44.444rem;
	}
}

/* ── Mobile: < 768px ── */
@media (max-width: 767px) {
	body {
		padding: 1rem 0.833rem;
	}
	.booking-form-wrap {
		max-width: 100%;
	}
	.form-section {
		padding: 1.111rem;
	}
	.field-row {
		flex-direction: column;
		gap: 0;
	}
	.field-row .field {
		margin-bottom: 1.111rem;
	}
	.radio-group {
		gap: 1.111rem;
	}
	.form-footer {
		flex-direction: column;
		align-items: stretch;
	}
	.btn-final {
		text-align: center;
		width: 100%;
	}
	.room-card {
		padding: 0.833rem;
	}
	.arrival-card,
	.special-card {
		padding: 1.111rem;
	}
}