* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            overflow: hidden;
            font-family: 'Montserrat', sans-serif;
            width: 100%;
            height: 100vh;
            height: 100dvh; /* Dynamic viewport height for mobile Safari */
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }
        
        #viewDiv {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 100%;
            height: 100dvh; /* Match body height for mobile Safari */
            background-color: #040714;
        }
        
        /* Force the 3D Map element to fill the container */
        gmp-map-3d {
            width: 100%;
            height: 100%;
            display: block;
        }
        
        #info {
            position: absolute;
            top: 20px;
            left: 20px;
            color: white;
            background: rgba(0, 0, 0, 0.8);
            padding: 15px;
            border-radius: 8px;
            font-size: 14px;
            z-index: 100;
            pointer-events: none;
        }
        
        #info h2 {
            margin-bottom: 10px;
            font-size: 18px;
        }
        
        #info ul {
            list-style: none;
            line-height: 1.8;
        }
        
        #cityName {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-family: 'Montserrat', sans-serif;
            font-size: 64px;
            font-weight: 900;
            color: #c084fc;
            text-shadow: 
                2px 2px 4px rgba(255, 255, 255, 0.3),
                4px 4px 8px rgba(255, 255, 255, 0.2),
                0 0 20px rgba(255, 255, 255, 0.1);
            z-index: 1000;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
            letter-spacing: 4px;
            text-align: center;
            text-transform: uppercase;
            max-width: 90%;
            word-wrap: break-word;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        @media (max-width: 768px) {
            #cityName {
                font-size: 36px;
                letter-spacing: 2px;
            }
        }
        
        @media (max-width: 480px) {
            #cityName {
                font-size: 28px;
                letter-spacing: 1px;
            }
        }
        
        #cityName.visible {
            opacity: 1;
        }
        
        /* Globe Advertisements */
        .globe-ads-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 500;
            overflow: hidden;
        }
        
        .globe-ad {
            position: absolute;
            width: 140px;
            height: 165px;
            background-color: #0f172a;
            background-size: cover;
            background-position: center;
            border: 1.5px solid rgba(139, 92, 246, 0.6);
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            pointer-events: auto;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: space-between;
            opacity: 0;
            transform: translateY(10px);
            overflow: hidden;
            position: relative;
        }
        
        .globe-ad::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.55) 100%);
            opacity: 1;
            transition: opacity 0.3s;
            pointer-events: none;
        }
        
        .globe-ad.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .globe-ad.hidden {
            opacity: 0;
            pointer-events: none;
        }
        
        .globe-ad:hover {
            transform: scale(1.08) translateY(-2px);
            box-shadow: 0 12px 32px rgba(139, 92, 246, 0.6);
            border-color: rgba(139, 92, 246, 0.9);
        }
        
        .globe-ad:hover::before {
            opacity: 1;
        }
        
        .globe-ad.pulse {
            animation: globe-ad-pulse 3s ease-in-out infinite;
        }
        
        @keyframes globe-ad-pulse {
            0%, 100% { 
                box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
            }
            50% { 
                box-shadow: 0 8px 28px rgba(139, 92, 246, 0.6);
            }
        }
        
        .globe-ad-header {
            position: absolute;
            bottom: 8px;
            right: 8px;
            z-index: 3;
            display: flex;
            align-items: center;
            gap: 4px;
            background: rgba(139, 92, 246, 0.95);
            padding: 4px 8px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        
        .globe-ad-icon {
            width: 14px;
            height: 14px;
            color: #ffffff;
            flex-shrink: 0;
        }
        
        .globe-ad-type {
            font-family: 'Montserrat', sans-serif;
            font-size: 9px;
            font-weight: 700;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .globe-ad-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-end;
            gap: 2px;
            padding: 10px 60px 10px 10px;
            z-index: 1;
            position: relative;
            text-align: left;
            width: 100%;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 12px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }
        
        .globe-ad-place {
            font-family: 'Montserrat', sans-serif;
            font-size: 13px;
            font-weight: 900;
            color: #ffffff;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
            letter-spacing: 0.8px;
            text-transform: uppercase;
            line-height: 1.2;
        }
        
        .globe-ad-country {
            font-size: 8px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            color: rgba(255, 255, 255, 0.85);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        }
        
        .globe-ad-price {
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            font-weight: 900;
            color: #10b981;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
            letter-spacing: 0.3px;
            margin-top: 2px;
        }
        
        .globe-ad-discount {
            display: inline-block;
            margin-left: 4px;
            padding: 2px 6px;
            background: rgba(239, 68, 68, 0.95);
            color: white;
            font-size: 9px;
            font-weight: 700;
            border-radius: 6px;
            letter-spacing: 0.3px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        
        
        @media (max-width: 768px) {
            .globe-ad {
                width: 120px;
                height: 140px;
            }
            
            .globe-ad-content {
                padding: 8px 50px 8px 8px;
            }
            
            .globe-ad-place {
                font-size: 12px;
            }
            
            .globe-ad-price {
                font-size: 12px;
            }
            
            .globe-ad-icon {
                width: 12px;
                height: 12px;
            }
            
            .globe-ad-type {
                font-size: 8px;
            }
            
            .globe-ad-header {
                bottom: 6px;
                right: 6px;
            }
        }
        
        /* Destination Carousel */
        .carousel-container {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 4000;
            padding-bottom: max(100px, calc(80px + env(safe-area-inset-bottom)));
            opacity: 0;
            transform: translateY(100%);
            transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }
        
        .carousel-container.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        
        .carousel-track {
            display: flex;
            gap: 16px;
            padding: 0 max(24px, env(safe-area-inset-left));
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none; /* Firefox */
        }
        
        .carousel-track::-webkit-scrollbar {
            display: none; /* Chrome, Safari */
        }
        
        .carousel-card {
            flex: 0 0 125px;
            min-width: 110px;
            max-width: 145px;
            height: 165px;
            background-color: #0f172a;
            background-size: cover;
            background-position: center;
            border: 2px solid rgba(139, 92, 246, 0.3);
            border-radius: 20px;
            display: flex;
            align-items: flex-end;
            justify-content: flex-start;
            cursor: pointer;
            scroll-snap-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }
        
        .carousel-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.45) 100%);
            opacity: 1;
            transition: opacity 0.3s;
        }
        
        .carousel-card:hover::before,
        .carousel-card.active::before {
            opacity: 1;
        }
        
        .carousel-card.active {
            border-color: #8b5cf6;
            box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
            transform: scale(1.08);
            animation: pulse-border 2s ease-in-out infinite;
            border-width: 3px;
        }
        
        @keyframes pulse-border {
            0%, 100% {
                box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5), 0 0 0 0 rgba(139, 92, 246, 0.4);
            }
            50% {
                box-shadow: 0 12px 35px rgba(139, 92, 246, 0.7), 0 0 0 4px rgba(139, 92, 246, 0.2);
            }
        }
        
        /* Tap for more info indicator */
        .tap-indicator {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 10;
            background: rgba(139, 92, 246, 0.95);
            color: white;
            padding: 6px 10px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 4px;
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
            animation: bounce-indicator 2s ease-in-out infinite;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .carousel-card.active .tap-indicator {
            opacity: 1;
        }
        
        @keyframes bounce-indicator {
            0%, 100% {
                transform: translateY(0) scale(1);
            }
            50% {
                transform: translateY(-4px) scale(1.05);
            }
        }
        
        .tap-indicator svg {
            width: 12px;
            height: 12px;
            animation: tap-pulse 1.5s ease-in-out infinite;
        }
        
        @keyframes tap-pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.2);
            }
        }
        
        .carousel-card-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-end;
            gap: 3px;
            padding: 10px 10px;
            z-index: 1;
            position: relative;
            text-align: left;
            width: 100%;
            background: rgba(0, 0, 0, 0.25);
            border-radius: 12px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }
        
        .carousel-card-name {
            font-family: 'Montserrat', sans-serif;
            font-size: 13px;
            font-weight: 900;
            color: #ffffff;
            text-align: left;
            letter-spacing: 1px;
            text-transform: uppercase;
            line-height: 1.2;
        }
        
        .carousel-card-country {
            font-size: 8px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: rgba(255, 255, 255, 0.85);
        }
        
        .carousel-card.active .carousel-card-name {
            color: #ffffff;
        }
        
        /* Detail Panel (opens on second tap) */
        .detail-panel {
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 5000;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            padding: 24px;
            padding-bottom: max(24px, env(safe-area-inset-bottom));
            padding-left: max(24px, env(safe-area-inset-left));
            padding-right: max(24px, env(safe-area-inset-right));
            opacity: 0;
            pointer-events: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .detail-panel.visible {
            opacity: 1;
            pointer-events: auto;
        }
        
        .detail-panel .glass-panel {
            transform: scale(0.9);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            max-height: 85vh;
            overflow-y: auto;
            width: 100%;
            max-width: 500px;
        }
        
        .detail-panel.visible .glass-panel {
            transform: scale(1);
            opacity: 1;
        }
        
        /* Glass morphism destination card */
        #destinationCard {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 4000;
            padding: 24px;
            padding-bottom: max(24px, env(safe-area-inset-bottom));
            padding-left: max(24px, env(safe-area-inset-left));
            padding-right: max(24px, env(safe-area-inset-right));
            transform: translateY(100%);
            opacity: 0;
            transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }
        
        #destinationCard.visible {
            transform: translateY(0);
            opacity: 1;
            pointer-events: auto;
        }
        
        #destinationCard.collapsed .card-content {
            display: none;
        }
        
        #destinationCard.collapsed .glass-panel {
            padding: 0;
        }
        
        #destinationCard.collapsed .card-header {
            border-radius: 24px;
        }
        
        .card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background: rgba(139, 92, 246, 0.1);
            border-radius: 24px 24px 0 0;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .card-header:hover {
            background: rgba(139, 92, 246, 0.15);
        }
        
        .card-header-title {
            font-size: 14px;
            font-weight: 700;
            color: #5b3cb5;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        
        .collapse-icon {
            width: 20px;
            height: 20px;
            color: #5b3cb5;
            transition: transform 0.3s;
        }
        
        #destinationCard.collapsed .collapse-icon {
            transform: rotate(180deg);
        }
        
        .glass-panel {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 24px;
            max-width: 400px;
            margin: 0 auto;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        }
        
        .card-content {
            padding: 20px;
        }
        
        .destination-image {
            height: 200px;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 16px;
            position: relative;
            box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        
        /* Mobile-only title (hidden on desktop) */
        .destination-header {
            display: none;
        }
        
        .destination-title-mobile {
            font-family: 'Montserrat', sans-serif;
            font-size: 20px;
            font-weight: 900;
            color: #1f2937;
            margin: 0 0 4px 0;
            line-height: 1.2;
        }
        
        .destination-country-mobile {
            color: #8b5cf6;
            font-weight: 600;
            font-size: 13px;
            margin: 0 0 12px 0;
        }
        
        .destination-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 16px;
        }
        
        .destination-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 28px;
            font-weight: 900;
            color: white;
            margin: 0;
            line-height: 1.2;
        }
        
        .destination-country {
            color: #5b3cb5;
            font-weight: 600;
            font-size: 14px;
            margin-top: 4px;
        }
        
        .destination-description {
            color: #4b5563;
            font-size: 14px;
            line-height: 1.6;
            margin: 16px 0;
        }
        
        .explore-button {
            flex: 1;
            background: linear-gradient(to right, #8b5cf6, #6d28d9);
            color: white;
            font-weight: 700;
            padding: 16px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            font-size: 15px;
            box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
            transition: all 0.2s;
            font-family: 'Montserrat', sans-serif;
            letter-spacing: 1px;
        }
        
        .explore-button:hover {
            background: linear-gradient(to right, #7c3aed, #5b21b6);
            transform: translateY(-2px);
            box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.6);
        }
        
        .explore-button:active {
            transform: scale(0.95);
        }
        
        /* Top search container */
        #searchContainer {
            position: absolute;
            top: max(52px, calc(32px + env(safe-area-inset-top)));
            left: 50%;
            transform: translateX(-50%);
            z-index: 3000;
            width: 90%;
            max-width: 500px;
            padding: 0 max(20px, env(safe-area-inset-left));
            transition: all 0.3s ease-out;
        }
        
        #searchContainer.collapsed {
            width: 120px;
            max-width: 120px;
        }
        
        #searchContainer.collapsed .search-panel {
            padding: 8px 32px 8px 12px;
            border-radius: 30px;
            cursor: pointer;
        }
        
        .collapsed-label {
            display: none;
        }
        
        #searchContainer.collapsed .collapsed-label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 14px;
            font-weight: 600;
            color: #5b3cb5;
            white-space: nowrap;
        }
        
        #searchContainer.collapsed .collapsed-label svg {
            width: 16px;
            height: 16px;
            stroke-width: 2.5;
        }
        
        #searchContainer.collapsed .search-panel > *:not(.collapse-toggle):not(.collapsed-label) {
            display: none;
        }
        
        .collapse-toggle {
            position: absolute;
            top: 6px;
            right: 6px;
            width: 28px;
            height: 28px;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s;
            padding: 0;
        }
        
        .collapse-toggle:hover {
            background: rgba(139, 92, 246, 0.2);
            border-color: #8b5cf6;
        }
        
        .collapse-toggle svg {
            width: 16px;
            height: 16px;
            color: #5b3cb5;
            transition: transform 0.3s;
        }
        
        #searchContainer.collapsed .collapse-toggle svg {
            transform: rotate(180deg);
        }
        
        .search-panel {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.4);
            position: relative;
            transition: all 0.3s ease-out;
        }
        
        .more-options {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 15px 0;
            cursor: pointer;
            color: #5b3cb5;
            font-size: 14px;
            font-weight: 500;
        }
        
        .more-options:hover {
            opacity: 0.8;
        }
        
        .toggle-icon {
            position: relative;
            top: 0;
            right: 0;
            width: 20px;
            height: 20px;
            cursor: pointer;
            color: #5b3cb5;
            transition: transform 0.3s;
        }
        
        .toggle-icon.expanded {
            transform: rotate(180deg);
        }
        
        .filter-options {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
            margin-top: 0;
            padding-bottom: 0;
        }
        
        .filter-options.expanded {
            max-height: 800px;
            margin-top: 20px;
            padding-bottom: 180px;
            overflow-y: auto;
        }
        
        .filter-group {
            margin-bottom: 20px;
        }
        
        .filter-group:last-child {
            margin-bottom: 0;
        }
        
        .filter-title {
            font-size: 12px;
            font-weight: 600;
            color: #5b3cb5;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .filter-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .filter-chip {
            padding: 8px 16px;
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.15);
            border-radius: 20px;
            font-size: 13px;
            color: #1f2937;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
        }
        
        .filter-chip:hover {
            background: rgba(139, 92, 246, 0.1);
            border-color: #5b3cb5;
        }
        
        .filter-chip.selected {
            background: linear-gradient(to right, #8b5cf6, #6d28d9);
            border-color: transparent;
            color: white;
        }
           
        
        .search-label {
            font-family: 'Montserrat', sans-serif;
            font-size: 20px;
            font-weight: 700;
            color: #5b3cb5;
            margin-bottom: 12px;
            display: block;
            letter-spacing: 0.5px;
        }
        
        .search-input-wrapper {
            position: relative;
            width: 100%;
        }
        
        .search-input {
            width: 100%;
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.15);
            border-radius: 12px;
            padding: 14px 60px 14px 16px;
            font-size: 15px;
            color: #1f2937;
            font-family: 'Montserrat', sans-serif;
            outline: none;
            transition: all 0.3s;
            resize: none;
            overflow: hidden;
            min-height: 72px;
        }
        
        .search-input::placeholder {
            color: rgba(0, 0, 0, 0.4);
        }
        
        .search-input:focus {
            background: rgba(0, 0, 0, 0.08);
            border-color: #5b3cb5;
            box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
        }
        
        #searchContainer.focused {
            max-width: 600px;
        }
        
        .search-go-button {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #5b3cb5 0%, #7c3aed 100%);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(91, 60, 181, 0.3);
        }
        
        .search-go-button:hover {
            background: linear-gradient(135deg, #4c2d99 0%, #6d32d1 100%);
            box-shadow: 0 4px 12px rgba(91, 60, 181, 0.5);
            transform: translateY(-50%) scale(1.05);
        }
        
        .search-go-button:active {
            transform: translateY(-50%) scale(0.95);
        }
        
        .search-go-button svg {
            width: 20px;
            height: 20px;
            color: white;
            stroke-width: 3;
        }
        
        .find-next-button {
            flex: 1;
            background: rgba(0, 0, 0, 0.08);
            color: #1f2937;
            font-weight: 700;
            padding: 16px;
            border-radius: 12px;
            border: 1px solid rgba(0, 0, 0, 0.15);
            cursor: pointer;
            font-size: 15px;
            transition: all 0.2s;
            font-family: 'Montserrat', sans-serif;
            letter-spacing: 1px;
        }
        
        .find-next-button:hover {
            background: rgba(0, 0, 0, 0.12);
            border-color: #5b3cb5;
            transform: translateY(-2px);
        }
        
        .find-next-button:active {
            transform: scale(0.98);
        }
        
        .plan-button {
            flex: 1;
            background: linear-gradient(to right, #10b981, #059669);
            color: white;
            font-weight: 700;
            padding: 16px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            font-size: 15px;
            box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
            transition: all 0.2s;
            font-family: 'Montserrat', sans-serif;
            letter-spacing: 1px;
        }
        
        .plan-button:hover {
            background: linear-gradient(to right, #059669, #047857);
            transform: translateY(-2px);
            box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.6);
        }
        
        .plan-button:active {
            transform: scale(0.98);
        }
        
        .button-actions {
            display: flex;
            gap: 12px;
        }
        
        @media (max-width: 480px) {
            #searchContainer {
                top: max(42px, calc(32px + env(safe-area-inset-top)));
                width: calc(100% - max(16px, env(safe-area-inset-left)) - max(16px, env(safe-area-inset-right)));
                padding: 0 8px;
                transition: all 0.3s ease-out;
            }
            
            #searchContainer.collapsed {
                width: 100px;
                max-width: 100px;
                left: auto;
                right: 16px;
                transform: none;
            }
            
            #searchContainer.collapsed .collapsed-label {
                font-size: 13px;
                gap: 4px;
            }
            
            #searchContainer.collapsed .collapsed-label svg {
                width: 14px;
                height: 14px;
            }
            
            #searchContainer.collapsed .search-panel {
                padding: 8px 28px 8px 10px;
            }
            
            .collapse-toggle {
                width: 24px;
                height: 24px;
                top: 5px;
                right: 5px;
            }
            
            .collapse-toggle svg {
                width: 14px;
                height: 14px;
            }
            
            /* Hide image on mobile, show compact header instead */
            .destination-image {
                display: none;
            }
            
            .destination-header {
                display: block;
                margin-bottom: 8px;
            }
            
            /* Reduce button padding for mobile */
            .explore-button,
            .find-next-button,
            .plan-button {
                padding: 10px 12px;
                font-size: 13px;
                letter-spacing: 0.5px;
            }
            
            .button-actions {
                gap: 8px;
            }
            
            .destination-description {
                font-size: 13px;
                margin: 8px 0 12px 0;
                line-height: 1.5;
            }
            
            .search-panel {
                padding: 16px;
                transition: all 0.3s ease-out;
            }
            
            .search-label {
                font-size: 12px;
            }
            
            .search-input {
                font-size: 14px;
                padding: 12px 56px 12px 14px;
                min-height: 68px;
            }
            
            #searchContainer.focused {
                max-width: 95%;
            }
            
            /* Fullscreen must come after .focused to override max-width */
            #searchContainer.fullscreen {
                top: 0;
                left: 0;
                transform: none;
                width: 100% !important;
                height: 100vh;
                max-width: none !important;
                padding: 0;
                z-index: 5000;
            }
            
            #searchContainer.fullscreen .search-panel {
                height: 100vh;
                border-radius: 0;
                padding: max(52px, calc(32px + env(safe-area-inset-top))) 20px max(80px, calc(60px + env(safe-area-inset-bottom))) 20px;
                overflow-y: auto;
            }
            
            .search-go-button {
                width: 36px;
                height: 36px;
                right: 6px;
            }
            
            .search-go-button svg {
                width: 18px;
                height: 18px;
            }
            
            /* Carousel mobile adjustments */
            .carousel-card {
                flex: 0 0 110px;
                min-width: 95px;
                height: 140px;
            }
            
            .carousel-card-name {
                font-size: 12px;
            }
            
            .carousel-card-country {
                font-size: 7px;
            }
            
            .tap-indicator {
                top: 6px;
                right: 6px;
                padding: 4px 8px;
                font-size: 9px;
                border-radius: 10px;
            }
            
            .tap-indicator svg {
                width: 10px;
                height: 10px;
            }
            
            .carousel-container {
                padding-bottom: max(90px, calc(70px + env(safe-area-inset-bottom)));
            }
        }
        
        /* Desktop Sidebar Navigation */
        #sidebarNav {
            position: fixed;
            left: 0;
            top: 0;
            bottom: 0;
            width: 80px;
            z-index: 5000;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-right: 1px solid rgba(139, 92, 246, 0.1);
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.05);
            display: none;
        }
        
        @media (min-width: 769px) {
            #sidebarNav {
                display: flex;
                flex-direction: column;
            }
            
            #viewDiv {
                left: 80px;
                width: calc(100% - 80px);
            }
            
            .top-bar {
                left: 80px;
                width: calc(100% - 80px);
            }
            
            /* Desktop carousel - show more cards */
            .carousel-container {
                left: 80px;
                right: 0;
                padding-bottom: max(40px, env(safe-area-inset-bottom));
            }
            
            .carousel-track {
                justify-content: center;
                padding: 0 max(100px, env(safe-area-inset-left));
            }
            
            .carousel-card {
                flex: 0 0 140px;
                min-width: 125px;
                max-width: 155px;
                height: 180px;
            }
        }
        
        .sidebar-container {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 80px 8px 16px;
            height: 100%;
        }
        
        .sidebar-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            padding: 14px 8px;
            border-radius: 16px;
            transition: all 0.3s ease;
        }
        
        .sidebar-item:hover {
            background: rgba(139, 92, 246, 0.08);
            transform: translateX(2px);
        }
        
        .sidebar-item.active {
            background: rgba(139, 92, 246, 0.15);
        }
        
        .sidebar-icon {
            width: 28px;
            height: 28px;
            color: #6b7280;
            transition: all 0.3s ease;
        }
        
        .sidebar-item.active .sidebar-icon {
            color: #8b5cf6;
            transform: scale(1.1);
        }
        
        .sidebar-label {
            font-size: 11px;
            font-weight: 600;
            color: #6b7280;
            font-family: 'Montserrat', sans-serif;
            text-align: center;
            white-space: nowrap;
        }
        
        .sidebar-item.active .sidebar-label {
            color: #8b5cf6;
        }
        
        /* Bottom Navigation Bar */
        #bottomNav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 5000;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 8px 0 max(8px, env(safe-area-inset-bottom));
            box-shadow: 0 -10px 40px -5px rgba(0, 0, 0, 0.4);
            display: none;
        }
        
        @media (max-width: 768px) {
            #bottomNav {
                display: block;
            }
            
            #destinationCard.visible {
                padding-bottom: calc(24px + 60px);
            }
        }
        
        .nav-container {
            display: flex;
            justify-content: space-around;
            align-items: center;
            max-width: 600px;
            margin: 0 auto;
            padding: 0 16px;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            padding: 8px 12px;
            border-radius: 12px;
            transition: all 0.3s;
            flex: 1;
            max-width: 80px;
        }
        
        .nav-item:hover {
            background: rgba(139, 92, 246, 0.08);
        }
        
        .nav-item.active {
            background: rgba(139, 92, 246, 0.15);
        }
        
        .nav-icon {
            width: 24px;
            height: 24px;
            color: #6b7280;
            transition: all 0.3s;
        }
        
        .nav-item.active .nav-icon {
            color: #8b5cf6;
            transform: scale(1.1);
        }
        
        .nav-label {
            font-size: 10px;
            font-weight: 600;
            color: #6b7280;
            font-family: 'Montserrat', sans-serif;
            text-align: center;
            white-space: nowrap;
        }
        
        .nav-item.active .nav-label {
            color: #8b5cf6;
        }
        
        /* Profile Modal */
        #profileModal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 3000;
            background: white;
            display: none;
            overflow-y: auto;
        }
        
        #profileModal.visible {
            display: block;
        }
        
        #profileModal .modal-content {
            background: white;
            border-radius: 0;
            padding: 0;
            max-width: 100%;
            width: 100%;
            height: 100%;
            box-shadow: none;
            display: flex;
            flex-direction: column;
        }
        
        #profileModal .modal-header {
            padding: 24px 40px;
            padding-top: max(24px, env(safe-area-inset-top));
            padding-left: max(40px, env(safe-area-inset-left));
            padding-right: max(40px, env(safe-area-inset-right));
            background: white;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            margin-bottom: 0;
        }
        
        #profileModal .profile-info {
            padding: 40px;
            padding-left: max(40px, env(safe-area-inset-left));
            padding-right: max(40px, env(safe-area-inset-right));
            padding-bottom: max(40px, env(safe-area-inset-bottom));
            max-width: 600px;
            margin: 0 auto;
            width: 100%;
        }
        
        /* Mobile adjustments for profile modal */
        @media (max-width: 768px) {
            #profileModal .modal-header {
                padding-top: calc(32px + 16px);
                padding-left: 20px;
                padding-right: 20px;
            }
            
            #profileModal .profile-info {
                padding: 20px;
                padding-bottom: calc(60px + 20px);
            }
        }
        
        /* Trips Modal (My Holidays) */
        #tripsModal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 10000;
            display: none;
            overflow-y: auto;
        }
        
        #tripsModal.visible {
            display: block;
        }
        
        /* Mobile adjustments for trips modal */
        @media (max-width: 768px) {
            #tripsModal {
                bottom: 60px;
            }
        }
        
        .modal-content {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            padding: 30px;
            max-width: 400px;
            width: 100%;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }
        
        #itineraryModal .modal-header {
            padding: 24px 40px;
            padding-top: max(24px, env(safe-area-inset-top));
            padding-left: max(40px, env(safe-area-inset-left));
            padding-right: max(40px, env(safe-area-inset-right));
            background: white;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            margin-bottom: 0;
        }
        
        .modal-title {
            font-size: 24px;
            font-weight: 700;
            color: #1f2937;
            font-family: 'Montserrat', sans-serif;
        }
        
        .close-modal {
            width: 32px;
            height: 32px;
            color: rgba(0, 0, 0, 0.5);
            cursor: pointer;
            transition: color 0.3s;
        }
        
        .close-modal:hover {
            color: #1f2937;
        }
        
        .profile-info {
            color: #4b5563;
            font-size: 14px;
            line-height: 1.8;
        }
        
        .profile-info p {
            margin: 12px 0;
        }
        
        /* Travel Itinerary View */
        #itineraryModal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 10000;
            background: rgba(255, 255, 255, 0.98);
            display: none;
            overflow-y: auto;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        #itineraryModal.visible {
            display: block;
            transform: translateY(0);
        }
        
        /* Hide other UI elements when itinerary view is open */
        #itineraryModal.visible ~ #searchContainer,
        #itineraryModal.visible ~ #destinationCard,
        #itineraryModal.visible ~ #cityName {
            opacity: 0;
            pointer-events: none;
        }
        
        /* Departure City Modal */
        #departureCityModal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 10001;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        #departureCityModal.visible {
            display: flex;
        }
        
        .itinerary-content {
            background: transparent;
            padding: 0;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            min-height: 100vh;
        }
        
        #itineraryBody {
            padding: 40px;
            padding-left: max(40px, env(safe-area-inset-left));
            padding-right: max(40px, env(safe-area-inset-right));
            padding-bottom: max(40px, env(safe-area-inset-bottom));
        }
        
        .itinerary-section {
            margin-bottom: 20px;
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            border-left: 4px solid #8b5cf6;
        }
        
        .itinerary-section.flights-section {
            border-left-color: #3b82f6;
            background: linear-gradient(to right, rgba(59, 130, 246, 0.05), white);
        }
        
        .itinerary-section.hotels-section {
            border-left-color: #8b5cf6;
            background: linear-gradient(to right, rgba(139, 92, 246, 0.05), white);
        }
        
        .itinerary-section.activities-section {
            border-left-color: #10b981;
            background: linear-gradient(to right, rgba(16, 185, 129, 0.05), white);
        }
        
        .itinerary-section.restaurants-section {
            border-left-color: #f59e0b;
            background: linear-gradient(to right, rgba(245, 158, 11, 0.05), white);
        }
        
        .itinerary-section.specialties-section {
            border-left-color: #ec4899;
            background: linear-gradient(to right, rgba(236, 72, 153, 0.05), white);
        }
        
        .itinerary-section.tips-section {
            border-left-color: #06b6d4;
            background: linear-gradient(to right, rgba(6, 182, 212, 0.05), white);
        }
        
        .itinerary-section h3 {
            color: #1f2937;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 16px;
            font-family: 'Montserrat', sans-serif;
        }
        
        .itinerary-section.flights-section h3 { color: #3b82f6; }
        .itinerary-section.hotels-section h3 { color: #8b5cf6; }
        .itinerary-section.activities-section h3 { color: #10b981; }
        .itinerary-section.restaurants-section h3 { color: #f59e0b; }
        .itinerary-section.specialties-section h3 { color: #ec4899; }
        .itinerary-section.tips-section h3 { color: #06b6d4; }
        
        .itinerary-section p, .itinerary-section ul {
            color: #4b5563;
            font-size: 14px;
            line-height: 1.8;
        }
        
        .itinerary-section ul {
            list-style: none;
            padding-left: 0;
        }
        
        .itinerary-section li {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .itinerary-section li:last-child {
            border-bottom: none;
        }
        
        .venue-item {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            margin-bottom: 16px;
            padding: 12px;
            background: rgba(0, 0, 0, 0.02);
            border-radius: 12px;
            transition: all 0.2s;
        }
        
        .venue-item:hover {
            background: rgba(0, 0, 0, 0.05);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        .venue-thumbnail {
            width: 80px;
            height: 80px;
            min-width: 80px;
            border-radius: 12px;
            object-fit: cover;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        .venue-details {
            flex: 1;
        }
        
        .venue-name {
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 4px;
            font-size: 15px;
        }
        
        .venue-meta {
            font-size: 12px;
            color: #8b5cf6;
            margin-bottom: 6px;
            font-weight: 600;
        }
        
        .venue-description {
            font-size: 13px;
            color: #6b7280;
            line-height: 1.5;
        }
        
        .itinerary-actions {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }
        
        .copy-button, .share-button {
            flex: 1;
            padding: 14px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            font-size: 14px;
            font-weight: 700;
            font-family: 'Montserrat', sans-serif;
            letter-spacing: 0.5px;
            transition: all 0.2s;
        }
        
        .copy-button {
            background: linear-gradient(to right, #3b82f6, #2563eb);
            color: white;
            box-shadow: 0 4px 12px -2px rgba(59, 130, 246, 0.4);
        }
        
        .copy-button:hover {
            background: linear-gradient(to right, #2563eb, #1d4ed8);
            transform: translateY(-2px);
        }
        
        .share-button {
            background: linear-gradient(to right, #ec4899, #db2777);
            color: white;
            box-shadow: 0 4px 12px -2px rgba(236, 72, 153, 0.4);
        }
        
        .share-button:hover {
            background: linear-gradient(to right, #db2777, #be185d);
            transform: translateY(-2px);
        }
        
        /* Timeline Planning View */
        .view-toggle {
            display: flex;
            gap: 12px;
            padding: 20px 40px;
            padding-left: max(40px, env(safe-area-inset-left));
            padding-right: max(40px, env(safe-area-inset-right));
            background: white;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }
        
        .view-toggle-btn {
            flex: 1;
            padding: 12px 24px;
            border-radius: 12px;
            border: 2px solid rgba(139, 92, 246, 0.2);
            background: white;
            color: #6b7280;
            font-weight: 600;
            font-family: 'Montserrat', sans-serif;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .view-toggle-btn.active {
            background: linear-gradient(to right, #8b5cf6, #6d28d9);
            color: white;
            border-color: transparent;
            box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.4);
        }
        
        .view-toggle-btn:hover:not(.active) {
            border-color: rgba(139, 92, 246, 0.4);
            background: rgba(139, 92, 246, 0.05);
        }
        
        #timelineView {
            display: none;
            padding: 60px 40px;
            padding-left: max(40px, env(safe-area-inset-left));
            padding-right: max(40px, env(safe-area-inset-right));
            padding-bottom: max(60px, env(safe-area-inset-bottom));
            max-width: 800px;
            margin: 0 auto;
        }
        
        #timelineView.active {
            display: block;
        }
        
        #traditionalView.active {
            display: block;
        }
        
        .timeline-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .timeline-title {
            font-size: 32px;
            font-weight: 900;
            color: #1f2937;
            margin-bottom: 8px;
        }
        
        .timeline-subtitle {
            color: #6b7280;
            font-size: 16px;
        }
        
        .timeline-container {
            position: relative;
            padding: 20px 0;
        }
        
        .timeline-line {
            position: absolute;
            left: 80px;
            top: 60px;
            bottom: 60px;
            width: 3px;
            background: linear-gradient(to bottom, #e5e7eb, #d1d5db, #e5e7eb);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 40px;
            display: flex;
            align-items: flex-start;
            gap: 24px;
        }
        
        .timeline-node {
            position: relative;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.3);
            cursor: grab;
            transition: all 0.3s;
            z-index: 10;
        }
        
        .timeline-node:active {
            cursor: grabbing;
        }
        
        .timeline-node:hover {
            transform: scale(1.1);
            box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.4);
        }
        
        .timeline-node.flight {
            background: linear-gradient(135deg, #60a5fa, #3b82f6);
        }
        
        .timeline-node.hotel {
            background: linear-gradient(135deg, #a78bfa, #8b5cf6);
        }
        
        .timeline-node.activity {
            background: linear-gradient(135deg, #34d399, #10b981);
        }
        
        /* Duration indicators */
        .timeline-duration-bar {
            position: absolute;
            left: 40px;
            top: 80px;
            width: 6px;
            border-radius: 3px;
            z-index: 5;
            opacity: 0.8;
        }
        
        .timeline-end-marker {
            position: absolute;
            left: 80px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 8;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .timeline-end-marker:hover {
            transform: scale(1.15);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }
        
        .timeline-end-marker.hotel {
            background: linear-gradient(135deg, #a78bfa, #8b5cf6);
        }
        
        .timeline-end-marker svg {
            width: 16px;
            height: 16px;
            color: white;
        }
        
        .timeline-duration-label {
            position: absolute;
            left: 48px;
            font-size: 11px;
            font-weight: 600;
            color: #8b5cf6;
            background: white;
            padding: 2px 8px;
            border-radius: 10px;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            z-index: 9;
        }
        
        .timeline-node svg {
            width: 24px;
            height: 24px;
            color: white;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }
        
        .timeline-card {
            flex: 1;
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .timeline-card:hover {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            transform: translateY(-2px);
        }
        
        .timeline-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }
        
        .timeline-card-title {
            font-size: 18px;
            font-weight: 700;
            color: #1f2937;
        }
        
        .timeline-card-date {
            font-size: 13px;
            color: #6b7280;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .timeline-card-subtitle {
            font-size: 14px;
            color: #8b5cf6;
            font-weight: 600;
            margin-bottom: 12px;
        }
        
        .timeline-card-details {
            font-size: 14px;
            color: #4b5563;
            line-height: 1.6;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        
        .timeline-card.expanded .timeline-card-details {
            max-height: 1000px;
        }
        
        .timeline-options {
            display: flex;
            gap: 12px;
            margin-top: 16px;
            flex-wrap: wrap;
        }
        
        .timeline-option {
            flex: 1;
            min-width: 200px;
            background: rgba(139, 92, 246, 0.05);
            border: 2px solid rgba(139, 92, 246, 0.2);
            border-radius: 12px;
            padding: 16px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .timeline-option:hover {
            border-color: rgba(139, 92, 246, 0.5);
            background: rgba(139, 92, 246, 0.1);
            transform: translateY(-2px);
        }
        
        .timeline-option.selected {
            border-color: #8b5cf6;
            background: rgba(139, 92, 246, 0.15);
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
        }
        
        .timeline-option-name {
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 4px;
        }
        
        .timeline-option-type {
            font-size: 12px;
            color: #8b5cf6;
            font-weight: 600;
        }
        
        .add-item-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: white;
            border: 3px dashed #d1d5db;
            color: #9ca3af;
            cursor: pointer;
            transition: all 0.3s;
            margin: 20px 0 20px 80px;
        }
        
        .add-item-btn:hover {
            border-color: #8b5cf6;
            color: #8b5cf6;
            background: rgba(139, 92, 246, 0.05);
            transform: scale(1.1);
        }
        
        .add-item-btn svg {
            width: 28px;
            height: 28px;
        }
        
        /* Date separator styles */
        .timeline-date-separator {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 32px 0 24px 0;
            position: relative;
        }
        
        .date-separator-line {
            flex: 1;
            height: 2px;
            background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.3), transparent);
        }
        
        .date-separator-label {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
            padding: 12px 24px;
            border-radius: 16px;
            box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
            min-width: 200px;
        }
        
        .day-number {
            font-size: 20px;
            font-weight: 800;
            letter-spacing: 0.5px;
        }
        
        .day-name {
            font-size: 14px;
            font-weight: 600;
            margin-top: 2px;
            opacity: 0.95;
        }
        
        .day-date {
            font-size: 12px;
            margin-top: 4px;
            opacity: 0.85;
            font-weight: 500;
        }
        
        /* Empty day placeholder */
        .timeline-empty-day {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            margin: 0 80px 40px 80px;
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), rgba(139, 92, 246, 0.08));
            border: 2px dashed rgba(139, 92, 246, 0.3);
            border-radius: 16px;
            min-height: 120px;
            transition: all 0.3s;
        }
        
        .timeline-empty-day:hover {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(139, 92, 246, 0.12));
            border-color: rgba(139, 92, 246, 0.5);
        }
        
        .timeline-empty-day svg {
            color: rgba(139, 92, 246, 0.4);
            margin-bottom: 12px;
        }
        
        .timeline-empty-day p {
            font-size: 15px;
            font-weight: 600;
            color: #6b7280;
            margin: 0 0 6px 0;
        }
        
        .timeline-empty-day span {
            font-size: 13px;
            color: #9ca3af;
        }
        
        /* Editable elements */
        .editable-title,
        .editable-subtitle,
        .editable-details {
            outline: none;
            border-radius: 4px;
            transition: background 0.2s;
            padding: 2px 4px;
            margin: -2px -4px;
        }
        
        .editable-title:hover,
        .editable-subtitle:hover,
        .editable-details:hover {
            background: rgba(139, 92, 246, 0.1);
        }
        
        .editable-title:focus,
        .editable-subtitle:focus,
        .editable-details:focus {
            background: rgba(139, 92, 246, 0.15);
            border: 1px solid rgba(139, 92, 246, 0.3);
        }
        
        .timeline-card-date {
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .timeline-card-date:hover {
            background: rgba(139, 92, 246, 0.1);
            border-radius: 4px;
        }
        
        .date-text {
            display: inline-block;
        }
        
        /* Date picker modal */
        .date-picker-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            backdrop-filter: blur(4px);
        }
        
        .date-picker-content {
            background: white;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 320px;
            width: 90%;
        }
        
        .date-picker-header {
            font-size: 18px;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 16px;
        }
        
        .date-picker-input {
            width: 100%;
            padding: 12px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 15px;
            font-family: 'Montserrat', sans-serif;
            outline: none;
            transition: all 0.2s;
            margin-bottom: 16px;
        }
        
        .date-picker-input:focus {
            border-color: #8b5cf6;
            box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }
        
        .date-picker-buttons {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }
        
        .date-picker-btn {
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .date-picker-btn.cancel {
            background: #f3f4f6;
            color: #6b7280;
        }
        
        .date-picker-btn.cancel:hover {
            background: #e5e7eb;
        }
        
        .date-picker-btn.save {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
        }
        
        .date-picker-btn.save:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
        }
        
        .departure-input {
            width: 100%;
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.15);
            border-radius: 12px;
            padding: 14px 16px;
            font-size: 15px;
            color: #1f2937;
            font-family: 'Montserrat', sans-serif;
            outline: none;
            transition: all 0.3s;
            margin-bottom: 16px;
        }
        
        .departure-input::placeholder {
            color: rgba(0, 0, 0, 0.4);
        }
        
        .departure-input:focus {
            background: rgba(0, 0, 0, 0.08);
            border-color: #5b3cb5;
            box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
        }
        
        .loading-spinner {
            text-align: center;
            color: #5b3cb5;
            padding: 40px;
            font-size: 16px;
        }
        
        .search-loading {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: #5b3cb5;
            font-size: 14px;
            margin-top: 12px;
            font-weight: 600;
        }
        
        .search-loading.active {
            display: flex;
        }
        
        .search-loading-icon {
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .find-ideas-button {
            width: 100%;
            background: linear-gradient(to right, #8b5cf6, #6d28d9);
            color: white;
            font-weight: 700;
            padding: 14px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            font-size: 15px;
            box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
            transition: all 0.2s;
            font-family: 'Montserrat', sans-serif;
            letter-spacing: 1px;
            margin-top: 12px;
            display: none;
        }
        
        .find-ideas-button.visible {
            display: block;
        }
        
        .find-ideas-button:hover {
            background: linear-gradient(to right, #7c3aed, #5b21b6);
            transform: translateY(-2px);
            box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.6);
        }
        
        .find-ideas-button:active {
            transform: scale(0.98);
        }
        
        /* Top Bar */
        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 32px;
            background: white;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            z-index: 9999;
        }
        
        .top-bar-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 11px;
            font-weight: 700;
            color: #5b3cb5;
            letter-spacing: 1.5px;
        }
        
        .top-bar-center {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .top-bar-link {
            font-family: 'Montserrat', sans-serif;
            font-size: 11px;
            font-weight: 600;
            color: #5b3cb5;
            text-decoration: none;
            letter-spacing: 0.5px;
            transition: all 0.3s;
            padding: 4px 12px;
            border-radius: 4px;
        }
        
        .top-bar-link:hover {
            color: #8b5cf6;
            background: rgba(139, 92, 246, 0.1);
        }
        
        .top-bar-language {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .top-bar-language select {
            font-family: 'Montserrat', sans-serif;
            font-size: 10px;
            font-weight: 600;
            color: #5b3cb5;
            background: transparent;
            border: 1px solid rgba(91, 60, 181, 0.3);
            border-radius: 4px;
            padding: 3px 6px;
            cursor: pointer;
            outline: none;
            transition: all 0.2s;
        }
        
        .top-bar-language select:hover {
            border-color: #5b3cb5;
            background: rgba(139, 92, 246, 0.05);
        }
        
        #viewDiv {
            margin-top: 32px;
        }
        
        /* Feedback animation */
        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(400px);
                opacity: 0;
            }
        }
        
        /* Search Loader */
        .search-loader {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }
        
        .search-loader.active {
            display: flex;
        }
        
        .search-loader-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            background: white;
            padding: 32px 48px;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        
        .search-loader-icon {
            width: 48px;
            height: 48px;
            color: #8b5cf6;
            animation: spin 1s linear infinite;
        }
        
        .search-loader-content span {
            font-size: 16px;
            font-weight: 600;
            color: #5b3cb5;
        }
        
        /* Surprise Loader */
        .surprise-loader {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
        }
        
        .surprise-loader.active {
            display: flex;
        }
        
        .surprise-loader-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            background: white;
            padding: 32px 48px;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        
        .surprise-loader-icon {
            width: 48px;
            height: 48px;
            color: #8b5cf6;
            animation: spin 1s linear infinite;
        }
        
        .surprise-loader-content span {
            font-size: 16px;
            font-weight: 600;
            color: #5b3cb5;
        }
