/* MarcoPolo Online booking polish (non-destructive overrides) */

/*
 * TripGo: .main-header is position:absolute (header.css). The old home banner-one used ~195px
 * top padding so content started below the nav. Inner layouts (index without banner-one, room-list)
 * need explicit top padding or the first section hides under the header.
 */
.mpo-content-below-absolute-header{
	padding-top: clamp(92px, 11vw, 120px);
}

/* index.php: slow-rotating logo above the page title */
.mpo-index-page-title .mpo-rotating-logo{
	text-align: center;
	margin: 0 auto 10px;
	width: clamp(88px, 20vw, 128px);
	height: clamp(88px, 20vw, 128px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mpo-index-page-title .mpo-rotating-logo__img{
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	object-fit: contain;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	animation: mpoRotatingLogoSpin 28s linear infinite;
}
@keyframes mpoRotatingLogoSpin{
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce){
	.mpo-index-page-title .mpo-rotating-logo__img{
		animation: none;
	}
}

.mpo-card-glass{
	border: 1px solid rgba(13, 110, 253, .12);
	background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.80) 100%);
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
	border-radius: 16px;
}

.mpo-hero{
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 18px 16px;
	background: linear-gradient(135deg, #0b1220 0%, #0d6efd 100%);
	color: #fff;
}

.mpo-hero .sec-title_heading,
.mpo-hero .sec-title_text{
	color: #fff !important;
}

.mpo-badge{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.20);
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 12px;
}

.mpo-kv{
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #eef2f7;
}

.mpo-kv:last-child{
	border-bottom: 0;
}

.mpo-terms{
	max-height: 240px;
	overflow: auto;
}

.mpo-terms-body{
	font-size: 12px;
	line-height: 1.6;
	color: #334155;
}
.mpo-terms-body p{
	margin-bottom: 0.65rem;
}
.mpo-terms-body ul, .mpo-terms-body ol{
	margin: 0.35rem 0 0.5rem 1.1rem;
	padding-left: 0.2rem;
}
.mpo-terms-body h1, .mpo-terms-body h2, .mpo-terms-body h3, .mpo-terms-body h4{
	font-size: 12px;
	font-weight: 700;
	margin: 0.5rem 0 0.35rem;
	color: #0f172a;
}

.mpo-bank-inline .mpo-kv{
	font-size: 14px;
}
.mpo-bank-inline .card-body{
	color: #1e3a2f;
}

.mpo-room-type-amenities{
	font-size: 12.5px;
	line-height: 1.5;
	margin-top: 6px;
}

.mpo-room-desc{
	margin-top: 6px;
	max-width: 100%;
}
.mpo-room-desc-line{
	font-size: 13px;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}
.mpo-read-more{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0d6efd;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.mpo-read-more:hover{
	color: #0a58ca;
}
.mpo-read-more:focus{
	outline: 2px solid rgba(13, 110, 253, .35);
	outline-offset: 2px;
}

.mpo-continue-wrap{
	background: linear-gradient(180deg, rgba(5, 150, 105, .04) 0%, rgba(255,255,255,.6) 100%);
}

.mpo-mono{
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.mpo-room-table thead th{
	border-bottom: 2px solid rgba(13,110,253,.18) !important;
}

/* Search: room types table (primary layout) */
.mpo-room-table-wrap{
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.mpo-room-table--search{
	margin: 0 !important;
	border-collapse: separate;
	border-spacing: 0;
}
.mpo-room-table--search thead th{
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	color: #0f172a;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 2px solid #cbd5e1 !important;
	padding: 12px 10px;
	vertical-align: middle;
	white-space: nowrap;
}
.mpo-room-table--search tbody td{
	padding: 12px 10px;
	vertical-align: middle !important;
	border-color: #eef2f7 !important;
}
.mpo-room-table--search tbody tr:hover{
	background: #f8fbff;
}
.mpo-room-table--search tbody tr.mpo-room-row--na{
	background: #fafafa;
}
.mpo-room-table--search tbody tr.mpo-room-row--na:hover{
	background: #f4f4f5;
}
.mpo-th-select, .mpo-td-select{
	width: 48px;
	text-align: center;
}
.mpo-td-select .room-select{
	width: 18px;
	height: 18px;
	cursor: pointer;
}
.mpo-th-photos, .mpo-td-photos{
	min-width: 196px;
	max-width: 300px;
}
.mpo-td-type{
	min-width: 200px;
	max-width: 100%;
}
.mpo-th-charges, .mpo-td-charges{
	min-width: 128px;
}
.mpo-th-avail, .mpo-td-avail{
	width: 88px;
}
.mpo-room-table__photos{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 6px;
	align-items: center;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 300px;
	padding: 2px 0;
}
.mpo-table-thumb{
	flex: 0 0 auto;
}
.mpo-table-thumb img{
	display: block;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	object-fit: cover;
}
a.mpo-table-thumb-more{
	flex: 0 0 auto;
	min-width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f1f5f9;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 800;
	color: #475569 !important;
	text-decoration: none !important;
}
a.mpo-table-thumb-more:hover{
	background: #e2e8f0;
	color: #0f172a !important;
}
.mpo-table-amenities{
	max-width: 420px;
}
.mpo-charges-cell{
	text-align: right;
}
.mpo-charges-amount{
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}
.mpo-charges-gst{
	font-size: 11px;
	color: #047857;
	font-weight: 600;
	margin-top: 2px;
}
.mpo-avail-badge{
	font-size: 12px;
	font-weight: 700;
	padding: 6px 10px;
	border-radius: 6px;
}
.mpo-room-desc--table .mpo-room-desc-line{
	max-width: 520px;
}
@media (max-width: 767px){
	.mpo-room-table--search .mpo-th-photos, .mpo-room-table--search .mpo-td-photos{ min-width: 140px; }
	.mpo-charges-amount{ font-size: 14px; }
}

.mpo-room-table tbody tr.online-room-desc-row td{
	background: #fbfdff;
	border-top: 0 !important;
}

.mpo-room-table tbody tr.online-room-amenities-row td{
	background: #f8fafc;
	border-top: 0 !important;
}

.mpo-room-images-strip{
	align-items: flex-start;
	max-height: 200px;
	overflow-y: auto;
}

.online-room-thumb-link img,
.mpo-table-thumb img{
	transition: transform .15s ease, box-shadow .15s ease;
}
.online-room-thumb-link:hover img,
.mpo-table-thumb:hover img{
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(15, 23, 42, .10);
}

/* Optional: theme without Bootstrap 4 badge */
.mpo-avail-badge.badge-success{ background: #198754; color: #fff; }
.mpo-avail-badge.badge-secondary{ background: #6c757d; color: #fff; }

/* Search page: TripGo tour-grid-right layout (sidebar-page-container + row clearfix) */
/* Do not set padding-top here — it would override .mpo-content-below-absolute-header (nav is position:absolute). */
.mpo-search-tourgrid.sidebar-page-container{
	padding-bottom: 50px;
}
/* Title band: matches style-two; gradient so the page still looks right without 5.jpg */
section.page-title.mpo-search-page-title{
	background-color: #0b1220;
	background-image: linear-gradient(120deg, #0b1220 0%, #0d2d5c 50%, #0d6efd 100%);
	background-size: cover;
	background-position: center center;
}
.mpo-avail-tours-sorting{
	margin: 0 0 20px;
}
.mpo-avail-tours-sorting h3{
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.mpo-search-top{
	margin-bottom: 6px;
}
.mpo-yourseach-widget{
	border-radius: 8px;
	border: 1px solid rgba(0,0,0,0.07);
	background: #fff;
	overflow: hidden;
	margin-bottom: 18px !important;
}
.mpo-yourseach-widget .sidebar-title_box{
	padding: 10px 0 8px;
}
.mpo-yourseach-widget .sidebar-title_box h4{
	font-size: 16px;
	margin: 0;
	line-height: 1.2;
}
.mpo-yourseach-widget .tour-search-form,
.mpo-yourseach-widget__form{
	padding: 10px 20px 14px !important;
}
.mpo-yourseach-widget .form-group label{
	font-size: 12px;
	margin-bottom: 4px;
}
.mpo-yourseach-widget .custom-select-box,
.mpo-yourseach-widget input.datepicker,
.mpo-yourseach-widget input[type="number"]{
	padding: 8px 12px;
	min-height: 40px;
	font-size: 13px;
}
.mpo-yourseach-widget .theme-btn.submit-btn{
	padding: 10px 22px;
	font-size: 14px;
}

.mpo-room-types-card{
	background: #fff !important;
	border: 1px solid rgba(0,0,0,0.07) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}
.mpo-room-types-card__body{
	padding: 20px 20px 22px !important;
}
.mpo-room-types-card__title{
	font-size: 18px;
	font-weight: 800;
	color: #111b19;
	margin: 0 0 16px;
	font-family: "Hanken Grotesk", sans-serif;
}

.mpo-room-table-wrap{
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}
.mpo-room-types-card .mpo-room-table-wrap{
	border-color: #eef2f7;
}

.mpo-booking-sidebar{
	position: sticky;
	top: 90px;
	z-index: 2;
}
@media (max-width: 991px){
	.mpo-booking-sidebar{
		position: relative;
		top: auto;
		margin-top: 24px;
	}
}
.mpo-booking-summary-widget{
	margin-bottom: 0 !important;
}
.mpo-booking-summary__inner.tour-search-form{
	padding: 18px 20px 10px !important;
}
.mpo-booking-summary__inner{
	padding-bottom: 4px !important;
}
/* Booking summary: readable type (sidebar) */
.mpo-booking-summary__meta{
	font-size: 0.9375rem; /* 15px */
	line-height: 1.55 !important;
	color: #0f172a;
	font-weight: 500;
	padding: 0 2px;
}
.mpo-booking-summary__meta .mpo-booking-summary__meta-sub{
	font-size: 0.875rem; /* 14px */
	color: #334155;
	font-weight: 500;
}
.mpo-booking-summary__lines{
	font-size: 0.9375rem; /* 15px */
	color: #0f172a;
}
.mpo-booking-summary__lines .mpo-billing-line{
	color: #0f172a;
}
.mpo-booking-summary__lines .mpo-billing-line__row{
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: flex-start;
}
.mpo-booking-summary__lines .mpo-billing-line__name{
	font-size: 0.9375rem;
	font-weight: 600;
	color: #0f172a;
}
.mpo-booking-summary__lines .mpo-billing-line__name .mpo-billing-line__qty{
	font-weight: 600;
	color: #475569;
}
.mpo-booking-summary__lines .mpo-billing-line__subtotal{
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
	white-space: nowrap;
}
.mpo-booking-summary__lines .mpo-billing-line__detail{
	font-size: 0.875rem; /* 14px */
	line-height: 1.45;
	margin-top: 0.35rem;
	color: #334155;
}
.mpo-booking-summary__lines .mpo-billing-line__detail .mpo-billing-incl{
	color: #0d6e3c;
	font-weight: 600;
}
.mpo-booking-summary__empty{
	color: #475569;
	font-size: 0.9375rem;
	font-weight: 500;
	opacity: 1;
}
.mpo-booking-summary__totals{
	padding: 8px 2px 0;
}
.mpo-booking-summary__totals .mpo-booking-charges-label{
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
}
.mpo-booking-summary__totals .mpo-booking-total-amount{
	font-size: 1.25rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}
.mpo-booking-summary-widget .sidebar-title_box h4{
	color: #0f172a;
	font-weight: 700;
}
.mpo-booking-continue{
	padding-top: 4px !important;
}

/* Online booking: primary action buttons (navy) */
.page-wrapper .theme-btn.submit-btn,
.page-wrapper .theme-btn.btn-style-one,
.page-wrapper .theme-btn.btn-style-two,
.page-wrapper label.theme-btn.submit-btn {
	background: #082254;
	background-color: #082254;
	background-image: none;
	border-color: #082254;
	color: #fff;
}
.page-wrapper .theme-btn.submit-btn .txt,
.page-wrapper .theme-btn.btn-style-one .text-one,
.page-wrapper .theme-btn.btn-style-one .text-two,
.page-wrapper .theme-btn.btn-style-two .text-one,
.page-wrapper .theme-btn.btn-style-two .text-two,
.page-wrapper label.theme-btn.submit-btn {
	color: #fff;
}
.page-wrapper .theme-btn.submit-btn:hover,
.page-wrapper .theme-btn.btn-style-one:hover,
.page-wrapper .theme-btn.btn-style-two:hover,
.page-wrapper label.theme-btn.submit-btn:hover {
	background: #0a3068;
	background-color: #0a3068;
	background-image: none;
	border-color: #0a3068;
	color: #fff;
}
.page-wrapper .theme-btn.submit-btn:disabled,
.page-wrapper .theme-btn.btn-style-one:disabled,
.page-wrapper .theme-btn.btn-style-two:disabled {
	opacity: 0.6;
}

/* —— Booking confirmed / thank-you (booking_confirmed.php) —— */
.mpo-booking-confirmed {
	padding: clamp(5.5rem, 12vw, 7.5rem) 0 4.5rem;
	background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 35%, #ffffff 100%);
	min-height: 55vh;
	-webkit-user-select: text;
	user-select: text;
	cursor: auto;
}
.mpo-booking-confirmed * {
	-webkit-user-select: text;
	user-select: text;
	cursor: inherit;
}
.mpo-booking-confirmed a,
.mpo-booking-confirmed .theme-btn {
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}
.mpo-confirm-card {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	text-align: center;
	border: 1px solid rgba(8, 34, 84, 0.08);
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
	border-radius: 20px;
	background: #ffffff;
}
.mpo-confirm-title {
	font-family: "Hanken Grotesk", "Manrope", system-ui, sans-serif;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #0f172a;
	margin: 0 0 0.65rem;
	line-height: 1.2;
}
.mpo-confirm-sub {
	font-size: 1.02rem;
	line-height: 1.65;
	color: #475569;
	margin: 0 0 1.5rem;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}
.mpo-confirm-ref {
	display: block;
	margin: 0 0 1.5rem;
	padding: 1rem 1.15rem;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	text-align: left;
}
.mpo-confirm-ref-label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #64748b;
	margin-bottom: 0.35rem;
}
.mpo-confirm-ref-value {
	font-size: 1.15rem;
	font-weight: 700;
	color: #082254;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	word-break: break-all;
}
.mpo-confirm-booking-no {
	font-size: clamp(1.35rem, 3.2vw, 1.6rem);
	line-height: 1.3;
}
.mpo-confirm-ref-hint {
	font-size: 0.8rem;
	color: #94a3b8;
	margin-top: 0.5rem;
}
.mpo-confirm-steps {
	text-align: left;
	margin: 0 0 0.65rem;
	padding: 0 0 0 1.15rem;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.6;
}
.mpo-confirm-steps li {
	margin-bottom: 0.5rem;
}
.mpo-confirm-whatsapp {
	text-align: left;
	margin: 0 0 1.75rem;
	padding: 0;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.6;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}
.mpo-confirm-whatsapp a {
	color: #0a3068;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.mpo-confirm-whatsapp a:hover {
	color: #0d4a9c;
}
.mpo-confirm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
}
.mpo-confirm-actions .theme-btn,
.mpo-confirm-actions a.theme-btn {
	min-width: 0;
}
.mpo-confirm-secondary {
	background: #fff !important;
	border: 2px solid #e2e8f0 !important;
	color: #334155 !important;
}
.mpo-confirm-secondary:hover {
	border-color: #cbd5e1 !important;
	color: #0f172a !important;
	background: #f8fafc !important;
}
@media (max-width: 576px) {
	.mpo-booking-confirmed {
		padding-top: 5rem;
		padding-left: 12px;
		padding-right: 12px;
	}
	.mpo-confirm-card {
		padding: 1.35rem 1.1rem;
	}
}

/*
 * jQuery UI datepicker: brand navy for prev/next and selected day.
 * Picker is appended to body as #ui-datepicker-div (not inside .page-wrapper).
 */
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next,
#ui-datepicker-div .ui-datepicker-prev-hover,
#ui-datepicker-div .ui-datepicker-next-hover,
#ui-datepicker-div a.ui-datepicker-prev,
#ui-datepicker-div a.ui-datepicker-next {
	background-color: #051a53 !important;
	background: #051a53 !important;
	border: 1px solid #051a53 !important;
	color: #ffffff !important;
	border-radius: 4px;
}
#ui-datepicker-div .ui-datepicker-prev.ui-state-hover,
#ui-datepicker-div .ui-datepicker-next.ui-state-hover,
#ui-datepicker-div a.ui-datepicker-prev.ui-state-hover,
#ui-datepicker-div a.ui-datepicker-next.ui-state-hover {
	background: #0a2d6a !important;
	background-color: #0a2d6a !important;
	border-color: #0a2d6a !important;
}
/* Text labels << >> (set via $.datepicker.setDefaults) — not sprite chevrons */
#ui-datepicker-div a.ui-datepicker-prev,
#ui-datepicker-div a.ui-datepicker-next {
	display: flex !important;
	align-items: center;
	justify-content: center;
}
#ui-datepicker-div .ui-datepicker-prev .ui-icon,
#ui-datepicker-div .ui-datepicker-next .ui-icon {
	background: none !important;
	background-image: none !important;
	text-indent: 0 !important;
	overflow: visible !important;
	width: 100% !important;
	height: 100% !important;
	position: static !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	left: auto !important;
	top: auto !important;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	filter: none !important;
	-webkit-filter: none !important;
}
#ui-datepicker-div a.ui-datepicker-prev.ui-state-disabled,
#ui-datepicker-div a.ui-datepicker-next.ui-state-disabled {
	opacity: 0.45;
	cursor: default;
}
#ui-datepicker-div a.ui-datepicker-prev.ui-state-disabled .ui-icon,
#ui-datepicker-div a.ui-datepicker-next.ui-state-disabled .ui-icon {
	color: #ffffff !important;
	opacity: 0.5;
}

#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active,
#ui-datepicker-div .ui-datepicker td a.ui-state-active,
#ui-datepicker-div .ui-datepicker-calendar a.ui-state-active {
	background: #051a53 !important;
	background-color: #051a53 !important;
	border: 1px solid #051a53 !important;
	color: #ffffff !important;
}
#ui-datepicker-div .ui-datepicker-calendar td a.ui-state-active.ui-state-hover,
#ui-datepicker-div .ui-datepicker td a.ui-state-active.ui-state-hover {
	background: #0a2d6a !important;
	background-color: #0a2d6a !important;
	border-color: #0a2d6a !important;
	color: #ffffff !important;
}
