/**
 * HT Booking - giao diện khách.
 */

:root {
	--htb-primary: #4d8b96;
	--htb-primary-dark: #3d757f;
	--htb-accent: #ef7f2c;
	--htb-label: #5c7d90;
	--htb-text: #23323c;
	--htb-muted: #7b8b97;
	--htb-border: #e2e7ea;
	--htb-bg-soft: #f6f8f9;
	--htb-radius: 10px;
	--htb-radius-lg: 18px;
	--htb-shadow: 0 14px 34px rgba(24, 48, 62, 0.13);
}

.htb-search-form *,
.htb-results *,
.htb-checkout *,
.htb-confirmation *,
.htb-my-bookings *,
.htb-rooms-grid *,
.htb-room-single *,
.htb-calendar *,
.htb-services * {
	box-sizing: border-box;
}

/* ---------------------------------------------------------------
   1. Thanh tìm kiếm
   --------------------------------------------------------------- */

.htb-search-form {
	position: relative;
	margin: 0 auto 28px;
	max-width: 1180px;
	color: var(--htb-text);
	font-size: 15px;
}

.htb-search-form--card .htb-search-form__inner {
	background: #fff;
	border-radius: var(--htb-radius-lg);
	box-shadow: var(--htb-shadow);
	padding: 18px 22px;
}

.htb-search-form--flat .htb-search-form__inner {
	background: transparent;
	padding: 0;
}

.htb-search-form__inner {
	display: flex;
	align-items: flex-end;
	gap: 18px;
}

.htb-search-form--vertical .htb-search-form__inner {
	flex-direction: column;
	align-items: stretch;
}

.htb-field {
	flex: 1 1 0;
	min-width: 0;
}

.htb-field--submit {
	flex: 0 0 auto;
}

.htb-field__label {
	display: block;
	margin: 0 0 8px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--htb-label);
	line-height: 1.2;
}

.htb-field__control {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 14px;
	border: 1px solid var(--htb-border);
	border-radius: var(--htb-radius);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.htb-field__control:focus-within {
	border-color: var(--htb-primary);
	box-shadow: 0 0 0 3px rgba(77, 139, 150, 0.12);
}

.htb-field__icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--htb-accent);
}

.htb-field__icon svg {
	width: 21px;
	height: 21px;
	display: block;
}

.htb-field__input,
.htb-field__input:focus {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	box-shadow: none;
	padding: 0;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--htb-text);
	line-height: 1.3;
	height: auto;
	text-align: left;
	appearance: none;
	-webkit-appearance: none;
}

select.htb-field__input {
	cursor: pointer;
}

button.htb-field__input {
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.htb-search-form__submit {
	height: 56px;
	padding: 0 34px;
	font-size: 17px;
	letter-spacing: 0.04em;
}

.htb-search-form__meta {
	margin-top: 10px;
	font-size: 13px;
	color: var(--htb-muted);
	text-align: center;
}

/* Nút */

.htb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: var(--htb-radius);
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	font-family: inherit;
}

.htb-btn--primary {
	background: var(--htb-primary);
	color: #fff;
}

.htb-btn--primary:hover,
.htb-btn--primary:focus {
	background: var(--htb-primary-dark);
	color: #fff;
}

.htb-btn--ghost {
	background: #fff;
	border-color: var(--htb-border);
	color: var(--htb-text);
}

.htb-btn--ghost:hover {
	border-color: var(--htb-primary);
	color: var(--htb-primary);
}

.htb-btn--danger {
	background: #fff;
	border-color: #e3b4b4;
	color: #b93b3b;
}

.htb-btn--block {
	width: 100%;
}

/* Popover số khách */

.htb-field--guests .htb-field__control {
	cursor: pointer;
}

.htb-guests__popover {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 60;
	min-width: 280px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--htb-border);
	border-radius: var(--htb-radius);
	box-shadow: var(--htb-shadow);
}

.htb-guests__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 0;
	font-size: 15px;
}

.htb-stepper {
	display: flex;
	align-items: center;
	gap: 6px;
}

.htb-stepper__btn {
	width: 30px;
	height: 30px;
	border: 1px solid var(--htb-border);
	border-radius: 50%;
	background: #fff;
	color: var(--htb-primary);
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
}

.htb-stepper__btn:hover {
	border-color: var(--htb-primary);
}

.htb-stepper input {
	width: 42px;
	text-align: center;
	border: 0;
	background: transparent;
	font-size: 15px;
	font-weight: 600;
	padding: 0;
	-moz-appearance: textfield;
}

.htb-stepper input::-webkit-outer-spin-button,
.htb-stepper input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.htb-guests__done {
	width: 100%;
	margin-top: 8px;
	padding: 9px;
	border: 0;
	border-radius: 8px;
	background: var(--htb-primary);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

/* ---------------------------------------------------------------
   2. Datepicker
   --------------------------------------------------------------- */

.htb-dp {
	position: absolute;
	z-index: 70;
	display: flex;
	gap: 18px;
	padding: 16px;
	background: #fff;
	border: 1px solid var(--htb-border);
	border-radius: var(--htb-radius);
	box-shadow: var(--htb-shadow);
	font-size: 14px;
}

.htb-dp__month {
	min-width: 252px;
}

.htb-dp__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	font-weight: 700;
	color: var(--htb-text);
}

.htb-dp__nav {
	width: 28px;
	height: 28px;
	border: 1px solid var(--htb-border);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	color: var(--htb-primary);
	line-height: 1;
}

.htb-dp__nav[disabled] {
	opacity: 0.35;
	cursor: default;
}

.htb-dp__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}

.htb-dp__dow {
	text-align: center;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--htb-muted);
	padding: 4px 0;
}

.htb-dp__day {
	position: relative;
	border: 0;
	background: transparent;
	border-radius: 7px;
	padding: 7px 0 5px;
	text-align: center;
	cursor: pointer;
	font-size: 14px;
	color: var(--htb-text);
	font-family: inherit;
	line-height: 1.15;
}

.htb-dp__day span {
	display: block;
	font-size: 9.5px;
	color: var(--htb-muted);
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
}

.htb-dp__day:hover:not([disabled]) {
	background: var(--htb-bg-soft);
}

.htb-dp__day[disabled] {
	color: #c3ccd2;
	cursor: not-allowed;
	text-decoration: line-through;
}

.htb-dp__day--empty {
	visibility: hidden;
}

.htb-dp__day--in-range {
	background: rgba(77, 139, 150, 0.12);
	border-radius: 0;
}

.htb-dp__day--selected,
.htb-dp__day--selected:hover {
	background: var(--htb-primary);
	color: #fff;
}

.htb-dp__day--selected span {
	color: rgba(255, 255, 255, 0.85);
}

.htb-dp__hint {
	margin-top: 10px;
	font-size: 12.5px;
	color: var(--htb-muted);
	text-align: center;
}

/* ---------------------------------------------------------------
   3. Kết quả tìm kiếm
   --------------------------------------------------------------- */

.htb-results {
	max-width: 1180px;
	margin: 0 auto;
	color: var(--htb-text);
}

.htb-results__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	background: var(--htb-bg-soft);
	border-radius: var(--htb-radius);
	margin-bottom: 18px;
}

.htb-results__summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 16px;
}

.htb-results__nights {
	color: var(--htb-muted);
	font-size: 14px;
}

.htb-results__sort {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.htb-results__count {
	color: var(--htb-muted);
	margin: 0 0 14px;
}

.htb-room-list {
	display: grid;
	gap: 18px;
}

.htb-room-card {
	display: grid;
	grid-template-columns: 300px 1fr 260px;
	gap: 20px;
	padding: 16px;
	border: 1px solid var(--htb-border);
	border-radius: var(--htb-radius-lg);
	background: #fff;
}

.htb-room-card__media {
	position: relative;
	border-radius: var(--htb-radius);
	overflow: hidden;
	min-height: 180px;
	background: var(--htb-bg-soft);
}

.htb-room-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.htb-room-card__badge {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 5px 10px;
	border-radius: 20px;
	background: var(--htb-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.htb-room-card__title {
	margin: 0 0 8px;
	font-size: 20px;
}

.htb-room-card__title a {
	color: var(--htb-text);
	text-decoration: none;
}

.htb-room-card__specs,
.htb-room-card__amenities,
.htb-room-tile__specs {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 0 0 10px;
	padding: 0;
	font-size: 13.5px;
	color: var(--htb-muted);
}

.htb-room-card__amenities li {
	padding: 3px 10px;
	border-radius: 20px;
	background: var(--htb-bg-soft);
	font-size: 12.5px;
}

.htb-room-card__excerpt {
	font-size: 14px;
	color: var(--htb-muted);
}

.htb-room-card__aside {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding-left: 20px;
	border-left: 1px solid var(--htb-border);
	text-align: right;
}

.htb-room-card__price-total {
	display: block;
	font-size: 24px;
	font-weight: 800;
	color: var(--htb-primary);
}

.htb-room-card__price small {
	display: block;
	font-size: 12.5px;
	color: var(--htb-muted);
}

.htb-room-card__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.htb-room-card__qty {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	font-size: 13.5px;
	color: var(--htb-muted);
}

.htb-room-card__qty select {
	padding: 6px 10px;
	border: 1px solid var(--htb-border);
	border-radius: 8px;
}

/* ---------------------------------------------------------------
   4. Lưới phòng & dịch vụ
   --------------------------------------------------------------- */

.htb-rooms-grid,
.htb-services {
	display: grid;
	gap: 20px;
	max-width: 1180px;
	margin: 0 auto;
}

.htb-cols-1 { grid-template-columns: 1fr; }
.htb-cols-2 { grid-template-columns: repeat(2, 1fr); }
.htb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.htb-cols-4 { grid-template-columns: repeat(4, 1fr); }

.htb-room-tile,
.htb-service-tile {
	border: 1px solid var(--htb-border);
	border-radius: var(--htb-radius-lg);
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.htb-service-tile {
	padding: 18px 20px;
}

.htb-service-tile h4 {
	margin: 0 0 8px;
	font-size: 17px;
}

.htb-service-tile__price {
	margin-top: auto;
	padding-top: 10px;
	font-weight: 700;
	color: var(--htb-primary);
}

.htb-room-tile__media img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	display: block;
}

.htb-room-tile__body {
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.htb-room-tile__body h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.htb-room-tile__body h3 a {
	text-decoration: none;
	color: var(--htb-text);
}

.htb-room-tile__excerpt {
	font-size: 14px;
	color: var(--htb-muted);
	margin-bottom: 14px;
}

.htb-room-tile__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
}

.htb-room-tile__price {
	font-size: 19px;
	font-weight: 800;
	color: var(--htb-primary);
}

.htb-room-tile__price small {
	font-size: 12px;
	font-weight: 500;
	color: var(--htb-muted);
	display: block;
}

/* ---------------------------------------------------------------
   5. Chi tiết phòng
   --------------------------------------------------------------- */

.htb-room-single {
	max-width: 1180px;
	margin: 24px auto;
}

.htb-room-single__grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 26px;
	align-items: start;
}

.htb-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 18px;
}

.htb-gallery img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.htb-room-single__specs {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	padding: 16px;
	margin: 0 0 20px;
	background: var(--htb-bg-soft);
	border-radius: var(--htb-radius);
}

.htb-room-single__specs span {
	display: block;
	font-size: 12.5px;
	color: var(--htb-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.htb-room-single__amenities ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
}

.htb-room-single__amenities li {
	padding: 6px 12px;
	background: var(--htb-bg-soft);
	border-radius: 20px;
	font-size: 13.5px;
}

.htb-booking-form {
	position: sticky;
	top: 24px;
	padding: 20px;
	border: 1px solid var(--htb-border);
	border-radius: var(--htb-radius-lg);
	box-shadow: var(--htb-shadow);
	background: #fff;
}

.htb-booking-form__price {
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--htb-border);
}

.htb-booking-form__price strong {
	font-size: 24px;
	color: var(--htb-primary);
}

.htb-booking-form__row {
	margin-bottom: 12px;
}

.htb-booking-form__row label {
	display: block;
	margin-bottom: 6px;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--htb-label);
}

.htb-booking-form__row input,
.htb-booking-form__row select {
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--htb-border);
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
}

.htb-booking-form__inline {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.htb-booking-form__result {
	margin: 10px 0;
	font-size: 13.5px;
}

.htb-booking-form__result--error {
	color: #b93b3b;
}

.htb-booking-form__result--ok {
	color: #2c7a4b;
}

.htb-booking-form__note {
	margin: 10px 0 0;
	font-size: 12.5px;
	color: var(--htb-muted);
	text-align: center;
}

/* ---------------------------------------------------------------
   6. Lịch còn phòng
   --------------------------------------------------------------- */

.htb-calendar {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.htb-calendar__month {
	flex: 1 1 280px;
}

.htb-calendar__title {
	font-weight: 700;
	margin-bottom: 10px;
	text-transform: capitalize;
}

.htb-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.htb-calendar__dow {
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--htb-muted);
	padding: 4px 0;
}

.htb-calendar__day {
	min-height: 48px;
	padding: 5px 2px;
	border-radius: 8px;
	text-align: center;
	background: var(--htb-bg-soft);
	font-size: 13px;
}

.htb-calendar__day--empty {
	background: transparent;
}

.htb-calendar__day--past {
	opacity: 0.4;
}

.htb-calendar__day--free {
	background: rgba(44, 122, 75, 0.09);
}

.htb-calendar__day--low {
	background: rgba(239, 127, 44, 0.13);
}

.htb-calendar__day--full {
	background: rgba(185, 59, 59, 0.1);
}

.htb-calendar__num {
	display: block;
	font-weight: 600;
}

.htb-calendar__price {
	display: block;
	font-size: 10.5px;
	color: var(--htb-muted);
	margin-top: 2px;
}

.htb-calendar__legend {
	display: flex;
	gap: 18px;
	flex-basis: 100%;
	font-size: 13px;
	color: var(--htb-muted);
}

.htb-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 6px;
}

.htb-dot--free { background: #2c7a4b; }
.htb-dot--low { background: var(--htb-accent); }
.htb-dot--full { background: #b93b3b; }

/* ---------------------------------------------------------------
   7. Thanh toán & xác nhận
   --------------------------------------------------------------- */

.htb-checkout,
.htb-confirmation,
.htb-my-bookings {
	max-width: 1180px;
	margin: 0 auto;
	color: var(--htb-text);
}

.htb-checkout__grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 26px;
	align-items: start;
}

.htb-card {
	background: #fff;
	border: 1px solid var(--htb-border);
	border-radius: var(--htb-radius-lg);
	padding: 22px;
	margin-bottom: 20px;
}

.htb-card__title {
	margin: 0 0 18px;
	font-size: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--htb-border);
}

.htb-form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 16px;
}

.htb-form-row {
	margin: 0;
}

.htb-form-row--full {
	grid-column: 1 / -1;
}

.htb-form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--htb-label);
}

.htb-form-row input[type="text"],
.htb-form-row input[type="email"],
.htb-form-row input[type="tel"],
.htb-form-row select,
.htb-form-row textarea {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--htb-border);
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
	font-family: inherit;
}

.htb-gateways {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.htb-gateway {
	border: 1px solid var(--htb-border);
	border-radius: var(--htb-radius);
	padding: 14px 16px;
}

.htb-gateway__title {
	font-weight: 700;
	margin-left: 6px;
}

.htb-gateway__desc {
	margin-top: 6px;
	padding-left: 24px;
	font-size: 13.5px;
	color: var(--htb-muted);
}

.htb-gateway__desc p {
	margin: 0;
}

.htb-terms {
	font-size: 14px;
	margin-bottom: 16px;
}

.htb-summary {
	position: sticky;
	top: 24px;
}

.htb-summary__stay {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 14px;
	background: var(--htb-bg-soft);
	border-radius: var(--htb-radius);
	margin-bottom: 16px;
	text-align: center;
}

.htb-summary__stay span {
	display: block;
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--htb-muted);
}

.htb-summary__stay strong {
	display: block;
	font-size: 15px;
	margin: 3px 0;
}

.htb-summary__stay small {
	font-size: 12px;
	color: var(--htb-muted);
}

.htb-summary__items {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.htb-summary__items li {
	padding: 10px 0;
	border-bottom: 1px dashed var(--htb-border);
}

.htb-summary__item-head {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 15px;
}

.htb-summary__item-meta {
	margin-top: 6px;
	font-size: 13px;
	color: var(--htb-muted);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.htb-summary__item-meta input {
	width: 62px;
	padding: 5px 8px;
	border: 1px solid var(--htb-border);
	border-radius: 6px;
}

.htb-summary__services h4 {
	margin: 6px 0 8px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--htb-label);
}

.htb-service-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	font-size: 14px;
}

.htb-service-row__name small {
	display: block;
	font-size: 12px;
	color: var(--htb-muted);
}

.htb-service-row input[type="number"] {
	width: 62px;
	padding: 5px 8px;
	border: 1px solid var(--htb-border);
	border-radius: 6px;
}

.htb-summary__coupon {
	margin: 14px 0 10px;
}

.htb-summary__coupon label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--htb-label);
	margin-bottom: 6px;
}

.htb-summary__coupon input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--htb-border);
	border-radius: 8px;
	text-transform: uppercase;
}

.htb-summary__totals,
.htb-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
	font-size: 14.5px;
}

.htb-summary__totals th,
.htb-summary__totals td {
	padding: 8px 0;
	text-align: left;
	font-weight: 500;
}

.htb-summary__totals td {
	text-align: right;
}

.htb-summary__discount td {
	color: #2c7a4b;
}

.htb-summary__grand th,
.htb-summary__grand td {
	border-top: 2px solid var(--htb-border);
	padding-top: 12px;
	font-size: 19px;
	font-weight: 800;
	color: var(--htb-primary);
}

.htb-summary__deposit td {
	color: var(--htb-accent);
	font-weight: 700;
}

.htb-table th,
.htb-table td {
	padding: 10px 8px;
	border-bottom: 1px solid var(--htb-border);
	text-align: left;
}

.htb-table td:last-child,
.htb-table th:last-child {
	text-align: right;
}

.htb-detail-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.htb-detail-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--htb-border);
	font-size: 14.5px;
}

.htb-detail-list span {
	color: var(--htb-muted);
}

.htb-confirmation__head {
	text-align: center;
	padding: 26px 20px;
	background: var(--htb-bg-soft);
	border-radius: var(--htb-radius-lg);
	margin-bottom: 20px;
}

.htb-confirmation__head h2 {
	margin: 0 0 10px;
}

.htb-confirmation__code strong {
	font-size: 20px;
	color: var(--htb-primary);
	letter-spacing: 0.04em;
}

.htb-status {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	background: #eef2f4;
	color: var(--htb-text);
	margin: 0 3px;
}

.htb-status--confirmed { background: rgba(44, 122, 75, 0.14); color: #2c7a4b; }
.htb-status--pending { background: rgba(239, 127, 44, 0.16); color: #b85f16; }
.htb-status--cancelled,
.htb-status--expired,
.htb-status--no_show { background: rgba(185, 59, 59, 0.13); color: #b93b3b; }

.htb-bank-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 22px;
	align-items: start;
}

.htb-bank-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.htb-bank-table th,
.htb-bank-table td {
	padding: 8px 0;
	text-align: left;
	border-bottom: 1px solid var(--htb-border);
}

.htb-bank-table th {
	color: var(--htb-muted);
	font-weight: 500;
	width: 40%;
}

.htb-bank-qr {
	text-align: center;
}

.htb-bank-qr img {
	width: 190px;
	height: auto;
	border: 1px solid var(--htb-border);
	border-radius: 10px;
	display: block;
}

.htb-bank-qr span {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--htb-muted);
}

.htb-lookup-form {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 14px;
	align-items: end;
}

/* ---------------------------------------------------------------
   8. Thông báo & trạng thái rỗng
   --------------------------------------------------------------- */

.htb-notice {
	padding: 13px 16px;
	border-radius: var(--htb-radius);
	margin-bottom: 18px;
	font-size: 14.5px;
	border: 1px solid transparent;
}

.htb-notice--error {
	background: #fdf1f1;
	border-color: #f0d3d3;
	color: #a93030;
}

.htb-notice--success {
	background: #eff8f2;
	border-color: #cfe8d9;
	color: #24704a;
}

.htb-notice--info {
	background: #eff5f7;
	border-color: #d3e2e7;
	color: #2c5c68;
}

.htb-empty {
	text-align: center;
	padding: 48px 20px;
	background: var(--htb-bg-soft);
	border-radius: var(--htb-radius-lg);
}

.htb-empty h3 {
	margin: 0 0 8px;
}

.htb-empty p {
	color: var(--htb-muted);
	margin: 0 0 12px;
}

/* ---------------------------------------------------------------
   9. Responsive
   --------------------------------------------------------------- */

@media (max-width: 1024px) {
	.htb-room-card {
		grid-template-columns: 240px 1fr;
	}

	.htb-room-card__aside {
		grid-column: 1 / -1;
		border-left: 0;
		border-top: 1px solid var(--htb-border);
		padding-left: 0;
		padding-top: 14px;
		text-align: left;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.htb-room-card__form {
		flex-direction: row;
		align-items: center;
	}

	.htb-checkout__grid,
	.htb-room-single__grid {
		grid-template-columns: 1fr;
	}

	.htb-summary,
	.htb-booking-form {
		position: static;
	}

	.htb-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.htb-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
	.htb-search-form__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.htb-search-form--card .htb-search-form__inner {
		padding: 16px;
		border-radius: 14px;
	}

	.htb-search-form__submit {
		width: 100%;
	}

	.htb-guests__popover {
		right: 0;
		min-width: 0;
		width: 100%;
	}

	.htb-dp {
		flex-direction: column;
		left: 0 !important;
		right: 0;
		max-width: 100%;
		overflow-x: auto;
	}

	.htb-dp__month {
		min-width: 0;
	}

	.htb-room-card,
	.htb-form-grid,
	.htb-lookup-form,
	.htb-bank-grid,
	.htb-cols-2,
	.htb-cols-3,
	.htb-cols-4,
	.htb-booking-form__inline,
	.htb-gallery {
		grid-template-columns: 1fr;
	}

	.htb-summary__stay {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.htb-bank-qr img {
		margin: 0 auto;
	}
}

@media print {
	.htb-cancel-form,
	.htb-confirmation__print,
	.htb-search-form {
		display: none !important;
	}
}
