﻿:root {
            --bg-primary: #FAFCFC;
            --text-primary: #004D5A;
            --emerald: #004D5A;
            --emerald-light: #BAF3E6;
            --blue: #008796;
            --purple: #00687A;
            --orange: #F5A623;
            --white: #ffffff;
            --gray-100: #E6F2F0;
            --gray-200: #D1E5E1;
            --gray-300: #A8C9C4;
            --gray-400: #669299;
            --gray-500: #4D7B82;
            --shadow-sm: 0 1px 2px rgba(0, 77, 90, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 77, 90, 0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0, 77, 90, 0.1), 0 10px 10px -5px rgba(0, 77, 90, 0.04);
            --radius: 12px;
            --radius-sm: 8px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Booking Page */
        .booking-page {
            background: var(--bg-primary);
            min-height: 100vh;
        }
        .booking-wrapper {
            max-width: 672px;
            margin: 0 auto;
            padding: 10px;
        }
        .booking-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }
        .booking-header-wrapper {
            display: none;
        }
        .hero-booking-header {
            position: absolute;
            top: 0.45rem;
            left: max(0.75rem, calc((100vw - 1120px) / 2));
            right: max(0.75rem, calc((100vw - 1120px) / 2));
            z-index: 2;
            margin: 0;
        }
        .hero-booking-header .back-btn,
        .hero-booking-header .step-indicator {
            color: var(--white);
            background: rgba(0, 77, 90, 0.62);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 999px;
            padding: 0.28rem 0.65rem;
            backdrop-filter: blur(8px);
        }
        .back-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray-500);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: color 0.3s ease;
        }
        .back-btn:hover { color: var(--text-primary); }
        .back-btn svg {
            width: 18px;
            height: 18px;
        }
        .step-indicator {
            font-size: 0.85rem;
            color: var(--gray-500);
            font-weight: 600;
        }

        /* Trip Details */
        .booking-trip-details {
            background: transparent;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            margin: 0 0 0.8rem;
            overflow: hidden;
            width: 100%;
        }
        .trip-details-hero {
            position: relative;
            height: 300px;
            min-height: 0;
            overflow: hidden;
            background: var(--emerald);
        }
        .trip-details-img {
            width: 100%;
            height: 100%;
            min-height: 0;
            display: block;
            object-fit: cover;
        }
        .trip-details-hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, rgba(0, 55, 67, 0.68), rgba(0, 77, 90, 0.18) 45%, rgba(0, 45, 55, 0.72));
        }
        .trip-details-overlay {
            position: absolute;
            inset: 0;
            z-index: 1;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            gap: 1rem;
            padding: 4rem max(1rem, calc((100vw - 1120px) / 2)) 1.15rem;
            color: var(--white);
        }
        .legacy-hidden,
        .trip-details-overlay p,
        .trip-details-overlay > .trip-departure-strip,
        .trip-details-body {
            display: none;
        }
        .trip-details-overlay h1:not(.trip-details-title) {
            display: none;
        }
        .trip-details-title {
            display: block;
            order: 1;
            color: var(--white);
            font-size: 1.7rem;
            font-weight: 800;
            line-height: 1.35;
            margin: 0;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
        }
        .booking-trip-details > .trip-departure-strip {
            display: none;
        }
        .trip-hero-facts {
            order: 2;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 0.75rem;
            width: 100%;
        }
        .trip-hero-fact {
            display: grid;
            grid-template-columns: 28px minmax(0, 1fr);
            column-gap: 0.55rem;
            align-items: center;
            color: var(--white);
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
        }
        .trip-hero-fact svg {
            grid-row: span 2;
            width: 28px;
            height: 28px;
            color: var(--emerald-light);
        }
        .trip-hero-fact span {
            color: rgba(255, 255, 255, 0.76);
            font-size: 0.72rem;
            font-weight: 700;
            line-height: 1.2;
        }
        .trip-hero-fact strong {
            color: var(--white);
            font-size: 0.92rem;
            font-weight: 800;
            line-height: 1.35;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .trip-details-badges {
            display: none;
        }
        .legacy-hidden {
            display: none;
        }
        .trip-details-badges {
            display: none;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-bottom: 0.25rem;
        }
        .trip-details-badges span {
            background: rgba(255, 255, 255, 0.16);
            border: 1px solid rgba(255, 255, 255, 0.24);
            border-radius: 999px;
            padding: 0.25rem 0.7rem;
            font-size: 0.75rem;
            font-weight: 800;
            backdrop-filter: blur(8px);
        }
        .trip-details-overlay h1 {
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1.5;
            margin: 0;
        }
        .trip-details-overlay p {
            font-size: 0.9rem;
            font-weight: 700;
            opacity: 0.9;
            margin: 0;
        }
        .trip-departure-strip {
            max-width: 1120px;
            margin: 0;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.75rem;
            position: static;
            z-index: 3;
            width: min(100%, 560px);
        }
        .trip-departure-item {
            background: transparent;
            border: 0;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
            color: var(--white);
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
        }
        .trip-departure-item span {
            display: block;
            color: rgba(255, 255, 255, 0.78);
            font-size: 0.66rem;
            font-weight: 700;
            margin-bottom: 0.05rem;
        }
        .trip-departure-item strong {
            color: var(--white);
            font-size: 0.86rem;
            font-weight: 800;
        }
        .trip-details-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 0.9rem;
        }
        .trip-details-heading span {
            color: var(--gray-500);
            font-size: 0.85rem;
            font-weight: 700;
        }
        .trip-details-heading strong {
            color: var(--emerald);
            font-size: 1rem;
            font-weight: 800;
        }
        .trip-meta-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.6rem;
            margin-bottom: 0.9rem;
        }
        .trip-meta-item {
            background: var(--gray-100);
            border: 1px solid var(--gray-200);
            border-radius: var(--radius-sm);
            padding: 0.75rem;
        }
        .trip-meta-item span {
            display: block;
            color: var(--gray-500);
            font-size: 0.74rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
        }
        .trip-meta-item strong {
            display: block;
            color: var(--text-primary);
            font-size: 0.88rem;
            font-weight: 800;
            line-height: 1.6;
        }
        .trip-info-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.45rem;
            margin-bottom: 1rem;
        }
        .trip-info-list span {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            background: rgba(186, 243, 230, 0.55);
            border-radius: 999px;
            color: var(--emerald);
            padding: 0.32rem 0.7rem;
            font-size: 0.78rem;
            font-weight: 800;
        }
        .trip-info-list svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }
        .program-accordions {
            display: flex;
            flex-direction: column;
            gap: 0.55rem;
        }
        .program-detail {
            border: 1px solid var(--gray-200);
            border-radius: var(--radius-sm);
            overflow: hidden;
            background: var(--white);
        }
        .program-detail summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            padding: 0.8rem;
            cursor: pointer;
            font-size: 0.86rem;
            font-weight: 800;
            list-style: none;
        }
        .program-detail summary::-webkit-details-marker {
            display: none;
        }
        .program-detail summary span {
            color: var(--blue);
            font-size: 0.72rem;
            white-space: nowrap;
        }
        .program-days {
            display: grid;
            gap: 0.6rem;
            padding: 0 0.8rem 0.8rem;
        }
        .program-days article,
        .program-note {
            background: var(--gray-100);
            border-radius: var(--radius-sm);
            padding: 0.75rem;
        }
        .program-days h3 {
            color: var(--emerald);
            font-size: 0.9rem;
            font-weight: 800;
            margin-bottom: 0.35rem;
        }
        .program-days p,
        .program-note {
            color: var(--gray-500);
            font-size: 0.8rem;
            font-weight: 600;
            line-height: 1.8;
        }
        .program-note {
            margin: 0 0.8rem 0.8rem;
        }
        .trip-hotels-preview {
            margin-top: 0.9rem;
            padding-top: 0.85rem;
            border-top: 1px solid var(--gray-200);
            font-size: 0.85rem;
        }
        .trip-hotels-preview span {
            color: var(--gray-500);
            font-weight: 700;
        }
        .trip-hotels-preview strong {
            color: var(--text-primary);
            font-weight: 800;
            line-height: 1.7;
        }

        /* Wizard */
        .wizard-container {
            background: var(--white);
            border-radius: var(--radius);
            box-shadow: var(--shadow-md);
            padding: 1.25rem;
        }

        /* Steps Box */
        .steps-box {
            border: 1px solid var(--gray-200);
            border-radius: var(--radius);
            background: linear-gradient(180deg, rgba(250, 252, 252, 0.96), var(--white));
            padding: 0.9rem;
            margin-bottom: 1.35rem;
        }
        .steps-box-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }
        .steps-box-header span {
            color: var(--text-primary);
            font-size: 0.95rem;
            font-weight: 800;
        }
        .steps-box-header strong {
            color: var(--blue);
            font-size: 0.82rem;
            font-weight: 800;
            white-space: nowrap;
        }
        .progress-bar {
            position: relative;
            height: 4px;
            background: var(--gray-200);
            border-radius: 2px;
            margin-bottom: 0.85rem;
            overflow: hidden;
        }
        .progress-fill {
            height: 100%;
            background: var(--emerald);
            border-radius: 2px;
            transition: width 0.4s ease;
            width: 0%;
        }
        .progress-steps {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 0.45rem;
            list-style: none;
        }
        .progress-step {
            min-width: 0;
            border: 1px solid var(--gray-200);
            border-radius: var(--radius-sm);
            background: var(--white);
            padding: 0.55rem 0.4rem;
            text-align: center;
            transition: all 0.3s ease;
        }
        .progress-step-num {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--gray-100);
            color: var(--gray-500);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.78rem;
            font-weight: 800;
            margin-bottom: 0.28rem;
        }
        .progress-step-title,
        .progress-step-status {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .progress-step-title {
            color: var(--text-primary);
            font-size: 0.76rem;
            font-weight: 800;
            line-height: 1.35;
        }
        .progress-step-status {
            color: var(--gray-500);
            font-size: 0.64rem;
            font-weight: 700;
            margin-top: 0.1rem;
        }
        .progress-step.completed {
            border-color: rgba(0, 77, 90, 0.18);
            background: rgba(186, 243, 230, 0.42);
        }
        .progress-step.completed .progress-step-num {
            background: var(--emerald);
            color: var(--white);
        }
        .progress-step.completed .progress-step-status {
            color: var(--emerald);
        }
        .progress-step.current {
            border-color: var(--emerald);
            background: var(--emerald-light);
            box-shadow: 0 0 0 3px rgba(186, 243, 230, 0.55);
        }
        .progress-step.current .progress-step-num {
            background: var(--emerald);
            color: var(--white);
            box-shadow: 0 0 0 3px var(--white);
        }
        .progress-step.current .progress-step-status {
            color: var(--emerald);
        }
        .progress-step.pending {
            opacity: 0.72;
        }

        /* Wizard Steps */
        .wizard-step {
            display: none;
            animation: fadeIn 0.3s ease;
        }
        .wizard-step.active {
            display: block;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .wizard-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-align: center;
        }

        /* Path Options */
        .path-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }
        .bus-options {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 1rem;
        }
        .bus-choice-card {
            position: relative;
            display: grid;
            grid-template-columns: 64px minmax(0, 1fr) auto;
            gap: 0.75rem;
            align-items: center;
            width: 100%;
            min-height: 94px;
            border: 1.5px solid rgba(0, 77, 90, 0.18);
            border-radius: var(--radius-sm);
            background: linear-gradient(145deg, #ffffff 0%, #fbfdfd 100%);
            padding: 0.72rem 0.82rem;
            padding-top: 1rem;
            cursor: pointer;
            box-shadow: 0 10px 24px rgba(0, 77, 90, 0.08);
            transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        }
        .bus-choice-card:hover {
            border-color: rgba(0, 77, 90, 0.32);
            background: linear-gradient(145deg, #ffffff 0%, #f4fbfa 100%);
            box-shadow: 0 14px 30px rgba(0, 77, 90, 0.12);
        }
        .bus-choice-card.selected {
            border-color: #4bc6a2;
            background: #c3f3e6;
            box-shadow: 0 16px 34px rgba(0, 77, 90, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.78);
        }
        .bus-choice-card.unavailable {
            cursor: not-allowed;
            opacity: 0.68;
            background: var(--gray-100);
            border-style: dashed;
        }
        .bus-choice-card.unavailable:hover {
            border-color: var(--gray-200);
            background: var(--gray-100);
            box-shadow: none;
        }
        .bus-days-badge {
  position: absolute;
    top: -0.55rem;
    right: 0.55rem;
    max-width: 48%;
    border-radius: 999px;
    background: #ffbe00;
    color: var(--emerald);
    padding: 5px 15px;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px !important;
}
        .bus-checkline {
position: absolute;
    top: 0.42rem;
    left: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #217255;
    font-size: 15px !important;
    font-weight: 800;
    padding: 0.24rem 0.55rem;
    line-height: 1;
    z-index: 2;
}
        .bus-checkline strong {
            color: var(--emerald);
            font-size: 0.92rem;
            line-height: 1;
        }
        .money-amount {
            display: inline-flex;
            align-items: center;
            font-size: 15px;
            gap: 0.22em;
            white-space: nowrap;
            direction: rtl;
        }
        .riyal-symbol {
            width: 0.72em;
            height: 0.82em;
            object-fit: contain;
            flex: 0 0 auto;
            vertical-align: -0.08em;
        }
        .bus-checkmark {
            width: 16px;
            height: 16px;
            border: 2px solid var(--gray-300);
            border-radius: 5px;
            background: var(--white);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .bus-choice-card.selected .bus-checkmark {
            border-color: #46b88b;
            background: #46b88b;
        }
        .bus-choice-card.selected .bus-checkmark::after {
            content: '✓';
            color: var(--white);
            font-size: 0.78rem;
            font-weight: 800;
            line-height: 1;
        }
        .bus-choice-img {
            width: 64px;
            height: 64px;
            min-height: 0;
            object-fit: cover;
            border-radius: var(--radius-sm);
            box-shadow: 0 6px 15px rgba(0, 77, 90, 0.08);
        }
        .bus-choice-body {
            min-width: 0;
            display: grid;
            gap: 0.15rem;
        }
        .bus-choice-body h3 {
            color: var(--text-primary);
            font-size: 0.86rem;
            font-weight: 800;
            line-height: 1.25;
            margin: 0;
            padding-left: 0;
        }
        .bus-choice-body p {
            color: var(--gray-500);
            font-size: 0.65rem;
            font-weight: 700;
            margin: 0.1rem 0 0;
        }
        .bus-roundtrip-text {
            color: var(--emerald);
        }
        .bus-unavailable-text {
            color: var(--gray-500);
            font-size: 0.68rem;
            font-weight: 800;
        }
        .bus-choice-body strong {
            color: var(--emerald);
            font-size: 0.7rem;
            font-weight: 800;
        }
        .bus-choice-actions {
            display: flex;
            gap: 0.35rem;
            align-items: center;
            margin-top: 0;
        }
        .bus-details-btn,
        .bus-select-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            min-width: 82px;
            border: 0;
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-size: 0.82rem;
            font-weight: 800;
            padding: 0.66rem 0.78rem;
        }
        .bus-details-btn svg,
        .bus-select-btn svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2.4;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }
        .bus-details-btn {
            background: rgba(241, 250, 248, 0.94);
            color: var(--text-primary);
            border: 1px solid rgba(0, 77, 90, 0.08);
        }
        .bus-select-btn {
         background: #ffffff;
         color: var(--emerald);
         border: 1px solid #22464c;
}
        .bus-choice-card.selected .bus-select-btn {
            background: linear-gradient(135deg, #aeeedf 0%, #d9faf2 100%);
        }
        .bus-select-btn:disabled {
            cursor: not-allowed;
            background: var(--gray-300);
        }
        .bus-option small,
        .bus-option strong {
            display: block;
            font-size: 0.72rem;
            color: var(--gray-500);
        }
        .bus-option strong {
            color: var(--emerald);
        }
        .bus-option .bus-choice-body strong {
            color: var(--emerald);
            font-size: 0.7rem;
        }
        .path-btn {
            padding: 0.75rem;
            border: 2px solid var(--gray-200);
            border-radius: var(--radius);
            background: var(--white);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 0.55rem;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-weight: 600;
            min-height: 64px;
            text-align: right;
        }
        .path-btn:hover {
            border-color: var(--emerald);
            background: var(--emerald-light);
        }
        .path-btn.selected {
            border-color: var(--emerald);
            background: var(--emerald-light);
            color: var(--emerald);
        }
        .route-option {
            position: relative;
            align-items: center;
            flex-wrap: wrap;
        }
        .route-unavailable-badge {
            position: absolute;
    inset-inline-start: 0.55rem;
    top: -9px;
    width: auto;
    max-width: calc(100% - 1.1rem);
    padding: 0.16rem 0.42rem;
    border-radius: 999px;
    background: #ff9b00;
    border: 1px solid var(--gray-200);
    color: #000000;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}
        .route-option small:not(.route-unavailable-badge) {
            display: block;
            width: 100%;
            color: var(--gray-500);
            font-size: 0.68rem;
            font-weight: 800;
            text-align: center;
        }
        .route-option.unavailable {
            cursor: not-allowed;
            opacity: 0.72;
            background: var(--gray-100);
            border-style: dashed;
            color: var(--gray-500);
        }
        .route-option.unavailable:hover {
            border-color: var(--gray-200);
            background: var(--gray-100);
        }
        .path-icon {
            position: relative;
            width: 38px;
            height: 38px;
            background: var(--gray-100);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .path-icon svg {
            width: 20px;
            height: 20px;
            color: var(--emerald);
        }
        .path-icon-small {
            position: absolute;
            bottom: -2px;
            right: -2px;
            width: 16px !important;
            height: 16px !important;
            background: var(--emerald);
            border-radius: 50%;
            padding: 2px;
            color: var(--white) !important;
        }

        /* Form Elements */
        .form-group {
            margin-bottom: 1rem;
        }
        .form-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.4rem;
            color: var(--text-primary);
        }
        .form-input {
            width: 100%;
            padding: 0.625rem 0.875rem;
            border: 1.5px solid var(--gray-200);
            border-radius: var(--radius-sm);
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }
        .form-input:focus {
            outline: none;
            border-color: var(--emerald);
            box-shadow: 0 0 0 3px var(--emerald-light);
        }
        .date-picker-wrap {
            position: relative;
        }
        .date-picker-wrap::after {
            content: '▾';
            position: absolute;
            left: 0.85rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--emerald);
            font-size: 0.85rem;
            pointer-events: none;
        }
        #tripDateDisplay {
            cursor: pointer;
            padding-left: 2rem;
        }
        .arabic-calendar {
            position: absolute;
            top: calc(100% + 0.45rem);
            right: 0;
            z-index: 20;
            width: min(100%, 340px);
            border: 1px solid var(--gray-200);
            border-radius: var(--radius);
            background: var(--white);
            box-shadow: var(--shadow-xl);
            padding: 0.85rem;
        }
        .calendar-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }
        .calendar-title {
            color: var(--text-primary);
            font-size: 0.95rem;
            font-weight: 800;
        }
        .calendar-nav {
            width: 30px;
            height: 30px;
            border: 1px solid var(--gray-200);
            border-radius: 8px;
            background: var(--gray-100);
            color: var(--emerald);
            cursor: pointer;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-weight: 800;
        }
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, minmax(0, 1fr));
            gap: 0.28rem;
        }
        .calendar-weekday {
            color: var(--gray-500);
            font-size: 0.68rem;
            font-weight: 800;
            text-align: center;
            padding-bottom: 0.25rem;
        }
        .calendar-day {
            min-height: 34px;
            border: 1px solid transparent;
            border-radius: 8px;
            background: var(--gray-100);
            color: var(--text-primary);
            cursor: pointer;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-size: 0.82rem;
            font-weight: 800;
        }
        .calendar-day:hover {
            border-color: var(--emerald);
            background: var(--emerald-light);
        }
        .calendar-day.selected {
            background: var(--emerald);
            color: var(--white);
        }
        .calendar-day.disabled,
        .calendar-day.empty {
            cursor: not-allowed;
            opacity: 0.35;
        }
        .calendar-day.empty {
            background: transparent;
        }
        .calendar-day.disabled:hover,
        .calendar-day.empty:hover {
            border-color: transparent;
            background: var(--gray-100);
        }
        .date-arabic-preview {
            display: block;
            color: var(--gray-500);
            font-size: 0.78rem;
            font-weight: 700;
            margin-top: 0.35rem;
        }
        .duration-options {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
        }
        .dur-btn {
            padding: 0.625rem;
            border: 1.5px solid var(--gray-200);
            border-radius: var(--radius-sm);
            background: var(--white);
            cursor: pointer;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .dur-btn:hover, .dur-btn.selected {
            border-color: var(--emerald);
            background: var(--emerald-light);
            color: var(--emerald);
        }

        /* Bus Card */
        .bus-card {
            border: 1.5px solid var(--gray-200);
            border-radius: var(--radius);
            overflow: hidden;
        }
        .selected-bus-card {
            margin-top: -0.18rem;
            margin-bottom: 0.3rem;
            border-color: rgba(75, 198, 162, 0.5);
            border-radius: var(--radius-sm);
            background: linear-gradient(145deg, #ffffff 0%, #f5fcfa 100%);
            padding: 0.42rem;
            overflow: visible;
            box-shadow: 0 10px 24px rgba(0, 77, 90, 0.07);
        }
        .selected-bus-card .bus-img,
        .selected-bus-card .bus-features {
            display: none;
        }
        .selected-bus-card .bus-info {
            padding: 0;
            display: grid;
            gap: 0.32rem;
        }
        .selected-bus-card .bus-info h3 {
            margin: 0;
            color: var(--text-primary);
            font-size: 0.78rem;
            font-weight: 800;
        }
        .selected-bus-card .bus-price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 0;
            padding-top: 0;
            gap: 0.75rem;
            border: 1px solid rgba(75, 198, 162, 0.5);
            border-radius: var(--radius-sm);
            background: linear-gradient(135deg, rgba(186, 243, 230, 0.42) 0%, rgba(255, 255, 255, 0.96) 100%);
            padding: 0.48rem 0.62rem;
        }
        .selected-bus-card .bus-price-row > div {
            display: grid;
            gap: 0.12rem;
        }
        .selected-bus-card .bus-price-row span {
            color: var(--gray-500);
            font-size: 0.64rem;
            font-weight: 800;
        }
        .seat-picker-row,
        .seat-picker-inline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
        }
        .seat-picker-row {
            padding: 0.38rem 0.62rem 0.15rem;
        }
        .seat-picker-row label,
        .seat-picker-inline label {
            color: var(--text-primary);
            font-size: 0.72rem;
            font-weight: 800;
        }
        .seat-picker-inline {
            min-width: 170px;
            justify-content: flex-end;
        }
        .selected-bus-card .bus-price-row .seat-picker-inline {
            display: flex;
        }
        .seat-select-wrap {
            position: relative;
            min-width: 84px;
        }
        .seat-select-wrap select {
            width: 100%;
            border: 1px solid rgba(75, 198, 162, 0.42);
            border-radius: var(--radius-sm);
            background: rgba(255, 255, 255, 0.95);
            color: var(--text-primary);
            padding: 0.36rem 0.55rem;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-size: 0.72rem;
            font-weight: 800;
        }
        .selected-bus-card .seat-total-row {
            margin-top: 0;
            padding: 0.42rem 0.62rem;
            background: rgba(255, 255, 255, 0.78);
            border-top: 1px solid rgba(186, 243, 230, 0.58);
        }
        .bus-img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        .bus-info {
            padding: 1rem;
        }
        .bus-info h3 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .bus-features {
            list-style: none;
            margin-bottom: 1rem;
        }
        .bus-features li {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: var(--gray-500);
            margin-bottom: 0.25rem;
        }
        .bus-features svg {
            width: 14px;
            height: 14px;
            color: var(--emerald);
            flex-shrink: 0;
        }
        .bus-price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 0.75rem;
            border-top: 1px solid var(--gray-100);
        }
        .seat-price {
            font-weight: 700;
            color: var(--emerald);
        }
        .seat-total-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            margin-top: 0.75rem;
            padding: 0.7rem 0.75rem;
            border-radius: var(--radius-sm);
            background: var(--gray-100);
            color: var(--text-primary);
            font-size: 0.9rem;
            font-weight: 800;
        }
        .seat-total-row strong {
            color: var(--emerald);
            font-size: 1rem;
            white-space: nowrap;
        }

        /* Bus Details Modal */
        .bus-details-modal {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        .bus-details-modal.is-hidden {
            display: none;
        }
        .bus-details-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 45, 55, 0.62);
        }
        .bus-details-panel {
            position: relative;
            z-index: 1;
            width: min(100%, 620px);
            max-height: min(88vh, 760px);
            overflow: auto;
            border-radius: var(--radius);
            background: var(--white);
            box-shadow: var(--shadow-xl);
        }
        .bus-details-close {
            position: absolute;
            top: 0.6rem;
            left: 0.6rem;
            z-index: 2;
            width: 34px;
            height: 34px;
            border: 0;
            border-radius: 50%;
            background: rgba(0, 77, 90, 0.74);
            color: var(--white);
            cursor: pointer;
            font-size: 1.25rem;
            line-height: 1;
        }
        .bus-details-gallery {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.4rem;
            padding: 0.7rem;
            background: var(--gray-100);
        }
        .bus-details-gallery img {
            width: 100%;
            height: 140px;
            border-radius: var(--radius-sm);
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        .bus-details-gallery img:hover {
            transform: scale(1.03);
        }
        .bus-details-gallery img:first-child:nth-last-child(1) {
            grid-column: 1 / -1;
            height: 220px;
        }
        .bus-details-gallery img:first-child:nth-last-child(3),
        .bus-details-gallery img:first-child:nth-last-child(3) ~ img {
            height: 160px;
        }
        .bus-details-content {
            padding: 1rem;
        }
        .bus-details-badge {
            display: inline-flex;
            max-width: 100%;
            border-radius: 999px;
            background: var(--emerald-light);
            color: var(--emerald);
            padding: 0.28rem 0.7rem;
            font-size: 0.72rem;
            font-weight: 800;
            margin-bottom: 0.65rem;
        }
        .bus-details-content h3 {
            color: var(--text-primary);
            font-size: 1.1rem;
            font-weight: 800;
            margin-bottom: 0.25rem;
        }
        .bus-details-content p {
            color: var(--emerald);
            font-size: 0.9rem;
            font-weight: 800;
            margin-bottom: 0.8rem;
        }
        .bus-details-features {
            display: flex;
            flex-wrap: wrap;
            gap: 0.35rem;
            list-style: none;
            margin-bottom: 1rem;
        }
        .bus-details-features li {
            border-radius: var(--radius-sm);
            background: var(--gray-100);
            color: var(--gray-500);
            padding: 0.35rem 0.55rem;
            font-size: 0.78rem;
            font-weight: 800;
            white-space: nowrap;
        }

        /* Counter */
        .counter {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .counter-btn {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            border: 1.5px solid var(--gray-200);
            background: var(--white);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-primary);
            transition: all 0.2s ease;
        }
        .counter-btn:hover {
            border-color: var(--emerald);
            background: var(--emerald-light);
            color: var(--emerald);
        }
        .counter span {
            font-weight: 700;
            min-width: 24px;
            text-align: center;
        }

        /* Hotels */
        .hotels-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        .hotel-card {
            border: 1.5px solid var(--gray-200);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .hotel-card.selected {
            border-color: var(--emerald);
            background: rgba(186, 243, 230, 0.28);
        }
        .hotel-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            border: 0;
            border-radius: 0;
            transition: all 0.3s ease;
        }
        .hotel-card:hover {
            background: var(--emerald-light);
        }
        .hotel-item img {
            width: 60px;
            height: 60px;
            border-radius: var(--radius-sm);
            object-fit: cover;
            flex-shrink: 0;
        }
        .hotel-details h4 {
            font-size: 0.9rem;
            font-weight: 700;
        }
        .hotel-details p {
            font-size: 0.75rem;
            color: var(--gray-500);
        }
        .hotel-details {
            min-width: 0;
            flex: 1;
        }
        .hotel-stars {
            color: #fbbf24;
            font-size: 0.8rem;
        }
        .hotel-select-btn {
            border: 0;
            border-radius: var(--radius-sm);
            background: var(--emerald);
            color: var(--white);
            cursor: pointer;
            flex-shrink: 0;
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-size: 0.78rem;
            font-weight: 800;
            padding: 0.45rem 0.75rem;
            transition: all 0.2s ease;
        }
        .hotel-select-btn:hover {
            background: #003B45;
        }
        .hotel-card.selected .hotel-select-btn {
            background: var(--blue);
        }

        /* Room Options */
        .room-options {
            background: var(--gray-100);
            border-top: 1px solid var(--gray-200);
            border-radius: 0;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        .is-hidden {
            display: none;
        }
        .room-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .room-info h4 {
            font-size: 0.85rem;
            font-weight: 700;
        }
        .room-info p {
            font-size: 0.75rem;
            color: var(--emerald);
            font-weight: 600;
        }

        /* Summary */
        .summary-card {
            background: var(--gray-100);
            border-radius: var(--radius-sm);
            padding: 1rem;
            margin-bottom: 1rem;
        }
        .summary-row {
            display: flex;
            justify-content: space-between;
            padding: 0.4rem 0;
            font-size: 0.85rem;
            border-bottom: 1px solid var(--gray-200);
        }
        .summary-row span:first-child {
            color: var(--gray-500);
        }
        .summary-row span:last-child {
            font-weight: 600;
        }
        .summary-total {
            display: flex;
            justify-content: space-between;
            padding-top: 0.75rem;
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--emerald);
        }

        /* Payment */
        .payment-method {
            margin-bottom: 1rem;
        }
        .payment-method h4 {
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .payment-option {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem;
            border: 1.5px solid var(--emerald);
            border-radius: var(--radius-sm);
            background: var(--emerald-light);
            color: var(--emerald);
            font-weight: 600;
            font-size: 0.9rem;
        }
        .payment-option svg {
            width: 20px;
            height: 20px;
        }

        /* Customer Form */
        .customer-form {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        /* Navigation */
        .wizard-nav {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.25rem;
        }
        .nav-btn {
            flex: 1;
            padding: 0.75rem;
            border-radius: var(--radius-sm);
            font-family: 'IBM Plex Sans Arabic', sans-serif;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }
        .nav-btn.primary {
            background: var(--emerald);
            color: var(--white);
        }
        .nav-btn.primary:hover {
            background: #003B45;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        .nav-btn.secondary {
            background: var(--gray-100);
            color: var(--gray-500);
        }
        .nav-btn.secondary:hover {
            background: var(--gray-200);
        }

        /* Confirmation */
        .confirmation-box {
            text-align: center;
            padding: 2rem 1rem;
        }
        .confirm-icon {
            width: 72px;
            height: 72px;
            background: var(--emerald-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
        }
        .confirm-icon svg {
            width: 36px;
            height: 36px;
            color: var(--emerald);
        }
        .confirmation-box h2 {
            font-size: 1.25rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }
        .confirmation-box p {
            color: var(--gray-500);
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }
        .whatsapp-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: #25d366;
            color: var(--white);
            padding: 0.875rem 2rem;
            border-radius: var(--radius-sm);
            text-decoration: none;
            font-weight: 700;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }
        .whatsapp-btn:hover {
            background: #128c7e;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        .whatsapp-btn svg {
            width: 22px;
            height: 22px;
        }

        /* Responsive */
        @media (max-width: 640px) {
            .trip-meta-grid { grid-template-columns: 1fr; }
            .trip-details-hero {
                height: 250px;
            }
            .trip-details-img {
                min-height: 0;
            }
            .trip-details-overlay {
                padding: 3rem 0.75rem 0.8rem;
                gap: 0.75rem;
            }
            .trip-details-title { font-size: 1.05rem; }
            .trip-hero-facts {
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 0.35rem;
            }
            .trip-hero-fact {
                display: flex;
                min-width: 0;
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 0.15rem;
            }
            .trip-hero-fact svg {
                width: 20px;
                height: 20px;
            }
            .trip-hero-fact span {
                font-size: 0.54rem;
            }
            .trip-hero-fact strong {
                width: 100%;
                font-size: 0.62rem;
                line-height: 1.25;
                white-space: normal;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
            }
            .hero-booking-header {
                top: 0.35rem;
                left: 0.5rem;
                right: 0.5rem;
            }
            .hero-booking-header .back-btn,
            .hero-booking-header .step-indicator {
                font-size: 0.72rem;
                padding: 0.22rem 0.5rem;
            }
            .trip-departure-strip {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.35rem;
                width: 100%;
            }
            .trip-departure-item {
                padding: 0;
            }
            .trip-departure-item span {
                font-size: 0.58rem;
            }
            .trip-departure-item strong {
                font-size: 0.68rem;
                line-height: 1.35;
            }
            .trip-details-heading {
                align-items: flex-start;
                flex-direction: column;
                gap: 0.2rem;
            }
            .program-detail summary {
                align-items: flex-start;
                flex-direction: column;
                gap: 0.25rem;
            }
            .duration-options { grid-template-columns: repeat(2, 1fr); }
            .path-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .progress-steps {
                grid-template-columns: repeat(5, minmax(0, 1fr));
                gap: 0.22rem;
            }
            .progress-step {
                padding: 0.36rem 0.18rem;
            }
            .progress-step-num {
                width: 22px;
                height: 22px;
                font-size: 0.68rem;
                margin-bottom: 0.18rem;
            }
            .progress-step-title {
                font-size: 0.58rem;
            }
            .progress-step-status {
                font-size: 0.5rem;
            }
            .path-btn {
                padding: 0.55rem;
                gap: 0.35rem;
                min-height: 54px;
                font-size: 0.78rem;
            }
            .bus-choice-card {
                grid-template-columns: 48px minmax(0, 1fr) auto;
                gap: 0.45rem;
                min-height: 98px;
                padding: 0.58rem;
                padding-top: 1.38rem;
                border-width: 1.5px;
            }
            .bus-choice-img {
                width: 48px;
                height: 48px;
                min-height: 0;
            }
            .bus-checkline {
                left: 0.45rem;
                gap: 0.32rem;
                font-size: 0.7rem;
                max-width: 58%;
                padding: 0.22rem 0.46rem;
            }
            .bus-checkline strong {
                font-size: 0.82rem;
            }
            .bus-checktext {
                display: inline;
            }
            .bus-choice-body h3 {
                font-size: 0.76rem;
                padding-left: 0;
            }
            .bus-choice-body p,
            .bus-choice-body strong {
                font-size: 0.62rem;
            }
            .bus-choice-actions {
                gap: 0.25rem;
            }
            .bus-details-btn,
            .bus-select-btn {
                padding: 0.56rem 0.58rem;
                font-size: 0.72rem;
            }
            .selected-bus-card {
                padding: 0.38rem;
                margin-top: -0.16rem;
            }
            .selected-bus-card .bus-price-row,
            .seat-picker-row,
            .selected-bus-card .seat-total-row {
                padding-right: 0.6rem;
                padding-left: 0.6rem;
            }
            .selected-bus-card .bus-price-row {
                flex-wrap: wrap;
            }
            .selected-bus-card .bus-price-row .seat-picker-inline {
                width: 100%;
                min-width: 0;
                justify-content: space-between;
            }
            .bus-days-badge {
                right: 0.55rem;
                font-size: 0.56rem;
                max-width: 42%;
            }
            .bus-details-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
            .bus-details-gallery img {
                height: 110px;
            }
            .bus-details-gallery img:first-child:nth-last-child(1) {
                height: 180px;
            }
            .path-icon {
                width: 30px;
                height: 30px;
            }
            .path-icon svg {
                width: 16px;
                height: 16px;
            }
             .wizard-container { padding: 0rem; }
        }

        .route-program-box {
            margin-top: 1rem;
            border: 1.5px solid var(--gray-200);
            border-radius: var(--radius);
            overflow: hidden;
            background: var(--white);
            box-shadow: var(--shadow-sm);
        }
        .route-program-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, var(--emerald) 0%, #00687A 100%);
            color: var(--white);
            font-size: 0.82rem;
            font-weight: 800;
            padding: 0.65rem 0.9rem;
        }
        .route-program-header::before {
            content: '';
            display: inline-block;
            width: 18px;
            height: 18px;
            background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E") no-repeat center;
            background-size: contain;
            flex-shrink: 0;
        }
        .route-program-content {
            padding: 0;
        }
        .rp-inner {
            padding: 1rem;
            font-size: 0.82rem;
            line-height: 2;
            color: var(--text-primary);
        }
        .rp-inner p {
            margin: 0 0 0.85rem;
            padding: 0.75rem 0.85rem;
            background: var(--gray-100);
            border-radius: var(--radius-sm);
            border-right: 3px solid var(--emerald);
        }
        .rp-inner p:last-child {
            margin-bottom: 0;
        }
        .rp-inner span {
            display: block;
            font-size: 0.88rem;
            font-weight: 800;
            color: var(--emerald);
            margin-bottom: 0.25rem;
        }
        .rp-inner strong {
            color: var(--emerald);
            font-weight: 800;
        }
        .rp-inner h3,
        .rp-inner h4 {
            color: var(--emerald);
            font-weight: 800;
            margin: 0.75rem 0 0.35rem;
            font-size: 0.92rem;
        }
        .rp-inner ul,
        .rp-inner ol {
            margin: 0.4rem 0;
            padding-right: 1.2rem;
        }
        .rp-inner li {
            margin-bottom: 0.2rem;
            line-height: 1.8;
        }

        @media (max-width: 640px) {
            .route-program-header {
                font-size: 0.76rem;
                padding: 0.5rem 0.7rem;
            }
            .rp-inner {
                padding: 0.75rem;
                font-size: 0.78rem;
            }
            .rp-inner p {
                padding: 0.55rem 0.65rem;
            }
        }
