  body {
            background-color: #f8f9fa;
            font-family: 'Inter', sans-serif;
        }

        /* Journey Header Styles */
        .journey-header {
            background: #fff;
            padding: 20px 0 40px 0;
            border-bottom: 1px solid #eee;

            position: sticky;
            top: 0;
            z-index: 1000;

            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        }

        .cab-results {
            margin-top: -30px;
            /* reduced negative margin to prevent overlap */
            position: relative;
            z-index: 10;
        }

        .back-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .location-pills-container {
            display: flex;
            gap: 15px;
            margin: 15px 0;          
            overflow-x: auto;
            flex-wrap: nowrap;
            padding-bottom: 5px;
            scroll-behavior: smooth;
        }

        .location-pill-yellow {
            background: var(--primary-color);
            padding: 10px 25px;
            border-radius: 50px;
            color: #fff;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: none;
            box-shadow: 0 4px 10px rgba(0, 0, 255, 0.2);
            flex-shrink: 0;
            white-space: nowrap;
            width: auto;
            min-width: fit-content;
            overflow: visible;
        }

        .trip-bar-black {
            background: #000;
            color: #fff;
            text-align: center;
            padding: 10px;
            border-radius: 10px 10px 0 0;
            font-size: 1rem;
            font-weight: 700;
            margin-top: 20px;
        }

        .departure-info-card {
            background: #fff;
            border: 1px solid #dee2e6;
            border-radius: 0 0 10px 10px;
            padding: 20px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .date-display {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .day-big {
            font-size: 3rem;
            font-weight: 800;
            color: #002db3;
            line-height: 1;
        }

        .month-year-time {
            display: flex;
            flex-direction: column;
        }

        .my-text {
            color: #002db3;
            font-weight: 600;
            font-size: 1.1rem;
        }

        .time-text {
            color: #002db3;
            font-weight: 800;
            font-size: 1.2rem;
        }

        .edit-btn {
            color: var(--primary-color);
            font-size: 1.5rem;
            margin-left: 10px;
        }

        .return-section {
            text-align: right;
            border-left: 1px solid #eee;
            padding-left: 40px;
        }

        .return-link {
            color: #002db3;
            text-decoration: none;
            font-weight: 600;
            display: block;
        }

        /* Badges section */
        .promo-badge-container {
            background: #fff;
            border-radius: 20px;
            display: flex;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            margin-bottom: 50px;
            align-items: stretch;
        }

        .frequent-rider-plan {
            background: var(--primary-color);
            padding: 30px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: #fff;
        }

        .badge-icons-section {
            display: flex;
            flex: 2;
            justify-content: space-around;
            align-items: center;
            padding: 20px;
        }

        .badge-item-v2 {
            text-align: center;
            padding: 10px;
        }

        .badge-item-v2 img {
            width: 80px;
            margin-bottom: 10px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        .badge-item-v2 span {
            font-weight: 800;
            font-size: 0.9rem;
            color: #000;
            display: block;
        }

        /* Car Card Styles */
        .car-card {
            background: #fff;
            border-radius: 20px;
            border: 1px solid #eee;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
            text-align: center;
            position: relative;
            transition: 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
            /* Uniform height for the card itself */
        }

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

        .lowest-price-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 80px;
            height: 80px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            padding: 10px;
            line-height: 1.1;
            border: 2px dashed #fff;
            box-shadow: 0 4px 10px rgba(0, 0, 255, 0.4);
            transform: rotate(-15deg);
            z-index: 2;
        }

        /* Fixed container for image to ensure all images start/end at same level */
        .car-img-container {
            width: 100%;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .car-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .price-section {
            min-height: 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .price-original {
            color: var(--primary-color);
            text-decoration: line-through;
            font-size: 1.1rem;
            font-weight: 500;
        }

        .price-discounted {
            color: #27ae60;
            font-size: 2.2rem;
            font-weight: 800;
            margin: 0;
            line-height: 1.2;
        }

        .car-info {
            color: #1a73e8;
            font-weight: 700;
            font-size: 0.85rem;
            margin: 10px 0;
            text-transform: uppercase;
        }

        /* Fixed height for display name to ensure following text starts at same line */
        .car-display-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 20px;
            min-height: 3.6rem;
            /* Support up to 2 lines */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .fare-table {
            width: 100%;
            margin: 20px 0;
            flex-grow: 1;
            /* Pushes button to bottom */
        }

        .fare-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
            font-size: 0.95rem;
        }

        .fare-label {
            color: #666;
            font-weight: 500;
        }

        .fare-val-green {
            color: #27ae60;
            font-weight: 700;
        }

        .other-terms {
            display: block;
            margin: 15px 0;
            color: #333;
            text-decoration: underline;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .social-icon {
            width: 35px;
            height: 35px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.1rem;
            transition: all 0.6s ease;

            opacity: 0.3;
            /*  start faded */
            filter: grayscale(100%);
            /*  remove color */
        }

        /* When active (visible on scroll) */
        .social-icon.active {
            opacity: 1;
            filter: grayscale(0%);
            transform: scale(1.1);
        }

        .si-fb {
            background: #3b5998;
        }

        .si-tw {
            background: #1da1f2;
        }

        .si-wa {
            background: #25d366;
        }

        .si-em {
            background: #888;
        }

        .btn-book-now {
            background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
            color: #fff;
            border: none;
            border-radius: 50px;
            padding: 15px 0;
            width: 100%;
            font-weight: 800;
            font-size: 1.2rem;
            transition: 0.3s;
            box-shadow: 0 4px 15px rgba(0, 0, 255, 0.3);
            margin-top: auto;
            /* Always at bottom */
        }

        .btn-book-now:hover {
            transform: scale(1.02);
            box-shadow: 0 6px 20px rgba(0, 0, 255, 0.5);
            color: #fff;
        }

        /* Distance Breakdown Styles */
        .distance-breakdown-card {
            background: #fff;
            border-radius: 15px;
            padding: 20px;
            margin: 15px 0;
            border: 1px solid #eee;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .distance-breakdown-card h5 {
            color: #002db3;
            font-weight: 700;
            margin-bottom: 15px;
            font-size: 1rem;
        }

        .route-segment {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .route-segment:last-child {
            border-bottom: none;
        }

        .segment-route {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
            font-weight: 500;
            color: #333;
        }

        .segment-arrow {
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.2rem;
        }

        .segment-stats {
            display: flex;
            align-items: center;
            gap: 20px;
            text-align: right;
        }

        .segment-distance {
            min-width: 70px;
            color: #002db3;
            font-weight: 700;
        }

        .segment-duration {
            min-width: 100px;
            color: #666;
            font-size: 0.9rem;
        }

        .total-distance-summary {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 4px solid var(--primary-color);
        }

        .total-distance-summary strong {
            color: #002db3;
            font-size: 1.1rem;
        }

        .badge-icon-v2 {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 5px;
            display: block;
        }

        /* --- Advanced Modification UI --- */
        #date-time-modifier {
            display: none;
            background: #fff;
            border-radius: 20px;
            padding: 0;
            margin-bottom: 30px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.12);
            overflow: hidden;
            border: 1px solid #eee;
        }

        .modifier-header-row {
            background: #000;
            color: #fff;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 700;
            font-size: 1rem;
        }

        .close-modifier {
            background: transparent;
            border: none;
            color: #fff;
            font-size: 1.2rem;
            cursor: pointer;
        }

        .selection-display-row {
            display: flex;
            padding: 20px;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #eee;
            gap: 10px;
        }

        .selection-block {
            flex: 1;
            cursor: pointer;
            padding: 10px;
            border-radius: 12px;
            transition: 0.3s;
            border: 2px solid transparent;
        }

        .selection-block.active {
            background: #f8f9ff;
            border-color: #002db3;
        }

        .block-label {
            display: block;
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .block-main {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .block-day {
            font-size: 3.5rem;
            font-weight: 800;
            color: #002db3;
            line-height: 1;
        }

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

        .block-my {
            font-size: 0.9rem;
            color: #002db3;
            font-weight: 600;
        }

        .block-time {
            font-size: 1.1rem;
            color: #002db3;
            font-weight: 800;
        }

        .edit-icon {
            color: var(--primary-color);
            font-size: 1.4rem;
            margin: 0 5px;
        }

        .selection-separator {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            min-width: 80px;
        }

        .separator-line {
            width: 1px;
            height: 60px;
            background: #eee;
            transform: rotate(20deg);
        }

        .duration-badge {
            position: absolute;
            background: #777;
            color: #fff;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 800;
            white-space: nowrap;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .modifier-controls {
            padding: 20px;
            background: #fff;
        }

        .btn-modify-yellow {
            width: 100%;
            background: #ffc107;
            border: none;
            padding: 15px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 1.2rem;
            margin-top: 20px;
            box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
            cursor: pointer;
            transition: 0.3s;
        }

        .btn-modify-yellow:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
        }

        .scroller-container {
            overflow-x: auto;
            display: flex;
            gap: 10px;
            padding: 10px 0;
            scrollbar-width: none;
        }

        .scroller-container::-webkit-scrollbar {
            display: none;
        }

        .scroll-item {
            min-width: 50px;
            text-align: center;
            padding: 10px;
            border-radius: 10px;
            cursor: pointer;
            transition: 0.3s;
            border: 1px solid #eee;
        }

        .scroll-item.active {
            background: #ffc107;
            border-color: #ffc107;
            color: #000;
            font-weight: 700;
        }

        .day-label {
            font-size: 0.75rem;
            display: block;
            color: #666;
            margin-bottom: 2px;
        }

        .scroll-item.active .day-label {
            color: #000;
        }

        .ampm-toggle {
            display: flex;
            background: #f0f0f0;
            border-radius: 50px;
            padding: 5px;
            width: fit-content;
            margin: 15px 0;
        }

        .ampm-btn {
            padding: 5px 15px;
            border-radius: 50px;
            border: none;
            background: transparent;
            font-weight: 700;
            cursor: pointer;
        }

        .ampm-btn.active {
            background: #ffc107;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        /* --- Mobile Responsive Fixes --- */
        @media (max-width: 991px) {
            .cab-results {
                margin-top: -80px;
            }

            .promo-badge-container {
                flex-direction: column;
                margin-bottom: 30px;
            }

            .badge-icons-section {
                padding: 15px;
                border-top: 1px solid #f0f0f0;
            }

            .badge-icon-v2 {
                font-size: 2rem;
            }

            .frequent-rider-plan h3 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .journey-header {
                padding: 15px 0;
            }

            .location-pills-container {
                gap: 8px;
            }

            .location-pill-yellow {
                padding: 8px 15px;
                font-size: 0.85rem;
                width: auto;
                min-width: fit-content;
                overflow: visible;
            }

            .departure-info-card {
                flex-direction: column;
                padding: 20px;
                align-items: flex-start;
                gap: 20px;
            }

            .return-section {
                text-align: left;
                border-left: none;
                padding-left: 0;
                border-top: 1px solid #eee;
                padding-top: 15px;
                width: 100%;
            }

            .day-big {
                font-size: 2.5rem;
            }

            .my-text {
                font-size: 1rem;
            }

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

            .journey-stats h2 {
                font-size: 1.2rem;
                display: flex;
                flex-direction: column;
                gap: 5px;
            }

            .journey-stats h2 span.mx-2 {
                display: none;
            }

            .car-card {
                padding: 20px 15px;
            }

            .price-discounted {
                font-size: 1.8rem;
            }

            .car-display-name {
                font-size: 1.2rem;
                min-height: auto;
                margin-bottom: 10px;
            }
            
            .distance-breakdown-card {
                padding: 15px;
            }
            
            .route-segment {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
            
            .segment-stats {
                width: 100%;
                justify-content: space-between;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .day-big {
                font-size: 2rem;
            }
            
            .date-display {
                gap: 10px;
            }
            
            .price-discounted {
                font-size: 1.6rem;
            }
            
            .btn-book-now {
                font-size: 1rem;
                padding: 12px 0;
            }
        }