/* Duffel Flight Search - Complete Styles */

.dfh-flight-box {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	padding: 20px;
	max-width: 1200px;
	margin: 20px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Loading Overlay */
.dfh-loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 99999;
}

.dfh-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #ff6b00;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.dfh-loading-overlay p {
	color: #fff;
	margin-top: 20px;
	font-size: 16px;
}

/* Search Form Styles */
.dfh-top-controls {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-bottom: 20px;
}

.dfh-trip-type {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dfh-arrow-icon {
	font-size: 20px;
	opacity: 0.7;
}

.dfh-trip-type select {
	border: none;
	font-size: 16px;
	font-weight: 600;
	outline: none;
	background: transparent;
	cursor: pointer;
}

.dfh-travellers {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.dfh-user-icon {
	font-size: 18px;
	opacity: 0.7;
}

.dfh-traveller-toggle {
	border: none;
	background: transparent;
	font-size: 14px;
	cursor: pointer;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f5f5f5;
}

.dfh-traveller-dropdown {
	position: absolute;
	top: 36px;
	left: 0;
	z-index: 10;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	padding: 15px;
	width: 260px;
	display: none;
}

.dfh-traveller-dropdown.dfh-open {
	display: block;
}

.dfh-traveller-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.dfh-traveller-label span {
	display: block;
	font-size: 11px;
	color: #999;
}

.dfh-counter {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dfh-counter-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

.dfh-counter-value {
	min-width: 16px;
	text-align: center;
	font-size: 14px;
}

.dfh-traveller-apply {
	width: 100%;
	border-radius: 999px;
	border: none;
	background: #222;
	color: #fff;
	padding: 6px 0;
	font-size: 13px;
	cursor: pointer;
	margin-top: 5px;
}

/* Form rows */
.dfh-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}

.dfh-row-airports .dfh-field {
	flex: 1;
}

.dfh-row-dates .dfh-field {
	flex: 1;
}

.dfh-field label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #444;
}

.dfh-field input,
.dfh-field select {
	width: 100%;
	border-radius: 8px;
	border: 1px solid #ddd;
	padding: 8px 10px;
	font-size: 14px;
}

.dfh-swap-btn {
	border: none;
	background: #f0f0f0;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	cursor: pointer;
	font-size: 18px;
}

/* Airport suggestions */
.dfh-airport-suggestions {
	position: absolute;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	margin-top: 4px;
	width: 100%;
	max-height: 220px;
	overflow: auto;
	display: none;
	z-index: 20;
}

.dfh-field-from,
.dfh-field-to {
	position: relative;
}

.dfh-airport-option {
	padding: 8px 10px;
	font-size: 13px;
	cursor: pointer;
}

.dfh-airport-option:hover {
	background: #f7f7f7;
}

/* Fare tags */
.dfh-fare-tags {
	display: flex;
	gap: 10px;
	margin: 15px 0;
}

.dfh-tag {
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid #ddd;
	cursor: pointer;
	color: #555;
}

.dfh-tag-active {
	background: #222;
	color: #fff;
	border-color: #222;
}

/* Bottom row */
.dfh-bottom-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}

.dfh-save-box {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dfh-save-text span {
	font-size: 12px;
	color: #777;
}

.dfh-search-btn {
	border-radius: 999px;
	border: none;
	background: #ff6b00;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 20px;
	cursor: pointer;
	transition: background 0.2s;
}

.dfh-search-btn:hover {
	background: #e66100;
}

/* Error messages */
.dfh-form-errors {
	margin-top: 10px;
	color: #b00020;
	font-size: 13px;
	background: #ffeef0;
	padding: 10px;
	border-radius: 8px;
}

.dfh-form-errors ul {
	margin: 0;
	padding-left: 18px;
}

.dfh-error-box {
	background: #ffeef0;
	border: 1px solid #ffcdd2;
	color: #b00020;
	padding: 12px;
	border-radius: 8px;
	margin-bottom: 15px;
}

.dfh-error-box ul {
	margin: 0;
	padding-left: 20px;
}

/* Results Page */
.dfh-results-page {
	padding: 20px 0;
}

.dfh-results-header {
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
}

.dfh-results-header h2 {
	margin: 0;
	font-size: 24px;
	color: #222;
}

.dfh-results-count {
	color: #777;
	font-size: 14px;
	margin: 0;
}

.dfh-back-to-search {
	padding: 8px 16px;
	background: #f5f5f5;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	color: #333;
	transition: background 0.2s;
}

.dfh-back-to-search:hover {
	background: #e0e0e0;
}

/* Results Layout with Filters */
.dfh-results-layout {
	display: flex;
	gap: 25px;
	align-items: flex-start;
}

.dfh-filters-sidebar {
	width: 280px;
	flex-shrink: 0;
	background: #f9f9f9;
	border-radius: 12px;
	padding: 20px;
	position: sticky;
	top: 20px;
}

.dfh-filters-sidebar h3 {
	margin: 0 0 20px 0;
	font-size: 18px;
	font-weight: 700;
	color: #222;
}

.dfh-filter-group {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e0e0e0;
}

.dfh-filter-group:last-of-type {
	border-bottom: none;
}

.dfh-filter-group h4 {
	margin: 0 0 12px 0;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.dfh-filter-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 13px;
	cursor: pointer;
	color: #555;
	transition: color 0.2s;
}

.dfh-filter-label:hover {
	color: #222;
}

.dfh-filter-label input[type="checkbox"] {
	cursor: pointer;
	width: 18px;
	height: 18px;
	margin: 0;
}

.dfh-filter-select {
	width: 100%;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid #ddd;
	font-size: 13px;
	background: #fff;
	cursor: pointer;
}

.dfh-clear-filters {
	width: 100%;
	padding: 10px 0;
	border-radius: 8px;
	border: 1px solid #ddd;
	background: #fff;
	color: #555;
	font-size: 13px;
	cursor: pointer;
	margin-top: 10px;
	transition: all 0.2s;
}

.dfh-clear-filters:hover {
	background: #f5f5f5;
	border-color: #bbb;
}

.dfh-offers-list {
	flex: 1;
	min-width: 0;
}

.dfh-no-results {
	text-align: center;
	padding: 60px 20px;
	color: #777;
	font-size: 15px;
	background: #f9f9f9;
	border-radius: 12px;
}

/* Offer cards */
.dfh-offer-card {
	border-radius: 12px;
	border: 1px solid #e5e5e5;
	padding: 18px;
	margin-bottom: 15px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: #fff;
	transition: all 0.3s;
}

.dfh-offer-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	border-color: #d0d0d0;
}

.dfh-offer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.dfh-airline-logo {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: contain;
	flex-shrink: 0;
}

.dfh-airline-info {
	flex: 1;
	min-width: 0;
}

.dfh-airline-name {
	font-size: 15px;
	font-weight: 600;
	color: #222;
	margin-bottom: 4px;
}

.dfh-route {
	font-size: 13px;
	color: #777;
}

.dfh-offer-price {
	font-size: 20px;
	font-weight: 700;
	color: #ff6b00;
	flex-shrink: 0;
}

.dfh-offer-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.dfh-flight-times {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
}

.dfh-time-block {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dfh-time {
	font-size: 18px;
	font-weight: 700;
	color: #222;
}

.dfh-airport-code {
	font-size: 12px;
	color: #999;
	font-weight: 500;
}

.dfh-date {
	font-size: 11px;
	color: #999;
}

.dfh-duration-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 0 15px;
	border-left: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
}

.dfh-duration {
	font-size: 13px;
	color: #555;
	font-weight: 500;
}

.dfh-stops {
	font-size: 11px;
	color: #999;
	text-align: center;
}

.dfh-offer-book-btn {
	border-radius: 8px;
	border: none;
	background: #0a8754;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 24px;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s;
}

.dfh-offer-book-btn:hover {
	background: #096e44;
}

/* Booking Page */
.dfh-booking-page {
	 
	margin: 0 auto;
	padding: 20px 0;
}

.dfh-booking-header {
 
}

.dfh-booking-header h2 {
	margin: 15px 0 0 0;
	font-size: 26px;
	color: #222;
}

/* Flight Summary */
.dfh-flight-summary {
	background: #f9f9f9;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 30px;
}

.dfh-flight-summary h3 {
	margin: 0 0 15px 0;
	font-size: 18px;
	color: #333;
}

.dfh-summary-card {
	background: #fff;
	border-radius: 10px;
	padding: 15px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.dfh-summary-logo {
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.dfh-summary-details {
	flex: 1;
}

.dfh-summary-airline {
	font-size: 15px;
	font-weight: 600;
	color: #222;
	margin-bottom: 4px;
}

.dfh-summary-route {
	font-size: 14px;
	color: #777;
	margin-bottom: 2px;
}

.dfh-summary-date {
	font-size: 12px;
	color: #999;
}

.dfh-summary-price {
	font-size: 20px;
	font-weight: 700;
	color: #ff6b00;
}

/* Booking form */
.dfh-booking-form-wrapper h3 {
	font-size: 20px;
	margin: 0 0 8px 0;
	color: #222;
}

.dfh-booking-subtitle {
	color: #777;
	font-size: 14px;
	margin: 0 0 25px 0;
}

.dfh-booking-errors {
	margin-bottom: 20px;
}

.dfh-passenger-block {
	border-radius: 10px;
	border: 1px solid #e5e5e5;
	padding: 20px;
	margin-bottom: 20px;
	background: #fafafa;
}

.dfh-passenger-block h4 {
	margin: 0 0 15px 0;
	font-size: 16px;
	color: #222;
	font-weight: 600;
}

.dfh-passenger-row {
	display: flex;
	gap: 15px;
	margin-bottom: 12px;
}

.dfh-passenger-row:last-child {
	margin-bottom: 0;
}

.dfh-passenger-row .dfh-field {
	flex: 1;
}

/* Payment section */
.dfh-payment-section {
	margin: 30px 0;
	padding: 25px;
	background: #f9f9f9;
	border-radius: 12px;
	border: 1px solid #e5e5e5;
}

.dfh-payment-section h3 {
	margin: 0 0 18px 0;
	font-size: 18px;
	color: #222;
}

.dfh-card-element {
	background: #fff;
	padding: 14px;
	border-radius: 8px;
	border: 1px solid #ddd;
	min-height: 45px;
}

.dfh-card-errors {
	color: #b00020;
	font-size: 13px;
	margin-top: 10px;
}

/* Booking summary */
.dfh-booking-summary {
	margin: 25px 0;
	padding: 20px;
	background: #f0f8ff;
	border-radius: 12px;
	border: 1px solid #d0e8ff;
}

.dfh-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	color: #333;
}

.dfh-summary-total {
	font-size: 24px;
	font-weight: 700;
	color: #ff6b00;
}

.dfh-booking-submit {
	border-radius: 10px;
	border: none;
	background: #0a8754;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding: 16px 24px;
	cursor: pointer;
	width: 100%;
	transition: background 0.2s;
}

.dfh-booking-submit:hover {
	background: #096e44;
}

.dfh-booking-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Success Page */
.dfh-success-page {
	max-width: 600px;
	margin: 40px auto;
	padding: 40px;
	text-align: center;
	background: linear-gradient(135deg, #e7f5ee 0%, #d4ebe0 100%);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dfh-success-icon {
	width: 80px;
	height: 80px;
	line-height: 80px;
	border-radius: 50%;
	background: #0a8754;
	color: #fff;
	font-size: 48px;
	margin: 0 auto 20px auto;
	box-shadow: 0 4px 15px rgba(10, 135, 84, 0.3);
}

.dfh-success-page h2 {
	font-size: 28px;
	margin: 0 0 15px 0;
	color: #0a8754;
}

.dfh-success-message {
	font-size: 16px;
	color: #145c32;
	margin: 0 0 25px 0;
}

.dfh-success-details {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	margin: 25px 0;
	text-align: left;
}

.dfh-detail-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #e5e5e5;
}

.dfh-detail-row:last-child {
	border-bottom: none;
}

.dfh-detail-row span {
	color: #777;
	font-size: 14px;
}

.dfh-detail-row strong {
	color: #222;
	font-size: 15px;
}

.dfh-success-note {
	font-size: 14px;
	color: #145c32;
	margin: 20px 0;
	line-height: 1.6;
}

.dfh-new-search-btn {
	display: inline-block;
	margin-top: 10px;
	padding: 14px 28px;
	background: #0a8754;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.dfh-new-search-btn:hover {
	background: #096e44;
}

/* Responsive */
@media (max-width: 992px) {
	.dfh-results-layout {
		flex-direction: column;
	}

	.dfh-filters-sidebar {
		width: 100%;
		position: static;
	}
}

@media (max-width: 768px) {
	.dfh-top-controls {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.dfh-row {
		flex-direction: column;
	}

	.dfh-bottom-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.dfh-flight-times {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.dfh-duration-block {
		border: none;
		padding: 0;
		align-items: flex-start;
	}

	.dfh-offer-body {
		flex-direction: column;
		align-items: stretch;
	}

	.dfh-offer-book-btn {
		width: 100%;
	}

	.dfh-passenger-row {
		flex-direction: column;
	}

	.dfh-results-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.dfh-summary-card {
		flex-direction: column;
		text-align: center;
	}

	.dfh-booking-page {
		padding: 10px;
	}

	.dfh-success-page {
		padding: 30px 20px;
	}
}

/**
 * Add this CSS to your dfh-public.css or in the style section
 * Styles for the enhanced booking form
 */

/* Passenger Block Styling */
.dfh-passenger-block {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
}

.dfh-passenger-block h4 {
	margin: 0 0 15px 0;
	color: #495057;
	font-size: 18px;
	font-weight: 600;
	border-bottom: 2px solid #007bff;
	padding-bottom: 8px;
}

.dfh-passenger-block h4 small {
	font-size: 14px;
	font-weight: 400;
	color: #6c757d;
}

/* Identity Document Section */
.dfh-identity-section {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 15px;
	margin-top: 15px;
}

.dfh-identity-section h5 {
	margin: 0 0 12px 0;
	font-size: 14px;
	font-weight: 600;
	color: #6c757d;
}

/* Passenger Rows */
.dfh-passenger-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-bottom: 15px;
}

/* Form Fields */
.dfh-field {
	display: flex;
	flex-direction: column;
}

.dfh-field label {
	font-size: 14px;
	font-weight: 500;
	color: #495057;
	margin-bottom: 6px;
}

.dfh-field label small {
	font-weight: 400;
	color: #6c757d;
	font-size: 12px;
	display: block;
	margin-top: 2px;
}

.dfh-field input,
.dfh-field select {
	padding: 10px 12px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dfh-field input:focus,
.dfh-field select:focus {
	border-color: #007bff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.dfh-field input[type="date"] {
	font-family: inherit;
}

.dfh-field small {
	font-size: 12px;
	color: #6c757d;
	margin-top: 4px;
	display: block;
}

/* Payment Section */
.dfh-payment-section {
	background: #ffffff;
	border: 2px solid #007bff;
	border-radius: 8px;
	padding: 20px;
	margin: 30px 0 20px 0;
}

.dfh-payment-section h3 {
	margin: 0 0 15px 0;
	color: #007bff;
}

.dfh-card-element {
	padding: 12px;
	border: 1px solid #ced4da;
	border-radius: 4px;
	background: #ffffff;
}

.dfh-card-errors {
	color: #dc3545;
	font-size: 14px;
	margin-top: 10px;
}

.dfh-test-card-info {
	background: #e7f3ff;
	padding: 10px;
	border-radius: 4px;
	border-left: 3px solid #007bff;
}

/* Booking Summary */
.dfh-booking-summary {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
}

.dfh-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
	font-weight: 600;
}

.dfh-summary-total {
	color: #007bff;
	font-size: 24px;
}

/* Submit Button */
.dfh-booking-submit {
	width: 100%;
	padding: 15px;
	background: #007bff;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out;
}

.dfh-booking-submit:hover:not(:disabled) {
	background: #0056b3;
}

.dfh-booking-submit:disabled {
	background: #6c757d;
	cursor: not-allowed;
}

/* Offer Warning */
.dfh-offer-warning {
	animation: pulse 2s infinite;
}

@keyframes pulse {

	0%,
	100% {
		background-color: #fff3cd;
	}

	50% {
		background-color: #ffe69c;
	}
}

/* Error Box */
.dfh-error-box {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 15px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.dfh-error-box strong {
	display: block;
	margin-bottom: 8px;
}

.dfh-error-box ul {
	margin: 10px 0 0 0;
	padding-left: 20px;
}

.dfh-error-box ul li {
	margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.dfh-passenger-row {
		grid-template-columns: 1fr;
	}

	.dfh-summary-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/**
 * COPY-PASTE READY: Round Trip Flight CSS Styles
 * 
 * INSTRUCTIONS:
 * 1. Open: assets/css/frontend-flight-search.css (or your main CSS file)
 * 2. Scroll to the bottom
 * 3. Paste this entire CSS block
 * 4. Save and hard refresh browser (Ctrl + Shift + R)
 */
/* ========================================
   IMPROVED ROUND TRIP STYLES
   Add this to the END of: assets/css/frontend-flight-search.css
   This will override existing styles and make round trips look professional
   ======================================== */

/* Round trip card - Enhanced styling */
.dfh-offer-roundtrip {
	border: 1px solid #ddd !important;
	background: linear-gradient(to bottom, #f8fbff 0%, #ffffff 100%) !important;
	padding: 10px !important;
}

.dfh-offer-roundtrip:hover {
	box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15) !important;
	border-color: #0052a3 !important;
}

/* Slice label for outbound/return */
.dfh-slice-label {
	background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
	color: white;
	padding: 10px 20px;
	margin: -10px -20px 20px -20px;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	border-radius: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.dfh-slice-label:first-of-type {
	border-radius: 8px 8px 0 0;
	margin-top: -20px;
}

/* Make offer body stack vertically for round trips */
.dfh-offer-roundtrip .dfh-offer-body {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

/* Each flight section in round trip */
.dfh-offer-roundtrip .dfh-flight-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 20px 0;
}

.dfh-offer-roundtrip .dfh-flight-section:not(:last-child) {
	border-bottom: 2px dashed #e0e7ff;
	margin-bottom: 0;
}

/* Flight times container in round trip */
.dfh-offer-roundtrip .dfh-flight-times {
	flex: 1;
	gap: 25px;
}

/* Time blocks - larger for round trips */
.dfh-offer-roundtrip .dfh-time-block {
	gap: 6px;
}

.dfh-offer-roundtrip .dfh-time {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
}

.dfh-offer-roundtrip .dfh-airport-code {
	font-size: 13px;
	color: #666;
	font-weight: 600;
}

.dfh-offer-roundtrip .dfh-date {
	font-size: 12px;
	color: #999;
}

/* Duration block in round trip */
.dfh-offer-roundtrip .dfh-duration-block {
	padding: 0 20px;
	gap: 6px;
	border-left: 2px solid #e0e7ff;
	border-right: 2px solid #e0e7ff;
}

.dfh-offer-roundtrip .dfh-duration {
	font-size: 14px;
	font-weight: 600;
	color: #0066cc;
}

.dfh-offer-roundtrip .dfh-duration-block .dfh-route {
	font-size: 13px;
	color: #666;
	font-weight: 500;
	margin: 4px 0;
}

.dfh-offer-roundtrip .dfh-stops {
	font-size: 12px;
	color: #999;
}

/* Price in round trip header */
.dfh-offer-roundtrip .dfh-offer-price {
	font-size: 26px;
	font-weight: 700;
	color: #0066cc !important;
	padding: 8px 16px;
	background: #e6f2ff;
	border-radius: 8px;
}

/* Select button in round trip */
.dfh-offer-roundtrip .dfh-offer-book-btn {
	width: 100%;
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 700;
	background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
	border-radius: 8px;
	margin-top: 15px;
	transition: all 0.3s;
}

.dfh-offer-roundtrip .dfh-offer-book-btn:hover {
	background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
	.dfh-offer-roundtrip .dfh-flight-times {
		flex-wrap: wrap;
		gap: 15px;
	}

	.dfh-offer-roundtrip .dfh-duration-block {
		border-left: none;
		border-right: none;
		border-top: 1px solid #e0e7ff;
		border-bottom: 1px solid #e0e7ff;
		padding: 10px 0;
		width: 100%;
	}

	.dfh-slice-label {
		font-size: 12px;
		padding: 8px 15px;
	}

	.dfh-offer-roundtrip .dfh-offer-price {
		font-size: 22px;
	}
}

/* ========================================
   EXPIRATION NOTICES & WARNINGS CSS
   Add to the end of: assets/css/frontend-flight-search.css
   ======================================== */

/* Expiration warning (yellow - when < 5 minutes left) */
.dfh-expiration-warning {
	background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
	border: 2px solid #ffc107;
	border-radius: 8px;
	padding: 12px 20px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #856404;
	animation: pulse 2s infinite;
}

.dfh-expiration-warning strong {
	font-size: 16px;
}

/* Expiration notice (red - when already expired) */
.dfh-expiration-notice {
	background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
	border: 2px solid #dc3545;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	text-align: center;
}

.dfh-expiration-notice p {
	margin: 8px 0;
	color: #721c24;
	font-size: 15px;
}

.dfh-expiration-notice strong {
	font-size: 18px;
	display: block;
	margin-bottom: 8px;
	color: #721c24;
}

.dfh-search-again-btn {
	background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 10px;
	transition: all 0.3s;
}

.dfh-search-again-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
	background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
}

/* Pulse animation for warnings */
@keyframes pulse {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.85;
		transform: scale(0.98);
	}
}

/* Disabled expired buttons */
.dfh-offer-book-btn:disabled {
	background: #6c757d !important;
	cursor: not-allowed !important;
	opacity: 0.6;
	transform: none !important;
}

.dfh-offer-book-btn:disabled:hover {
	background: #6c757d !important;
	transform: none !important;
	box-shadow: none !important;
}



/* ========================================
   ENHANCED UI STYLES - ADD TO END OF FILE
   ======================================== */

/* Sticky Search Header */
.dfh-sticky-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #1a1d29;
	padding: 15px 20px;
	margin: -20px -20px 20px -20px;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: none;
}

.dfh-sticky-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
}

.dfh-search-summary {
	flex: 1;
}

.dfh-route-info {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.dfh-route-cities {
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
}

.dfh-route-separator {
	color: #8b90a0;
}

.dfh-route-date,
.dfh-route-pax {
	font-size: 15px;
	color: #d1d5db;
}

.dfh-edit-search-btn {
	padding: 10px 20px;
	background: transparent;
	border: 2px solid #ffffff;
	color: #ffffff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.dfh-edit-search-btn:hover {
	background: #ffffff;
	color: #1a1d29;
}

/* Enhanced Offer Cards */
.dfh-offer-card {
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 0;
	margin-bottom: 16px;
	background: #fff;
	transition: all 0.3s;
	overflow: hidden;
}

.dfh-offer-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border-color: #0066cc;
}

.dfh-offer-roundtrip {
	border: 2px solid #0066cc;
	background: linear-gradient(to bottom, #f8fbff 0%, #ffffff 100%);
}

.dfh-offer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #f0f0f0;
}

.dfh-airline-section {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dfh-airline-logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.dfh-airline-name {
	font-size: 16px;
	font-weight: 600;
	color: #222;
}

.dfh-price-section {
	text-align: right;
}

.dfh-price-amount {
	font-size: 24px;
	font-weight: 700;
	color: #0066cc;
}

/* Slice Labels */
.dfh-slice-label {
	padding: 12px 20px;
	background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin: 0;
}

.dfh-offer-body {
	padding: 0;
}

/* Flight Row */
.dfh-flight-row {
	display: flex;
	align-items: center;
	padding: 20px;
	gap: 20px;
	width: 100%;
}

.dfh-time-column {
	flex: 0 0 auto;
	text-align: center;
	min-width: 80px;
}

.dfh-time-large {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1;
	margin-bottom: 6px;
}

.dfh-time-large sup {
	font-size: 14px;
	color: #666;
}

.dfh-airport-code {
	font-size: 14px;
	font-weight: 500;
	color: #666;
}

/* Duration Column */
.dfh-duration-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.dfh-duration-text {
	font-size: 13px;
	font-weight: 600;
	color: #666;
}

.dfh-duration-line {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dfh-line {
	flex: 1;
	height: 2px;
	background: linear-gradient(to right, #0066cc 0%, #00b4d8 100%);
	position: relative;
}

.dfh-stop-dot {
	width: 8px;
	height: 8px;
	background: #0066cc;
	border-radius: 50%;
	margin: 0 -4px;
	z-index: 1;
	display: none;
}

.dfh-plane-icon {
	font-size: 18px;
	margin-left: -9px;
	z-index: 2;
}

.dfh-stops-text {
	font-size: 12px;
	color: #999;
}

/* Details Toggle */
.dfh-details-row {
	padding: 0 20px 16px 20px;
}

.dfh-details-toggle {
	background: transparent;
	border: none;
	color: #000;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 8px 0;
	transition: all 0.2s;
}

.dfh-details-toggle:hover {
	color: #0052a3;
}

.dfh-toggle-text {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Flight Details (Expandable) */
.dfh-flight-details {
	padding: 20px;
	background: #f9fafb;
	border-top: 1px solid #e5e5e5;
	padding-left:10px;
}

/* Segment Timeline */
.dfh-segment-timeline {
	padding: 0;
}

.dfh-segment-block {
	margin-bottom: 20px;
}

.dfh-segment-header {
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e5e5e5;
}

.dfh-carrier-name {
	font-size: 15px;
	font-weight: 700;
	color: #222;
}

.dfh-aircraft {
	font-size: 13px;
	color: #666;
	margin-left: 8px;
}

.dfh-segment-point {
	display: flex;
	gap: 16px;
	position: relative;
}

.dfh-timeline-dot {
	width: 12px;
	height: 12px;
	background: #0066cc;
	border-radius: 50%;
	margin-top: 6px;
	flex-shrink: 0;
	z-index: 1;
}

.dfh-point-info {
	flex: 1;
	padding-bottom: 8px;
}

.dfh-point-time {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 4px;
}

.dfh-point-location {
	font-size: 14px;
	color: #444;
	margin-bottom: 2px;
}

.dfh-point-terminal {
	font-size: 12px;
	color: #999;
}

/* Segment Line */
.dfh-segment-line {
	display: flex;
	gap: 16px;
	position: relative;
	padding-left: 5px;
}

.dfh-timeline-line {
	width: 2px;
	height: 40px;
	background: linear-gradient(to bottom, #0066cc 0%, #00b4d8 100%);
	flex-shrink: 0;
}

.dfh-flight-duration {
	padding-top: 10px;
	font-size: 13px;
	color: #666;
}

/* Layover Block */
.dfh-layover-block {
	margin: 16px 0 16px 20px;
	padding: 12px 16px;
	background: #fff3cd;
	border-left: 3px solid #ffc107;
	border-radius: 4px;
}

.dfh-layover-long {
	background: #f8d7da;
	border-left-color: #dc3545;
}

.dfh-layover-content {
	font-size: 13px;
	color: #856404;
}

.dfh-layover-long .dfh-layover-content {
	color: #721c24;
}

.dfh-layover-duration {
	font-weight: 700;
}

.dfh-layover-warning {
	color: #dc3545;
	font-weight: 600;
	margin-left: 8px;
}

/* Journey Summary */
.dfh-journey-summary {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
	font-size: 13px;
	color: #666;
}

.dfh-separator {
	margin: 0 12px;
	color: #ccc;
}

/* Offer Footer */
.dfh-offer-footer {
	padding: 16px 20px;
	border-top: 1px solid #f0f0f0;
	text-align: right;
}

.dfh-select-btn {
	padding: 14px 32px;
	background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
	border: none;
	border-radius: 8px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.dfh-select-btn:hover {
	background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Back Button in Booking Page */
.dfh-back-to-search {
	background: transparent;
	border: 2px solid #0066cc;
	color: #0066cc;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	margin-bottom: 20px;
}

.dfh-back-to-search:hover {
	background: #0066cc;
	color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
	.dfh-sticky-content {
		flex-direction: column;
		gap: 12px;
		align-items: stretch;
	}

	.dfh-route-info {
		justify-content: center;
	}

	.dfh-edit-search-btn {
		width: 100%;
	}

	.dfh-flight-row {
		flex-direction: column;
		gap: 16px;
	}

	.dfh-duration-column {
		width: 100%;
	}

	.dfh-time-large {
		font-size: 20px;
	}

	.dfh-price-amount {
		font-size: 20px;
	}
}



.dfh-offer-card {
	border-radius: 16px;
	border: 2px solid #e6eef8;
	background: #fff;
	padding: 0;
	overflow: hidden
}

.dfh-offer-header {
	background: #f8fbff;
	padding: 16px 20px;
	border-bottom: 1px solid #e6eef8
}

.dfh-airline-section {
	display: flex;
	align-items: center;
	gap: 12px
}

.dfh-airline-logo {
	width: 44px;
	height: 44px;
	border-radius: 8px
}

.dfh-airline-name {
	font-size: 16px;
	font-weight: 700;
	color: #0b1f3b
}

.dfh-price-amount {
	font-size: 26px;
	font-weight: 800;
	color: #000
}

.dfh-slice-label {
	background: linear-gradient(135deg, #0066cc, #003d7a);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 10px 20px
}

.dfh-flight-row {
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 20px
}

.dfh-time-large {
	font-size: 22px;
	font-weight: 800;
	color: #0b1f3b
}

.dfh-airport-code {
	font-size: 13px;
	color: #666;
	font-weight: 600
}

.dfh-duration-column {
	flex: 1;
	text-align: center
}

.dfh-duration-text {
	font-weight: 700;
	color: #0066cc
}

.dfh-duration-line {
	display: flex;
	align-items: center;
	gap: 8px
}

.dfh-line {
	height: 2px;
	background: #0066cc;
	flex: 1
}

.dfh-plane-icon {
	font-size: 18px;
	color: #0066cc
}

.dfh-stops-text {
	font-size: 12px;
	color: #777
}

.dfh-details-row {
	padding: 0 20px 12px
}

.dfh-details-toggle {
	background: none;
	border: none;
	color: #0066cc;
	font-weight: 700;
	cursor: pointer
}

.dfh-flight-details {
	background: #f7faff;
	padding: 16px 20px;
	border-top: 1px solid #e6eef8
}

.dfh-segment-header {
	font-weight: 700;
	color: #0b1f3b;
	margin-bottom: 10px
}

.dfh-point-time {
	font-size: 16px;
	font-weight: 800;
	color: #0b1f3b
}

.dfh-point-location {
	font-size: 13px;
	color: #444
}

.dfh-point-terminal {
	font-size: 12px;
	color: #777
}

.dfh-offer-footer {
	padding: 16px 20px;
	border-top: 1px solid #e6eef8;
	text-align: right
}

.dfh-select-btn {
	background: linear-gradient(135deg, #0066cc, #003d7a);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 14px 36px;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer
}

.dfh-select-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 102, 204, .35)
}

@media(max-width:768px) {
	.dfh-flight-row {
		flex-direction: column;
		text-align: center
	}

	.dfh-offer-footer {
		text-align: center
	}

	.dfh-select-btn {
		width: 100%
	}
}



.field {
	position: relative;
}

 

.dfh-clear {
	position: absolute;
	right: 8px;
	top: 30%;
	transform: translateY(-50%);
	cursor: pointer;
	display: none;
	line-height: 1;
}



.dfh-card{
    display:flex;
    align-items:center;
    gap:15px;
    padding:12px;
    border:1px solid #e5e5e5;
    border-radius:10px;
    margin-bottom:10px;
    background:#fff;
}

.dfh-airline{
    width:160px;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px;
}

.dfh-airline img{
    height:24px;
}

.dfh-route{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.dfh-time{
    text-align:center;
}

.dfh-time div{
    font-size:18px;
    font-weight:600;
}

.dfh-center{
    text-align:center;
    width:160px;
}

.dfh-line{
    height:2px;
    background:#ddd;
    margin:4px 0;
    position:relative;
}

.dfh-action{
    text-align:right;
    width:140px;
}

.dfh-price{
    font-size:18px;
    font-weight:bold;
    margin-bottom:6px;
}

.dfh-select-btn{
    background:#0066ff;
    color:#fff;
    border:0;
    padding:6px 14px;
    border-radius:6px;
}

.dfh-book-summary{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:10px;
    padding:14px;
    margin-bottom:15px;
}

.dfh-slice{
    border:1px solid #eee;
    border-radius:8px;
    margin-bottom:10px;
}

.dfh-slice-head{
    background:#f5f7fb;
    padding:8px 10px;
    font-size:13px;
    font-weight:600;
}

.dfh-seg{
    padding:10px;
    border-bottom:1px dashed #eee;
}

.dfh-seg-air{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:12px;
    margin-bottom:6px;
}

.dfh-seg-air img{
    height:18px;
}

.dfh-seg-main{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.dfh-seg-time div{
    font-size:17px;
    font-weight:600;
}

.dfh-seg-center{
    width:140px;
    text-align:center;
}

.dfh-seg-line{
    height:2px;
    background:#ddd;
    margin:4px 0;
}

.dfh-lay{
    background:#fafafa;
    padding:6px 10px;
    font-size:12px;
    color:#555;
}

.dfh-total{
    display:flex;
    justify-content:space-between;
    padding:10px;
    font-size:16px;
}

.dfh-review{
 background:#fff;
 border:1px solid #e2e8f0;
 border-radius:12px;
}

.dfh-review-head{
 font-size:15px;
 font-weight:600;
 padding:12px;
 border-bottom:1px solid #eef2f7;
}

.dfh-review-slice{
 margin:10px;
 border:1px solid #eef2f7;
 border-radius:10px;
}

.dfh-review-label{
 background:#f1f5fb;
 padding:8px 10px;
 font-size:13px;
 font-weight:600;
}

.dfh-review-seg{
 padding:10px;
 border-bottom:1px dashed #eef2f7;
}

.dfh-review-air{
 display:flex;
 align-items:center;
 gap:6px;
 font-size:12px;
 margin-bottom:8px;
}

.dfh-review-air img{
 height:18px;
}

.dfh-review-grid{
 display:flex;
 justify-content:space-between;
 align-items:center;
}

.dfh-review-time .t{
 font-size:18px;
 font-weight:700;
}

.dfh-review-time .c{
 font-size:12px;
}

.term{
 display:inline-block;
 background:#eef2f7;
 padding:2px 6px;
 border-radius:6px;
 font-size:11px;
}

.dfh-review-mid{
 width:140px;
 text-align:center;
}

.dfh-review-mid .dur{
 font-size:12px;
}

.dfh-review-mid .line{
 border-top:2px solid #cbd5e1;
 margin:4px 0;
 position:relative;
}

.dfh-review-lay{
 background:#fafafa;
 padding:6px 10px;
 font-size:12px;
}

.dfh-review-total{
 display:flex;
 justify-content:space-between;
 padding:12px;
 font-size:17px;
 font-weight:700;
}

.dfh-cols{
 display:flex;
 gap:18px;
 align-items:flex-start;
 margin-top:10px;
}

.dfh-col-left{
 width:60%;
}

.dfh-col-right{
 width:40%;
 position:sticky;
 top:20px;
}

/* mobile */
@media(max-width:900px){
 .dfh-cols{
   flex-direction:column;
 }

 .dfh-col-left,
 .dfh-col-right{
   width:100%;
   position:static;
 }
}


.dfh-review-section{margin: 10px;}
/* ========================================
   BAGGAGE ALLOWANCE STYLES
   ======================================== */

.dfh-review-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.dfh-review-subhead {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.dfh-review-subhead-small {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    margin: 16px 0 12px 0;
}

.dfh-review-subsection {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
}

/* Baggage rows */
.dfh-review-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: #f9fafb;
    border-radius: 8px;
}

.dfh-baggage-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.dfh-baggage-info {
    flex: 1;
}

.dfh-baggage-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.dfh-baggage-detail {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.dfh-baggage-price {
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    margin-top: 4px;
}

/* Extra baggage */
.dfh-review-extra {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

/* ========================================
   FARE CONDITIONS STYLES
   ======================================== */

.dfh-condition-item {
    width: 100%;
}

.dfh-condition-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.dfh-condition-value {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.dfh-condition-value.allowed {
    color: #000;
    background: #e9e9e9;
}

.dfh-condition-value.not-allowed {
    color: #991b1b;
    background: #fee2e2;
}

/* ========================================
   PRICE BREAKDOWN STYLES
   ======================================== */

.dfh-price-breakdown {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
}

.dfh-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #374151;
    background: transparent !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

.dfh-total-row {
    border-top: 2px solid #d1d5db;
    margin-top: 12px;
    padding-top: 16px !important;
    font-size: 16px;
    color: #111827;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 640px) {
    .dfh-review-row {
        flex-direction: row;
        gap: 10px;
    }
    
    .dfh-baggage-icon {
        font-size: 20px;
    }
    
    .dfh-baggage-info strong {
        font-size: 13px;
    }
    
    .dfh-baggage-detail {
        font-size: 12px;
    }
    
    .dfh-condition-label {
        font-size: 13px;
    }
    
    .dfh-condition-value {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* ========================================
   ENHANCED REVIEW SECTION VISIBILITY
   ======================================== */

.dfh-review-section.d-none {
    display: none;
}

/* Remove d-none class to show sections */
.dfh-review-section {
    display: block !important;
}


/* ========================================
   MODERN, ATTRACTIVE FLIGHT CARD STYLES
   Premium compact design with smooth interactions
   ======================================== */

* {
  box-sizing: border-box;
}

/* Main card container */
.dfh-offer-card {
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  padding: 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(59, 130, 246, 0.02) 100%);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 1000px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.05);
  overflow: hidden;
  position: relative;
}

.dfh-offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0), rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0));
}

.dfh-offer-card:hover {
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

/* Header with airline and price */
.dfh-offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Airline logo with modern styling */
.dfh-airline-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 13px;
  flex-shrink: 0;
   

  transition: transform 0.3s;
}

.dfh-offer-card:hover .dfh-airline-logo {
  transform: scale(1.05);
}

.dfh-airline-logo.alt {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.dfh-airline-info {
  flex: 1;
}

.dfh-airline-name {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  letter-spacing: -0.3px;
}

.dfh-airline-detail {
  font-size: 12px;
  color: #64748b;
}

/* Price badge */
.dfh-offer-price {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

/* Body wrapper */
.dfh-offer-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* Flight slice (outbound/return) */
.dfh-flight-slice {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Badge for flight type */
.dfh-slice-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #000;
  background: rgba(59, 130, 246, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

/* Flight journey row */
.dfh-flight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}

/* Time and location column */
.dfh-time-column {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 58px;
}

.dfh-time-large {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.dfh-airport-code {
  font-size: 12px;
  color: #475569;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.dfh-date-small {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

/* Duration and stops in middle */
.dfh-duration-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  padding: 0 12px;
  position: relative;
}

.dfh-duration-text {
  font-size: 12px;
  color: #000;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.dfh-duration-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 20px;
  position: relative;
}

.dfh-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #dbeafe, #000000, #dbeafe);
  position: relative;
  border-radius: 1px;
}

.dfh-plane-icon {
  width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.dfh-stops-text {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Footer with actions */
.dfh-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  margin-top: 2px;
}

/* Details toggle button */
.dfh-details-toggle {
  flex: 1;
  background: transparent;
  border: 1.5px solid #ddd;
  color: #000;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.3px;
}

.dfh-details-toggle:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.4);
}

.dfh-details-toggle:active {
  transform: scale(0.98);
}

.dfh-toggle-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Select button - Primary action */
.dfh-select-btn {
  border-radius: 8px;
  border: none;
  background: #5e18eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s;
  white-space: nowrap;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dfh-select-btn:hover {
  
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.dfh-select-btn:active {
  transform: translateY(0);
}

/* Flight details - Collapse section */
.dfh-flight-details {
  display: none;
  padding: 10px 0;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  margin-top: 6px;
  font-size: 12px;
  color: #475569;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
  }
}

.dfh-flight-details.show {
  display: block;
}

.dfh-detail-item {
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(59, 130, 246, 0.04);
}

.dfh-detail-item:last-child {
  border-bottom: none;
}

.dfh-detail-label {
  color: #64748b;
  font-weight: 600;
}

.dfh-detail-value {
  color: #1e293b;
  font-weight: 700;
}

/* Responsive design */
@media (max-width: 768px) {
  .dfh-offer-card {
    padding: 12px;
    gap: 8px;
  }
  
  .dfh-offer-header {
    gap: 10px;
  }

  .dfh-airline-logo {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .dfh-airline-name {
    font-size: 14px;
  }

  .dfh-offer-price {
    font-size: 20px;
  }

  .dfh-flight-row {
    gap: 8px;
    padding: 6px 0;
  }

  .dfh-time-large {
    font-size: 15px;
  }

  .dfh-duration-column {
    padding: 0 8px;
  }

  .dfh-footer-row {
    flex-wrap: wrap;
  }

  .dfh-select-btn {
    width: 100%;
    padding: 8px 14px;
    font-size: 13px;
  }
}



.dfh-footer-row{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding-top:12px;
	border-top:1px solid rgba(59,130,246,.08);
}

.dfh-details-toggle{
	background:transparent;
	border:1.5px solid rgba(59,130,246,.25);
	color:#2563eb;
	padding:8px 14px;
	border-radius:8px;
	font-size:13px;
	font-weight:700;
	cursor:pointer;
}

.dfh-select-btn{
	background:linear-gradient(135deg,#3b82f6,#2563eb);
	color:#fff;
	border:none;
	border-radius:8px;
	padding:8px 18px;
	font-size:13px;
	font-weight:700;
	cursor:pointer;
	white-space:nowrap;
}

.dfh-flight-details{
	margin-top:10px;
	padding-top:12px;
	border-top:1px dashed rgba(59,130,246,.15);
	display:none;
}

.dfh-detail-row-line{
	display:flex;
	align-items:center;
	gap:16px;
	background:#f8fafc;
	padding:16px;
	border-radius:14px;
}

.dfh-detail-end{
	width:80px;
	text-align:center;
}

.dfh-detail-end .t{
	font-size:18px;
	font-weight:800;
	color:#0f172a;
}

.dfh-detail-end .c{
	font-size:13px;
	font-weight:600;
	color:#64748b;
	margin-top:2px;
}

.dfh-detail-line{
	flex:1;
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:6px;
}

.dfh-detail-meta{
	font-size:14px;
	font-weight:700;
	color:#2563eb;
}

.dfh-detail-track{
	position:relative;
	width:100%;
	display:flex;
	align-items:center;
	justify-content:center;
	height:24px;
}

.dfh-track-line{
	position:absolute;
	left:0;
	right:0;
	height:2px;
	background:#c7d2fe;
	border-radius:2px;
}

.dfh-track-plane{
	position:relative;
	z-index:2;
	background:#3b82f6;
	color:#fff;
	width:26px;
	height:26px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:13px;
	box-shadow:0 4px 10px rgba(59,130,246,.35);
}

.dfh-detail-stop{
	font-size:12px;
	font-weight:600;
	color:#6b7280;
}

.dfh-detail-airline{
	font-size:13px;
	font-weight:700;
	color:#1e293b;
	
	text-align:center;
}

.dfh-detail-title {
    font-weight: bold;
    background: #f8f4f4;
    padding: 7px;
    margin-bottom: 0px;
}
.dfh-flight-row{
	display:flex;
	align-items:center;
	width:100%;
	gap:0;
}

.dfh-time-column{
	width:25%;
	min-width:80px;
	text-align:center;
	flex-shrink:0;
}

.dfh-duration-column{
	width:50%;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	text-align:center;
}

@media (max-width:768px){

    .dfh-flight-box .row{
        display:grid;
        grid-template-columns:1fr;
        gap:12px;
    }

    .dfh-flight-box .row .field:nth-child(3),
    .dfh-flight-box .row .field:nth-child(4){
        
        width:100%;
    }

    .dfh-flight-box .row{
        grid-template-columns:repeat(2,1fr);
    }

    .dfh-flight-box .row .field:nth-child(1),
    .dfh-flight-box .row .field:nth-child(2){
        grid-column:1 / -1;
    }

    .dfh-flight-box .row .search-btn{
        grid-column:1 / -1;
    }

}

.dfh-airport-row{
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr auto;
    gap:18px;
    align-items:end;
}

.dfh-airport-row .dfh-field-from{
    position:relative;
}

.dfh-airport-row .dfh-field-to{
    position:relative;
}

/* FLOATING SWAP BUTTON */
.dfh-airport-row .dfh-swap-btn{
     position: absolute;
    left: calc(25% - 80px);
    top: 53%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e4e6ef;
    background: #fff url(https://nritaxi.com/img/Booking/arrows.png) center center no-repeat;
    background-size: 26px;
    cursor: pointer;
    z-index: 5;

}
/* MOBILE */
@media(max-width:768px){

	 .dfh-top-controls{
        display:grid;
        grid-template-columns:1fr 1fr;
        align-items:center;
        gap:10px;
    }

    .dfh-top-controls .dfh-trip-type{
        grid-column:1;
    }

    .dfh-top-controls .dfh-cabin-class{
        grid-column:2;
        justify-self:end;
    }

    .dfh-top-controls .dfh-travellers{
        grid-column:1 / -1;
        width:100%;
    }
	
	.dfh-airport-row .field{
        width:100%;
        flex:0 0 100%;
        max-width:100%;
    }

    .dfh-airport-row .field:nth-child(1),
    .dfh-airport-row .field:nth-child(3){
        grid-column:1 / -1;
    }
       .dfh-airport-row{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:12px;
    }

    .dfh-airport-row .field:nth-child(1){
        grid-column:1 / -1;
    }

    .dfh-airport-row .dfh-swap-btn{
        position:absolute;
        left:50%;
        transform:translateX(-50%);
        top:60px;
        z-index:10;
    }

    .dfh-airport-row .field:nth-child(3){
        grid-column:1 / -1;
    }

    .dfh-airport-row .field:nth-child(4),
    .dfh-airport-row .field:nth-child(5){
        grid-column:auto;
    }

    .dfh-airport-row .dfh-search-btn{
        grid-column:1 / -1;
    }

}
.dfh-flight-box input::placeholder{
    color:#9aa3b2;
    opacity:1;
}

.dfh-flight-box input::-webkit-input-placeholder{
    color:#9aa3b2;
}

.dfh-flight-box input:-ms-input-placeholder{
    color:#9aa3b2;
}

.dfh-terms-wrap{
    margin:16px 0 20px;
    padding:14px 16px;
    border:1px solid #ececf3;
    border-radius:10px;
    background:#fafaff;
}

/* LABEL */
.dfh-terms-label{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    line-height:1.4;
    cursor:pointer;
    color:#444;
}

/* HIDE DEFAULT CHECKBOX */
#dfh-terms-checkbox{
    appearance:none;
    -webkit-appearance:none;
    width:20px;
    height:20px;
    border-radius:6px;
    border:2px solid #d2d4e2;
    background:#fff;
    position:relative;
    cursor:pointer;
    transition:all .25s ease;
}

/* HOVER EFFECT */
#dfh-terms-checkbox:hover{
    border-color:#6c3cff;
    box-shadow:0 0 0 3px rgba(108,60,255,0.08);
}

/* CHECKED STATE */
#dfh-terms-checkbox:checked{
    background:#6c3cff;
    border-color:#6c3cff;
}

/* CHECK ICON */
#dfh-terms-checkbox:checked::after{
    content:'';
    position:absolute;
    left:5px;
    top:1px;
    width:5px;
    height:10px;
    border:solid #fff;
    border-width:0 2px 2px 0;
    transform:rotate(45deg);
}

/* LINK STYLE */
.dfh-terms-label a{
    color:#6c3cff;
    font-weight:600;
    text-decoration:none;
    transition:all .2s ease;
}

.dfh-terms-label a:hover{
    text-decoration:underline;
}

/* MOBILE POLISH */
@media(max-width:768px){
	
	.dfh-airport-row .field{
    width:auto;
    flex:none;
    max-width:100%;
    min-width:0;
}
    .dfh-terms-wrap{
        padding:12px;
        border-radius:8px;
    }
}
/* ── Currency Switcher ───────────────────────────────────────────────── */
.dfh-currency-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 12px;
    margin-top: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.dfh-currency-switcher label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    margin: 0;
}

.dfh-currency-switcher select {
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #ff6b00;
    background: transparent;
    cursor: pointer;
    max-width: 220px;
    padding: 2px 4px;
}

.dfh-results-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
/* ─────────────────────────────────────────────────────────────────────── */
