/* Import Google Fonts - Roboto & Figtree */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap');

/* Base styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #F19873 !important;
    color: #212529;
}

/* ========================================
   ICON SYSTEM - BOOTSTRAP ICONS ONLY
   ======================================== */

/* Icon Size Variants */
.icon-sm { font-size: 0.875rem; }
.icon-md { font-size: 1rem; }
.icon-lg { font-size: 1.25rem; }
.icon-xl { font-size: 1.5rem; }
.icon-2xl { font-size: 2rem; }
.icon-3xl { font-size: 3rem; }

/* Icon Color Variants */
.icon-primary { color: #7E3AD7 !important; }
.icon-secondary { color: #6c757d !important; }
.icon-success { color: #198754 !important; }
.icon-danger { color: #dc3545 !important; }
.icon-warning { color: #ffc107 !important; }
.icon-info { color: #0dcaf0 !important; }
.icon-light { color: #f8f9fa !important; }
.icon-dark { color: #212529 !important; }

/* Icon Hover Effects */
.icon-hover:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* ========================================
   DASHBOARD STYLES - CENTRALIZED
   ======================================== */

/* Modern Design System Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --info-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --text-light: rgba(255, 255, 255, 0.9);
}

/* Hero Section - Modern Gradient Design */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 1rem !important;
    position: relative;
    overflow: hidden;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-location {
    font-size: 1.25rem;
    opacity: 0.9;
}

.hero-badges .badge {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-badges .badge:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Glass Morphism Cards */
.stat-card-glass {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-soft) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 1rem !important;
}

.stat-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.stat-card-glass:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    transition: all 0.3s ease;
}

.stat-card-glass:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Trip Status Glass Card */
.trip-status-card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.trip-status-card-glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.status-badge-glass {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Highlight & Selling Point Cards */
.highlight-card, .selling-point-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.highlight-card:hover, .selling-point-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon, .selling-point-icon {
    transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--warning-gradient) !important;
}

.selling-point-card:hover .selling-point-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--success-gradient) !important;
}

/* Ensure equal height for selling point cards */
.selling-points .row {
    display: flex;
    flex-wrap: wrap;
}

.selling-points .col-md-4 {
    display: flex;
    flex-direction: column;
}

.selling-point-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.selling-point-content h6 {
    flex: 1;
    margin-bottom: 0.5rem;
}

/* Section Styling */
.section-subtitle {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

/* Metadata Styling */
.metadata-item {
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    border-radius: 0.5rem;
}

.metadata-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.metadata-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metadata-value {
    color: var(--text-light);
}

/* Legacy Card Styling for Compatibility */
.stat-card {
    transition: transform 0.2s ease;
}

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

.activity-card, .accommodation-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-card:hover, .accommodation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.sidebar-card {
    transition: box-shadow 0.2s ease;
}

.sidebar-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.section-title {
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.highlight-item, .selling-point-item {
    padding: 0.5rem 0;
}

.meta-row {
    border-bottom: 1px solid #f1f5f9;
    padding: 0.25rem 0;
}

.meta-row:last-child {
    border-bottom: none;
}

.insider-tip {
    border-left: 3px solid #f59e0b;
}

.alternative-option {
    border-left: 3px solid #6b7280;
    padding-left: 0.75rem;
}

/* Timeline Styling */
.timeline-item {
    position: relative !important;
    padding-left: 2rem !important;
    margin-bottom: 2rem !important;
    border-left: 2px solid #e2e8f0 !important;
    padding-left: 2rem !important;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 2 !important;
}

.activity-time-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.activity-time-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.morning {
    border-left: 4px solid #f59e0b;
}

.afternoon {
    border-left: 4px solid #3b82f6;
}

.evening {
    border-left: 4px solid #8b5cf6;
}

.food-item, .photo-item {
    transition: transform 0.2s ease;
}

.food-item:hover, .photo-item:hover {
    transform: translateY(-1px);
}

.photo-moment-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-moment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.photo-icon {
    transition: transform 0.2s ease;
}

.photo-moment-card:hover .photo-icon {
    transform: scale(1.1);
}

/* Enhanced Weather Styling */
.weather-visual {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 0.5rem;
    padding: 1rem;
}

.weather-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.condition-badge {
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.condition-badge:hover {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1;
}

/* Enhanced Budget Visualization */
.budget-visualization {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 0.5rem;
    padding: 1rem;
}

.budget-bar {
    transition: transform 0.2s ease;
}

.budget-bar:hover {
    transform: translateX(2px);
}

.progress {
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
}

.insight-item {
    border-left: 3px solid #3b82f6;
    transition: all 0.2s ease;
}

.insight-item:hover {
    background-color: #f1f5f9 !important;
    transform: translateX(2px);
}

/* Mobile Timeline Styling */
.mobile-timeline {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.mobile-timeline::-webkit-scrollbar {
    height: 6px;
}

.mobile-timeline::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.mobile-timeline::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.mobile-timeline::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.timeline-day-card {
    transition: transform 0.2s ease;
}

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

.activity-mobile {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

.activity-mobile:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Consolidated Safety Information Styling */
.safety-guidelines-container {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.safety-tip-item:last-child {
    margin-bottom: 0 !important;
}

.safety-tip-item {
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.safety-tip-item:hover {
    transform: translateX(2px);
    background-color: rgba(59, 130, 246, 0.05);
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin: 0 -0.5rem;
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
    .sidebar {
        position: static !important;
        max-height: none !important;
        margin-top: 2rem;
    }
    
    .hero-gradient .row {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-location {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .hero-badges .badge {
        margin-bottom: 0.5rem;
    }
    
    .key-stats-grid .row {
        margin: 0 -0.5rem;
    }
    
    .key-stats-grid .col-md-3 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-card-glass {
        padding: 1.5rem 1rem;
    }
    
    .stat-icon i {
        font-size: 1.5rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .highlight-card, .selling-point-card {
        margin-bottom: 1rem;
    }
    
    .trip-status-card-glass {
        margin-top: 2rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .timeline-item {
        padding-left: 1rem;
    }
    
    .timeline-marker {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem;
    }
    
    .activity-time-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-location {
        font-size: 1rem;
    }
    
    .hero-badges .badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .stat-card-glass {
        padding: 1rem 0.75rem;
    }
    
    .stat-icon i {
        font-size: 1.25rem !important;
    }
    
    .stat-number {
        font-size: 1.25rem !important;
    }
    
    .highlight-card, .selling-point-card {
        padding: 1rem;
    }
    
    .highlight-icon, .selling-point-icon {
        width: 35px !important;
        height: 35px !important;
        padding: 0.5rem !important;
    }
}

/* ========================================
   UTILITY CLASSES - CENTRALIZED STYLES
   ======================================== */

/* Brand Colors */
.text-brand-purple {
    color: #7E3AD7 !important;
}

.bg-brand-purple {
    background-color: #7E3AD7 !important;
}

.border-brand-purple {
    border-color: #7E3AD7 !important;
}

.text-brand-orange {
    color: #F19873 !important;
}

.bg-brand-orange {
    background-color: #F19873 !important;
}

/* Purple Button Styles */
.btn-brand-purple {
    background-color: #7E3AD7 !important;
    border-color: #7E3AD7 !important;
    color: white !important;
}

.btn-brand-purple:hover,
.btn-brand-purple:focus {
    background-color: #6B2FC7 !important;
    border-color: #6B2FC7 !important;
    color: white !important;
}

.btn-outline-brand-purple {
    border-color: #7E3AD7 !important;
    color: #7E3AD7 !important;
    background-color: transparent !important;
}

.btn-outline-brand-purple:hover,
.btn-outline-brand-purple:focus {
    background-color: #7E3AD7 !important;
    border-color: #7E3AD7 !important;
    color: white !important;
}

/* Legacy size aliases for backwards compatibility */
.icon-xs {
    font-size: 0.75rem !important;
}

.icon-xxl {
    font-size: 2.5rem !important;
}

.icon-xxxl {
    font-size: 4rem !important;
}

/* Width & Height Utilities */
.w-40 {
    width: 40px !important;
}

.h-40 {
    height: 40px !important;
}

.w-50 {
    width: 50px !important;
}

.h-50 {
    height: 50px !important;
}

.w-60 {
    width: 60px !important;
}

.h-60 {
    height: 60px !important;
}

.w-120 {
    width: 120px !important;
}

.w-280 {
    width: 280px !important;
}

/* Progress Bar Heights */
.progress-sm {
    height: 8px !important;
}

/* Sticky Position Utilities */
.sticky-top-1 {
    position: sticky !important;
    top: 1rem !important;
}

.max-h-calc-viewport {
    max-height: calc(100vh - 2rem) !important;
}

/* Overflow Utilities */
.overflow-y-auto-thin {
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #dee2e6 #f8f9fa !important;
}

.overflow-x-auto-thin {
    overflow-x: auto !important;
    scrollbar-width: thin !important;
}

/* Flex Shrink */
.flex-shrink-0 {
    flex-shrink: 0 !important;
}

/* Z-index Utilities */
.z-1 {
    z-index: 1 !important;
}

.z-2 {
    z-index: 2 !important;
}

.z-5 {
    z-index: 5 !important;
}

.z-10 {
    z-index: 10 !important;
}

.z-100 {
    z-index: 100 !important;
}

/* Email Styles (for inline email templates) */
.email-footer-text {
    text-align: center;
    color: #666666;
    font-size: 14px;
    margin-top: 20px;
}

.email-button-purple {
    background: #7E3AD7;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

/* Timeline and Card Sizing */
.timeline-day-card {
    width: 280px;
}

/* Gradient Overlays */
.overlay-gradient-dark {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

/* Hero Section Minimum Heights */
.min-h-600 {
    min-height: 600px !important;
}

.min-h-320 {
    min-height: 320px !important;
}

/* Landing page specific styles - using Figtree font */
.landing-page {
    font-family: 'Figtree', sans-serif;
    background-color: #ffffff !important;
}

/* Viral Referral Component Styles */
.referral-viral-card {
    /* Full width - removed max-width constraint */
    width: 100%;
}

.referral-viral-card .btn-lg {
    min-height: 60px;
    font-size: 1.1rem;
    font-weight: 600;
}

.referral-viral-card .form-control-lg {
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

/* Platform-specific button styles */
.referral-viral-card .btn-lg {
    min-height: 60px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.referral-viral-card .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.referral-viral-card .btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
}

/* X Button Styling - Official X Branding */
.referral-viral-card .btn[style*="background-color: #000000"] {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
    font-weight: 600;
}

.referral-viral-card .btn[style*="background-color: #000000"]:hover {
    background-color: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
    .referral-viral-card {
        width: 100%;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .referral-viral-card .btn-lg {
        min-height: 56px;
        font-size: 0.9rem;
    }
    
    .referral-viral-card h2 {
        font-size: 1.5rem;
    }
    
    .referral-viral-card .lead {
        font-size: 1rem;
    }
    
    /* Mobile button optimization for 3-column layout */
    .referral-viral-card .row.g-2 {
        margin: 0 -2px;
    }
    
    .referral-viral-card .row.g-2 > div {
        padding: 0 2px;
    }
    
    /* Smaller text on mobile for 3 buttons */
    .referral-viral-card .btn-lg i {
        font-size: 0.8rem;
    }
    
    /* Mobile Buy Tokens button positioning */
    .referral-viral-card .position-absolute {
        top: 0.75rem !important;
        right: 0.75rem !important;
    }
    
    .referral-viral-card .position-absolute .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Famba Purple Brand Color */
.text-famba-purple {
    color: #7E3AD7 !important;
}

/* Referral Headline Styling */
.referral-viral-card h2 {
    color: #7E3AD7 !important;
}

/* Buy Tokens Button Styling - Top Right Corner */
.referral-viral-card .position-absolute .btn {
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.referral-viral-card .position-absolute .btn:hover {
    background-color: #6B2FC7 !important;
    border-color: #6B2FC7 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(126, 58, 215, 0.3);
}

/* Custom utility classes */
.bg-surface {
    background-color: #f8f9fa !important;
}

.text-on-surface {
    color: #212529 !important;
}

.text-on-primary {
    color: #ffffff !important;
}

.text-on-secondary {
    color: #ffffff !important;
}

/* Navigation bar styling - modularized */
.navbar-default {
    background-color: #ffffff !important; /* Default navbar color is white */
}

/* App specific navbar - white background */
.navbar-white-bg {
    background-color: #ffffff !important;
}

/* Landing page specific navbar styling */
.bg-famba { 
    background-color: #f97316 !important; 
}

/* Elevation utilities */
.elevation-1 {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important;
}

.elevation-2 {
    box-shadow: 0 1px 5px rgba(0,0,0,0.2) !important;
}

/* Unified gradient styling - Single source of truth */
.btn-gradient-primary,
.budget-badge,
input[type=range]::-webkit-slider-thumb,
input[type=range]::-moz-range-thumb {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    color: #fff !important;
}

/* Button specific styling */
.btn-gradient-primary {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 6px rgba(126, 58, 215, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-gradient-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(126, 58, 215, 0.5) !important;
}

/* Sign up button styling */
.navbar .btn-outline-dark {
    background-color: white !important;
    border: 1px solid #343a40 !important;
    color: #212529 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.navbar .btn-outline-dark:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.btn-gradient-secondary {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a0072 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important;
    transition: all 0.3s ease !important;
}

.btn-gradient-secondary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2) !important;
}

/* Budget badge specific styling */
.budget-badge {
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.25rem !important;
    font-weight: 600 !important;
    border: none !important;
}

/* Slider styling */
input[type=range] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    height: 4px !important;
    background: #eee !important;
    border-radius: 2px !important;
}

/* WebKit slider thumb */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: none !important;
    margin-top: -8px !important; /* center on track */
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
}

/* Firefox slider thumb */
input[type=range]::-moz-range-thumb {
    width: 20px !important;
    height: 20px !important;
    border: none !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
}

/* Custom form styles */
.form-control:focus {
    border-color: #ff6600 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25) !important;
}

.form-check-input:checked {
    background-color: #ff6600 !important;
    border-color: #ff6600 !important;
}

/* Progress bar styles */
.progress {
    height: 4px !important;
    background-color: #f8f9fa !important;
}

.progress-bar {
    background: linear-gradient(135deg, #ff6600 0%, #e65100 100%) !important;
    transition: width 0.3s ease !important;
}

/* Error styles */
.text-error {
    color: #e53935 !important;
}

.border-error {
    border-color: #e53935 !important;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    h1 { font-size: 1.875rem !important; }
    h2 { font-size: 1.625rem !important; }
    h3 { font-size: 1.375rem !important; }
}

/* Custom spacing utilities */
.spx-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.smy-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/* Carousel title styles - Fixed */
#titleCarousel {
    height: 3rem !important;
    overflow: hidden !important;
}

#titleCarousel .carousel-inner {
    height: 100% !important;
}

#titleCarousel .carousel-item {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    transition: opacity 0.6s ease-in-out !important;
}

#titleCarousel .carousel-item.active {
    opacity: 1 !important;
    position: relative !important;
}

#titleCarousel .carousel-item h2 {
    margin: 0 !important;
    text-align: center !important;
    width: 100% !important;
} 

/* Custom styles for Famba Travel App */

/* Gradient system */
.btn-gradient-primary {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%);
    border: none;
    color: white;
}

.btn-gradient-secondary {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a0072 100%);
    border: none;
    color: white;
}

/* Budget badge gradient */
.budget-badge {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%);
    color: white;
    border: none;
}

/* Slider thumb gradient */
.range-slider::-webkit-slider-thumb {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%);
}

.range-slider::-moz-range-thumb {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%);
}

/* Warm background color */
.bg-warm {
    background-color: #F19873 !important;
}

/* Card elevation */
.elevation-1 {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.elevation-2 {
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* Dashboard specific styles */
.action-buttons {
    transition: opacity 0.2s ease;
    opacity: 0;
}

tr:hover .action-buttons,
.card:hover .action-buttons {
    opacity: 1;
}

/* Outline badges */
.badge.bg-outline-success {
    color: #198754;
    background-color: transparent;
    border: 1px solid #198754;
}

.badge.bg-outline-warning {
    color: #ffc107;
    background-color: transparent;
    border: 1px solid #ffc107;
}

.badge.bg-outline-danger {
    color: #dc3545;
    background-color: transparent;
    border: 1px solid #dc3545;
}

.badge.bg-outline-secondary {
    color: #6c757d;
    background-color: transparent;
    border: 1px solid #6c757d;
}

.badge.bg-outline-primary {
    color: #0d6efd;
    background-color: transparent;
    border: 1px solid #0d6efd;
}

.badge.bg-outline-info {
    color: #0dcaf0;
    background-color: transparent;
    border: 1px solid #0dcaf0;
}

.badge.bg-outline-light {
    color: #6c757d;
    background-color: transparent;
    border: 1px solid #dee2e6;
}

/* Table hover effects */
.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Borderless table styling */
.table-borderless {
    border: none;
}

.table-borderless th,
.table-borderless td {
    border: none;
}

/* Compact spacing */
.small .card {
    font-size: 0.875rem;
}

/* Icon button styling */
.btn-link {
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: none;
}

/* Offcanvas styling */
.offcanvas {
    border-right: 1px solid #dee2e6;
}

/* Summary cards */
.summary-card {
    background-color: #f8f9fa;
    border: none;
    transition: transform 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-1px);
}

.summary-card-gradient {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
    color: white !important;
    border: none !important;
}

/* Pagination styling with purple gradient */
.pagination .page-link {
    color: #7E3AD7;
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: #7D39D5;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%);
    border-color: #7E3AD7;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

/* List group mobile horizontal scroll */
@media (max-width: 768px) {
    .list-group-container .list-group {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .list-group-container .list-group::-webkit-scrollbar {
        display: none;
    }
    
    .list-group-container .list-group-item {
        flex: 0 0 auto;
        width: 280px;
        margin-right: 1rem;
    }
}

/* Responsive text sizing */
@media (max-width: 576px) {
    .h1 { font-size: 1.75rem; }
    .h2 { font-size: 1.5rem; }
    .h3 { font-size: 1.25rem; }
    .h4 { font-size: 1.125rem; }
    .h5 { font-size: 1rem; }
    .h6 { font-size: 0.875rem; }
} 

/* Landing Page CSS - Implemented according to design guide */
.bg-famba { 
    background-color: #f97316 !important; 
}

/* Landing page navbar - ensure toggler button is always clickable */
.landing-page .navbar {
    z-index: 1030;
    position: relative;
}

.landing-page .navbar .container-fluid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.landing-page .navbar-toggler {
    z-index: 1033 !important;
    position: relative !important;
    border-color: rgba(255, 255, 255, 0.5);
    pointer-events: auto !important;
    cursor: pointer !important;
    order: 2;
    isolation: isolate;
}

.landing-page .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
    outline: none;
}

.landing-page .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    pointer-events: none;
}

.landing-page .navbar-brand {
    order: 1;
    z-index: 1031;
    position: relative;
}

.landing-page .navbar-collapse {
    z-index: 1029;
    pointer-events: auto;
    order: 3;
    flex-basis: 100%;
    position: relative;
}

@media (max-width: 991.98px) {
    .landing-page .navbar-collapse {
        margin-top: 0;
        width: 100%;
        position: relative;
        clear: both;
    }
    
    .landing-page .navbar-toggler {
        z-index: 1033 !important;
        position: relative !important;
    }
    
    /* Ensure collapse appears below button, never covering it */
    .landing-page .navbar-collapse.show,
    .landing-page .navbar-collapse.collapsing {
        position: relative;
        margin-top: 0;
        z-index: 1029;
        clear: both;
    }
    
    /* Ensure button stays in its own row, above collapse */
    .landing-page .navbar .container-fluid {
        position: relative;
        display: flex;
        flex-wrap: wrap;
    }
    
    .landing-page .navbar-toggler {
        position: relative !important;
        z-index: 1033 !important;
        order: 2;
    }
    
    .landing-page .navbar-brand {
        order: 1;
    }
    
    .landing-page .navbar-collapse {
        order: 3;
        flex-basis: 100%;
    }
}

.text-body { 
    color: #0f172a !important; 
}

.bg-body { 
    background-color: #ffffff !important; 
}

.text-accent { 
    color: #f97316 !important; 
}

.bg-accent { 
    background-color: #f97316 !important; 
}

.bg-accent-light { 
    background-color: rgba(249, 115, 22, 0.1) !important; 
}

.border-accent { 
    border-color: #f97316 !important; 
}

/* Hero section styling */
.hero-bg {
    background: url('https://images.unsplash.com/photo-1532274402911-5a369e4c4bb5') center/cover no-repeat;
}

.overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

#hero {
    padding-top: 80px; /* Account for fixed navbar */
    min-height: 600px;
}

#hero .container {
    position: relative;
    z-index: 5;
}

.z-2 {
    z-index: 2;
}

/* Feature card styling */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem !important;
    min-height: 320px; /* Increase minimum height */
    position: relative;
    top: 0;
}

.feature-card .fs-1 {
    font-size: 3rem !important;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem !important;
}

.feature-card .feature-title {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem !important;
    text-align: center;
}

.feature-card .feature-description {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Feature section styling */
#features {
    padding-top: 4rem;
    padding-bottom: 6rem !important; /* Increase bottom padding significantly */
}

#features .row {
    max-width: 1140px;
    margin: 0 auto;
}

#features .col {
    display: flex;
    margin-bottom: 2rem;
    align-items: stretch;
}

/* Ensure first row alignment */
@media (min-width: 992px) {
    #features .row .col:nth-child(1),
    #features .row .col:nth-child(2),
    #features .row .col:nth-child(3) {
        margin-bottom: 2.5rem;
    }
}

/* Process section styling */
#process {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: rgba(249, 115, 22, 0.08) !important; /* Slightly lighter accent color */
}


.step-number {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: white;
}

/* Testimonial section styling */
.testimonial-scroller {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonial-scroller::-webkit-scrollbar {
    height: 8px;
}

.testimonial-scroller::-webkit-scrollbar-thumb {
    background-color: rgba(249, 115, 22, 0.3);
    border-radius: 4px;
}

.testimonial-scroller::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0.05);
    border-radius: 4px;
}

.testimonial-scroller .card {
    scroll-snap-align: start;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-scroller .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

/* Page transitions */
#pageTransition {
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-transition-active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* CTA button styling */
#cta-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
} 

/* Hero CTA button styling */
.hero-cta {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
    font-weight: bold;
    padding: 12px 30px;
    box-shadow: 0 4px 12px rgba(126, 58, 215, 0.5) !important;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(126, 58, 215, 0.7) !important;
} 

/* Landing page buttons */
.btn-cta-primary {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
    color: white !important;
    font-weight: bold !important;
    position: relative;
    z-index: 100;
    border: none !important;
    box-shadow: 0 4px 12px rgba(126, 58, 215, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-cta-primary:hover,
.btn-cta-primary:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(126, 58, 215, 0.5) !important;
    color: white !important;
}

.btn-cta-container {
    position: relative;
    z-index: 100;
}

/* Waitlist-specific styles */
.waitlist-hero {
    background: linear-gradient(135deg, #F19873 0%, #f97316 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Waitlist Form Components */
.waitlist-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 1rem 0;
}

.waitlist-form-container.transparent {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.waitlist-form-container.floating {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Waitlist Input Styling */
.waitlist-input {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #333 !important;
}

.waitlist-input:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: #7E3AD7 !important;
    box-shadow: 0 0 0 0.2rem rgba(126, 58, 215, 0.25) !important;
    color: #333 !important;
}

.waitlist-input::placeholder {
    color: rgba(0, 0, 0, 0.6) !important;
}

/* Waitlist Button Styling */
.btn.waitlist-button,
button.waitlist-button,
input[type="submit"].waitlist-button {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 0.75rem 2rem !important;
    font-weight: 600 !important;
    color: white !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(126, 58, 215, 0.3) !important;
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}

.btn.waitlist-button:hover,
button.waitlist-button:hover,
input[type="submit"].waitlist-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(126, 58, 215, 0.4) !important;
    color: white !important;
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
}

.btn.waitlist-button:active,
button.waitlist-button:active,
input[type="submit"].waitlist-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(126, 58, 215, 0.3) !important;
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
}

.btn.waitlist-button:focus,
button.waitlist-button:focus,
input[type="submit"].waitlist-button:focus {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(126, 58, 215, 0.25) !important;
}

.waitlist-button.small {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.waitlist-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Referral Link Component */
.referral-link-container {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.referral-link-container:hover {
    border-color: #7E3AD7;
    background: #f0f0ff;
    transform: translateY(-2px);
}

.referral-link-input {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.referral-copy-button {
    background: #6c757d;
    border: none;
    border-radius: 8px;
    color: white;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.referral-copy-button:hover {
    background: #5a6268;
    color: white;
}

.referral-copy-button.copied {
    background: #28a745;
    color: white;
}

/* Early Access Badge */
.early-access-badge {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-block;
    margin: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(67, 160, 71, 0.3);
}

/* Referral Stats Cards */
.referral-stats-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.referral-stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.referral-stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #7E3AD7;
    margin-bottom: 0.5rem;
}

.referral-stats-label {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* Coming Soon Container */
.coming-soon-container {
    background: linear-gradient(135deg, rgba(126, 58, 215, 0.8), rgba(126, 58, 215, 0.6));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.coming-soon-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(126, 58, 215, 0.3);
}

/* Waitlist Text Styling */
.waitlist-text-shadow {
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.waitlist-text-muted {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .waitlist-form-container {
        padding: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .waitlist-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .referral-link-container {
        padding: 1rem;
    }
    
    .referral-stats-card {
        padding: 1rem;
    }
    
    .coming-soon-container {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

.referral-link {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.referral-link:hover {
    border-color: #7E3AD7;
    background: #f0f0ff;
}

.early-access-badge {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* ========================================
   DASHBOARD HANDOFF STYLES
   ======================================== */

/* First Trip Handoff Banner */
.handoff-banner {
    background: linear-gradient(135deg, #7E3AD7 0%, #F19873 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    animation: slideInDown 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.handoff-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.handoff-banner .btn-close {
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.handoff-banner .btn-close:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Referral Card Highlight Animation */
.referral-highlight {
    animation: subtle-pulse 2s ease-in-out 3;
    border: 2px solid #7E3AD7 !important;
    position: relative;
}

.referral-highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #7E3AD7, #F19873);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.1;
}

@keyframes subtle-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(126, 58, 215, 0);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px 5px rgba(126, 58, 215, 0.3);
        transform: scale(1.01);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ========================================
   MOOD BOOK RECOMMENDATION BADGE STYLES
   ======================================== */

/* Mood Book Badge Styling */
.book-badge {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: help;
}

.book-badge:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.book-badge i.bi-book-heart {
    color: #e74c3c;
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ========================================
   TRIP RICH DATA UI - MINIMAL CUSTOM CSS
   ======================================== */

/* Day Header Styling */
.day-header {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
    margin-bottom: 0;
}

/* Activity Time Badge */
.activity-time-badge {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* Restaurant Card */
.restaurant-card {
    border-left: 3px solid var(--bs-warning);
}

/* Distance Indicator (for future use) */
.distance-indicator {
    font-size: 0.75rem;
    color: var(--bs-secondary);
    font-weight: 500;
}

/* ========================================
   TRIP MAP SPLIT-SCREEN - MINIMAL CUSTOM CSS
   Uses Bootstrap 5 utilities + custom.css classes
   ======================================== */

/* Main Container - Only custom properties Bootstrap doesn't have */
.trip-detail-container {
    min-height: calc(100vh - 200px);
}

/* Content Panel - Only flex-specific properties */
.trip-content-panel {
    flex: 1 1 60%;
    min-width: 0; /* Critical for flex scrolling - Bootstrap doesn't have this */
    min-height: 0; /* Critical for flex scrolling - Bootstrap doesn't have this */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

/* Map Panel - Only flex-specific properties */
.trip-map-panel {
    flex: 1 1 40%;
    min-width: 0; /* Critical for flex scrolling */
    min-height: 0; /* Critical for flex scrolling */
}

/* Map Container */
#trip-map {
    min-height: 0; /* Critical for flex scrolling */
}

/* Resizable Handle - Custom component (Bootstrap doesn't have this) */
.trip-map-resize-handle {
    left: -4px;
    width: 8px;
    cursor: col-resize;
    background: transparent;
    transition: background 0.2s;
}

.trip-map-resize-handle:hover {
    background: rgba(126, 58, 215, 0.2); /* Brand purple from custom.css */
}

.trip-map-resize-handle:active {
    background: rgba(126, 58, 215, 0.4); /* Brand purple from custom.css */
}

/* Map Toggle FAB - Extends .btn-gradient-primary from custom.css */
.map-toggle-fab {
    box-shadow: 0 4px 12px rgba(126, 58, 215, 0.3); /* Brand purple shadow */
    transition: all 0.3s ease;
}

.map-toggle-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(126, 58, 215, 0.5); /* Brand purple shadow */
}

.map-toggle-fab:focus {
    outline: 3px solid rgba(126, 58, 215, 0.5); /* Brand purple focus */
    outline-offset: 2px;
}

/* Map Hidden State - Utility class */
.trip-map-panel.hidden {
    display: none;
}

.trip-content-panel.full-width {
    flex: 1 1 100%;
}

/* Marker Highlight Animation */
.marker-highlight {
    animation: markerPulse 2s ease-in-out;
}

@keyframes markerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mobile Map Sheet - Only custom properties Bootstrap can't handle */
.mobile-map-sheet {
    height: 50vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(calc(100% - 60px));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-map-sheet.visible {
    transform: translateY(0);
}

.mobile-map-sheet.expanded {
    height: 90vh;
    border-radius: 0;
}

.mobile-map-handle {
    width: 40px;
    height: 4px;
    background: var(--bs-border-color); /* Bootstrap variable */
    border-radius: 2px;
    cursor: grab;
}

.mobile-map-handle:active {
    cursor: grabbing;
}

.mobile-map-container {
    min-height: 0; /* Critical for flex scrolling */
}

/* Responsive - Use Bootstrap utilities in HTML instead */
/* Only keep media queries for properties Bootstrap can't handle */
@media (max-width: 992px) {
    .trip-detail-container {
        flex-direction: column; /* Could use .flex-lg-row in HTML */
    }
    
    .trip-content-panel {
        flex: 1 1 100%;
        min-height: 50vh;
    }
    
    .trip-map-panel {
        flex: 1 1 100%;
        min-height: 50vh;
        border-left: none;
        border-top: 1px solid var(--bs-border-color);
    }
    
    .trip-map-resize-handle {
        display: none;
    }
}

@media (max-width: 768px) {
    .map-toggle-fab {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ========================================
   ENHANCED SIMPLIFIED VIEW - HORIZONTAL SCROLL
   ======================================== */

/* Horizontal scroll container */
.horizontal-scroll-container {
    position: relative;
    margin: 1.5rem 0;
}

.scroll-hint {
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: none; /* Show on mobile only */
}

@media (max-width: 991.98px) {
    .scroll-hint {
        display: block;
    }
    
    .scroll-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .scroll-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    
    .scroll-wrapper::-webkit-scrollbar-thumb {
        background: #7E3AD7;
        border-radius: 3px;
    }
    
    .activity-card,
    .accommodation-card,
    .photo-moment-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
}

@media (min-width: 992px) {
    .scroll-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.scroll-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    transition: background 0.3s;
}

.scroll-indicator-dot.active {
    background: #7E3AD7;
}

/* ========================================
   STICKY BOTTOM BAR (MOBILE)
   ======================================== */

.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

@media (max-width: 991.98px) {
    .sticky-bottom-bar {
        display: flex;
        gap: 0.5rem;
    }
    
    .sticky-bottom-bar .btn {
        flex: 1;
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Add padding to body to prevent content overlap */
    body.has-sticky-bar {
        padding-bottom: 70px;
    }
}

/* ========================================
   TAB ENHANCEMENTS
   ======================================== */

/* Scrollable tabs on mobile */
@media (max-width: 991.98px) {
    .nav-tabs {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        touch-action: pan-x; /* Allow horizontal scroll only, prevent vertical dragging */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    .nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tabs .nav-link {
        white-space: nowrap;
        min-width: 120px;
        user-select: none; /* Prevent text selection during touch */
        -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    }
}

/* Smooth tab transitions */
.tab-content {
    min-height: 400px;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

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

/* ========================================
   ACCORDION ENHANCEMENTS
   ======================================== */

.accordion-button {
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(126, 58, 215, 0.1) 0%, rgba(126, 58, 215, 0.05) 100%);
    color: #7E3AD7;
}

.accordion-button::after {
    transition: transform 0.3s;
}

.accordion-collapse {
    transition: height 0.3s ease;
}

/* ========================================
   INFO CARDS FOR TABS
   ======================================== */

.info-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.score-badge {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ========================================
   ACTIVITY/ACCOMMODATION CARDS
   ======================================== */

.activity-card,
.accommodation-card,
.photo-moment-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.activity-card:hover,
.accommodation-card:hover,
.photo-moment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.activity-card h5,
.accommodation-card h5,
.photo-moment-card h5 {
    color: #212529;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.activity-card .text-muted,
.accommodation-card .text-muted,
.photo-moment-card .text-muted {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ========================================
   TRIP RICH DATA UI - MINIMAL CUSTOM CSS
   ======================================== */

/* Day Header Styling */
.day-header {
    border-left: 4px solid var(--bs-primary);
    padding-left: 1rem;
    margin-bottom: 0;
}

/* Activity Time Badge */
.activity-time-badge {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* Restaurant Card */
.restaurant-card {
    border-left: 3px solid var(--bs-warning);
}

/* Distance Indicator (for future use) */
.distance-indicator {
    font-size: 0.75rem;
    color: var(--bs-secondary);
    font-weight: 500;
}

/* ========================================
   TRIP MAP SPLIT-SCREEN - MINIMAL CUSTOM CSS
   Uses Bootstrap 5 utilities + custom.css classes
   ======================================== */

/* Main Container - Only custom properties Bootstrap doesn't have */
.trip-detail-container {
    min-height: calc(100vh - 200px);
}

/* Content Panel - Only flex-specific properties */
.trip-content-panel {
    flex: 1 1 60%;
    min-width: 0; /* Critical for flex scrolling - Bootstrap doesn't have this */
    min-height: 0; /* Critical for flex scrolling - Bootstrap doesn't have this */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

/* Map Panel - Only flex-specific properties */
.trip-map-panel {
    flex: 1 1 40%;
    min-width: 0; /* Critical for flex scrolling */
    min-height: 0; /* Critical for flex scrolling */
}

/* Map Container */
#trip-map {
    min-height: 0; /* Critical for flex scrolling */
}

/* Resizable Handle - Custom component (Bootstrap doesn't have this) */
.trip-map-resize-handle {
    left: -4px;
    width: 8px;
    cursor: col-resize;
    background: transparent;
    transition: background 0.2s;
}

.trip-map-resize-handle:hover {
    background: rgba(126, 58, 215, 0.2); /* Brand purple from custom.css */
}

.trip-map-resize-handle:active {
    background: rgba(126, 58, 215, 0.4); /* Brand purple from custom.css */
}

/* Map Toggle FAB - Extends .btn-gradient-primary from custom.css */
.map-toggle-fab {
    box-shadow: 0 4px 12px rgba(126, 58, 215, 0.3); /* Brand purple shadow */
    transition: all 0.3s ease;
}

.map-toggle-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(126, 58, 215, 0.5); /* Brand purple shadow */
}

.map-toggle-fab:focus {
    outline: 3px solid rgba(126, 58, 215, 0.5); /* Brand purple focus */
    outline-offset: 2px;
}

/* Map Hidden State - Utility class */
.trip-map-panel.hidden {
    display: none;
}

.trip-content-panel.full-width {
    flex: 1 1 100%;
}

/* Marker Highlight Animation */
.marker-highlight {
    animation: markerPulse 2s ease-in-out;
}

@keyframes markerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mobile Map Sheet - Only custom properties Bootstrap can't handle */
.mobile-map-sheet {
    height: 50vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(calc(100% - 60px));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-map-sheet.visible {
    transform: translateY(0);
}

.mobile-map-sheet.expanded {
    height: 90vh;
    border-radius: 0;
}

.mobile-map-handle {
    width: 40px;
    height: 4px;
    background: var(--bs-border-color); /* Bootstrap variable */
    border-radius: 2px;
    cursor: grab;
}

.mobile-map-handle:active {
    cursor: grabbing;
}

.mobile-map-container {
    min-height: 0; /* Critical for flex scrolling */
}

/* Responsive - Use Bootstrap utilities in HTML instead */
/* Only keep media queries for properties Bootstrap can't handle */
@media (max-width: 992px) {
    .trip-detail-container {
        flex-direction: column; /* Could use .flex-lg-row in HTML */
    }
    
    .trip-content-panel {
        flex: 1 1 100%;
        min-height: 50vh;
    }
    
    .trip-map-panel {
        flex: 1 1 100%;
        min-height: 50vh;
        border-left: none;
        border-top: 1px solid var(--bs-border-color);
    }
    
    .trip-map-resize-handle {
        display: none;
    }
}

@media (max-width: 768px) {
    .map-toggle-fab {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ========================================
   ENHANCED SIMPLIFIED VIEW - HORIZONTAL SCROLL
   ======================================== */

/* Horizontal scroll container */
.horizontal-scroll-container {
    position: relative;
    margin: 1.5rem 0;
}

.scroll-hint {
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: none; /* Show on mobile only */
}

@media (max-width: 991.98px) {
    .scroll-hint {
        display: block;
    }
    
    .scroll-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .scroll-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    
    .scroll-wrapper::-webkit-scrollbar-thumb {
        background: #7E3AD7;
        border-radius: 3px;
    }
    
    .activity-card,
    .accommodation-card,
    .photo-moment-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
}

@media (min-width: 992px) {
    .scroll-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.scroll-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    transition: background 0.3s;
}

.scroll-indicator-dot.active {
    background: #7E3AD7;
}

/* ========================================
   STICKY BOTTOM BAR (MOBILE)
   ======================================== */

.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

@media (max-width: 991.98px) {
    .sticky-bottom-bar {
        display: flex;
        gap: 0.5rem;
    }
    
    .sticky-bottom-bar .btn {
        flex: 1;
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Add padding to body to prevent content overlap */
    body.has-sticky-bar {
        padding-bottom: 70px;
    }
}

/* ========================================
   TAB ENHANCEMENTS
   ======================================== */

/* Scrollable tabs on mobile */
@media (max-width: 991.98px) {
    .nav-tabs {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        touch-action: pan-x; /* Allow horizontal scroll only, prevent vertical dragging */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    .nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tabs .nav-link {
        white-space: nowrap;
        min-width: 120px;
        user-select: none; /* Prevent text selection during touch */
        -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    }
}

/* Smooth tab transitions */
.tab-content {
    min-height: 400px;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

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

/* ========================================
   ACCORDION ENHANCEMENTS
   ======================================== */

.accordion-button {
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(126, 58, 215, 0.1) 0%, rgba(126, 58, 215, 0.05) 100%);
    color: #7E3AD7;
}

.accordion-button::after {
    transition: transform 0.3s;
}

.accordion-collapse {
    transition: height 0.3s ease;
}

/* ========================================
   INFO CARDS FOR TABS
   ======================================== */

.info-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.score-badge {
    background: linear-gradient(135deg, #7E3AD7 0%, #7D39D5 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ========================================
   ACTIVITY/ACCOMMODATION CARDS
   ======================================== */

.activity-card,
.accommodation-card,
.photo-moment-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.activity-card:hover,
.accommodation-card:hover,
.photo-moment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.activity-card h5,
.accommodation-card h5,
.photo-moment-card h5 {
    color: #212529;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.activity-card .text-muted,
.accommodation-card .text-muted,
.photo-moment-card .text-muted {
    font-size: 0.875rem;
    line-height: 1.6;
} 