:root {
    --primary: #0b0057;
    --primary-gradient: linear-gradient(135deg, #0b0057 0%, #4c6fff 100%);
    --accent: #f1c933;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background: #F0F0F0;
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    background-image: url('../images/Background.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 80px 20px 20px 20px; /* Added top padding for fixed navbar */
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    color: var(--primary);
    font-size: 2.5rem !important;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
    color: var(--accent);
}

.feature-card h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.feature-card small {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Hero Section Enhancements */
.hero-section {
    padding: 3rem 0;
    margin-bottom: 4rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-section .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}

.hero-section .features-row {
    margin-bottom: 3rem;
}

.hero-section .cta-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 2rem 0;
}

.hero-section .stats-text {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    display: inline-block;
}

/* Search Section Header */
.search-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-header h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.search-header p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .feature-card i {
        font-size: 2rem !important;
    }
    
    .cta-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
    }
    
    .search-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .search-header h2 {
        font-size: 1.5rem;
    }
    
    .features-row .row {
        margin: 0;
    }
    
    .features-row .col-md-4 {
        padding: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem 0.75rem;
    }
    
    .cta-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stats-text {
        display: block;
        margin: 1rem 0;
    }
}

/* Enhanced Navbar Styling */
.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: white !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--accent) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Navbar Actions Styling */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.nav-btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn-login:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.nav-btn-signup {
    background: var(--accent);
    color: var(--primary);
    border: 1px solid var(--accent);
}

.nav-btn-signup:hover {
    background: #f8d000;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 201, 51, 0.4);
}

.nav-btn-user {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 120px;
}

.nav-btn-user:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.nav-btn-user-mobile {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 100px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

.nav-btn-user-mobile:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* User Dropdown Styling */
.user-name-short {
    color: white !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 0.5rem;
}

.dropdown-header {
    background: rgba(11, 0, 87, 0.05);
    border-radius: 8px 8px 0 0;
    padding: 1rem;
}

.user-info-dropdown {
    text-align: center;
}

.user-email-full {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}



.dropdown-item {
    padding: 0.75rem 1rem;
    color: #555;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0.25rem 0.5rem;
}

.dropdown-item:hover {
    background: rgba(11, 0, 87, 0.1);
    color: var(--primary);
    transform: translateX(3px);
}

.dropdown-item i {
    color: var(--primary);
    width: 16px;
}

/* Mobile-specific navbar improvements */
@media (max-width: 991px) {
    .navbar .container {
        padding: 0 1rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
        min-width: 70px;
    }
    
    .nav-btn-signup {
        min-width: 60px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .nav-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
        min-width: 60px;
    }
    
    .nav-btn-signup {
        min-width: 50px;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0b0057 0%, #4c6fff 100%);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#cookie-banner.show {
    transform: translateY(0);
}

#cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

#cookie-banner .btn-group {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

#cookie-banner .btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cookie-banner .btn-accept {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

#cookie-banner .btn-accept:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .feature-card i {
        font-size: 1.5rem !important;
    }
    
    #cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    #cookie-banner p {
        min-width: auto;
        font-size: 0.9rem;
    }
}

/* Modern Top Navigation */
.top-nav {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* Fixed navbar padding for pages using Bootstrap navbar */
body.has-fixed-navbar {
    padding-top: 120px;
}

/* Bootstrap navbar is fixed-top, so add padding for content */
.navbar.fixed-top + .container,
.navbar.fixed-top ~ .container,
.navbar.fixed-top + main,
.navbar.fixed-top ~ main {
    margin-top: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.brand-logo i {
    background: linear-gradient(135deg, #0b0057 0%, #4c6fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 0.5rem;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

.brand-text {
    background: linear-gradient(135deg, #0b0057 0%, #4c6fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', 'Rubik', sans-serif;
    letter-spacing: -0.5px;
    position: relative;
}

.brand-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0b0057 0%, #4c6fff 100%);
    transition: width 0.3s ease;
}

.brand-logo:hover .brand-text::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nav-actions.hidden {
    display: none !important;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-btn-login {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-btn-login:hover {
    background: #f8f9fa;
    border-color: var(--primary);
    color: var(--primary);
}

.nav-btn-signup {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(11, 0, 87, 0.2);
}

.nav-btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 0, 87, 0.3);
    color: white;
}

.nav-btn-outline {
    background: transparent;
    color: #333;
    border-color: #e9ecef;
    text-decoration: none;
}

.nav-btn-outline:hover {
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
}



.nav-btn-logout {
    background: transparent;
    color: #0b0057;
    border: none;
    padding: 0.75rem 1rem;
}

.nav-btn-logout:hover {
    background: #f8d7da;
    color: #0b0057;
}

.user-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 1rem;
}

.user-email {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.user-plan {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
    margin-top: 0.25rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carde {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.input-container {
    margin-bottom: 1.5rem;
}

.input-container label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.custom-select select,
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    background: #ffffff;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-select select:focus,
input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(241, 201, 51, 0.2);
}

.add-more {
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
}

#search-button.modern-search-btn {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none;
    border-radius: 20px;
    padding: 1.5rem 4rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(11, 0, 87, 0.25);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 250px;
}

.flight-button {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.add-more:hover,
.flight-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



.search-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white !important;
}

.search-subtext {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
    color: white !important;
}

#search-button.modern-search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(11, 0, 87, 0.35);
    color: white !important;
}

#search-button.modern-search-btn .search-text,
#search-button.modern-search-btn .search-subtext,
#search-button.modern-search-btn i {
    color: white !important;
}

.form-check-input {
    width: 3.5rem !important;
    height: 1.8rem !important;
    cursor: pointer;
    background-color: #e9ecef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    transition: background-color .15s ease-in-out,background-position .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-shadow: var(--shadow);
}

.form-check-input:checked {
    background-color: var(--accent);
    background-position: right center;
    border-color: var(--accent);
}

.form-check-input:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(241, 201, 51, 0.25);
}

.form-switch {
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin: 1rem;
    overflow: hidden;
}

.upsell-card {
    border-left: 4px solid #198754;
}

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.flight-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flight-info p {
    margin: 0;
    line-height: 1.5;
}

.flight-info p[style*="bold"] {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.plane {
    background-image: url('../images/plane4.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 200px;
    height: 50px;
    opacity: 0;
    transition: opacity 0.3s;
    animation: planeAnimation 4.15s linear infinite;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes planeAnimation {
    0% {
        transform: translateY(500%) translateX(-200%) rotate(15deg);
    }
    50% {
        transform: translateY(250%) translateX(0) rotate(0deg);
    }
    100% {
        transform: translateY(0px) translateX(200%) rotate(-15deg);
    }
}

.tooltip-toggle {
    cursor: help;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tooltip-toggle:hover {
    opacity: 1;
}

.hidden { display: none !important; }

/* Flight Results Styling */
.card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 24px;
}

.card-header {
    border-bottom: 2px solid #e8f4f8;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.card-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title::before {
    content: '✈️';
    font-size: 1.2em;
}

.flight-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    padding: 18px;
    border-left: 4px solid var(--primary);
    position: relative;
}

.flight-section h6 {
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary);
}

.trip-duration {
    background: linear-gradient(135deg, #e8f4f8, #d1ecf1);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    border: 2px solid #bee5eb;
}

.trip-duration i {
    color: var(--primary);
    margin-right: 8px;
}

.total-cost {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.total-cost::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.total-cost h6 {
    color: white;
    opacity: 0.95;
    font-weight: 500;
    margin-bottom: 8px;
}

.total-cost .h4 {
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.weather-info {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 12px;
    padding: 18px;
    border-left: 4px solid #ffc107;
}

.weather-info h6 {
    color: #856404;
    margin-bottom: 12px;
    font-weight: 600;
}

.weather-details p {
    font-size: 0.9em;
    margin-bottom: 6px;
    color: #856404;
    font-weight: 500;
}

/* Modern Flight Info Layout */
.flight-info {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .flight-info {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .trip-duration {
        grid-column: 1 / -1;
    }
    
    .total-cost {
        grid-column: 1 / -1;
    }
    
    .weather-info {
        grid-column: 1 / -1;
    }
}

/* Enhanced Pricing Display */
.text-success {
    color: #28a745 !important;
    font-weight: 600;
}

/* Flight Results Container */
.card-container {
    padding: 2rem 0;
}

.card-container .container {
    max-width: 800px;
}

/* Book Button Enhancement */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Badge Enhancements */
.badge {
    font-size: 0.75em;
    padding: 0.4em 0.6em;
    border-radius: 6px;
}

.badge.bg-primary {
    background: var(--primary-gradient) !important;
}

/* Loading Animation for Results */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reviews Section Styling */
.reviews-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    border-radius: 20px;
    margin: 0 20px;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 3px;
    color: #2d3748;
}

.reviewer-location {
    font-size: 13px;
    color: #718096;
    margin-bottom: 5px;
}

.review-stars {
    font-size: 12px;
}

.review-date {
    font-size: 12px;
    color: #a0aec0;
    white-space: nowrap;
}

.review-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 15px;
    font-style: italic;
}

.review-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.review-tags .tag {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.rating-stars {
    font-size: 18px;
}

.rating-stars .fas {
    margin-right: 2px;
}

.text-blue {
    color: #0b0057 !important;
}

/* Responsive design for reviews */
@media (max-width: 768px) {
    .reviews-section {
        margin: 0 10px;
        padding: 40px 0;
    }
    
    .review-card {
        margin-bottom: 20px;
    }
    
    .reviewer-info {
        gap: 10px;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Call to action button in reviews */
.reviews-section .btn-primary {
    background: white !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.reviews-section .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.reviews-section .btn-primary:focus {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.card {
    animation: fadeInUp 0.5s ease-out;
}

.tooltip-inner {
    background-color: var(--accent);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow);
}

.card-container {
    margin-top: 2rem;
}

.card-deck {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

/* Date Range Picker Styles */
.daterangepicker {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-family: 'Rubik', sans-serif;
}

.daterangepicker .calendar-table {
    background-color: #fff;
}

.daterangepicker td.active, 
.daterangepicker td.active:hover {
    background-color: var(--accent);
    color: var(--text-dark);
}

.daterangepicker .drp-buttons .btn {
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
}

/* Clear button styles */
.clear-button {
    background: #0b0057;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    cursor: pointer;
    width: 100%;
}

.clear-button:hover {
    background: #c82333;
}

@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .container {
        padding: 10px;
    }

    .carde {
        padding: 1rem;
    }

    .card-deck {
        grid-template-columns: 1fr;
    }
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 3px solid var(--background);
}

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

.select-search-wrapper {
    position: relative;
    width: 100%;
}

.airport-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

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

.airport-option {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.airport-option:hover {
    background-color: #f8f9fa;
}

.airport-option strong {
    color: var(--primary-color);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .airport-options {
        max-height: 150px;
    }

    .airport-option {
        padding: 12px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .airport-search {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 12px;
    }
}

/* Pricing section */
.pricing-section {
    padding: 3rem 0;
}

.pricing-card {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

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

.pro-card {
    transform: scale(1.05);
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* Value proposition */
.value-hero {
    background: linear-gradient(135deg, rgba(11, 0, 87, 0.05) 0%, rgba(2, 0, 124, 0.05) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-box {
    padding: 1.5rem 1rem;
    text-align: center;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0.5rem;
    transition: transform 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-2px);
}

.feature-box i {
    font-size: 1.5rem;
    display: block;
}

/* Enhanced upsell card */
.upsell-card {
    border-left: 4px solid var(--primary);
    background: rgba(11, 0, 87, 0.02);
}

/* Pricing enhancements */
.price-wrap {
    margin: 1rem 0;
}

.pro-card {
    border: 2px solid var(--primary);
}

/* Mobile responsiveness for new elements */
@media (max-width: 768px) {
    .value-hero h2 {
        font-size: 1.8rem;
    }
    
    .stat-box {
        margin-bottom: 1rem;
    }
    
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    /* Fix navigation buttons overlapping on mobile */
    .nav-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        min-width: auto;
        white-space: nowrap;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .top-nav {
        padding: 0.5rem 0;
    }
    
    /* Stack navigation vertically on very small screens */
    @media (max-width: 480px) {
        .col-6:last-child {
            display: flex;
            justify-content: flex-end;
        }
        
        .nav-actions {
            gap: 0.25rem;
        }
        
        .nav-btn {
            padding: 0.4rem 0.8rem;
            font-size: 0.8rem;
        }
        
        .brand-text {
            font-size: 1rem;
        }
    }
    
    /* Mobile auth modal optimization */
    .auth-modal-modern {
        max-width: 90%;
        margin: 1rem;
    }
    
    .auth-modal-body {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
    
    .auth-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
    }
    
    .auth-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .auth-title {
        font-size: 1.3rem;
    }
    
    .auth-input {
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
        font-size: 1rem;
    }
    
    .form-floating > label {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }
}

/* Modern Auth Modal */
.auth-modal-modern {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto;
}

.auth-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    color: #666 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    opacity: 1 !important;
}

.auth-close i {
    color: #666 !important;
    font-size: 14px !important;
}

.auth-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333 !important;
}

.auth-close:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.auth-modal-body {
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.auth-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #4c6fff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(11, 0, 87, 0.3);
}

.auth-icon i {
    font-size: 1.5rem;
    color: white;
}

.auth-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.auth-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(11, 0, 87, 0.1);
    background: white;
}

.form-floating > label {
    padding-left: 3rem;
    color: #6c757d;
    font-weight: 500;
}

.form-floating > .auth-input:focus ~ label,
.form-floating > .auth-input:not(:placeholder-shown) ~ label {
    color: var(--primary);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.auth-help-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.auth-submit {
    background: linear-gradient(135deg, var(--primary) 0%, #4c6fff 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(11, 0, 87, 0.3);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-error {
    border-radius: 10px;
    border: none;
    background: #fee;
    color: #0b0057;
    font-size: 0.9rem;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}

.auth-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.auth-divider span {
    background: #f8f9ff;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.auth-switch-btn {
    color: var(--primary) !important;
    text-decoration: none !important;
    font-weight: 600;
}

.auth-switch-btn:hover {
    color: #4c6fff !important;
    text-decoration: underline !important;
}

.auth-benefits {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
    margin-top: 2rem !important;
}

.auth-benefits i {
    font-size: 1.2rem;
    display: block;
}

/* Enhanced User Menu Styles */
.user-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-right: 1rem;
}

.user-info-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-email {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.user-plan-badge {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-plan-badge #user-plan {
    color: var(--primary);
}

.user-stats {
    margin-top: 0.25rem;
}

.user-stats small {
    font-size: 0.7rem;
}

/* Enhanced Navigation Buttons */
.nav-btn-pro {
    background: linear-gradient(135deg, #0b0057 0%, #4c6fff 100%) !important;
    color: white !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.nav-btn-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 0, 87, 0.4);
}

.upgrade-text {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1;
}

.upgrade-price {
    font-size: 0.7rem;
    opacity: 0.9;
    line-height: 1;
    margin-top: 0.1rem;
}

.nav-btn-notifications {
    position: relative;
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px !important;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.nav-btn-menu {
    background: transparent !important;
    border: 2px solid #e9ecef !important;
    color: var(--text-dark) !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
    font-size: 1.1rem;
}

.nav-btn-menu:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* Enhanced Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--primary);
    color: white;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
}

/* Pro User Styles */
.user-plan-badge.pro {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
}

/* Clean Navbar */
.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-left: auto;
}

.user-name-short {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-btn-menu {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid #e9ecef;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-btn-menu:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Dropdown User Info */
.user-info-dropdown {
    padding: 0.5rem 0;
    min-width: 200px;
}

.user-email-full {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.user-plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-badge {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.plan-badge.pro {
    color: #ffc107;
}

.searches-info {
    font-size: 0.7rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-actions {
        gap: 0.5rem !important;
    }
    
                .user-name-short {
                font-size: 0.75rem;
                max-width: 80px;
            }
    
    .upgrade-text {
        display: none;
    }
    
    .nav-btn-pro {
        padding: 0.4rem 0.6rem !important;
        min-width: auto;
    }
    
    .nav-btn-menu {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem;
    }
    
            .dropdown-menu {
            min-width: 250px;
            font-size: 0.9rem;
            right: 0 !important;
            left: auto !important;
            transform: translateX(0) !important;
            position: absolute !important;
        }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
    }
    
    .user-info-dropdown {
        min-width: 220px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .nav-actions {
        gap: 0.3rem !important;
    }
    
    .user-email {
        font-size: 0.75rem;
        max-width: 100px;
    }
    
    .user-plan-badge {
        font-size: 0.65rem;
    }
    
    .nav-btn-pro {
        padding: 0.3rem 0.5rem !important;
        min-width: 50px;
    }
    
    .upgrade-price {
        font-size: 0.7rem;
    }
    
    .nav-btn-menu {
        padding: 0.3rem !important;
        font-size: 0.9rem;
    }
    
    .nav-btn-notifications {
        padding: 0.3rem 0.5rem !important;
    }
    
    .notification-count {
        font-size: 0.65rem;
        padding: 0.05rem 0.3rem;
        min-width: 16px;
    }
    
    /* Ensure navbar doesn't overflow */
    .top-nav .container-fluid {
        padding: 0 10px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
}

/* Pulse animation for upgrade button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* Feature items */
.feature-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

/* Pricing cards */
.pricing-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card:hover .border {
    border-color: #f1c933 !important;
    background: rgba(11, 0, 87, 0.05) !important;
}

/* Advanced Options Styling */
#advanced-toggle {
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

#advanced-toggle:hover {
    color: var(--secondary);
    transform: translateY(-1px);
}

#advanced-toggle-icon {
    transition: transform 0.3s ease;
}

#advanced-toggle.expanded #advanced-toggle-icon {
    transform: rotate(180deg);
}

.advanced-options-container {
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(11, 0, 87, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

.advanced-options-container::before {
    content: "Advanced Options";
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--card-bg);
    padding: 0 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clean layout improvements */
.input-container {
    margin-bottom: 0.5rem;
}

/* Responsive improvements for cleaner mobile layout */
@media (max-width: 768px) {
    .advanced-options-container {
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .advanced-options-container::before {
        font-size: 0.7rem;
        left: 15px;
    }
}

/* Dashboard Styles */
.dashboard-sidebar {
    position: sticky;
    top: 90px;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.stats-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.stats-card:hover {
    transform: translateY(-2px);
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stats-title {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.stats-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0b0057;
    margin: 0;
}

.activity-item {
    transition: background-color 0.2s;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insight-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

/* Pro badge styling */
.pro-only-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pro-only-badge:hover {
    background-color: #f1c933 !important;
    color: #0b0057 !important;
}

/* Dashboard responsive */
@media (max-width: 768px) {
    .dashboard-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .card-body .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-body .d-flex.gap-2 {
        align-self: flex-end;
    }
    
    /* Mobile dashboard layout */
    .container-fluid.mt-5.pt-4 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .dashboard-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stats-number {
        font-size: 1.5rem !important;
    }
    
    .stats-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
    
    /* Modal improvements on mobile */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 10px;
    }
    
    /* Chart responsive */
    #price-chart {
        height: 250px !important;
    }
    
    /* Dropdown fixes */
    .dropdown-menu {
        min-width: 280px;
        left: auto !important;
        right: 0 !important;
        transform: none !important;
    }
    
    /* Button improvements */
    .btn-group-vertical .btn {
        margin-bottom: 0.5rem;
    }
}

/* Navbar mobile fixes */
@media (max-width: 768px) {
    .nav-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .authed-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-btn {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }
    
    .user-name-short {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Navbar text color fixes */
.navbar-nav .nav-link {
    color: white !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important;
}

.dropdown-menu .dropdown-item {
    color: #333 !important;
}

.dropdown-menu .dropdown-item:hover {
    color: #333 !important;
}

.dropdown-menu .dropdown-header {
    color: #666 !important;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0b0057 0%, #4c6fff 100%);
    color: white;
    margin-top: 4rem;
}

.footer-title {
    color: #f1c933;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f1c933;
    text-decoration: none;
}

/* Social links styles removed - no social media accounts */

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem 0;
}

.footer-copyright,
.footer-made-with {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0b0057 0%, #4c6fff 100%);
    color: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1060;
    display: none;
    border-top: 3px solid #f1c933;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h6 {
    color: #f1c933;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-category {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    background: #f8f9fa;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        margin-top: 2rem;
    }
    
    .footer-text {
        margin-bottom: 1rem;
    }
    
    /* Social links removed */
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-actions .btn {
        flex: 1;
        max-width: 150px;
    }
}

/* Footer responsive improvements */
@media (max-width: 576px) {
    .footer .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    .footer-heading {
        font-size: 0.9rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

/* Flight Results Mobile Fixes */
@media (max-width: 768px) {
    #flight-results {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    #flight-results .col-md-4,
    #flight-results .col-lg-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .flight-card {
        margin: 0 0 1rem 0;
        width: 100%;
        max-width: none;
    }
    
    .flight-card .card-body {
        padding: 1rem;
    }
    
    .flight-card .row {
        margin: 0;
    }
    
    .flight-card .col-6 {
        padding: 0.5rem;
    }
    
    .flight-card .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    #flight-results {
        padding: 0 0.5rem;
    }
    
    .flight-card {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .flight-card .card-title {
        font-size: 1rem;
    }
    
    .flight-card .price {
        font-size: 1.25rem;
    }
}