/* FHC Deals - Main Stylesheet */
:root {
 
    --primary-purple: #004e92;
    --primary-pink: #000428;
    --primary-orange: #000428;
    --primary-gradient: #004E92;
    --secondary-gradient: #004E92;
    --light-purple: rgba(93, 39, 137, 0.1);
    --light-pink: rgba(192, 54, 129, 0.1);
    --light-orange: rgba(243, 160, 107, 0.1);
}
#hotels-tab {
    color: black !important;
  }
  #hotels-tab.nav-link.active {
    color: white !important;
  }
  #flights-tab {
    color: black !important;
  }
  #flights-tab.nav-link.active {
    color: white !important;
  }
/* Global Styles */
body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 90%;
    }
}
/* Header Styles */
.header {
    background: var(--light-gray);
    color: white;
}

.navbar-brand {
    color: white !important;
    font-weight: bold;
}

.navbar-brand:hover {
    color: var(--primary-orange) !important;
}

.nav-link {
    color: rgb(0 0 0) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}

.navbar-nav .btn-primary {
    background: var(--primary-gradient);
    border-color: var(--primary-orange);
    color: white !important;
}

.navbar-nav .btn-primary:hover {
    background: #e08f5a;
    border-color: #e08f5a;
    color: white;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    background: var(--primary-gradient);
    position: relative;
    padding: 80px 0px;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.search-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    color: #333;
}

/* Tab Content Visibility */
.tab-pane {
    display: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.show.active {
    display: block !important;
    opacity: 1;
}

/* Ensure only active tab content is visible */
#flights:not(.show.active),
#hotels:not(.show.active) {
    display: none !important;
}

/* Search Tabs */
.nav-tabs .nav-link {
    color: #666;
    border: none;
    border-radius: 10px 10px 0 0;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: var(--primary-gradient);
    color: white;
    border: none;
}

.nav-tabs .nav-link:hover {
    background: var(--light-purple);
    color: var(--primary-purple);
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(93, 39, 137, 0.25);
}

.form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(93, 39, 137, 0.25);
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 39, 137, 0.3);
    color: white;
}

.btn-outline-primary {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.btn-outline-primary:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

.btn-success {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.btn-success:hover {
    background: #e08f5a;
    border-color: #e08f5a;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    border: none;
}

/* Offer Cards */
.offer-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.offer-card .card-body {
    padding: 20px;
}

/* Feature Items */
.feature-item {
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    color: var(--primary-purple);
}

/* Flight Duration */
.flight-duration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flight-duration .line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    z-index: 1;
}

.flight-duration .duration {
    background: white;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-purple);
    z-index: 2;
    position: relative;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background: var(--light-purple);
    color: var(--primary-purple);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-purple);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235d2789'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235d2789'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Accordion Collapse Animation */
.accordion-collapse {
    transition: all 0.3s ease;
}

.accordion-collapse.collapse:not(.show) {
    display: none;
}

.accordion-collapse.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Text Colors */
.text-primary {
    color: var(--primary-purple) !important;
}

.text-success {
    color: var(--primary-orange) !important;
}

/* Background Colors */
.bg-primary {
    background: var(--primary-gradient) !important;
}

.bg-light {
    background: var(--light-purple) !important;
}

/* Alert Styles */
.alert-info {
    background: var(--light-purple);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.alert-success {
    background: var(--light-orange);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* Footer */
.footer {
    background: var(--primary-gradient);
    color: white;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-orange);
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-container {
        padding: 20px;
        margin: 10px;
    }
    
    .hero-section {
        min-height: 30vh;
    }
    
    .feature-item {
        padding: 20px 10px;
    }
    
    /* Ensure search container works well with flight search form */
    .search-container .flight-search-form {
        margin: 0;
    }
}

/* Airport Autocomplete Styles */
.airport-input {
    /* Disable browser's default autocomplete */
    -webkit-autocomplete: none;
    -moz-autocomplete: none;
    autocomplete: none;
}

/* Hide browser's default datalist dropdown */
.airport-input::-webkit-calendar-picker-indicator {
    display: none;
}

.airport-input::-webkit-list-button {
    display: none;
}

.airport-input::-webkit-search-cancel-button {
    display: none;
}

/* Ensure no browser autocomplete appears */
.airport-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
    -webkit-text-fill-color: #333;
}

.airport-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background-color: var(--light-purple);
}

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

.suggestion-item.no-results {
    color: #666;
    font-style: italic;
    cursor: default;
}

.suggestion-item.no-results:hover {
    background-color: transparent;
}

.suggestion-item.loading {
    color: #666;
    font-style: italic;
    cursor: default;
    text-align: center;
}

.suggestion-item.loading:hover {
    background-color: transparent;
}

.airport-code {
    background: var(--primary-purple);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    min-width: 40px;
    text-align: center;
   
}

.airport-details {
    flex: 1;
}

.airport-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    font-size: 11px;
}

.airport-location {
    color: #666;
    font-size: 12px;
}

.airport-warning {
    margin-top: 4px;
}

.airport-suggestion.military-airport {
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
}

.airport-suggestion.military-airport:hover {
    background-color: #ffeaa7;
}

/* Destination Suggestions for Hotels */
.destination-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.destination-suggestion {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.destination-suggestion:hover {
    background-color: #f8f9fa;
}

.destination-suggestion:last-child {
    border-bottom: none;
}

.destination-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
}

.destination-details {
    flex: 1;
}

.destination-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.destination-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.destination-region {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Alert Message Styles */
.alert-message {
    animation: slideInRight 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 8px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Validation */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Price Display */
.price-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-purple);
}

/* Flight Card Hover Effects */
.flight-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.flight-card:hover {
    box-shadow: 0 4px 12px rgba(93, 39, 137, 0.15);
    border-color: var(--primary-purple);
}

/* Booking Summary */
.booking-summary {
    background: var(--primary-gradient);
    color: white;
}

.price-breakdown {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: white;
}

.btn-booking {
    background: var(--primary-orange);
    border: none;
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-booking:hover {
    background: #e08f5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 160, 107, 0.3);
    color: white;
}

/* Step Indicator */
.step-number {
    background: var(--primary-gradient);
    color: white;
}

.step.active .step-number {
    background: var(--primary-orange);
}

.step.completed .step-number {
    background: var(--primary-orange);
}

/* Passenger Form */
.passenger-form {
    background: var(--light-purple);
    border-radius: 10px;
    padding: 20px;
}

/* Collection and Wonder Cards */
.collection-card, .wonder-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.collection-card:hover, .wonder-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Trend Cards */
.trend-card {
    padding: 30px 20px;
    text-align: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.trend-card i {
    color: var(--primary-purple);
}

/* Traveler & Class Selector Styles */
.number-selector {
    margin-bottom: 20px;
}

.number-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.number-option {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.number-option:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(93, 39, 137, 0.2);
}

.number-option.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    box-shadow: 0 2px 8px rgba(93, 39, 137, 0.3);
}

.class-selector {
    margin-bottom: 20px;
}

.class-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.class-option {
    position: relative;
    padding: 5px 20px;
    border: 2px solid #e9ecef;
    background: white;
    color: #333;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.class-option:hover {
    border-color: var(--primary-purple);
    background: rgba(93, 39, 137, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(93, 39, 137, 0.15);
}

.class-option.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    box-shadow: 0 2px 8px rgba(93, 39, 137, 0.3);
}

.class-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.class-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.class-option.active .class-subtitle {
    opacity: 0.9;
}

/* Dropdown Styles */
.traveler-class-dropdown {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.traveler-class-dropdown.show {
    display: block;
}

.traveler-class-dropdown .dropdown-content {
    padding: 0;
    max-height: 60vh;
    overflow: hidden;
}

.dropdown-body {
    padding: 20px;
    max-height: calc(60vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}



.traveler-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.traveler-subtitle {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 15px;
}

.traveler-class-dropdown .dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

/* Show All Section Styling */
.show-all-section {
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Ensure dropdown content is scrollable */
.traveler-class-dropdown .dropdown-content {
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f8f9fa;
}

.traveler-class-dropdown .dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.traveler-class-dropdown .dropdown-content::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.traveler-class-dropdown .dropdown-content::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 3px;
}

.traveler-class-dropdown .dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #495057;
}

.show-all-section h6 {
    color: #495057;
    font-weight: 600;
}

.show-all-section .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.show-all-section .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Modern Search Form Styles */
.modern-search-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 20px;
}

/* New Search Form Styles */
.search-tabs-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.search-tabs {
    display: flex;
    gap: 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    position: relative;
}

.tab-item {
    position: relative;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

.tab-item.active {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.tab-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc3545;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.tab-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tab-content i {
    font-size: 18px;
    margin-bottom: 2px;
}

.tab-content span {
    font-size: 14px;
    font-weight: 600;
}

.ai-assistant {
    margin-left: 20px;
}

.ai-btn {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.ai-btn i {
    font-size: 16px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.tab-content-wrapper {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Trip Type Selection */
.trip-type-selection {
    display: flex;
    gap: 20px;
   
   
    border-radius: 12px;
}

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

.trip-type-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #dc3545;
}

.trip-type-item label {
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    margin: 0;
}

/* Search Form Main */
.search-form-main {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 180px;
    position: relative;
}

.field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-input-wrapper {
    position: relative;
}

.field-input {
    width: 100%;
    padding: 16px 16px 16px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-weight: 500;
}

.field-input:focus {
    outline: none;
    border-color: #030528;
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Airport Info Display */
.airport-info {
    margin-top: 8px;
    
    align-items: center;
    gap: 8px;
}

.airport-code {
    background: #030528;
    color: white !important;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.airport-name {
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

/* Swap Button */
.swap-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.swap-btn {
    background: #dc3545;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.swap-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.swap-btn i {
    font-size: 16px;
}

/* Date Info Display */
.date-info {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.date-main {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.date-day {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.return-note {
    margin-top: 6px;
    font-size: 11px;
    color: #007bff;
    font-weight: 500;
}

/* Traveler Input */
.traveler-input {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.traveler-input:hover {
    border-color: #dc3545;
    background: white;
}

.traveler-input:active {
    transform: scale(0.98);
}

.traveler-summary {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.class-summary {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.traveler-input i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    transition: transform 0.3s ease;
}

.traveler-input.active i {
    transform: translateY(-50%) rotate(180deg);
}

/* Search Button */
.search-button-field {
    flex: 0 0 auto;
    min-width: 140px;
}

.search-btn {
    width: 100%;
    padding: 16px 30px;
    background: #dc3545;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
   
}

.search-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

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

/* Traveler Class Dropdown */
.traveler-class-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 8px;
    border: 1px solid #e9ecef;
}

.dropdown-content {
    padding: 20px;
}

.dropdown-body {
    margin-bottom: 20px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.traveler-section {
    margin-bottom: 20px;
}

.traveler-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.traveler-subtitle {
    display: block;
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 12px;
    font-style: italic;
}

.number-selector {
    margin-bottom: 15px;
}

.number-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.number-option {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    color: #495057;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-option:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.number-option.active {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.class-selector {
    margin-top: 20px;
}

.class-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.class-option {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
}

.class-option:hover {
    border-color: #dc3545;
}

.class-option.active {
    border-color: #dc3545;
    background: #fff5f5;
}

.class-name {
    display: block;
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
}

.class-subtitle {
    font-size: 11px;
    color: #6c757d;
}

.dropdown-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.dropdown-footer .btn {
    background: #dc3545;
    border-color: #dc3545;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
}

.dropdown-footer .btn:hover {
    background: #c82333;
    border-color: #c82333;
}

/* Hotel Form Specific Styles */
.hotel-location-input {
    padding-right: 50px;
}

.geo-location-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.geo-location-btn:hover {
    color: #dc3545;
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .search-row {
        gap: 15px;
    }
    
    .search-field {
        min-width: 160px;
    }
    
    .trip-type-selection {
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 992px) {
    .search-tabs-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .search-tabs {
        justify-content: center;
    }
    
    .ai-assistant {
        margin-left: 0;
        text-align: center;
    }
    
    .search-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-field {
        min-width: 100%;
    }
    
    .swap-button-wrapper {
        margin: 0;
        align-self: center;
    }
    
    .trip-type-selection {
        flex-direction: column;
        gap: 15px;
    }
    
    .traveler-class-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
        max-height: 80vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .search-container {
        padding: 20px;
        margin: 20px;
    }
    
    .search-form-main {
        padding: 20px;
    }
    
    .tab-item {
        padding: 10px 16px;
        min-width: 100px;
    }
    
    .tab-content i {
        font-size: 16px;
    }
    
    .tab-content span {
        font-size: 12px;
    }
    
    .ai-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Chevron rotation animation */
#travelerClassChevron {
    transition: transform 0.3s ease;
}

#travelerClassChevron.rotated {
    transform: translateY(-50%) rotate(180deg) !important;
}

/* Ensure dropdown appears above other elements */
.search-container {
    position: relative;
    z-index: 1;
}

/* Dropdown responsive fixes */
@media (max-width: 768px) {
    .traveler-class-dropdown {
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%);
        width: 95%;
        max-width: 100%;
        max-height: 90vh;
        margin-top: 0;
        overflow: hidden;
        border-radius: 12px;
    }
    
    .traveler-class-dropdown .dropdown-content {
        padding: 15px;
        max-height: calc(90vh - 60px);
        overflow-y: auto;
    }
    
    .show-all-section {
        padding: 12px 15px;
        position: sticky;
        top: 0;
        background: #f8f9fa;
        z-index: 10;
        border-bottom: 1px solid #dee2e6;
    }
    
    .dropdown-footer {
        position: sticky;
        bottom: 0;
        background: #f8f9fa;
        z-index: 10;
        border-top: 1px solid #dee2e6;
    }
    
    .number-option {
        width: 35px !important;
        height: 35px !important;
        font-size: 13px !important;
    }
    
    .class-option {
        padding: 12px 15px !important;
    }
    
    /* Ensure dropdown works well with flight search form */
    .flight-search-form .traveler-class-dropdown {
        z-index: 9999;
    }
}

/* Additional responsive fixes for smaller screens */
@media (max-width: 576px) {
    .traveler-class-dropdown {
        width: 98%;
        max-height: 95vh;
    }
    
    .traveler-class-dropdown .dropdown-content {
        max-height: calc(95vh - 60px);
        padding: 10px;
    }
    
    .show-all-section {
        padding: 10px;
    }
    
    .dropdown-footer {
        padding: 10px 15px;
    }
    
    .number-options {
        gap: 5px !important;
    }
    
    .number-option {
        width: 30px !important;
        height: 30px !important;
        font-size: 12px !important;
    }
    
    .class-option {
        padding: 8px 10px !important;
        font-size: 14px !important;
    }
    
    /* Flight search form specific adjustments */
    .flight-search-form .traveler-class-dropdown {
        width: 100%;
        left: 0 !important;
        transform: none !important;
        top: 100% !important;
        position: absolute !important;
        max-height: 80vh;
    }
}

#travelerClassModal .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 25px;
}

#travelerClassModal .modal-body {
    padding: 25px;
}

#travelerClassModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px 25px;
}

/* Input Field Styles */
#travelerClassInput {
    cursor: pointer;
    background: white;
}

#travelerClassInput:focus {
    box-shadow: 0 0 0 0.2rem rgba(93, 39, 137, 0.25);
    border-color: var(--primary-purple);
}

/* Badge Styles */
.badge.bg-purple {
    background-color: #6f42c1 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .number-options {
        gap: 6px;
    }
    
    .number-option {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    
    .class-option {
        padding: 12px 15px;
    }
    
    .class-name {
        font-size: 14px;
    }
    
    .class-subtitle {
        font-size: 11px;
    }
}

/* Flight Search Form Responsive Styles */
.flight-search-form {
    width: 100%;
    max-width: 100%;
}

/* Enhanced Responsive Design for Flight Search Form */
@media (max-width: 1200px) {
    .flight-search-form .search-row {
        gap: 15px;
    }
    
    .flight-search-form .search-field {
        min-width: 180px;
    }
    
    .flight-search-form .modern-search-form {
        padding: 25px;
    }
}

@media (max-width: 992px) {
    .flight-search-form .modern-search-form {
        padding: 20px;
        margin: 10px;
    }
    
    .flight-search-form .search-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .flight-search-form .search-field {
        min-width: 100%;
        width: 100%;
    }
    
    .flight-search-form .search-button-field {
        min-width: 100%;
        width: 100%;
    }
    
    .flight-search-form .field-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 768px) {
    .flight-search-form .modern-search-form {
        padding: 15px;
        border-radius: 15px;
        margin: 5px;
    }
    
    .flight-search-form .search-row {
        gap: 12px;
    }
    
    .flight-search-form .field-input {
        padding: 12px 12px 12px 40px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .flight-search-form .field-icon {
        left: 12px;
        font-size: 14px;
    }
    
    .flight-search-form .search-btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    .flight-search-form .field-label {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    /* Stack date fields side by side on mobile */
    .flight-search-form .date-field {
        flex: 1;
        min-width: calc(50% - 6px);
    }
    
    .flight-search-form .search-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .flight-search-form .from-field,
    .flight-search-form .to-field {
        grid-column: span 2;
    }
    
    .flight-search-form .traveler-field {
        grid-column: span 2;
    }
    
    .flight-search-form .search-button-field {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .flight-search-form .modern-search-form {
        padding: 12px;
        border-radius: 12px;
        margin: 3px;
    }
    
    .flight-search-form .search-row {
        gap: 10px;
        grid-template-columns: 1fr;
    }
    
    .flight-search-form .from-field,
    .flight-search-form .to-field,
    .flight-search-form .date-field,
    .flight-search-form .traveler-field,
    .flight-search-form .search-button-field {
        grid-column: span 1;
    }
    
    .flight-search-form .field-input {
        padding: 10px 10px 10px 35px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .flight-search-form .field-icon {
        left: 10px;
        font-size: 13px;
    }
    
    .flight-search-form .search-btn {
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .flight-search-form .field-label {
        font-size: 10px;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .flight-search-form .modern-search-form {
        padding: 10px;
        border-radius: 10px;
    }
    
    .flight-search-form .search-row {
        gap: 8px;
    }
    
    .flight-search-form .field-input {
        padding: 8px 8px 8px 30px;
        font-size: 16px;
        border-radius: 6px;
    }
    
    .flight-search-form .field-icon {
        left: 8px;
        font-size: 12px;
    }
    
    .flight-search-form .search-btn {
        padding: 8px 12px;
        font-size: 18px;
        border-radius: 6px;
    }
    
    .step-indicator {
        display: none !important;
    }
    .flight-search-form .field-label {
        font-size: 14px;
        margin-bottom: 3px;
    }
}

/* Ensure form elements don't overflow on very small screens */
@media (max-width: 360px) {
    .flight-search-form .modern-search-form {
        padding: 8px;
        border-radius: 8px;
    }
    
    .flight-search-form .search-row {
        gap: 6px;
    }
    
    .flight-search-form .field-input {
        padding: 6px 6px 6px 25px;
        font-size: 16px;
        border-radius: 4px;
    }
    
    .flight-search-form .field-icon {
        left: 6px;
        font-size: 11px;
    }
    
    .flight-search-form .search-btn {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 4px;
    }
    
    .flight-search-form .field-label {
        font-size: 8px;
        margin-bottom: 2px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .flight-search-form .search-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .flight-search-form .search-field {
        flex: 1;
        min-width: calc(33.333% - 7px);
    }
    
    .flight-search-form .search-button-field {
        flex: 0 0 auto;
        min-width: 120px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .flight-search-form .field-input {
        border-width: 1px;
    }
}

/* Print styles */
@media print {
    .flight-search-form {
        display: none;
    }
}

/* Return Date Field */
.return-date-field {
    transition: all 0.3s ease;
}

.return-date-field.hidden {
    display: none !important;
}

/* Traveler Field Positioning */
.traveler-field {
    position: relative;
}

.traveler-class-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    margin-top: 8px;
    border: 1px solid #e9ecef;
    min-width: 400px;
}

/* Ensure proper z-index for dropdowns */
.search-container {
    position: relative;
    z-index: 1;
}

.search-form-main {
    position: relative;
    z-index: 2;
}

/* Airport Suggestions */
.airport-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 4px;
}

.suggestion-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

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

/* Enhanced focus states */
.field-input:focus + .airport-info {
    color: #dc3545;
}

/* Loading states */
.field-input.loading {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23dc3545" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 11-6.219-8.56"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Animation for tab switching */
.tab-pane {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tab-pane.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced hover effects */
.search-field:hover .field-label {
    color: #dc3545;
}

.search-field:hover .field-input {
    border-color: #dc3545;
}

/* Focus ring animation */
.field-input:focus {
    animation: focusRing 0.3s ease;
}

@keyframes focusRing {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.1);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
    }
}

/* Special Offers Section */
.special-offers-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin-bottom: 40px;
}

.offers-filter {
    margin-bottom: 40px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    background: white;
    border-radius: 25px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
}

.filter-tab:hover {
    color: #dc3545;
}

.filter-tab.active {
    background: #dc3545;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.offers-carousel {
    position: relative;
    overflow: hidden;
}

.offers-wrapper {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.offer-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.offer-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    padding: 20px;
}

.offer-content {
    padding: 25px;
}

.offer-logo {
    margin-bottom: 20px;
}

.offer-logo img {
    max-width: 120px;
    height: auto;
}

.offer-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.3;
}

.offer-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 15px;
    font-weight: 500;
}

.offer-disclaimer {
    font-size: 12px;
    color: #868e96;
    line-height: 1.4;
    font-style: italic;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: -25px;
}

.carousel-nav.next {
    right: -25px;
}

.carousel-nav i {
    font-size: 18px;
    font-weight: 600;
}

/* Responsive Design for Special Offers */
@media (max-width: 1200px) {
    .offer-card {
        flex: 0 0 320px;
    }
    
    .offers-wrapper {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .special-offers-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .filter-tabs {
        justify-content: center;
        gap: 5px;
    }
    
    .filter-tab {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .offer-card {
        flex: 0 0 300px;
    }
    
    .offers-wrapper {
        gap: 20px;
    }
    
    .carousel-nav {
        width: 45px;
        height: 45px;
    }
    
    .carousel-nav.prev {
        left: -20px;
    }
    
    .carousel-nav.next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .special-offers-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .offers-filter {
        margin-bottom: 30px;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        border-radius: 15px;
    }
    
    .filter-tab {
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }
    
    .offers-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .offer-card {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .carousel-nav {
        display: none;
    }
    
    .offer-content {
        padding: 20px;
    }
    
    .offer-title {
        font-size: 18px;
    }
    
    .offer-subtitle {
        font-size: 14px;
    }
}

/* Multitrip Styles */
.multitrip-fields {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(93, 39, 137, 0.2);
}

.multitrip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-purple);
}

.multitrip-header h5 {
    margin: 0;
    color: var(--primary-purple);
    font-weight: 600;
}

.add-segment-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-segment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 39, 137, 0.3);
}

.flight-segments {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flight-segment {
    background: white;
    border: 1px solid rgba(93, 39, 137, 0.15);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.segment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(93, 39, 137, 0.1);
}

.segment-header h6 {
    margin: 0;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 16px;
}

.remove-segment-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-segment-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.segment-fields .field-row {
    margin-bottom: 15px;
}

.segment-fields .search-field {
    margin-bottom: 15px;
}

.multitrip-search-row {
    margin-top: 25px;
    text-align: center;
}

.multitrip-search-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.multitrip-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 39, 137, 0.3);
}

/* Responsive adjustments for multitrip */
@media (max-width: 768px) {
    .multitrip-fields {
        padding: 15px;
        margin-top: 15px;
    }
    
    .multitrip-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .flight-segment {
        padding: 15px;
    }
    
    .segment-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .add-segment-btn {
        width: 100%;
        justify-content: center;
    }
    
    .multitrip-search-btn {
        width: 100%;
        justify-content: center;
    }
}
