/* ============================================
   Ethiofly - Complete CSS
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a237e;
    font-size: 1.5em;
}

.logo i {
    font-size: 1.8em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a237e;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1a237e;
}

.deal-badge {
    position: relative;
}

.badge-new {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4081;
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Buttons */
.btn-primary {
    background: #1a237e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #283593;
}

.btn-secondary {
    background: white;
    color: #1a237e;
    border: 1px solid #1a237e;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f0f4ff;
}

.btn-search {
    background: #ff9800;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #f57c00;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: white;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}

.stat-item i {
    color: #ff9800;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-features i {
    color: #4caf50;
}

/* Search Container */
.search-container {
    max-width: 1200px;
    margin: -50px auto 50px;
    padding: 0 20px;
}

.search-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-tab {
    padding: 10px 25px;
    background: #f5f5f5;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.search-tab.active {
    background: #1a237e;
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group label i {
    color: #1a237e;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a237e;
}

.location-input {
    position: relative;
}

.location-btn,
.popular-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.recent-searches {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.recent-search {
    background: #e3f2fd;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    cursor: pointer;
    transition: background 0.3s;
}

.recent-search:hover {
    background: #bbdefb;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s;
}

.suggestion-item:hover {
    background: #f5f5f5;
}

.suggestion-code {
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 5px;
}

.suggestion-city {
    font-weight: 500;
    color: #333;
}

.suggestion-name {
    font-size: 0.9em;
    color: #666;
}

.suggestion-country {
    font-size: 0.8em;
    color: #888;
}

.suggestion-continent {
    font-size: 0.8em;
    color: #666;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 3px;
}

.no-suggestions {
    padding: 12px;
    color: #666;
    text-align: center;
}

.swap-btn {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.swap-btn button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.swap-btn button:hover {
    background: #e0e0e0;
    transform: rotate(180deg);
}

.date-group {
    position: relative;
}

.quick-dates {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.quick-dates button {
    padding: 5px 10px;
    background: #f5f5f5;
    border: none;
    border-radius: 12px;
    font-size: 0.8em;
    cursor: pointer;
    transition: background 0.3s;
}

.quick-dates button:hover {
    background: #e0e0e0;
}

.travelers-group {
    position: relative;
}

.travelers-input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.travelers-modal {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.traveler-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: background 0.3s;
}

.counter-btn:hover {
    background: #f5f5f5;
}

.class-selection {
    margin: 20px 0;
}

.class-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.class-option {
    text-align: center;
}

.class-option input {
    display: none;
}

.class-option span {
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.class-option input:checked + span {
    border-color: #1a237e;
    background: #e3f2fd;
}

.advanced-options {
    margin-top: 20px;
}

.advanced-toggle {
    background: none;
    border: none;
    color: #1a237e;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.advanced-toggle i:last-child {
    transition: transform 0.3s;
}

.advanced-content {
    display: none;
    margin-top: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.advanced-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Currency Selector */
.currency-selector {
    position: relative;
}

.currency-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.3s;
}

.currency-btn:hover {
    border-color: #1a237e;
}

.currency-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

.currency-dropdown.show {
    display: block;
}

.currency-option {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: background 0.3s;
}

.currency-option:hover {
    background: #f5f5f5;
}

.currency-option.active {
    background: #e3f2fd;
    color: #1a237e;
}

.currency-code {
    font-weight: 600;
}

.currency-name {
    color: #666;
    font-size: 0.9em;
}

/* Popular Destinations */
.popular-destinations,
.deals-section,
.features-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h3 {
    font-size: 1.8em;
    color: #333;
}

.view-all {
    color: #1a237e;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.destination-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.destination-info {
    padding: 20px;
    background: white;
}

.destination-info h4 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.destination-info .price {
    color: #1a237e;
    font-weight: 500;
    margin-bottom: 5px;
}

.destination-info .distance {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.btn-destination {
    width: 100%;
    padding: 10px;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-destination:hover {
    background: #283593;
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.deal-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.deal-card:hover {
    transform: translateY(-3px);
}

.deal-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff4081;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.deal-header h4 {
    color: #333;
    font-size: 1.1em;
}

.airline {
    color: #666;
    font-size: 0.9em;
}

.deal-price {
    margin: 15px 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    display: block;
    font-size: 0.9em;
}

.new-price {
    font-size: 1.5em;
    color: #1a237e;
    font-weight: 600;
}

.deal-period {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.btn-deal {
    width: 100%;
    padding: 10px;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-deal:hover {
    background: #283593;
}

/* Features */
.features-section {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #1a237e;
    font-size: 24px;
}

.feature-card h4 {
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2em;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 30px auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
}

.newsletter-form button {
    padding: 15px 30px;
}

.newsletter-section small {
    display: block;
    margin-top: 20px;
    opacity: 0.8;
    font-size: 0.9em;
}

/* Results Page */
.results-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.results-header {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.route-info h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.route-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #666;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-item i {
    color: #1a237e;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Price Alert Banner */
.price-alert-banner {
    background: #e3f2fd;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-content i {
    color: #ff9800;
    font-size: 1.2em;
}

.btn-alert {
    background: #ff9800;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-alert:hover {
    background: #f57c00;
}

/* Results Main Layout */
.results-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.filter-section h4 {
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clear-filters {
    background: none;
    border: none;
    color: #1a237e;
    cursor: pointer;
    font-size: 0.9em;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h5 {
    margin-bottom: 12px;
    color: #333;
    font-size: 0.95em;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.filter-option span:first-child {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-option .count {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    color: #666;
}

.price-slider {
    position: relative;
    height: 60px;
}

.price-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 5px;
    background: #ddd;
    pointer-events: none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1a237e;
    cursor: pointer;
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    font-size: 0.9em;
    color: #666;
}

.time-slider {
    margin: 15px 0;
}

.time-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #666;
    margin-bottom: 5px;
}

.time-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-top: 10px;
}

.time-option {
    padding: 8px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background 0.3s;
}

.time-option:hover {
    background: #e0e0e0;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9em;
}

.apply-filters {
    width: 100%;
    margin-top: 10px;
}

/* Results Content */
.results-content {
    flex: 1;
}

.results-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.results-info h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 5px;
}

.results-info p {
    color: #666;
    font-size: 0.9em;
}

.results-info select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    font-size: 0.9em;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px 15px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

.view-btn.active {
    background: #1a237e;
    color: white;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #e0e0e0;
}

.filter-btn.active {
    background: #1a237e;
    color: white;
}

/* Flight Card */
.flight-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.flight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.airline-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.airline-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.airline-details {
    flex: 1;
}

.airline-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: #333;
}

.flight-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.flight-number {
    font-size: 0.9em;
    color: #666;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 12px;
}

.operated-by {
    font-size: 0.9em;
    color: #666;
}

.provider-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.airline-badge {
    background: #e3f2fd;
    color: #1a237e;
}

.badge.direct {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge.stop {
    background: #fff3e0;
    color: #f57c00;
}

.class-badge {
    background: #f3e5f5;
    color: #7b1fa2;
}

.refundable {
    background: #e8f5e9;
    color: #2e7d32;
}

.flight-pricing {
    text-align: right;
}

.price-display {
    margin-bottom: 15px;
}

.total-price {
    font-size: 1.8em;
    font-weight: 600;
    color: #1a237e;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 2px;
}

.currency-symbol {
    font-size: 0.7em;
    color: #666;
}

.price-details {
    font-size: 0.9em;
    color: #666;
}

.per-person {
    display: block;
}

.taxes {
    font-size: 0.85em;
    color: #888;
}

.price-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-view-details {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-view-details:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.btn-book-primary {
    padding: 10px 25px;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-book-primary:hover {
    background: #283593;
}

/* Flight Timeline */
.flight-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 25px;
}

.departure-info, .arrival-info {
    text-align: center;
    flex: 1;
}

.time-large {
    font-size: 2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.airport-code {
    font-size: 1.4em;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 2px;
}

.city-name {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 8px;
}

.terminal, .gate {
    font-size: 0.85em;
    color: #888;
    background: white;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin: 2px;
}

.journey-info {
    flex: 2;
    text-align: center;
    position: relative;
}

.duration-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
    font-weight: 500;
}

.duration-display i {
    color: #1a237e;
}

.journey-line {
    position: relative;
    height: 2px;
    background: #ddd;
    margin: 0 40px;
}

.line-start, .line-end {
    position: absolute;
    top: -4px;
    width: 10px;
    height: 10px;
    background: #1a237e;
    border-radius: 50%;
}

.line-start {
    left: 0;
}

.line-end {
    right: 0;
}

.line-middle {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 15px;
}

.line-middle i {
    color: #1a237e;
    font-size: 1.2em;
}

.stops-info {
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

.non-stop {
    color: #2e7d32;
    font-weight: 500;
}

.stop-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.stop-detail i {
    color: #f57c00;
}

.layover {
    color: #f57c00;
    font-size: 0.9em;
    background: #fff3e0;
    padding: 3px 8px;
    border-radius: 10px;
}

/* Flight Features */
.flight-features {
    margin-bottom: 25px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f0f4ff;
    border-radius: 20px;
    font-size: 0.9em;
}

.feature-item i {
    color: #1a237e;
    font-size: 0.9em;
}

/* Flight Actions */
.flight-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.btn-action {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-action:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.no-results i {
    font-size: 4em;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #333;
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
    margin-bottom: 30px;
}

/* Loading */
.loading-results {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1a237e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.page-btn {
    padding: 10px 18px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.page-btn:hover:not(.active) {
    background: #f5f5f5;
    border-color: #ccc;
}

.page-btn.active {
    background: #1a237e;
    color: white;
    border-color: #1a237e;
}

/* Price Graph */
.price-graph-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-graph-section h4 {
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-graph {
    height: 200px;
    margin: 20px 0;
}

.graph-info {
    margin-top: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9em;
    color: #666;
}

.graph-info i {
    color: #1a237e;
    margin-right: 8px;
}

/* Popular Airlines */
.popular-airlines {
    margin-top: 40px;
}

.popular-airlines h4 {
    margin-bottom: 20px;
    color: #333;
}

.airlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.airline-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.airline-card:hover {
    transform: translateY(-3px);
}

.airline-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.airline-info h5 {
    margin-bottom: 5px;
    color: #333;
}

.airline-info p {
    color: #1a237e;
    font-weight: 500;
}

/* Trust Badges */
.trust-badges {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.trust-badges h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-badge {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-badge i {
    font-size: 2.5em;
    color: #1a237e;
    margin-bottom: 15px;
}

.trust-badge h4 {
    margin-bottom: 10px;
    color: #333;
}

.trust-badge p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

/* FAQ */
.faq-section {
    margin-top: 40px;
}

.faq-section h4 {
    margin-bottom: 20px;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faq-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-item h5 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1em;
}

.faq-item p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Demo Notice */
.demo-notice {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-content i {
    color: #ff9800;
    font-size: 1.2em;
}

.close-btn {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}

/* Comparison Sidebar */
.comparison-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.comparison-sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #666;
}

.sidebar-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.comparison-count {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-weight: 500;
}

.comparison-count span {
    background: #1a237e;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.comparison-list {
    margin-bottom: 20px;
}

.comparison-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.comparison-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.1em;
    transition: color 0.3s;
}

.remove-btn:hover {
    color: #f44336;
}

.comparison-item-body {
    font-size: 0.9em;
}

.comparison-route {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.comparison-price {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 5px;
}

.comparison-duration {
    color: #666;
    font-size: 0.85em;
}

.sidebar-content button {
    width: 100%;
    margin-bottom: 10px;
}

/* Comparison FAB */
.comparison-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    transition: all 0.3s;
}

.comparison-fab:hover {
    background: #283593;
    transform: scale(1.1);
}

.comparison-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4081;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 20px;
}

.modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
    z-index: 1;
}

.flight-details-modal,
.price-history-modal,
.price-alert-modal,
.comparison-modal {
    padding: 30px;
}

.modal h3 {
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-item strong {
    color: #666;
    font-size: 0.9em;
}

.detail-item span {
    color: #333;
    font-weight: 500;
}

.price-chart {
    height: 200px;
    margin: 20px 0;
}

.price-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.trend-up {
    color: #4caf50;
}

.trend-down {
    color: #f44336;
}

.price-advice {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-advice i {
    color: #4caf50;
}

.alert-form {
    margin: 20px 0;
}

.price-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.price-input .currency-symbol {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

.price-input input {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1.1em;
}

.comparison-table {
    overflow-x: auto;
    margin: 20px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.comparison-airline {
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 5px;
}

.comparison-price {
    color: #4caf50;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions button {
    flex: 1;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1002;
    animation: slideIn 0.3s ease;
    border-left: 4px solid #1a237e;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.notification i {
    font-size: 1.2em;
}

.notification-success i {
    color: #4caf50;
}

.notification-error i {
    color: #f44336;
}

.notification-warning i {
    color: #ff9800;
}

.notification-info i {
    color: #2196f3;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #666;
}

/* Footer */
.footer {
    background: #1a237e;
    color: white;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.partners-grid span {
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 0.9em;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.payment-methods i {
    font-size: 1.5em;
    opacity: 0.8;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .results-main {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        display: none;
    }
    
    .flight-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .journey-line {
        width: 2px;
        height: 50px;
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5em;
        color: #1a237e;
        cursor: pointer;
    }
    
    .stats-bar {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .flight-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .flight-pricing {
        text-align: left;
        width: 100%;
    }
    
    .price-actions {
        justify-content: flex-start;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flight-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .comparison-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal {
        margin: 10px;
    }
    
    .hero-content h2 {
        font-size: 2em;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 20px;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .destinations-grid,
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .quick-filters {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .flight-timeline {
        padding: 15px;
    }
}

/* Grid View */
.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.grid-view .flight-card {
    margin-bottom: 0;
}

/* Map View */
.map-view .flight-card {
    display: none;
}

.map-view #flightResults::after {
    content: "Map view coming soon...";
    display: block;
    text-align: center;
    padding: 60px;
    color: #666;
    background: white;
    border-radius: 12px;
    font-style: italic;
}
/* Airline logo styles */
.airline-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.airline-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    background: white;
}

.airline-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px;
}

/* Update flight card layout */
.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.airline-info {
    display: flex;
    align-items: center;
}

.airline-details {
    flex-grow: 1;
}

.airline-details h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.flight-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.provider-badges {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge.airline-badge {
    background: #f0f0f0;
    color: #333;
}

.badge.direct {
    background: #e8f5e8;
    color: #2e7d32;
}

.badge.stop {
    background: #fff3e0;
    color: #ef6c00;
}

.badge.class-badge {
    background: #e3f2fd;
    color: #1565c0;
}

.badge.refundable {
    background: #f3e5f5;
    color: #7b1fa2;
}
/* Airline logo container */
.airline-logo-container {
    width: 60px;
    height: 60px;
    position: relative;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Airline logo image */
.airline-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Fallback logo */
.airline-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Airline info layout */
.airline-info {
    display: flex;
    align-items: center;
}

.airline-details {
    flex: 1;
}

.airline-details h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.flight-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.flight-number {
    font-weight: 600;
    color: #1a237e;
    background: #f0f3ff;
    padding: 2px 6px;
    border-radius: 4px;
}

.airline-code {
    color: #666;
    font-weight: 500;
}

.operated-by {
    color: #888;
    font-size: 12px;
    font-style: italic;
}

/* Flight card header layout */
.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.flight-pricing {
    text-align: right;
}

.price-display {
    margin-bottom: 10px;
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.2;
}

.currency-symbol {
    font-size: 20px;
}

.price-amount {
    font-size: 28px;
}

.price-details {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.per-person {
    display: block;
}

.taxes {
    color: #888;
}

/* Price actions */
.price-actions {
    display: flex;
    gap: 10px;
}

.btn-view-details {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view-details:hover {
    background: #e9ecef;
}

.btn-book-primary {
    padding: 8px 20px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-book-primary:hover {
    background: linear-gradient(135deg, #283593 0%, #3949ab 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(26, 35, 126, 0.2);
}
/* Auth Pages Styling */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
}

.auth-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.auth-box h2 {
    margin-bottom: 0.5rem;
    color: #1a237e;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: #1a237e;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    position: relative;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-social {
    padding: 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-social:hover {
    background: #f5f5f5;
}

.btn-social.google {
    color: #DB4437;
}

.btn-social.facebook {
    color: #4267B2;
}

.auth-link {
    text-align: center;
    color: #666;
}

.auth-link a {
    color: #1a237e;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

.password-links {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.forgot-password {
    font-size: 14px;
    color: #1a237e;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox input {
    width: auto;
}

.checkbox label {
    margin-bottom: 0;
}

/* Container for coming soon pages */
.container {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    text-align: center;
}

.container h2 {
    color: #1a237e;
    margin-bottom: 1rem;
}

.container p {
    color: #666;
    margin-bottom: 2rem;
}

/* Profile Styles */
.profile-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-header {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-avatar {
    text-align: center;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #1a237e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
}

.profile-info h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.profile-info p {
    color: #666;
    margin: 0 0 1.5rem 0;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 0.25rem;
}

.stat-item span {
    font-size: 0.875rem;
    color: #666;
}

.profile-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.profile-nav-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.profile-nav-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.profile-nav-btn.active {
    background: #1a237e;
    color: white;
}

.profile-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
}

.profile-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.password-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.settings-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.settings-section:last-child {
    border-bottom: none;
}

.settings-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.setting-item input {
    width: auto;
}

.danger-zone {
    padding: 1.5rem;
    background: #fff5f5;
    border-radius: 8px;
    border: 1px solid #fed7d7;
    margin-top: 2rem;
}

.danger-zone h4 {
    color: #c53030;
    margin-bottom: 0.5rem;
}

.danger-zone p {
    color: #666;
    margin-bottom: 1rem;
}

.btn-danger {
    background: #c53030;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: #9b2c2c;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-btn {
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-dropdown a:hover {
    background: #f5f5f5;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 0.5rem 0;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Booking Cards */
.bookings-grid,
.saved-flights-grid,
.alerts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.booking-card,
.saved-flight-card,
.alert-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #eee;
}

.booking-header,
.saved-flight-header,
.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.booking-status {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.booking-status.confirmed {
    background: #c6f6d5;
    color: #22543d;
}

.booking-status.pending {
    background: #fed7d7;
    color: #742a2a;
}

.booking-details {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.alert-card.active {
    border-left: 4px solid #38a169;
}

.alert-card.expired {
    opacity: 0.7;
}

.alert-status {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-row span:first-child {
    color: #666;
}

.price {
    color: #1a237e;
    font-weight: 600;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}
/* Traveler Modal Styles */
.travelers-modal {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    margin-top: 10px;
    padding: 20px;
}

.travelers-modal.show {
    display: block;
}

.traveler-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.traveler-type:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.traveler-info h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.traveler-info small {
    color: #666;
    font-size: 12px;
}

.counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.counter-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.counter-btn:hover:not(:disabled) {
    background: #f5f5f5;
}

.counter-value {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

/* Class Options */
.class-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.class-option {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.class-option:hover {
    border-color: #1a237e;
}

.class-option.selected {
    border-color: #1a237e;
    background: #f0f2ff;
}

.class-option input[type="radio"] {
    display: none;
}

.class-option label {
    cursor: pointer;
    display: block;
    margin: 0;
    font-size: 14px;
}

.modal-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: right;
}

/* Advanced Options Styles */
.advanced-content {
    display: none;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid #eee;
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.advanced-option {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.advanced-option label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.advanced-option select,
.advanced-option input[type="checkbox"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.advanced-option .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.advanced-option input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
}
/* ============================================
   RESPONSIVE FIXES - Mobile & Desktop
   ============================================ */

/* 1. GLOBAL MOBILE FIXES */
@media (max-width: 768px) {
    /* Mobile Menu */
    .nav-links {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .mobile-nav {
        display: none;
        width: 100%;
        background: white;
        padding: 20px;
        border-top: 1px solid #eee;
    }
    
    .mobile-nav.show {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 40px 15px;
    }
    
    .hero-content h2 {
        font-size: 1.5em;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Search Box */
    .search-container {
        margin: -20px auto 20px;
        padding: 0 10px;
    }
    
    .search-box {
        padding: 15px;
    }
    
    .search-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Forms */
    .form-row {
        display: flex;
        flex-direction: column;
    }
    
    .swap-btn {
        margin: 10px 0;
    }
    
    .swap-btn button {
        transform: rotate(90deg);
    }
    
    /* Flight Cards */
    .flight-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .flight-pricing {
        text-align: left;
        width: 100%;
    }
    
    .price-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-view-details,
    .btn-book-primary {
        width: 100%;
    }
    
    /* Flight Timeline */
    .flight-timeline {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    
    .journey-line {
        width: 2px;
        height: 50px;
        margin: 10px auto;
        transform: rotate(90deg);
    }
    
    .line-middle {
        transform: translateX(-50%) rotate(90deg);
    }
    
    /* Filters */
    .filters-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        background: white;
        overflow-y: auto;
        padding: 20px;
    }
    
    .filters-sidebar.show {
        display: block;
    }
    
    /* Results */
    .results-main {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .results-topbar {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Stats Bar */
    .stats-bar {
        display: none;
    }
    
    /* Grid Items */
    .destinations-grid,
    .deals-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Buttons - Larger for touch */
    .btn-primary,
    .btn-secondary,
    .btn-search {
        min-height: 44px;
    }
    
    /* Hide/Show Elements */
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
    
    /* Modal */
    .modal {
        margin: 10px;
        padding: 15px;
    }
    
    /* Comparison */
    .comparison-sidebar {
        width: 100%;
    }
    
    .comparison-fab {
        width: 50px;
        height: 50px;
    }
}

/* 2. TABLET (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .destinations-grid,
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-main {
        grid-template-columns: 250px 1fr;
    }
    
    .flight-timeline {
        flex-direction: row;
    }
    
    .journey-line {
        width: 100%;
        height: 2px;
        margin: 0 30px;
        transform: none;
    }
    
    .line-middle {
        transform: translateX(-50%);
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}

/* 3. DESKTOP (1025px +) */
@media (min-width: 1025px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
    
    .stats-bar {
        display: flex !important;
    }
    
    .filters-sidebar {
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
    }
    
    .results-main {
        display: grid !important;
        grid-template-columns: 300px 1fr !important;
    }
    
    .flight-timeline {
        flex-direction: row !important;
    }
    
    .journey-line {
        width: 100% !important;
        height: 2px !important;
        transform: none !important;
    }
    
    .hide-desktop {
        display: none !important;
    }
}

/* 4. TOUCH-FRIENDLY ELEMENTS */
@media (max-width: 768px) {
    /* Minimum touch target size */
    button, 
    .btn-primary, 
    .btn-secondary,
    .nav-links a,
    .filter-option,
    .suggestion-item {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Form elements */
    input, 
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px !important;
    }
    
    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 5. QUICK UTILITY CLASSES */
.hide-mobile { display: none; }
.hide-tablet { display: none; }
.hide-desktop { display: none; }

@media (max-width: 768px) {
    .show-mobile { display: block; }
    .show-tablet { display: none; }
    .show-desktop { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .show-mobile { display: none; }
    .show-tablet { display: block; }
    .show-desktop { display: none; }
}

@media (min-width: 1025px) {
    .show-mobile { display: none; }
    .show-tablet { display: none; }
    .show-desktop { display: block; }
}

/* 6. FIX FOR COMMON ISSUES */
/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

.coming-soon-banner {
    width: 100%;
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: #fff;
    padding: 10px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.coming-badge {
    background: #fff;
    color: #ff5722;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.coming-text {
    opacity: 0.95;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .coming-soon-banner {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        font-size: 13px;
    }
}