/* Add at the beginning of the file */
* {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Consistent font sizes across all pages */
:root {
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    
    /* Consistent colors */
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #475569;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

body{
    background-color: #f5f9ff !important;
}

/* Flight Search Form */
.flight-booking-search-form {
    max-width: 1200px;
    margin: 20px auto;
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
main {
    margin-block-start: 0;
}
.btn-search-mobile{
    display: none !important;
}
.btn-search-web{
    display: flex !important;
    justify-content: flex-end;
}
.search-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
    align-items: end;
}

.field {
    flex: 1;
}


.field label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ffffff;
    text-align: left;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Search spinner styling */
.search-spinner {
    position: absolute;
    left: 0;
    bottom: -25px;
    width: 1rem;
    height: 1rem;
    z-index: 1000;
}

.field {
    position: relative;
}

.field input[type="text"],
.field select {
    width: 100%;
    height: 45px;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.field input[type="text"]:focus,
.field select:focus {
    border-color: #00c853;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.2);
    outline: none;
}
.passenger-input{
    width: 50%;
}
.field p{
    margin-top: 0;
    
}
.field input{
    padding-left: 4px;
    border: 1px solid #dadada;
    box-shadow: 0 2px 15px 0 rgb(0 0 0 / 10%);
}
.submit-row {
    display: inline-flex;
    align-items: flex-end;
}

.search-button {
    height: 38px;
    padding: 0 20px !important;
    font-size: 14px !important;
    white-space: nowrap;
}
.filter-toggle-btn{
    display: none;
}

/* Additional Fields Row */
.search-fields-row-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 15px 0;
    align-items: end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 20px 0;
    }

    .flight-booking-search-form {
        margin: 20px;
        padding: 25px;
        max-width: calc(100% - 40px);
    }

    .search-fields,
    .search-fields-row-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .field {
        width: 100%;
        align-self: end;
    }

    .field label {
        font-size: 14px;
    }

    .field input[type="text"],
    .field select {
        height: 45px;
        font-size: 14px;
    }

    .submit-row {
        width: 100%;
        margin-top: 20px;
        display: flex;
        grid-column: 1 / -1;
    }

    .search-button {
        width: 100%;
        height: 50px;
        font-size: 16px;
    }
    .passenger-input{
        width: 100%;
    }

    /* Filters sidebar styles moved to flight-results.css */

    .filter-toggle-btn {
        display: block;
        background: #007bff;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        text-align: center;
        margin: 10px auto;
        width: fit-content;
    }

    .apply-filter-btn {
        display: block;
        background: #0038ee;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        text-align: center;
        margin: 10px auto;
        width: fit-content;
    }
}

/* Modern Date Picker Styling */
.ui-datepicker {
    padding: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    width: 300px;
}

.ui-datepicker .ui-datepicker-header {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px 6px 0 0;
    padding: 8px;
}

.ui-datepicker th {
    color: #555;
    font-size: 12px;
    padding: 7px;
}

.ui-datepicker td {
    padding: 3px;
}

.ui-datepicker td span,
.ui-datepicker td a {
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    border: none;
}

.ui-datepicker td a.ui-state-active {
    background: #007bff;
    color: white;
}

.ui-datepicker td a.ui-state-highlight {
    background: #e9ecef;
}

/* Button Styles */
.search-button {
    background: linear-gradient(135deg, #0038ee, #6988ee);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-button:hover {
    background: linear-gradient(135deg, #0038ee, #6988ee);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

/* Modern Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    pointer-events: none;
}

.plane-loader {
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: 50px;
    left: 50px;
    background: url('../images/plane-loading.svg') no-repeat center;
    background-size: contain;
    animation: flyPlane 15s infinite linear;
}

@keyframes flyPlane {
    from {
        transform: translate(0, 0) rotate(45deg);
    }
    to {
        transform: translate(calc(100vw - 160px), calc(-100vh + 160px)) rotate(45deg);
    }
}



/* Flight Results styles are handled in flight-results.css */

/* Filter section styles moved to flight-results.css */

/* Price Range, Airline Filter, and Stops Filter styles moved to flight-results.css */

/* Sort Options styles moved to flight-results.css */

/* Mobile Responsiveness for flight results moved to flight-results.css */

/* Search Summary styles moved to flight-results.css */

/* Flight card styles moved to flight-results.css */

/* Segment, filter, and sort styles moved to flight-results.css */

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
}

/* Booking Confirmation Styles */
.booking-confirmation-container {
    max-width: 1000px;
    margin: 2em auto;
    padding: 2em;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 2em;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 1em;
}

.segment-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1em;
    align-items: center;
    margin: 0 0 1.3rem 0;
}

.timeline-line {
    position: relative;
    height: 2px;
    background: #ddd;
}

.timeline-line .duration {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 10px;
    font-size: 0.9em;
    color: #666;
}

.confirmation-actions {
    display: flex;
    gap: 1em;
    justify-content: center;
    margin-top: 2em;
}

.print-button, .home-button {
    padding: 0.8em 1.5em;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.print-button {
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.home-button {
    background: #6c757d;
    color: white;
}

@media print {
    .confirmation-actions {
        display: none;
    }
}

/* Breadcrumb Navigation */
.booking-breadcrumb {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 1em auto 0;
    padding: 0 1em;
    background: #f5f9ff;
}

.breadcrumb-step {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
}

.breadcrumb-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: calc(100% - 50px);
    height: 2px;
    background: #e0e0e0;
    transform: translateY(-50%);
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    z-index: 1;
}

.step-label {
    font-size: 0.9em;
    color: #666;
    z-index: 1;
}

.breadcrumb-step.completed .step-number {
    background: #28a745;
    color: white;
}

.breadcrumb-step.active .step-number {
    background: #007bff;
    color: white;
}

.breadcrumb-step.completed .step-label,
.breadcrumb-step.active .step-label {
    color: #333;
    font-weight: 500;
}

/* Enhanced Airline Filter */
.airline-filter {
    padding-bottom: 1em;
}

.airline-search {
    margin-bottom: 1em;
}

.airline-search input {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.scrollable-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1em;
    padding-right: 10px;
}

.airline-item {
    display: flex;
    align-items: center;
    padding: 0.5em 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.airline-logo {
    width: 80px;
    margin-right: 10px;
}

.airline-info {
    flex: 1;
}

.airline-name {
    font-size: 0.9em;
    margin-bottom: 0.2em;
}

.flight-count {
    font-size: 0.8em;
    color: #666;
}

.filter-actions {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

.filter-actions button {
    flex: 1;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 0.9em;
}

.filter-actions button:hover {
    background: #e9ecef;
}

/* Modern Button Styles */
.select-flight-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border-radius: 25px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.select-flight-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
    background: linear-gradient(45deg, #0056b3, #004494);
}

/* Responsive Breakpoints - flight results styles moved to flight-results.css */


/* Enhanced Filter Styles moved to flight-results.css */

/* Enhanced Breadcrumb */
.booking-breadcrumb {
    background: #f5f9ff;
    padding: 0.3em 2em;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1em;
}

/* Fare Rules Popup */
.fare-rules-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
}

/* Matrix View for Multi-Day Prices */
.price-matrix {
    overflow-x: auto;
    margin: 2em 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1em;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
}

.matrix-table th,
.matrix-table td {
    padding: 1em;
    text-align: center;
    border: 1px solid #eee;
}

.matrix-table .best-price {
    background: #e3f2fd;
    color: #007bff;
    font-weight: bold;
}

/* Calendar View */
.calendar-view {
    background: white;
    border-radius: 12px;
    padding: 1.5em;
    margin: 2em 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
}

.month-navigation {
    display: flex;
    align-items: center;
    gap: 1em;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5em;
}

.calendar-day {
    padding: 0.8em;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.calendar-day.best-price {
    background: #e3f2fd;
    border-color: #2196f3;
}

.calendar-day .price {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.3em;
}

/* Loading Animation Enhancement */
.plane-animation {
    position: relative;
    animation: planeMove 3s infinite ease-in-out;
}

@keyframes planeMove {
    0% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(20px, -10px) rotate(5deg); }
    75% { transform: translate(-20px, 10px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0); }
}

/* Trip Type Selector - Dark Theme */
.trip-type {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    height: 40px;
    margin-bottom: 20px;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    width: auto;
    align-items: center;
    backdrop-filter: blur(10px);
}

.trip-type label {
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    z-index: 2;
    min-width: 90px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.trip-type .active-bg {
    position: absolute;
    top: 4px;
    left: 4px;
    color: #dadada;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #0038ee, #6988ee);
    border-radius: 20px;
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
}

.trip-type input[type="radio"]:checked + label {
    color: white;
}

.trip-type .active-bg label{
    color: #eee;
}

.trip-type input[type="radio"] {
    display: none;
}

.trip-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

#multicity-container p{
    max-height: 35px;
 }

.add-city-btn {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background: transparent;
    border: 1px dashed #007bff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #0038ee, #6988ee);
    color: #fff !important;
}

.add-city-btn:hover {
    background: linear-gradient(135deg, #0038ff, #7491ee);
    transform: translateY(-1px);
}

/* Passenger Preferences Styles */
.passenger-preferences {
    margin-top: 2em;
    padding: 1.5em;
    background: #f8f9fa;
    border-radius: 8px;
}

.preferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 480px) {
    .flight-card {
        padding: 1em;
    }

    .segment {
        grid-template-columns: 1fr;
        gap: 1em;
        text-align: center;
    }

    .duration::before {
        display: none;
    }

    .price-matrix {
        font-size: 0.9em;
    }

    .passenger-forms {
        padding: 1em;
    }

    .breadcrumb-step .step-label {
        display: none;
    }
}

/* Enhanced Animations */
.segment:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.preference-item select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
    outline: none;
}

/* Flight Search Form */
.flight-search-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.location-search {
    width: 100%;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
}

.submit-row {
    text-align: flex-end;
}

.btn-search-mobile{
    display: flex;
}

.search-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: fit-content;
    font-size: 16px;
}

.search-button:hover {
    background-color: #005177;
}

/* Loading indicator */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

/* Hero Section with Rotating Background */
.hero-section {
    width: 100%;
    margin: 0;
    padding: 0;
	border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    overflow: hidden;
}

/* Rotating Background Images */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: backgroundRotate 20s infinite ease-in-out;
    z-index: -1;
}

@keyframes backgroundRotate {
    0% { background-image: url('../images/bg-1.jpg'); }
    20% { background-image: url('../images/bg-2.jpg'); }
    40% { background-image: url('../images/bg-3.jpg'); }
    60% { background-image: url('../images/bg-4.jpg'); }
    80% { background-image: url('../images/bg-5.jpg'); }
    100% { background-image: url('../images/bg-1.jpg'); }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
	border-radius: 15px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5em, 5vw, 3.5em);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
}

.hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

/* WordPress Admin Bar Adjustments */
.admin-bar .hero-section {
    min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .hero-section {
        min-height: calc(100vh - 46px);
		margin-top: 90px !important;
    }
}

/* Flight Booking Form - Dark Overlay Design */
.flight-booking-search-form {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    max-width: 1000px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#flight-search-form > p{
    margin: 0;
}

.additional-city {
    width: 100%;
    margin: 10px 0;
    position: relative;
    padding-right: 40px;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: end;
}

.city-label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-top: -4px;
    display: block;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

#multicity-container {
    margin-left: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .additional-city {
        width: 100%;
        margin: 10px 0;
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.remove-city {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none;
    color: #dc3545 !important;
    cursor: pointer;
    font-size: 20px;
    padding: 5px !important;
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.remove-city:hover {
    background: #ffebee;
}

@media (max-width: 768px) {
    .additional-city {
        width: 100%;
    }
}

/* Autocomplete Styling */
.ui-autocomplete {
    font-family: 'Roboto', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400;
    max-height: 140px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #ddd !important;
}

.ui-autocomplete .ui-menu-item {
    padding: 8px 12px !important;
    border-bottom: 1px solid #f0f0f0;
}

.ui-autocomplete .ui-menu-item:last-child {
    border-bottom: none;
}

.ui-autocomplete .ui-menu-item-wrapper {
    padding: 2px 0;
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
    background: #f8f9fa !important;
    border: none !important;
    color: #007bff !important;
    margin: 0 !important;
}

.flight-result-hero {
    padding: 20px 0 !important;
    color: #000 !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff !important;
    font-family: "Inter", sans-serif;
}

.flight-result-hero .search-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: transparent;
    width: 100%;
    max-width: 1100px;
}

.flight-result-hero .search-details > div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

/* 🔹 Airport and city boxes */
.flight-result-hero .search-details > div:not(.dates):not(.results-count):not(.modify-search):not(:has(svg)) {
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 11px 16px;
    min-width: 300px;
    background: #fff;
}
.flight-result-hero .cities-airports{
    border: 1.5px solid var(--primary-color);
    border-radius: 15px;
    padding: 11px 16px;
    min-width: 300px;
    background: #fff;
}

/* 🔹 SVG Arrow */
.flight-result-hero .search-details svg {
    display: block;
}

/* 🔹 Dates boxes */
.flight-result-hero .dates {
    border: 1.5px solid var(--primary-color);
    border-radius: 15px;
    padding: 11px 16px;
    background: #fff;
    min-width: 230px;
}

/* 🔹 Text inside boxes */
.flight-result-hero .search-details div span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: -2px;
}

.flight-result-hero .search-details div small {
    font-size: 14px;
    color: #000;
    font-weight: 400;
}

/* 🔹 Flights count and modify search */
.flight-result-hero .results-count {
    font-size: 1rem;
    font-weight: 600;
    color: #C7B256;
    background-color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    padding: 5px 8px;
    border-radius: 15px;
}

.flight-result-hero .results-count :hover{
    cursor: pointer;
}
.flight-result-hero .results-count a{
    text-decoration: none !important;
    color: white;
    font-size: 15px;
}
.flight-result-hero .modify-search a {
    color: #000;
    text-decoration: none !important;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.flight-result-hero .modify-search a:hover {
    text-decoration: underline;
}
.arrow-span{
    position: relative;
    margin: 0 6px;
}
.custom-icon {
    width: 1.5rem; /* w-8 */
    height: 1.5rem; /* h-8 */
    position: absolute;
    top: 50%;
    left: 50%;
	padding: 4px 7px !important;
    transform: translate(-50%, -50%) rotate(90deg); /* combine translate and rotate */
    background-color: #fff; /* bg-white */
    color: var(--primary-color); /* text-primary - fallback to your gold color */
    border: 1px solid rgba(0, 0, 0, 0.2); /* border-neutral/20 */
    border-radius: 50%; /* rounded-[50%] */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* shadow */
    z-index: 1; /* z-[1] */
  }
  
  /* Responsive adjustment for sm:rotate-0 */
  @media (min-width: 640px) {
    .custom-icon {
      transform: translate(-50%, -50%) rotate(0deg);
    }
  }

/* 🔹 Responsive (optional but useful) */
@media (max-width: 768px) {
    .flight-result-hero .search-details {
        flex-direction: column;
        gap: 15px;
		margin-top: 60px;
    }

    .flight-result-hero .search-details > div {
        min-width: 80%;
    }
}


.flight-details-hidden {
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.toggle-details-btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-details-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.direction-line {
    background-color: #c1c7cf;
    border-radius: .5rem;
    display: block;
    height: .125rem;
    line-height: 0;
    margin: .25rem auto;
    padding: 0;
    position: relative;
    text-align: center;
    width: 90%;
}

.LegInfo_planeEnd__YzA5Y {
    background-color: #fff;
    display: block;
    height: 1rem;
    margin-top: -.5rem;
    padding-left: .25rem;
    position: absolute;
    right: -.25rem;
    top: 50%;
    width: 1rem;
}

.divider {
    position: relative;
}

.vr {
    background-color: #c1c7cf;
    display: block;
    width: .09rem;
    line-height: 0;
    padding: 0;
    position: absolute;
    top: -16px;
    text-align: center;
    height: 100%;
    left: 2px;
}

.card {
    width: 100%;
    padding: 10px;
}

.card .airline-name {
    min-width: 150px;
}

.card h5 {
    margin: 0;
}

.card .text-muted {
    font-size: 12px;
}

.card .text-primary {
    font-size: 18px;
}

.card .price-card {
    align-items: center;
    gap: 8px;
}

.price-card .incld {
    color: #01b7f2;
}

.card .btn-dark {
    background-color: #005ea6;
    border-color: #005ea6;
    width: fit-content;
}

.card .text-light-blue {
    font-size: 10px;
    color: #01b7f2;
    margin-bottom: 5px;
}

#offers {
    border-radius: 1%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.search-summary{
    padding: 0 10px;
}

@media (max-width: 768px) {
    .card .airline-name {
        min-width: 100px;
    }
    .search-summary{
        padding: 0 40px;
    }

    #offers{
        padding: 0 20px;
    }
}

/* Flight Card Styles */
#offers {
    border-radius: 4px;
    overflow: hidden;
}

.card {
    margin-bottom: 30px;
    width: fit-content;
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: row;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}

.card .flight-time-stop{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.airline-name {
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.text-light-blue {
    color: #01b7f2;
    font-size: 12px;
    margin-bottom: 8px;
}

.direction-line {
    background-color: #c1c7cf;
    border-radius: 4px;
    height: 2px;
    margin: 8px auto;
    position: relative;
    width: 90%;
}

.LegInfo_planeEnd__YzA5Y {
    background-color: #fff;
    height: 12px;
    width: 12px;
    position: absolute;
    right: -14px;
    top: 3px;
}

.divider .vr {
    background-color: #c1c7cf;
    width: 1px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0 20px;
}

.price-card {
    min-width: 180px;
    padding: 0px 10px 0px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-evenly;
}

.price-card .incld {
    color: #01b7f2;
}

.price-card .btn-dark {
    background-color: #005ea6;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    color: white;
    margin-top: 8px;
}

/* Flight Details */
.flight-segment {
    display: flex;
    gap: 24px;
}

.flight-time {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.flight-duration {
    text-align: center;
    color: #666;
    font-size: 14px;
    position: relative;
    flex: 1;
    margin-top: 4px;
}

.flight-stops {
    color: #dc3545;
    font-size: 14px;
    margin-top: 4px;
}

.flex-grow-1{
    padding-right: 20px;
}

.price-card small, span{
    font-size: 14px;
}
.airline-full-name{
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    #offers{
        padding: 1px 40px;
    }
    .card {
        flex-direction: column;
    }

    .airline-name {
        min-width: auto;
        margin-bottom: 16px;
    }

    #offers .price-card {
        gap: 40px !important;
        min-width: auto;
        align-items: flex-start;
        flex-direction: row;
        padding: 16px 0 0;
        margin-top: 0;
        border-top: 1px solid #eee;
    }
    
    .btn-search-mobile{
        display: flex !important;
    }
    .btn-search-web{
        display: none !important;
    }
    .search-fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    /* Sort options styles moved to flight-results.css */
    .flight-segment{
        padding: 6px 0;
    }
    .card .flight-time-stop{
        gap: 13px;
    }

    /* Sort option styles moved to flight-results.css */
    .card{
        padding: 10px 15px;
        margin: 0 16px;
    }
    .flex-grow-1{
        padding-right: 0;
    }
    .step-label {
        font-size: 0.5em;
    }

    #offers .search-details span{
        display: none !important;
    };
    .flight-duration{
        margin-top: 2px !important;
    }
    .direction-line{
        margin: 0;
    }
    #offers .flight-time {
        font-size: 14px !important;
    }
    #offers .flight-card span{
        font-family: 12px !important;
    }
    #offers .price-card .btn-dark{
        padding: 8px 6px !important;
    }
    
}

/* Flight Details Page Styles */
.flight-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Roboto', sans-serif;
}

.flight-details-hero {
    /* background: url('../images/flight-details-bg.jpg') no-repeat center center; */
    /* background-size: cover; */
    /* padding: 20px 0; */
    /* min-height: 120px; */
    color: #fff;
    position: relative;
    margin-bottom: 20px;
}

.flight-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.flight-details-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    /* margin: 0 auto; */
    padding: 0 20px;
}

.flight-details-hero h1 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
}

.flight-details-hero .flight-route {
    font-size: 16px;
    color: #fff;
    opacity: 0.9;
}

.flight-summary {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.flight-summary-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.flight-summary-header h2 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.flight-info {
    padding: 20px;
}

.flight-segment-details {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 20px 0;
}

.airline-info {
    width: 120px;
}

.airline-logo {
    width: 80px;
    height: auto;
    margin-bottom: 8px;
}

.airline-name {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.flight-number {
    font-size: 12px;
    color: #888;
}

.flight-route-info {
    flex: 1;
}

.route-details {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.departure-info, .arrival-info {
    text-align: left;
    flex: 1;
}

.time {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.airport-code {
    font-size: 16px;
    color: #444;
    margin: 4px 0;
    font-weight: 500;
}

.airport-name {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.date {
    font-size: 13px;
    color: #666;
}

.flight-duration-info {
    text-align: center;
    position: relative;
    padding: 0 20px;
    min-width: 150px;
}

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

.duration-line::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -4px;
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
}

.duration-line::after {
    content: '✈';
    position: absolute;
    right: -10px;
    top: -10px;
    color: #005ea6;
    font-size: 16px;
}

.duration-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.stops-info {
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
}

.price-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

.price-summary h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.price-breakdown {
    margin-top: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #666;
}

.price-item.total {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    border-bottom: none;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid #e0e0e0;
}

.passenger-forms, .contact-details, .payment-details {
    background: #fff;
    color: #333 !important;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.passenger-form {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.passenger-form h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.passenger-form h4::before {
    content: '👤';
    margin-right: 8px;
    font-size: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #666;
}

.form-group input,
.form-group select {
    width: 100%;
    min-width: fit-content;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #005ea6;
    box-shadow: 0 0 0 2px rgba(0,94,166,0.1);
    outline: none;
}

.form-actions {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.button {
    background: #005ea6;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background: #004d8a;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .flight-segment-details {
        flex-direction: column;
        gap: 20px;
    }

    .airline-info {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .airline-logo {
        width: 50px;
        margin-bottom: 0;
    }

    .route-details {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }

    .flight-duration-info {
        padding: 20px 0;
        transform: rotate(90deg);
        margin: 20px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .flight-details-hero {
        min-height: 100px;
        padding: 15px 0;
    }

    .flight-details-hero h1 {
        font-size: 20px;
    }

    .flight-details-hero .flight-route {
        font-size: 14px;
    }
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 10px;
}

.phone-input-group select {
    width: 140px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.phone-input-group input {
    flex: 1;
}

/* Flight Details Card */
.flight-details-container .card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.flight-details-container .airline-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
}

.flight-details-container .airline-name img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.flight-details-container .text-light-blue {
    color: #01b7f2;
    font-size: 14px;
    font-weight: 500;
}

.flight-details-container .airline-full-name {
    color: #6c757d;
    font-size: 12px;
}

.flight-details-container .flight-time-stop {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
}

.flight-details-container .flight-time {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.flight-details-container .text-muted {
    color: #6c757d;
    font-size: 14px;
}

.flight-details-container .direction-line {
    height: 2px;
    background: #ddd;
    position: relative;
    width: 150px;
    margin: 10px 0;
}

.flight-details-container .LegInfo_planeEnd__YzA5Y {
    position: absolute;
    color: #01b7f2;
}

.flight-details-container .flight-duration {
    text-align: center;
}

.flight-details-container .flight-stops {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

.flight-details-toggle{
    display: flex;
    justify-content: flex-start;
}
.flight-details-toggle a{
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

@media (max-width: 768px) {
    .phone-input-group {
        flex-direction: column;
        gap: 8px;
    }

    .phone-input-group select {
        width: 100%;
    }

    .flight-details-container .card {
        padding: 15px;
    }

    .flight-details-container .flight-time-stop {
        gap: 15px;
        align-items: flex-start;
    }

    .flight-details-container .direction-line {
        width: 100%;
    }

    .flight-details-container .airline-name {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;
    }
    .trip-type .active-bg{
        left: 0;
    }
    .ui-autocomplete {
        overflow-y: auto;
        overflow-x: hidden !important;
        overflow-y: scroll;
        max-width: 280px !important;
        width: fit-content !important;
    }
    .divider{
        display: none;
    }
}

/* Two Column Layout */
.flight-details-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.flight-details-main {
    flex: 1;
}

/* Sticky Price Summary */
.price-summary-sticky {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.price-summary-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.price-summary-card h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Date of Birth Inputs */
.dob-group {
    flex: 1;
}

.dob-inputs {
    display: flex;
    gap: 10px;
}

.dob-inputs select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.dob-inputs select[name*="day"] {
    width: 80px;
}

.dob-inputs select[name*="month"] {
    flex: 1;
    min-width: 90px;

}

.dob-inputs select[name*="year"] {
    width: 100px;
}
.cabin-class{
    color: #005ea6;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .flight-details-grid {
        grid-template-columns: 1fr;
    }

    .price-summary-sticky {
        position: relative;
        top: 0;
        order: -1;
    }

    .dob-inputs {
        flex-direction: column;
        gap: 8px;
    }

    .dob-inputs select {
        width: 100% !important;
    }
    
}

/* Additional Mobile Responsiveness */
@media (max-width: 480px) {
    .flight-booking-search-form {
        margin: 10px;
        padding: 20px;
        max-width: calc(100% - 20px);
    }

    .trip-type {
        flex-direction: row;
        height: auto;
        gap: 5px !important;
        padding: 10px;
    }
	.trip-type label{
		font-size: 12px !important;
	}

    .trip-type label {
        padding: 8px 16px;
        min-width: auto;
        text-align: center;
    }

    .search-button {
        height: 45px;
        font-size: 14px;
        padding: 12px 30px;
    }
}

/* Responsiveness for mobile  */
@media (max-width: 576px){
    .flight-result-hero{
        min-height: auto;
    }
    .search-details span{
        display: none !important;
    }
    .search-details .dates{
        display: none;
    }
    .search-details{
        margin-top: 55px;
    }
    .flight-details{
        margin-top: 1rem;
    }
    .trip-type .active-bg{
        left: 0;
    }
    .trip-type{
        gap: 1px;
        padding: 0;
    }
    .trip-type label{
        padding: 0;
    }
    .ui-autocomplete {
        font-size: 11px !important;
        font-weight: 400;
        max-height: 140px;
        overflow-y: auto;
        overflow-x: hidden !important;
        overflow-y: scroll;
        border-radius: 4px;
        max-width: 250px !important;
        width: fit-content !important;
    }
    .search-fields{
        display: grid;
        grid-template-columns: 1fr;
    }
    .btn-search-mobile{
        margin-bottom: 10px;
    }
    #offers{
        padding: 0 !important;
        padding: 0 5px;
    }
    .flight-segment{
        gap: 10px;
        flex-direction: column !important;
    }
    #offers .price-card{
        gap: 8px !important
    }
    .price-card small, span {
        font-size: 12px;
    }
    .card .text-primary {
        font-size: 14px;
    }
    .price-card .btn-dark {
        font-size: 12px;
    }
    .divider {
        display: none;
    }
}

/* ========================================
   FLIGHT DETAILS PAGE STYLES
   ======================================== */

/* Flight Details Page Container */
.flight-details-page {
    min-height: 100vh;
    background-color: var(--light-gray);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Hero Section */
.flight-details-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.flight-details-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.flight-details-hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.flight-route-detail {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    font-weight: 500;
    text-align: center;
}

/* Main Container */
.flight-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flight-details-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: flex-start;
}
.flight-details-grid p{
	display: none !important;
}
#passenger-details-form br{
	display: none !important;
}

/* Flight Card */
.flight-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.flight-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.flight-card-header {
    background: var(--light-gray);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.flight-type-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flight-type-tag.departure {
    background: var(--success-color);
}

.flight-type-tag.return {
    background: var(--warning-color);
}

.flight-date {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
}

.flight-route-info {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.route-text {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-weight: 500;
}

.flight-card-body {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.airline-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.airline-logo img {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    object-fit: contain;
    background: var(--light-gray);
    padding: 0.25rem;
}

.airline-name {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-primary);
}

.flight-tags {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.baggage-tag, .cabin-tag {
    padding: 0.375rem 0.75rem;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.flight-timeline {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.departure-info, .arrival-info {
    text-align: center;
    min-width: 80px;
}

.time {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.airport {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.flight-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    margin: 0 2rem;
}

.duration-info {
    text-align: center;
    margin-bottom: 1rem;
}

.duration {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stops {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.flight-line {
    position: relative;
    width: 100%;
    height: 2px;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--medium-gray);
    border: 2px solid var(--medium-gray);
}

.dot.filled {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.dot.outline {
    background: transparent;
    border-color: var(--medium-gray);
}

.toggle-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.toggle-button:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.toggle-button svg {
    transition: transform 0.3s ease;
}

.toggle-button.expanded svg {
    transform: rotate(180deg);
}

/* Expanded Details Section */
.flight-details-expanded {
    background: var(--light-gray);
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.segment-details {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.segment-details:last-child {
    margin-bottom: 0;
}

.segment-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.segment-header h4 {
    margin: 0 0 0.5rem 0;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
}

.segment-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.segment-route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.departure, .arrival {
    flex: 1;
}

.airport-name {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 500;
}

.layover-info {
    background: #fef3c7;
    color: #92400e;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Traveler Details Section */
.traveler-details-section {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.traveler-details-section h3 {
    margin: 0 0 1rem 0;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
}

.traveler-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.traveler-icon {
    font-size: var(--font-size-xl);
}

.traveler-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

/* Right Column: Fare Breakdown */
.fare-breakdown-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.fare-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.session-status {
    background: #fef3c7;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.status-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.status-value {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.status-value.expired {
    color: var(--warning-color);
}

.expiry-time {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.fare-breakdown {
    padding: 1.5rem;
}

.fare-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.fare-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.airplane-icon {
    font-size: var(--font-size-xl);
}

.expand-icon {
    margin-left: auto;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.fare-items {
    margin-bottom: 1.5rem;
}

.fare-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--font-size-sm);
}

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

.fare-item span:first-child {
    color: var(--text-secondary);
}

.price {
    font-weight: 600;
    color: var(--text-primary);
}

.discount-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #fef2f2;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.discount-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc2626;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.discount-icon {
    font-size: var(--font-size-base);
}

.discount-amount {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: #dc2626;
}

.total-payable {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid var(--border-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.total-amount {
    color: var(--warning-color);
    font-size: var(--font-size-xl);
}

.fare-rules {
    text-align: center;
    margin-top: 1rem;
}

.fare-rules-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: color 0.2s;
}

.fare-rules-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Mobile Responsiveness for Flight Details */
@media (max-width: 768px) {
    .flight-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fare-breakdown-sidebar {
        position: relative;
        top: 0;
        order: -1;
    }
    
    .flight-card-body {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .flight-timeline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flight-path {
        margin: 0;
    }
    
    .airline-section {
        min-width: auto;
        justify-content: center;
    }
    
    .flight-tags {
        justify-content: center;
    }
    
    .flight-details-hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .flight-route {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .flight-details-container {
        padding: 0 0.5rem;
    }
    
    .flight-card-header,
    .flight-card-body {
        padding: 1rem;
    }
    
    .fare-breakdown {
        padding: 1rem;
    }
    
    .time {
        font-size: var(--font-size-xl);
    }
    
    .total-amount {
        font-size: var(--font-size-lg);
    }
}

/* Flight Details Section */
.flight-details-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.segment-details {
    background: white;
    border-radius: 8px;
    padding: 5px 20px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.segment-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.segment-header p {
    margin: 0;
    font-size: 14px;
    color: #1a1a1a;
}

.segment-body {
    padding: 8px 0;
}

.segment-info {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-bottom: 12px;
    position: relative;
}

.segment-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    position: relative;
    min-width: 80px;
}

.segment-duration {
    font-size: 13px;
    color: #6b6b6b;
    text-align: center;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
}

.timeline-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #898294;
    background-color: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-dot.start {
    top: 0;
}

.timeline-dot.end {
    bottom: 0;
}

.segment-endpoints {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex-grow: 1;
    padding: 12px 0;
}

.segment-endpoint {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.segment-time {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    min-width: 70px;
}

.segment-location {
    display: flex;
    align-items: center;
    gap: 10px;
}

.segment-location .airport {
    font-size: 14px;
    font-weight: 500;
    color: #4a4a4a;
}

.segment-location .city {
    font-size: 13px;
    color: #6b6b6b;
}

.layover-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 12px 0;
}

.layover-details p {
    margin: 0;
    font-size: 13px;
    color: #e70866;
}

.total-journey {
    font-size: 14px;
    color: #4a4a4a;
    padding: 12px 0;
    margin: 0;
    border-top: 1px solid #eee;
}

.flight-details-toggle {
    text-align: center;
}

.flight-details-toggle a {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.flight-details-toggle a:hover {
    background-color: rgba(26, 115, 232, 0.1);
}

.wc-block-components-product-name {
    font-size: 14px !important
}

/* Special rules for buttons to prevent elementor overriding  */
button:hover,
button:focus,
button:active {
  background-color: var(--primary-color);
  color: rgb(242, 238, 238) !important;
}

/* Adjust field widths for web view */
@media (min-width: 769px) {
    .field {
        flex: auto;
    }
    
}
.select-flight-btn br {
  display: none !important;
}
.flight-offer-card p {
    display: none !important;
  }