/* Design Tokens & Reset */
:root {
  --color-primary: #0a2540; 
  --color-primary-light: #163e68;
  --color-accent: #ff5a5f; /* Coral */
  --color-accent-hover: #e0484d;
  --color-bg: #f8f9fa;
  --color-surface: #ffffff;
  --color-text: #212529;
  --color-text-muted: #6c757d;
  --color-border: #dee2e6;
  --color-error: #dc3545;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.2s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); background: var(--color-bg); color: var(--color-text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button, input, select { font-family: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--color-primary); color: white; padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: white !important; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--color-accent); }
.logo-dark { color: var(--color-primary) !important; }
.nav-links { display: flex; gap: 24px; font-weight: 500; }
.nav-links a { color: rgba(255,255,255,0.8); }
.nav-links a:hover, .nav-links a.active { color: white; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.currency-selector { display: flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.flag-icon { border-radius: 2px; width: 20px; }
.btn-outline-white { border: 1px solid rgba(255,255,255,0.5); background: transparent; color: white; padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 500; cursor: pointer; transition: var(--transition); }
.btn-outline-white:hover { background: white; color: var(--color-primary); }

/* Mobile Nav Toggle */
.mobile-nav-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: white; margin-left: auto; margin-right: 15px; }
.mobile-nav-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: white; z-index: 1000; transition: 0.3s ease-in-out; padding: 24px; display: flex; flex-direction: column; gap: 40px; }
.mobile-nav-overlay.active { right: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; }
.close-btn { font-size: 2rem; color: var(--color-primary); cursor: pointer; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 24px; }
.mobile-nav-links a { font-size: 1.25rem; font-weight: 600; color: var(--color-primary); }

/* Hero */
.hero-section { position: relative; padding: 80px 0 120px; display: flex; align-items: center; min-height: 500px; color: white; margin-bottom: -60px; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%); z-index: -1; }
.hero-content { display: flex; flex-direction: column; gap: 32px; z-index: 1; }
.hero-title { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 8px; }
.hero-subtitle { font-size: 1.25rem; font-weight: 300; opacity: 0.9; }

/* Search Widget */
.search-widget { background: var(--color-surface); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); color: var(--color-text); position: relative; }
.widget-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 16px; }
.trip-type-toggle, .pax-cabin-toggle { display: flex; align-items: center; gap: 8px; background: var(--color-bg); padding: 4px; border-radius: var(--radius-sm); }
.ctrl-btn { padding: 8px 16px; border-radius: 4px; border: none; background: transparent; font-weight: 500; color: var(--color-text-muted); cursor: pointer; transition: var(--transition); }
.ctrl-btn:hover { color: var(--color-text); }
.ctrl-btn.active { background: white; color: var(--color-text); box-shadow: var(--shadow-sm); }

/* Dropdowns */
.dropdown-wrapper { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; margin-top: 8px; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); min-width: 260px; z-index: 20; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); pointer-events: none; padding: 16px; }
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.cabin-menu { min-width: 200px; padding: 8px 0; }
.cabin-option { display: block; width: 100%; text-align: left; padding: 10px 16px; border: none; background: transparent; cursor: pointer; font-weight: 500; color: var(--color-text); }
.cabin-option:hover { background: var(--color-bg); }
.cabin-option.active { color: var(--color-accent); background: #fff0f0; }

.pax-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--color-text); }
.pax-info strong { display: block; font-weight: 600; }
.pax-info small { color: var(--color-text-muted); font-size: 0.85rem; }
.pax-controls { display: flex; align-items: center; gap: 12px; }
.pax-controls button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--color-border); background: white; color: var(--color-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.pax-controls button:hover:not(:disabled) { border-color: var(--color-primary); background: var(--color-bg); }
.pax-controls button:disabled { opacity: 0.5; cursor: not-allowed; }
.pax-count { font-weight: 600; min-width: 16px; text-align: center; }
.btn-done { width: 100%; padding: 10px; border-radius: var(--radius-sm); border: none; background: var(--color-primary); color: white; font-weight: 600; cursor: pointer; }

/* Forms - Premium Pill Layout */
.search-fields-grid { display: flex; background: white; border-radius: var(--radius-sm); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); padding: 0; align-items: center; position: relative; }
.field-group { flex: 1; position: relative; border-right: 1px solid var(--color-border); padding: 4px 0; }
.field-group:last-of-type { border-right: none; }
.field-group label { position: absolute; top: 8px; left: 44px; font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); z-index: 5; pointer-events: none; }
.input-icon-wrapper { position: relative; display: flex; align-items: center; height: 100%; }
.input-icon-wrapper i { position: absolute; left: 16px; color: var(--color-text-muted); font-size: 1.1rem; }
.input-icon-wrapper input { width: 100%; height: 60px; padding: 24px 16px 8px 44px; border: none; background: transparent; font-size: 1.05rem; color: var(--color-text); outline: none; transition: var(--transition); font-weight: 600; border-radius: var(--radius-sm); }
.input-icon-wrapper input:focus { background: #f4f6f8; }
.swap-btn { position: absolute; right: -15px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--color-border); background: white; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.8rem; color: var(--color-primary); transition: var(--transition); z-index: 10; box-shadow: var(--shadow-sm); }
.swap-btn:hover { background: var(--color-bg); transform: translateY(-50%) rotate(180deg); }

.form-actions { padding: 8px; flex-shrink: 0; }
.search-submit-btn { background: var(--color-accent); color: white; padding: 0 32px; border: none; border-radius: var(--radius-sm); font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; margin: 0; }
.search-submit-btn:hover { background: var(--color-accent-hover); box-shadow: 0 4px 12px rgba(255,90,95,0.3); }
.autocomplete-dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); z-index: 9999 !important; display: none; max-height: 300px; overflow-y: auto; background-color: white !important; }
.location-field { overflow: visible !important; }
.search-fields-grid { overflow: visible !important; }
.suggestion-item { padding: 12px 16px; cursor: pointer; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; color: var(--color-text); }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover, .suggestion-item.focused { background: var(--color-bg); }
.s-city { font-weight: 600; }
.s-code { color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600; }
.s-name { font-size: 0.8rem; color: var(--color-text-muted); display: block; margin-top: 2px; }

.search-submit-btn { background: var(--color-accent); color: white; padding: 14px 32px; border: none; border-radius: var(--radius-sm); font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; height: 51px; }
.search-submit-btn:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,90,95,0.3); }

/* Destinations */
.destinations-section { padding: 100px 0; background: white; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 12px; }
.section-header p { color: var(--color-text-muted); font-size: 1.1rem; }
.destinations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dest-card { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 340px; display: block; transition: var(--transition); box-shadow: var(--shadow-sm); background: #eee; }
.dest-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.dest-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dest-card:hover .dest-img { transform: scale(1.05); }
.dest-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,0.9) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: white; transition: var(--transition); z-index: 2;}
.dest-city { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.dest-price { font-weight: 600; color: #ffeb3b; }

/* Features */
.features-section { padding: 100px 0 80px; background: var(--color-bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { background: white; padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); text-align: center; transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; background: #fff0f0; color: var(--color-accent); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 20px; }
.feature-card h3 { font-family: var(--font-heading); margin-bottom: 12px; font-size: 1.25rem; }
.feature-card p { color: var(--color-text-muted); }

/* SEO Content */
.seo-section { padding: 80px 0; background: white; border-top: 1px solid var(--color-border); }
.seo-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.seo-content h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 24px; }
.seo-content h3 { font-size: 1.3rem; margin: 32px 0 16px; font-family: var(--font-heading); }
.seo-content p { color: var(--color-text-muted); margin-bottom: 16px; line-height: 1.7; }
.seo-sidebar { background: var(--color-bg); padding: 32px; border-radius: var(--radius-md); align-self: start; }
.seo-sidebar h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 20px; border-bottom: 2px solid var(--color-border); padding-bottom: 10px; }
.sidebar-list li { margin-bottom: 16px; font-weight: 500; display: flex; align-items: center; gap: 12px; color: var(--color-text); }
.sidebar-list i { color: var(--color-accent); font-size: 1.1rem; }

/* Newsletter */
.newsletter-section { background: var(--color-primary); color: white; padding: 80px 0; text-align: center; }
.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter-inner h2 { font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 16px; }
.newsletter-inner p { opacity: 0.9; font-size: 1.1rem; }
.newsletter-form { display: flex; gap: 12px; margin-top: 32px; }
.newsletter-form input { flex: 1; padding: 16px 24px; border: none; border-radius: var(--radius-sm); font-size: 1.1rem; outline: none; }
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.2); }
.btn-secondary { background: var(--color-accent); color: white; padding: 0 32px; border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: var(--transition); }
.btn-secondary:hover { background: var(--color-accent-hover); box-shadow: 0 4px 12px rgba(255,90,95,0.3); }

/* Footer */
.site-footer { background: var(--color-bg); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 40px; }
.footer-brand p { color: var(--color-text-muted); margin-top: 16px; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.link-col h4 { font-family: var(--font-heading); margin-bottom: 20px; font-size: 1.1rem; }
.link-col a { display: block; color: var(--color-text-muted); margin-bottom: 12px; }
.link-col a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid var(--color-border); padding: 24px 0; text-align: center; color: var(--color-text-muted); font-size: 0.9rem; margin-top: 40px;}

/* Responsive Grid */
@media (max-width: 1024px) {
  .search-fields-grid { flex-direction: column; align-items: stretch; background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); gap: 0; padding: 0; }
  .field-group { border-right: none; border-bottom: 1px solid var(--color-border); width: 100%; padding: 4px 0; }
  .field-group:last-of-type { border-bottom: none; }
  .swap-btn { left: 50%; right: auto; top: auto; bottom: -15px; transform: translateX(-50%) rotate(90deg); z-index: 10; }
  .swap-btn:hover { background: var(--color-bg); transform: translateX(-50%) rotate(270deg); }
  .form-actions { margin: 16px; width: auto; padding: 0; align-self: stretch; }
  .search-submit-btn { width: 100%; height: 56px; }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: nowrap; justify-content: space-between; gap: 12px; padding: 8px 0; }
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
  .logo { font-size: 1.4rem; }
  .hero-section { padding: 40px 0 80px; min-height: auto; margin-bottom: -40px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .widget-controls { flex-direction: column; gap: 12px; }
  .trip-type-toggle, .pax-cabin-toggle { width: 100%; justify-content: space-between; gap: 4px; }
  .ctrl-btn { flex: 1; text-align: center; padding: 8px 4px; font-size: 0.95rem; }
  .features-grid, .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .destinations-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .btn-secondary { width: 100%; }
}

/* Animations */
.fade-in { animation: fadeIn 0.8s ease forwards; }
.slide-up { animation: slideUp 0.6s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Static Pages Layout */
.static-page-banner { background: var(--color-primary); padding: 100px 0 80px; color: white; text-align: center; position: relative; overflow: hidden; }
.static-page-banner::after { content: ''; position: absolute; bottom: -50px; left: -10%; width: 120%; height: 100px; background: var(--color-bg); transform: rotate(-2deg); }
.static-page-banner h1 { font-family: var(--font-heading); font-size: 3.5rem; margin-bottom: 16px; position: relative; z-index: 2; }
.static-page-banner p { font-size: 1.25rem; opacity: 0.9; font-weight: 300; position: relative; z-index: 2; }
.static-page-content { padding: 80px 0 120px; }
.content-card { background: white; border-radius: var(--radius-lg); padding: 60px; box-shadow: var(--shadow-md); margin-top: -60px; position: relative; z-index: 10; }
.max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.prose h2 { font-family: var(--font-heading); color: var(--color-primary); font-size: 2rem; margin: 48px 0 24px; }
.prose h3 { font-family: var(--font-heading); color: var(--color-primary-light); font-size: 1.5rem; margin: 32px 0 16px; }
.prose p { margin-bottom: 24px; font-size: 1.15rem; color: #4a5568; line-height: 1.8; }
.prose ul, .prose ol { margin-bottom: 32px; padding-left: 20px; }
.prose li { margin-bottom: 12px; font-size: 1.1rem; color: #4a5568; }
.prose strong { color: var(--color-primary); }

/* Career Cards */
.job-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
.job-card { display: flex; justify-content: space-between; align-items: center; padding: 24px; border: 1px solid var(--color-border); border-radius: var(--radius-md); transition: var(--transition); text-decoration: none !important; }
.job-card:hover { border-color: var(--color-accent); background: #fff8f8; transform: translateX(8px); }
.job-info h4 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-primary); margin-bottom: 4px; }
.job-meta { font-size: 0.9rem; color: var(--color-text-muted); display: flex; gap: 16px; }

/* Help Categories */
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin-bottom: 60px; }
.help-cat { background: var(--color-bg); padding: 32px; border-radius: var(--radius-md); text-align: center; transition: var(--transition); border: 2px solid transparent; cursor: pointer; }
.help-cat:hover { border-color: var(--color-accent); background: white; box-shadow: var(--shadow-md); }
.help-cat i { font-size: 2rem; color: var(--color-accent); margin-bottom: 16px; }
.help-cat h4 { margin-bottom: 8px; }

/* ==========================================================================
   SEARCH RESULTS PAGE
   ========================================================================== */

.search-results-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
    position: sticky;
    top: 70px; /* Below navbar */
    z-index: 900;
}

.search-summary-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.summary-route {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}

.summary-route i {
    color: #64748b;
    font-size: 0.9rem;
}

.summary-details {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 0.9rem;
}

.summary-details .dot {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

.btn-edit-search {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-edit-search:hover {
    background: #f1f5f9;
}

/* RESULTS LAYOUT */
.search-results-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding-top: 40px;
    align-items: start;
    margin-bottom: 60px;
}

/* SIDEBAR FILTERS */
.search-filters {
    position: sticky;
    top: 150px;
}

.filter-group {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}

.filter-group h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

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

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #475569;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.price-slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 10px;
}

.price-slider {
    width: 100%;
    accent-color: var(--color-primary);
}

.time-range-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-btn {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
    transition: all 0.2s;
}

.time-btn.active {
    background: #f1f5f9;
    border-color: var(--color-primary);
    font-weight: 600;
}

/* SORTING TABS */
.results-sorting {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.sort-tab {
    background: #ffffff;
    border: none;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.sort-tab.active {
    background: #f8fafc;
    box-shadow: inset 0 -3px 0 var(--color-primary);
}

.sort-tab .label {
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.sort-tab .subtext {
    font-size: 0.75rem;
    color: #64748b;
}

/* FLIGHT CARD */
.flight-card {
    display: grid;
    grid-template-columns: 1fr 220px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.flight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.flight-main-info {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.airline-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
}

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

.airline-name {
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
}

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

.time-block {
    display: flex;
    flex-direction: column;
}

.time-block .time {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

.time-block .iata {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.timeline {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.timeline .duration {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 5px;
}

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

.timeline .line.has-stops {
    background: #ef4444;
}

.timeline .stop-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
}

.timeline .stops {
    font-size: 0.75rem;
    margin-top: 5px;
    font-weight: 600;
}

.timeline .direct { color: #10b981; }
.timeline .stop-count { color: #ef4444; }

/* PRICE & ACTION SIDEBAR */
.flight-action {
    background: #f8fafc;
    border-left: 1px solid #f1f5f9;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.price-meta {
    margin-bottom: 15px;
}

.price-meta .price {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
}

.price-meta .fare-brand {
    font-size: 0.8rem;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    color: #475569;
    font-weight: 600;
}

.btn-view-deal {
    width: 100%;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-view-deal:hover {
    background: #000;
    transform: scale(1.02);
}

.provider-info {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 10px;
}

/* EMPTY RESULTS */
.empty-results {
    text-align: center;
    padding: 60px 40px;
}

.empty-results i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.empty-results h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.empty-results p {
    color: #64748b;
    margin-bottom: 30px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .search-results-container {
        grid-template-columns: 1fr;
    }
    
    .search-filters {
        display: none;
    }

    .search-summary-compact {
        padding: 10px 15px;
    }
    
    .summary-route {
        font-size: 0.95rem;
    }

    .summary-details {
        display: none;
    }
}

@media (max-width: 768px) {
    .flight-card {
        grid-template-columns: 1fr;
    }

    .flight-action {
        border-left: none;
        border-top: 1px solid #f1f5f9;
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 30px;
    }

    .price-meta {
        margin-bottom: 0;
        text-align: left;
    }

    .price-meta .price {
        font-size: 1.4rem;
    }

    .btn-view-deal {
        width: auto;
        padding: 10px 20px;
    }

    .provider-info {
        display: none;
    }

    .flight-main-info {
        gap: 20px;
        padding: 20px;
    }

    .airline-meta {
        min-width: 60px;
    }

    .airline-logo {
        width: 32px;
        height: 32px;
    }

    .time-block .time {
        font-size: 1.1rem;
    }
}
