/* =============================================
   RESET / BASE
   ============================================= */
* {
	font-family: 'DM Sans', sans-serif;
    font-weight: bold;
    box-sizing: border-box;
	font-style: italic;
}
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #f1f1f1;
    max-width: 800px;
    margin: auto;
    line-height: 1;
    padding: 0;
    overflow: hidden;
}

/* =============================================
   HEADER & MENU
   ============================================= */
.header-container {
    background-color: #000;
    color: white;
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0; left: 0; right: 0;
    margin: auto;
    z-index: 100;
    border-radius: 0 0 12px 12px;
    position: absolute;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.brand-info h1 { font-size: 28px; color: #fff; line-height: 1; font-style: italic; }
.brand-info p { font-size: 18px; color: #fff; line-height: 1;  margin-top:2px; }
.menu-button {
    background: #fff; border: none; cursor: pointer;
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    transition: all 0.3s ease;
}
.menu-button:hover { background: #f0f0f0; transform: scale(1.05); }
.menu-line { width: 22px; height: 2.5px; background-color: #000; border-radius: 2px; transition: all 0.3s ease; }
.menu-button.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-button.active .menu-line:nth-child(2) { opacity: 0; transform: translateX(20px); }
.menu-button.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
    position: fixed; top: 0; left: -100%;
    width: 80%; max-width: 380px; height: 85%; margin-top: 1%;
    background-color: #000; color: white;
    transition: left 0.4s ease; z-index: 1003;
    overflow-y: auto; box-shadow: 2px 0 20px rgba(255,255,255,0.5);
    border-radius: 0 10px 10px 0;
}
.sidebar.active { left: 0; }
.sidebar-header { padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,0.15); position: relative; }
.sidebar-header h1 { font-size: 22px; font-weight: bold; color: #fff; line-height: 1; margin: 0; }
.close-button {
    position: absolute; top: 10px; right: 15px;
    background: #fff; border: none; width: 35px; height: 35px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.close-button:hover { background: #f0f0f0; transform: rotate(90deg); }
.close-button svg { width: 18px; height: 18px; stroke: #000; stroke-width: 2.5; }
.sidebar-content { padding: 10px 0; display: flex; flex-direction: column; gap: 0; }
.menu-item {
    display: block; padding: 14px 20px; color: white; text-decoration: none;
    font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease; letter-spacing: 1px;
}
.menu-item:hover { background-color: rgba(255,255,255,0.1); padding-left: 30px; }
.menu-item.current-page { background-color: rgba(255,255,255,0.15); border-left: 4px solid #fff; font-weight: 600; }
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7); opacity: 0; visibility: hidden;
    transition: all 0.3s ease; z-index: 1001; backdrop-filter: blur(3px);
}
.menu-overlay.show { opacity: 1; visibility: visible; }

/* =============================================
   MAP
   ============================================= */
.form-group {
    position: fixed; top: 35px; left: 0; right: 0;
    width: 100%; max-width: 800px; margin: 0 auto;
    z-index: 1; height: 100vh;
}
#map { width: 100%; height: 100%; }
.mapboxgl-ctrl-top-right { display: none; }

/* =============================================
   BACK BUTTON
   ============================================= */
.back-btn {
    position: fixed; top: 50px; left: 12px; z-index: 998;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,0.75); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 14px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.back-btn.visible { opacity: 1; pointer-events: auto; }

/* =============================================
   DRAWER
   ============================================= */
.section3 {
    background-color: #fff; border-radius: 20px 20px 0 0; padding: 0;
    position: fixed; bottom: 0; left: 0; right: 0;
    max-width: 800px; margin: 0 auto; width: 100%; height: 70vh;
    transform: translateY(calc(100% - 350px));
    transition: none; z-index: 999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15); will-change: transform;
}
.drawer-handle {
    width: 100%; height: 36px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; cursor: grab;
    background: #000; border-radius: 20px 20px 0 0;
    position: sticky; top: 0; z-index: 1000;
    user-select: none; -webkit-user-select: none; touch-action: none;
}
.drawer-handle:active { cursor: grabbing; }
.drawer-handle-bar { width: 40px; height: 3px; background: rgba(255,255,255,0.5); border-radius: 2px; margin-bottom: 5px; }
.drawer-title { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.99); }
.drawer-content {
    height: calc(100% - 36px); overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch; padding: 5px 5px; background: #f1f1f1;
}

.date-time-containerr {display:flex; gap: 10px;}
/* =============================================
   FIXED BUTTONS (phone / WA inside handle)
   ============================================= */
.fixed-buttons {
    display: flex; gap: 25%; bottom: 3px; width: 98%;
    position: absolute; box-sizing: border-box; height: 32px;
}
.booking-btn {
    padding: 3px 2px 3px 15px; width: 50%; flex: 1;
    font-size: 12px; font-weight: bold; text-transform: uppercase;
    border: none; border-radius: 5px; cursor: pointer;
    transition: all 0.3s ease; text-decoration: none;
    text-align: left; color: black; box-sizing: border-box;
}
.btn-whatsapp { background-color: #25d366; border-radius: 4px 20px 4px 4px; }
.btn-phone    { background-color: #25d366; border-radius: 20px 4px 4px 4px; }

/* =============================================
   STEP TRANSITION
   ============================================= */
.step {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.step.step-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);
    position: absolute;
    width: 100%;
}
.step.step-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    position: relative;
}

/* =============================================
   STEP 1 — BOOKING FORM
   ============================================= */
.virtual-field {
    width: 100%; height: 40px; background-color: #fff;
    border: 1px solid #ddd; border-radius: 6px; margin-bottom: 5px;
    display: flex; align-items: center; padding: 0 10px 0 35px;
    cursor: pointer; box-sizing: border-box; position: relative;
    user-select: none; -webkit-user-select: none; overflow: hidden;
}
.virtual-field i { position: absolute; left: 12px; font-size: 16px; color: #000; pointer-events: none; }
.virtual-field-text { font-size: 13px; font-weight: bold; color: #000; white-space: nowrap; text-overflow: ellipsis; flex: 1; }
.virtual-field-text.placeholder { color: #666; font-size: 12px; font-weight: 450; }

.time-selection-container {
    display: flex; justify-content: space-between; align-items: center;
    background-color: #fff; padding: 0 10px 0 0; height: 40px;
    border: 1px solid #e0e0e0; border-radius: 6px;
}
.item-info { flex: 1; margin-right: 15px; }
.item-title { margin-left: 13px; font-weight: 400; font-size: 13px; color: #000; }
.item-price { margin-left: 13px; font-weight: 300; font-size: 9px; margin-top: 5px; color: #000; }
.counter { display: flex; align-items: center; justify-content: space-between; width: 100px; font-size: 14px; font-weight: normal; }
.counter button {
    background-color: #171d21; color: #fff; border: none; border-radius: 15%;
    width: 30px; height: 30px; font-weight: normal; font-size: 13px; cursor: pointer;
    display: flex; text-align: center; justify-content: center;
}
.counter button img { width: 14px; }
input[type="hidden"] { display: none; }

/* =============================================
   STEP 2 — VEHICLE SELECTION
   ============================================= */
.containerrr { width: 100%; background: transparent; }
.column {
    display: flex; align-items: center; justify-content: space-between;
    background-color: #000; position: relative; border-radius: 12px;
    padding: 0 5px; margin-top: 10px; cursor: pointer; transition: all 0.3s;
    min-height: 50px; border: 2px solid transparent;
}
.column:hover { border-color: #000; background: #f8f9fa; }
.column.selected { border: 2px solid #22c55e; background: #000; }
.column img { width: 60px; height: 40px; object-fit: contain; flex-shrink: 0; }
.column .time-info { flex: 1; margin: 0 15px; }
.column .time-info div { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.column .time-info span { font-size: 11px; color: #ccc; font-weight: normal; }
#fare1, #fare2, #fare3, #fare4 {
    font-size: 12px; font-weight: 600 !important; color: #22c55e;
    min-width: 60px; text-align: right; position: absolute; right: 10px; top: 10px;
}

/* Shared teaser */
.shared-teaser {
    background: #000; border-radius: 10px; padding: 10px 12px;
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    border: 1.5px solid transparent; transition: border-color 0.2s;
    justify-content: space-between; margin: 0 0 5px 0; display: none !important
}
.shared-teaser:hover { border-color: #22c55e; }
.combo-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; animation: teaserPulse 1.5s infinite; }
@keyframes teaserPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.05); } }
.combo-info { flex: 1; min-width: 0; }
.combo-title { font-size: 12px; color: #fff; font-weight: 500; white-space: nowrap; }
.combo-title strong { font-weight: 700; color: #22c55e; }
.combo-bar-wrap { margin-top: 5px; }
.combo-bar-bg { background: #333; border-radius: 4px; height: 5px; overflow: hidden; }
.combo-bar-fill { height: 100%; border-radius: 4px; background: #22c55e; transition: width 0.8s ease; }
.combo-seats { font-size: 10px; color: #888; margin-top: 3px; }
.combo-seats span { color: #fff; font-weight: 500; }
.combo-btn {
    background: #22c55e; color: #fff; font-size: 11px; font-weight: 600;
    border: none; border-radius: 6px; padding: 7px 13px; cursor: pointer;
    white-space: nowrap; font-family: 'DM Sans', sans-serif; flex-shrink: 0;
}
.opt-a {
    background: #000; border-radius: 10px; padding: 7px 12px 8px 12px;
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid transparent; cursor: pointer; position: relative; transition: border-color 0.2s;
}
.opt-a:hover { border-color: #22c55e; }
.opt-a img { width: 60px; height: 40px; object-fit: contain; flex-shrink: 0; }
.opt-a-info { flex: 1; min-width: 0; }
.opt-a-title { font-size: 13px; color: #fff; font-weight: 450; }
.opt-a-bar-bg { background: #333; border-radius: 4px; height: 5px; overflow: hidden; margin-top: 7px; }
.opt-a-bar-fill { height: 100%; border-radius: 4px; background: #22c55e; }
.opt-a-seats { font-size: 10px; color: #888; margin-top: 3px; }
.opt-a-seats span { color: #fff; font-weight: 500; }
.opt-a-price { text-align: right; flex-shrink: 0; }
.opt-a-price div { font-size: 16px; font-weight: 700; color: #22c55e; }
.opt-a-price span { font-size: 9px; color: #888; }
.opt-a-save { position: absolute; top: 0; right: 0; background: #22c55e; color: #fff; font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 0 8px 0 6px; }
.shared-intro {
    background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 12px 14px;
    margin: 10px 0 0 0; display: flex; gap: 10px; align-items: flex-start;
}
.shared-intro-icon { font-size: 20px; flex-shrink: 0; }
.shared-intro-title { font-size: 10px; font-weight: 600; color: #166534; margin-bottom: 3px; }
.shared-intro-desc { font-size: 10px; font-weight: 400; color: #166534; opacity: .8; line-height: 1.3; }
.vehicle-tabs {
    display: flex; gap: 0; margin: 10px 0px 5px 0px;
    background: #222; border-radius: 8px; padding: 3px;
}
.tab-btn {
    flex: 1; padding: 5px 10px; border: none; border-radius: 7px;
    font-size: 10px; font-weight: 400; font-family: 'DM Sans', sans-serif;
    cursor: pointer; background: transparent; color: #888;
    transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.tab-btn.active { background: #000; color: #fff; border: 1px solid #22c55e; }
.tab-badge { font-size: 9px; font-weight: bold; background: #22c55e; color: #fff; border-radius: 10px; padding: 1px 6px; }
.tab-btn.active .tab-badge { background: #fff; color: #000; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
#reservationDetails { margin-top: 15px; padding: 12px; background-color: #fff; border-radius: 6px; }
#reservationDetails p { font-size: 13px; color: #333; margin: 5px 0; font-weight: normal; }
#reservationDetails strong { font-weight: 600; }

/* Trip summary bar (shown at top of step 2) */
.trip-summary-bar {
    background: #fff; border-radius: 8px; padding: 8px 12px;
    margin-bottom: 8px; display: none; align-items: center; gap: 8px;
    border: 1px solid #e0e0e0; 
}
.trip-summary-bar .tsb-from,
.trip-summary-bar .tsb-to {
    font-size: 11px; color: #333; flex: 1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trip-summary-bar .tsb-arrow { font-size: 14px; color: #999; flex-shrink: 0; }
.trip-summary-bar .tsb-edit {
    font-size: 10px; color: #fff; background: #000;
    border: none; border-radius: 5px; padding: 4px 10px; cursor: pointer;
    flex-shrink: 0; font-family: 'DM Sans', sans-serif;
}

/* =============================================
   BOTTOM BUTTONS
   ============================================= */
.bottom-fixed {
    position: fixed; bottom: 0; left: 0; right: 0;
    max-width: 800px; margin: 0 auto; z-index: 1001;
    display: flex; background: #fff; padding: 10px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}
#seepricesBtn {
    margin-left: 2%; width: 96%; font-size: 16px; font-weight: 400; color: #fff;
    background-color: #000; border: none; cursor: pointer; border-radius: 7px; height: 42px;
}
#confirmButton {
    width: 96%; margin-left: 2%; font-size: 16px; font-weight: 400; color: #fff;
    background-color: #000; border: none; cursor: pointer; border-radius: 7px; height: 42px;
}
#submit-Whatsapp {
    width: 50%; font-size: 13px; font-weight: 550; color: #fff;
    background-color: #000; border: none; cursor: pointer;
    border-radius: 7px; height: 42px;
}

/* =============================================
   SEARCH OVERLAY
   ============================================= */
#searchOverlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,1); z-index: 99999;
    max-width: 800px; margin: 0 auto;
}
#searchOverlay.active { display: block; }
#searchOverlayHeader {
    position: absolute; top: 0; left: 0; right: 0; height: 42px;
    display: flex; align-items: center; padding: 0 4px;
    background: #fff; border-bottom: 0 solid #eee; z-index: 100001;
}
#searchOverlayTitle { font-size: 16px; font-weight: 600; color: #333; flex: 1; }
#searchOverlayClose {
    background: #f0f0f0; border: none; font-size: 22px; color: #666; cursor: pointer;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    border-radius: 4px; font-weight: 400; line-height: 1; flex-shrink: 0;
}
#searchOverlayInput {
    position: absolute; top: 45px; left: 50%; transform: translateX(-50%);
    width: 99%; height: 38px; padding: 0 12px; font-size: 14px; font-weight: bold;
    background: #fff; border: 2px solid #000; border-radius: 5px;
    box-sizing: border-box; z-index: 100001; outline: none;
}
#searchOverlayPredefined {
    position: absolute; top: 118px; left: 50%; transform: translateX(-50%);
    width: 92%; background: #f0f0f0; border-radius: 8px; overflow: hidden; z-index: 100001; display: none;
}
.predefined-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    cursor: pointer; border-bottom: 1px solid #fff; transition: background-color 0.15s;
}
.predefined-item:last-child { border-bottom: none; }
.predefined-item:active { background-color: #e0e0e0; }
.predefined-item i { color: #555; width: 18px; font-size: 14px; flex-shrink: 0; }
.predefined-item span { font-size: 13px; color: #333; font-weight: 450; }
.pac-container { z-index: 100002 !important; background-color: #f0f0f0 !important; border-radius: 10px !important; border: 1px solid #ddd !important; box-shadow: none !important; margin-top: 4px !important; }
.pac-item { padding: 0 14px !important; cursor: pointer !important; color: #333; font-weight: 450; font-size: 13px !important; border-bottom: 1px solid #fff !important; }
.pac-item:hover { background-color: #e8e8e8 !important; }
.fas { pointer-events: none; }

/* =============================================
   FAB
   ============================================= */
.fab-container { position: fixed; top: 50px; right: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; z-index: 2; }
.fab-letters { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.fab-contact-label { font-size: 14px; font-weight: 400; font-family: sans-serif; letter-spacing: 1px; color: #fff; background: #000; width: 24px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 4px 0 0 4px; user-select: none; }
.fab-btn { display: flex; align-items: center; justify-content: left; text-align: left; gap: 0; border: none; cursor: pointer; height: 33px; width: 120px; padding: 0 6px 0 0; border-radius: 26px 0 0 26px; font-size: 14px; font-weight: 400; font-family: sans-serif; white-space: nowrap; outline: none; transform: translateX(0); transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s ease; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.fab-btn:active { box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.fab-btn.collapsed { transform: translateX(80px); }
.fab-btn.expanded { transform: translateX(0); }
.fab-icon { width: 45px; height: 45px; border-radius: 27px 3px 3px 27px; background: rgba(255,255,255,0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fab-label { overflow: hidden; max-width: 120px; opacity: 1; transition: max-width 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.3s cubic-bezier(0.4,0,0.2,1); }
.fab-label.hidden { max-width: 0; opacity: 0; }
.btn-wa { background: #000; color: #fff; }

/* Hidden */
.hidden, .hide { display: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    body { max-width: 100%; margin: 0; }
    .header-container { padding: 1px 15px 3px 15px; height: 45px; }
    .brand-info h1 { font-size: 18px; font-weight: 400; }
	.brand-info p { font-size: 12px; font-weight: 400; }
    .menu-button { width: 30px; height: 30px; }
    .menu-line { width: 20px; height: 2px; }
    .fab-btn { width: 120px; height: 30px; font-size: 13px; }
    .fixed-buttons { width: 98%; height: 30px; }
    .section3 { height: 65vh; transform: translateY(calc(100% - 350px)); }
}
