/*
 * World Bridge Travel — Custom Styles
 * Only styles that cannot be expressed with Tailwind utility classes.
 */

/* ── Luxury Gold Gradient ─────────────────────────────────────── */
.luxury-gradient {
	background: linear-gradient(135deg, #7e5700 0%, #fdc668 100%);
}

/* ── Glassmorphism Panel ──────────────────────────────────────── */
.glass-panel {
	background: rgba(27, 42, 74, 0.85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	overflow: visible;
}

/* ── Hide Scrollbar (for horizontal scroll sections) ──────────── */
.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
	display: none;
}

/* ── Material Symbols Settings ────────────────────────────────── */
.material-symbols-outlined {
	font-variation-settings:
		'FILL' 0,
		'wght' 400,
		'GRAD' 0,
		'opsz' 24;
}

/* Filled variant for star ratings */
.material-symbols-outlined.filled {
	font-variation-settings:
		'FILL' 1,
		'wght' 400,
		'GRAD' 0,
		'opsz' 24;
}

/* ── Smooth Scroll Behavior ───────────────────────────────────── */
html {
	scroll-behavior: smooth;
}

/* ── Selection Color ──────────────────────────────────────────── */
::selection {
	background-color: rgba(126, 87, 0, 0.15);
	color: #041534;
}

/* ── WP Admin Bar Offset ───────────────────────────────────────── */
body.admin-bar #site-nav {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar #site-nav {
		top: 46px;
	}
}

/* ── Header Scroll Shadow ─────────────────────────────────────── */
.nav-scrolled {
	box-shadow: 0 4px 30px rgba(4, 21, 52, 0.08);
}

/* ── Hero Search Date Input — hide native picker icon ─────────── */
.glass-panel input[type="date"]::-webkit-calendar-picker-indicator {
	opacity: 0;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.glass-panel input[type="date"]::-webkit-date-and-time-value {
	text-align: left;
}
.glass-panel input[type="date"] {
	cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
 *  HERO BOOKING FORM SYSTEM
 *  Override Tailwind Forms plugin resets inside the glass panel.
 * ═══════════════════════════════════════════════════════════════ */

/* ── Booking Tabs ─────────────────────────────────────────────── */
.hero-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 1.3rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.72);
	background: rgba(27, 42, 74, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: none;
	border-radius: 0.75rem 0.75rem 0 0;
	transition: all 0.25s ease;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1.2;
}
.hero-tab:hover {
	color: rgba(255, 255, 255, 0.92);
	background: rgba(27, 42, 74, 0.7);
}
.hero-tab.active {
	color: #fff;
	background: rgba(27, 42, 74, 0.85);
	border-color: rgba(255, 255, 255, 0.1);
}

/* ── Tab Scroll Container with fade hint ──────────────────────── */
.hero-tab-scroll {
	position: relative;
}
.hero-tab-scroll::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 2.5rem;
	height: 100%;
	background: linear-gradient(to right, transparent, rgba(4, 21, 52, 0.85));
	pointer-events: none;
	z-index: 2;
	border-radius: 0 0.75rem 0 0;
	transition: opacity 0.3s;
}
.hero-tab-scroll.scrolled-end::after {
	opacity: 0;
}

/* Mobile: compact tabs */
@media (max-width: 639px) {
	.hero-tab {
		padding: 0.45rem 0.65rem;
		font-size: 0.6rem;
		gap: 0.25rem;
		letter-spacing: 0.04em;
	}
	.hero-tab .material-symbols-outlined {
		font-size: 0.85rem;
	}
}

/* ── Tab Panels ───────────────────────────────────────────────── */
.hero-tab-panel {
	display: none;
	padding: 1.75rem;
	animation: heroFadeSlide 0.3s ease forwards;
}
.hero-tab-panel.active {
	display: block;
}

@media (max-width: 639px) {
	.hero-tab-panel {
		padding: 1.25rem;
	}
}

@keyframes heroFadeSlide {
	from { opacity: 0; transform: translateY(5px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Labels ───────────────────────────────────────────────────── */
.hero-label {
	display: block;
	margin-bottom: 0.4rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: rgba(253, 198, 104, 0.85);
	line-height: 1;
}

/* ── Inputs (override Tailwind Forms plugin) ──────────────────── */
.hero-input,
.glass-panel input[type="text"],
.glass-panel input[type="date"],
.glass-panel input[type="email"],
.glass-panel input[type="number"],
.glass-panel input[type="tel"],
.glass-panel input[type="search"],
.glass-panel select,
.glass-panel button.hero-input {
	width: 100%;
	height: 2.75rem;
	padding: 0 0.9rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 2.75rem;
	color: #ffffff !important;
	background-color: rgba(255, 255, 255, 0.07) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 0.5rem;
	outline: none;
	box-shadow: none !important;
	transition: border-color 0.2s, box-shadow 0.2s;
	color-scheme: dark;
	-webkit-appearance: none;
	appearance: none;
}

/* Inputs with left icon need extra padding */
.glass-panel .pl-10 {
	padding-left: 2.5rem !important;
}

.hero-input::placeholder,
.glass-panel input::placeholder {
	color: rgba(255, 255, 255, 0.35) !important;
	opacity: 1;
}

.hero-input:focus,
.glass-panel input:focus,
.glass-panel select:focus,
.glass-panel button.hero-input:focus {
	border-color: #fdc668 !important;
	box-shadow: 0 0 0 3px rgba(253, 198, 104, 0.15) !important;
	outline: none;
}

/* Input icon positioning — anchored to bottom of parent, centered within input height */
.hero-input-icon {
	position: absolute;
	left: 0.75rem;
	bottom: 0;
	height: 2.75rem;
	display: flex;
	align-items: center;
	font-size: 1.15rem;
	color: rgba(253, 198, 104, 0.65);
	pointer-events: none;
	z-index: 2;
	line-height: 1;
}

/* Date picker — full-field click target (native icon hidden) */
.glass-panel input[type="date"]::-moz-calendar-picker-indicator {
	opacity: 0;
}

/* ── Custom Autocomplete Dropdown ─────────────────────────────── */
.hero-autocomplete {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 100;
	max-height: 220px;
	overflow-y: auto;
	background: rgba(12, 31, 61, 0.97);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-top: none;
	border-radius: 0 0 0.5rem 0.5rem;
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	scrollbar-width: thin;
	scrollbar-color: rgba(253, 198, 104, 0.3) transparent;
}
.hero-autocomplete::-webkit-scrollbar {
	width: 5px;
}
.hero-autocomplete::-webkit-scrollbar-track {
	background: transparent;
}
.hero-autocomplete::-webkit-scrollbar-thumb {
	background: rgba(253, 198, 104, 0.25);
	border-radius: 3px;
}
.hero-autocomplete-item {
	padding: 0.55rem 0.85rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	transition: background 0.12s, color 0.12s;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.hero-autocomplete-item:last-child {
	border-bottom: none;
}
.hero-autocomplete-item:hover,
.hero-autocomplete-item.active {
	background: rgba(253, 198, 104, 0.1);
	color: #fff;
}
.hero-autocomplete-item .ac-code {
	font-size: 0.65rem;
	font-weight: 700;
	color: rgba(253, 198, 104, 0.6);
	letter-spacing: 0.05em;
	margin-left: auto;
	flex-shrink: 0;
}
.hero-autocomplete-item mark {
	background: transparent;
	color: #fdc668;
	font-weight: 700;
}
.hero-autocomplete-empty {
	padding: 0.7rem 0.85rem;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.35);
	font-style: italic;
}

/* ── Selects (native dropdown with custom arrow) ──────────────── */
.hero-select,
.glass-panel select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(253,198,104,0.6)' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.85rem center !important;
	background-size: 10px !important;
	padding-right: 2.25rem !important;
	cursor: pointer;
}
.hero-select option,
.glass-panel select option {
	background: #0c1f3d;
	color: #fff;
	padding: 0.5rem;
}

/* ── Submit Button ────────────────────────────────────────────── */
.hero-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	height: 2.75rem;
	padding: 0 1.5rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #fff !important;
	background: linear-gradient(135deg, #7e5700 0%, #fdc668 100%) !important;
	border: none !important;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.15s;
	line-height: 1;
}
.hero-submit:hover { opacity: 0.92; transform: translateY(-1px); }
.hero-submit:active { transform: translateY(0); }

/* ── Radio Pills ──────────────────────────────────────────────── */
.hero-radio-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.4rem 0.85rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s;
	line-height: 1.2;
}
.hero-radio-pill:hover { color: rgba(255, 255, 255, 0.8); border-color: rgba(255, 255, 255, 0.3); }

/* ── Style Tags ───────────────────────────────────────────────── */
.hero-style-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.45rem 0.9rem;
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s;
}
.hero-style-tag:hover { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.3); }

/* ── Passenger Dropdown ───────────────────────────────────────── */
.hero-pax-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 100;
	min-width: 280px;
	padding: 0.75rem 1rem;
	background: #ffffff;
	border-radius: 0.75rem;
	box-shadow: 0 16px 48px rgba(4, 21, 52, 0.22);
	animation: paxDropIn 0.2s ease;
}

/* Pax row layout */
.hero-pax-dropdown .pax-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65rem 0;
}
.hero-pax-dropdown .pax-row + .pax-row {
	border-top: 1px solid rgba(4, 21, 52, 0.06);
}
.hero-pax-dropdown .pax-row-label {
	flex: 1;
	min-width: 0;
}
.hero-pax-dropdown .pax-row-label p:first-child {
	font-size: 0.85rem;
	font-weight: 700;
	color: #041534;
	line-height: 1.3;
}
.hero-pax-dropdown .pax-row-label p:last-child {
	font-size: 0.6rem;
	color: #7a7a7a;
	line-height: 1.2;
	margin-top: 0.1rem;
}
.hero-pax-dropdown .pax-row-controls {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
	margin-left: 1rem;
}
.hero-pax-dropdown .pax-count {
	width: 1.75rem;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 700;
	color: #041534;
	line-height: 1;
}

/* Pax button — prevent text overflow */
button.hero-input {
	white-space: nowrap;
	overflow: hidden;
}
button.hero-input span[id$="-display"] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
	flex: 1;
}

@keyframes paxDropIn {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}

.pax-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1;
	color: #041534;
	background: #f5f0ec;
	border: 1px solid rgba(4, 21, 52, 0.08);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.15s;
	user-select: none;
}
.pax-btn:hover { background: #fdc668; color: #fff; border-color: #fdc668; }

/* ── Checkboxes inside glass panel ────────────────────────────── */
.glass-panel input[type="checkbox"] {
	width: 1rem !important;
	height: 1rem !important;
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 3px !important;
	color: #fdc668 !important;
	cursor: pointer;
	flex-shrink: 0;
}
.glass-panel input[type="checkbox"]:checked {
	background-color: #7e5700 !important;
	border-color: #7e5700 !important;
}
.glass-panel input[type="checkbox"]:focus {
	box-shadow: 0 0 0 2px rgba(253, 198, 104, 0.2) !important;
	outline: none;
}

/* ── Hide native datalist/calendar conflicts ──────────────────── */
input::-webkit-list-button {
	display: none !important;
}
input[type="date"]::-webkit-inner-spin-button {
	display: none;
}

/* ── Mobile Responsive Overrides ──────────────────────────────── */
@media (max-width: 767px) {
	/* Default: stack all grids to single column */
	.hero-tab-panel .grid {
		grid-template-columns: 1fr !important;
		gap: 0.55rem !important;
	}
	/* Keep 2-col where it makes sense (dates, pax+cabin, rooms+guests) */
	.hero-tab-panel .grid.mob-2col {
		grid-template-columns: 1fr 1fr !important;
	}
	/* Full-width items inside 2-col grid */
	.hero-tab-panel .mob-full {
		grid-column: 1 / -1 !important;
	}
	.hero-tab-panel .md\:col-span-2 {
		grid-column: span 1 !important;
	}

	/* Reduce panel padding on mobile */
	.hero-tab-panel {
		padding: 1rem 0.9rem !important;
	}

	/* Tighten trip-type pills row */
	.hero-trip-type {
		gap: 0.5rem !important;
		margin-bottom: 0.75rem !important;
	}
	.hero-radio-pill {
		padding: 0.35rem 0.6rem;
		font-size: 0.6rem;
		gap: 0.2rem;
	}
	.hero-radio-pill .material-symbols-outlined {
		font-size: 0.7rem;
	}

	/* Swap button — compact between stacked FROM/TO */
	#swap-airports {
		display: flex !important;
		margin: -0.25rem auto;
		width: 2rem;
		height: 2rem;
	}
	#swap-airports .material-symbols-outlined {
		transform: rotate(90deg);
		font-size: 1rem;
	}

	/* Smaller labels on mobile */
	.hero-label {
		font-size: 0.58rem;
		margin-bottom: 0.3rem;
	}

	/* Slightly smaller inputs */
	.hero-input,
	.glass-panel input[type="text"],
	.glass-panel input[type="date"],
	.glass-panel input[type="email"],
	.glass-panel input[type="number"],
	.glass-panel input[type="tel"],
	.glass-panel input[type="search"],
	.glass-panel select,
	.glass-panel button.hero-input {
		height: 2.5rem;
		line-height: 2.5rem;
		font-size: 0.8rem;
	}

	.hero-input-icon {
		height: 2.5rem;
	}

	/* Submit button — full width, bolder presence */
	.hero-submit {
		height: 2.5rem;
		font-size: 0.72rem;
	}

	/* Checkboxes row tighter */
	.hero-tab-panel .mt-4 {
		margin-top: 0.6rem !important;
	}

	/* Pax dropdown becomes bottom-sheet */
	.hero-pax-dropdown {
		position: fixed;
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		border-radius: 1rem 1rem 0 0;
		z-index: 100;
		max-height: 70vh;
		overflow-y: auto;
	}
	/* Autocomplete full-width */
	.hero-autocomplete {
		position: fixed;
		left: 1rem;
		right: 1rem;
		max-height: 45vh;
		border-radius: 0.5rem;
		border: 1px solid rgba(255, 255, 255, 0.12);
		z-index: 110;
	}
	/* Search results */
	.wbt-search-results {
		margin-left: -0.9rem;
		margin-right: -0.9rem;
	}

	/* Result cards stack better on mobile */
	.wbt-result-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding: 0.85rem;
	}
	.wbt-result-price {
		text-align: left;
		display: flex;
		align-items: center;
		gap: 0.5rem;
	}
}

/* ── Focus Styles ─────────────────────────────────────────────── */
*:focus-visible {
	outline: 2px solid #7e5700;
	outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
 *  SEARCH RESULTS PANEL (below hero form)
 * ═══════════════════════════════════════════════════════════════ */
.wbt-search-results {
	margin-top: 1rem;
	max-height: 520px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(253, 198, 104, 0.3) transparent;
	border-radius: 1rem;
}
.wbt-search-results::-webkit-scrollbar {
	width: 5px;
}
.wbt-search-results::-webkit-scrollbar-thumb {
	background: rgba(253, 198, 104, 0.25);
	border-radius: 3px;
}

/* Result card */
.wbt-result-card {
	display: flex;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 0.75rem;
	transition: background 0.15s, border-color 0.15s;
	align-items: center;
}
.wbt-result-card:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(253, 198, 104, 0.15);
}
.wbt-result-card + .wbt-result-card {
	margin-top: 0.5rem;
}

/* Airline logo / hotel thumb */
.wbt-result-icon {
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 0.5rem;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: rgba(253, 198, 104, 0.5);
}

.wbt-result-body {
	flex: 1;
	min-width: 0;
}

.wbt-result-title {
	font-family: 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wbt-result-meta {
	font-family: 'Inter', sans-serif;
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.45);
	margin-top: 0.15rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.wbt-result-meta .material-symbols-outlined {
	font-size: 0.85rem;
}

.wbt-result-price {
	flex-shrink: 0;
	text-align: right;
}
.wbt-result-price .price-amount {
	font-family: 'Inter', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fdc668;
	line-height: 1;
}
.wbt-result-price .price-label {
	font-size: 0.6rem;
	color: rgba(255, 255, 255, 0.35);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 0.15rem;
}
.wbt-book-btn {
	display: inline-block;
	margin-top: 0.35rem;
	padding: 0.25rem 0.65rem;
	background: linear-gradient(135deg, #7e5700, #fdc668);
	color: #041534;
	font-size: 0.6rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 0.25rem;
	text-decoration: none;
	transition: opacity 0.2s;
}
.wbt-book-btn:hover {
	opacity: 0.85;
}

/* Loading spinner */
.wbt-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	gap: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.8rem;
	font-family: 'Inter', sans-serif;
}
.wbt-loading .spinner {
	width: 1.5rem;
	height: 1.5rem;
	border: 2px solid rgba(253, 198, 104, 0.2);
	border-top-color: #fdc668;
	border-radius: 50%;
	animation: wbtSpin 0.6s linear infinite;
}
@keyframes wbtSpin {
	to { transform: rotate(360deg); }
}

/* Empty/error state */
.wbt-results-empty {
	text-align: center;
	padding: 2.5rem 1.5rem;
	color: rgba(255, 255, 255, 0.4);
	font-size: 0.8rem;
	font-family: 'Inter', sans-serif;
}
.wbt-results-empty .material-symbols-outlined {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 0.5rem;
	color: rgba(253, 198, 104, 0.3);
}

/* API not configured notice */
.wbt-api-notice {
	text-align: center;
	padding: 1rem;
	background: rgba(253, 198, 104, 0.08);
	border: 1px solid rgba(253, 198, 104, 0.15);
	border-radius: 0.5rem;
	color: rgba(253, 198, 104, 0.7);
	font-size: 0.75rem;
	font-family: 'Inter', sans-serif;
	margin-top: 0.75rem;
}

/* ── Travelpayouts White Label Widget Overrides ───────────────── */
.wbt-wl-wrapper {
	background: #ffffff;
	border-radius: 1rem;
	box-shadow: 0 4px 24px rgba(4, 21, 52, 0.08);
	overflow: hidden;
	border: 1px solid rgba(4, 21, 52, 0.06);
}

/* Search form container */
.wbt-wl-wrapper #tpwl-search {
	border-radius: 1rem 1rem 0 0;
}

/* Tickets / results container */
.wbt-wl-wrapper #tpwl-tickets {
	margin-top: 0;
}

/* Override widget font to match site */
#tpwl-search,
#tpwl-tickets {
	font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Smooth widget loading transition */
#tpwl-search:empty,
#tpwl-tickets:empty {
	min-height: 0;
}

#tpwl-search:not(:empty) {
	min-height: 80px;
	animation: wbtFadeIn 0.4s ease-out;
}

#tpwl-tickets:not(:empty) {
	min-height: 200px;
	animation: wbtFadeIn 0.4s ease-out;
}

@keyframes wbtFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Pagination ───────────────────────────────────────────────── */
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

/* Light pages (packages, destinations, hotels, deals) */
.bg-surface .page-numbers,
section:not(.bg-\\[\\#041534\\]) .page-numbers {
	color: var(--md-sys-color-on-surface-variant, #49454F);
	border: 1px solid rgba(0,0,0,0.12);
	background: #fff;
}
.bg-surface .page-numbers:hover,
section:not(.bg-\\[\\#041534\\]) .page-numbers:hover {
	border-color: var(--md-sys-color-secondary, #fdc668);
	color: var(--md-sys-color-secondary, #fdc668);
	background: rgba(253,198,104,0.08);
}
.bg-surface .page-numbers.current,
section:not(.bg-\\[\\#041534\\]) .page-numbers.current {
	background: var(--md-sys-color-primary, #1B2A4A);
	color: #fff;
	border-color: var(--md-sys-color-primary, #1B2A4A);
}

/* Dark pages (umrah/hajj) */
.wbt-dark-pagination .page-numbers {
	color: rgba(255,255,255,0.7);
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(255,255,255,0.05);
}
.wbt-dark-pagination .page-numbers:hover {
	border-color: var(--md-sys-color-secondary, #fdc668);
	color: var(--md-sys-color-secondary, #fdc668);
	background: rgba(255,255,255,0.1);
}
.wbt-dark-pagination .page-numbers.current {
	background: var(--md-sys-color-secondary, #fdc668);
	color: #1B2A4A;
	border-color: var(--md-sys-color-secondary, #fdc668);
	font-weight: 700;
}
.wbt-dark-pagination .page-numbers.dots {
	border: none;
	background: transparent;
}

/* Dots for all contexts */
.page-numbers.dots {
	border: none;
	background: transparent;
	cursor: default;
}
.page-numbers.dots:hover {
	border: none;
	background: transparent;
}
