.airsearch-form-wrap {border: 1px solid #ddd; padding: 12px; max-width: 800px;}
.airsearch-form-wrap input {padding: 6px; margin: 6px 0; width: 100%; max-width: 300px;}
#airsearch-results {margin-top: 12px;}

:root {
	--bg: #0b1320;
	--card: #101a2e;
	--muted: #7c8aa5;
	--text: #e8eefc;
	--accent: #4f8cff;
	--accent-2: #22c55e;
	--danger: #ef4444;
	--chip: #1b2845;
	--ring: 0 0 0 3px rgba(79, 140, 255, .25);
}

/* Card */
.card {
	background: #EFFBFA;
	border: 1px solid #d5d5d5;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .3)
}
.card+.card {margin-top: 16px}
/* Tabs */
.tabs {
	display: flex;
	gap: 8px;
	padding: 8px;
	border-radius: 12px;
	margin-bottom: 12px
}
.tab {
	cursor: pointer;
	padding: 10px 14px;
	border-radius: 10px;
	background: #0e162b;
	border: 1px solid #1e2a48;
	color: #b7c8ea
}
.tab.active {
	background: #4f8cff;
	border-color: #6aa2ff;
	color: white;
	box-shadow: var(--ring)
}
/* Form grid */
.search-form {padding: 16px}
.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 12px
}
.col-2 {grid-column: span 2}
.col-3 {grid-column: span 3}
.col-4 {grid-column: span 4}
.col-6 {grid-column: span 6}
.col-12 {grid-column: span 12}
.field {
	display: flex;
	flex-direction: column;
	border: 1px solid #cccccc;
	border-radius: 12px;
	padding: 10px 12px;
	position: relative;
	margin-bottom: 20px;
}
.field:hover {
    background-color: #E4F7F6;
}
.field label {
	font-size: 14px;
	color: #000000;
	letter-spacing: .3px;
	margin-bottom: 4px
}
.field input,
.field select {
	background-color: transparent !important;
    border: 0 !important;
    color: #000000 !important;
    outline: 0 !important;
    font-size: 15px !important;
    padding: 0.75px 1.75px !important;
}
.field input:focus, .field input[type="text"]:focus {border-width: 0;background-color: transparent; color: #000000;}
/* Keep placeholder visible even when focused */
#airsearch-form input::placeholder,
#airsearch-form input:focus::placeholder {
  color: #999 !important; /* or your preferred placeholder color */
  opacity: 1 !important;
}

/* Optional: improve focus outline */
#airsearch-form input:focus {
  outline: 2px solid #0073e6;
  background-color: #fff;
}
.swap {
	position: absolute;
	right: -22px;
	top: 20px;
	border: 1px solid #28416e;
	background: #101a2e;
	border-radius: 8px;
	padding: 6px;
	font-size: 18px;
	cursor: pointer;
	z-index: 9;
}
button.swap:hover {
    background: #ffffff;
}
.row-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
}
.btn {
	appearance: none;
	border: 0;
	border-radius: 12px;
	padding: 12px 16px;
	font-weight: 600;
	cursor: pointer;
}
.btn-primary {
	background: #4f8cff;
	color: white;
	box-shadow: 0 8px 20px rgba(79, 140, 255, .35);
}
.btn-primary:active {transform: translateY(1px);}

.counter {display: flex;align-items: center; gap: 6px;justify-content: center;}
.counter button {
	border-radius: 8px;
	border: 1px solid #223356;
	background: #0e162b;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	line-height: 1px !important;
	padding: 15px 22px;
	text-align: center;
}
.counter input {
	width: 36px;
	text-align: center;
	background: transparent;
	border: 0;
	color: #e8eefc;
	font-size: 14px;
}

.btn-muted {
	background: #0e162b;
	color: #c9d7f2;
	border: 1px solid #223356;
}
.filters {display: flex; gap: 10px; flex-wrap: wrap;}
.chip {
	background: #1b2845;
	border: 1px solid #263a63;
	color: #c5d3f1;
	padding: 8px 12px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.chip input {accent-color: #4f8cff;}
/* Results */
.results {padding: 0 16px 16px;}
.toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
}
.sort {display: flex; gap: 8px;}
.sort .btn {padding: 10px 12px;}
.card.flight {padding: 14px;}
.flight-row {
	display: grid;
	grid-template-columns: 1.2fr 2fr 2fr 1.2fr 1fr;
	gap: 14px;
	align-items: center;
}
.airline {display: flex; gap: 10px; align-items: center;}
.airline .av {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #17223b;
	border: 1px solid #2b3e66;
}
.time {font-size: 16px; font-weight: 700;}
.muted {color: var(--muted);font-size: 12px;}
.price {font-size: 18px;font-weight: 800;}
.pill {
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid #2a3b61;
	background: #0e162b;
	color: #cde0ff;
	font-size: 12px;
}
.cta {display: flex; gap: 8px; justify-content: flex-end;}
.skeleton {
	background: linear-gradient(90deg, #0f1930 25%, #14223e 37%, #0f1930 63%);
	background-size: 400% 100%;
	animation: s 1.1s infinite linear;
	border-radius: 10px;
}
@keyframes s {
	0% {background-position: 100% 0;}
	100% {background-position: -100% 0;}
}
.sk-line {height: 16px}
.foot {
	display: flex;
	justify-content: center;
	padding: 12px;
}

.badge {
	font-size: 11px;
	background: #112246;
	border: 1px solid #24407a;
	border-radius: 999px;
	padding: 4px 8px;
	color: #b3c6ee;
}

.error {
	padding: 12px;
	border: 1px solid #3b2532;
	background: #201018;
	color: #f8cdd6;
	border-radius: 12px;
}
@media (max-width: 900px) {
	.grid {grid-template-columns: repeat(6, 1fr);}
	.col-6 {grid-column: span 6;}
	.col-4 {grid-column: span 6;}
	.col-3 {grid-column: span 3;}
	.col-2 {grid-column: span 3;}
	.flight-row {grid-template-columns: 1fr;gap: 8px;}
	.cta {justify-content: stretch;}
	.cta .btn {width: 100%;}
}

/***********************
FLIGHT RESULTS STYLING
************************/
.flight-results-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 20px;
}
.flight-results-wrap h3.trip-heading {color: #000000;}
.flight-card {
	display: grid;
	grid-template-columns: 200px 1fr 200px;
	align-items: center;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 15px 20px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	transition: box-shadow 0.2s ease;
}
.flight-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Airline Info */
.flight-card .airline {
	display: flex;
	align-items: center;
	gap: 10px;
}
.flight-card .airline img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}
.flight-card .airline strong {
	font-size: 16px;
	color: #333;
}
.flight-card .airline small {
	font-size: 14px;
	color: #777;
}

/* Route Info */
.flight-card .route {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	gap: 25px;
	text-align: center;
}
.flight-card .route .dep,
.flight-card .route .arr {
	min-width: 80px;
}
.flight-card .route strong {
	font-size: 20px;
	display: block;
	color: #222;
}
.flight-card .route span {
	font-size: 14px;
	color: #666;
}
.flight-card .route .arrow {
	font-size: 20px;
	font-weight: bold;
	color: #444;
}
.flight-card .route .meta {
	font-size: 12px;
	color: #999;
	white-space: nowrap;
}

/* Price + Button */
.flight-card .price-wrap {
	text-align: right;
}
.flight-card .price-wrap .price {
	font-size: 20px;
	font-weight: 700;
	color: #1a73e8;
	display: block;
	margin-bottom: 6px;
}
.flight-card .btn-book {
	background: #1a73e8;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 18px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease;
}
.flight-card .btn-book:hover {
	background: #1558b0;
}

/****************/

/* === Overlay === */
.fare-rule-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	animation: fadeIn 0.3s ease;
}

/* === Modal Box === */
.fare-rule-modal {
	background: #fff;
	border-radius: 12px;
	width: 90%;
	max-width: 720px;
	max-height: 85vh;
	overflow: auto;
	display: flex;
	flex-direction: column;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
	animation: slideUp 0.35s ease;
	position: relative;
}

/* === Header / Title === */
.fare-rule-content h2 {
	margin: 0;
	padding: 1rem 1.5rem;
	background: #0073e6;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
}

/* === Close button (top right) === */
.fare-rule-close {
	position: absolute;
	top: 0;
	right: 0;
	background: none;
	border: none;
	font-size: 2rem;
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s ease;
	padding: 10px 8px;
}
.fare-rule-close:hover {
	transform: scale(1.2);
	background-color: #083d73;
}

/* === Modal Body === */
.fare-rule-body {
	padding: 1.25rem 1.5rem;
	overflow-y: auto;
	flex: 1;
}
.fare-rule-body h4 {
	font-size: 1rem;
	font-weight: 600;
	margin: 1rem 0 0.5rem;
	color: #333;
}
.fare-rule-body .rule {
	background: #f9f9f9;
	border: 1px solid #eee;
	padding: 0.75rem;
	border-radius: 8px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #444;
	margin-bottom: 1rem;
	max-height: 300px;
	overflow-y: auto;
}

/* === Footer Actions === */
.fare-rule-actions {
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid #eee;
}

.fare-rule-actions .btn-secondary,
.fare-rule-actions .btn-primary {
	padding: 0.6rem 1.25rem;
	border-radius: 6px;
	font-size: 0.95rem;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
}

/* Secondary (Close) */
.fare-rule-actions .btn-secondary {
	background: #e0e0e0;
	color: #333;
}
.fare-rule-actions .btn-secondary:hover {
	background: #d5d5d5;
}

/* Primary (Proceed) */
.fare-rule-actions .btn-primary {
	background: #0073e6;
	color: #fff;
	font-weight: 600;
}
.fare-rule-actions .btn-primary:hover {
	background: #005bb5;
}

/* === Animations === */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes slideUp {
	from { transform: translateY(40px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

/* === Reprice Overlay === */
.reprice-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	animation: fadeIn 0.3s ease;
}

/* === Reprice Modal Box === */
.reprice-modal {
	background: #fff;
	border-radius: 12px;
	width: 90%;
	max-width: 780px;
	max-height: 85vh;
	overflow: auto;
	display: flex;
	flex-direction: column;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
	animation: slideUp 0.35s ease;
	position: relative;
}

/* === Header === */
.reprice-content h2 {
	margin: 0;
	padding: 1rem 1.5rem;
	background: #0073e6;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 600;
}

/* === Close button (X) === */
.reprice-close {
	position: absolute;
	top: 0;
	right: 0;
	background: none;
	border: none;
	font-size: 2rem;
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s ease;
	padding: 10px 8px;
}
.reprice-close:hover {
	transform: scale(1.2);
	background-color: #083d73;
}

/* === Modal Body === */
.reprice-body {
	padding: 1.25rem 1.5rem;
	overflow-y: auto;
	flex: 1;
}
.reprice-body h3 {
	font-size: 1.1rem;
	margin: 0 0 1rem;
	color: #333;
}
.reprice-body p {
	font-size: 0.95rem;
	margin: 0.25rem 0;
	color: #444;
}

/* Reprice Card Layout */
.reprice-card-main {
	max-height: 350px;
	overflow-y: auto;
}

.reprice-section {
	margin-bottom: 1.25rem;
}
.reprice-section.flight-info, .reprice-section.fare-info, .reprice-section.pax-required {
	background: #fff;
	border-radius: 10px;
	padding: 1rem 1rem;
	margin-bottom: 1rem;
	margin-right: 1rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #eee;
}

.reprice-section h3 {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
	color: #0073e6;
}

.reprice-section p {
	margin: 0.35rem 0;
	font-size: 0.95rem;
	color: #444;
}

.reprice-section h4 {
	font-size: 1rem;
	margin: 0.75rem 0 0.5rem;
	padding-bottom: 0.25rem;
	border-bottom: 2px solid #eee;
	color: #333;
}

.reprice-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.reprice-section ul li {
	padding: 0.35rem 0;
	font-size: 0.9rem;
	border-bottom: 1px dashed #ddd;
}

.reprice-section ul li:last-child {
	border-bottom: none;
}

.reprice-section ul li .total {
	font-weight: 600;
	color: #28a745;
	font-size: 1.05rem;
}

.fare-change {
	color: #d9534f;
	font-weight: 600;
	margin-top: 0.5rem;
}

.reprice-actions {
	text-align: right;
	margin-top: 1rem;
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid #eee;
}

.reprice-actions .btn-primary {
	background: #0073e6;
	color: #fff;
	font-weight: 600;
	border: none;
	padding: 1rem 1rem;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.reprice-actions .btn-primary:hover {
	background: #218838;
}

.passenger-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99999;
	animation: fadeIn 0.3s ease;
}
.passenger-modal {
	background: #fff;
	border-radius: 12px;
	width: 90%;
	max-width: 780px;
	max-height: 85vh;
	overflow: auto;
	display: flex;
	flex-direction: column;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
	animation: slideUp 0.35s ease;
	position: relative;
}
.passenger-content h2 {
	margin: 0;
	padding: 1rem 1.5rem;
	background: #0073e6;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 600;
}
.passenger-close {
	position: absolute;
	top: 0;
	right: 0;
	background: none;
	border: none;
	font-size: 2rem;
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s ease;
	padding: 10px 8px;
}
form#passengerForm {
	padding: 1.25rem 1.5rem;
}
.form-group {
	margin-bottom: 12px;
}
.form-group label {
	display: block;
	font-weight: 500;
	margin-bottom: 4px;
}
.form-group input, .form-group select {
	width: 100%;
	padding: 6px;
}
.passenger-actions {
	text-align: right;
	margin-top: 2rem;
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid #eee;
}
.passenger-actions .btn-primary {
	background: #0073e6;
	color: #fff;
	font-weight: 600;
	border: none;
	padding: 1rem 1rem;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tempbooking-overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	animation: fadeIn 0.3s ease;
}

.tempbooking-modal {
	background: #fff;
	border-radius: 12px;
	width: 90%;
	max-width: 750px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 10px 25px rgba(0,0,0,0.3);
	animation: slideUp 0.35s ease;
	position: relative;
}
.tempbooking-close {
	position: absolute;
	top: 0;
	right: 0;
	background: none;
	border: none;
	font-size: 2rem;
	color: #fff;
	cursor: pointer;
	transition: transform 0.2s ease;
	padding: 10px 8px;
}
.tempbooking-content h2 {
	margin: 0;
	padding: 1rem 1.5rem;
	background: #0073e6;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 600;
}
.tempbooking-body {
	padding: 1.25rem 1.5rem;
	overflow-y: auto;
	flex: 1;
}
.temp-booking-success h3 {
	margin-bottom: 10px;
}
.temp-booking-actions {
	text-align: right;
	margin-top: 2rem;
	display: flex;
	justify-content: flex-end;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid #eee;
}
.temp-booking-actions .btn-primary {
	background: #0073e6;
	color: #fff;
	font-weight: 600;
	border: none;
	padding: 1rem 1rem;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}